safecheck-client 3.0.34-4 → 3.0.34-43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/FormPrint.md +18 -18
- package/docs/GridTree.md +47 -47
- package/docs/PrintFile.md +38 -38
- package/docs/tree.md +40 -40
- package/package.json +1 -1
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/android/AddGas.vue +147 -147
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AreaPlan.vue +566 -572
- package/src/components/android/CheckerMonthly.vue +84 -84
- package/src/components/android/LcheckUnplan.vue +108 -108
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +1 -1
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +2809 -2809
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +126 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
- package/src/components/checkerphonestate/Checker.vue +32 -32
- package/src/components/checkerphonestate/CheckerState.vue +97 -97
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +104 -104
- package/src/components/notice/NoticeQuery.vue +76 -76
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/phonestate/DailyTraffic.vue +57 -57
- package/src/components/phonestate/LastKnownState.vue +74 -74
- package/src/components/task/RepairAnnual.vue +79 -79
- package/src/components/task/RepairAnnualDetail.vue +49 -49
- package/src/components/task/RepairMonthly.vue +91 -91
- package/src/components/task/TaskAnnual.vue +77 -77
- package/src/components/task/TaskAnnualDetail.vue +47 -47
- package/src/components/task/TaskMonthly.vue +89 -89
- package/src/components/userfile/UserfileChange.vue +277 -277
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/baiyin/pc.js +21 -21
- package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +4 -4
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +57 -59
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +34 -113
- package/src/filiale/weinan/pc.js +47 -46
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1200
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -480
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -481
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/safecheck-android.js +4 -0
@@ -1,104 +1,104 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<h3>用户表信息</h3>
|
4
|
-
<button class="btn btn-primary" @click="add()">
|
5
|
-
增加
|
6
|
-
</button>
|
7
|
-
<table class="table">
|
8
|
-
<tr>
|
9
|
-
<th>表号</th>
|
10
|
-
<th>卡号</th>
|
11
|
-
<th>表牌</th>
|
12
|
-
<th>计量类型</th>
|
13
|
-
<th>表径</th>
|
14
|
-
<th>机表读数</th>
|
15
|
-
<th>剩余气量</th>
|
16
|
-
<th>总气量</th>
|
17
|
-
<th>累购</th>
|
18
|
-
<th>备注</th>
|
19
|
-
<th>修改</th>
|
20
|
-
<th>删除</th>
|
21
|
-
</tr>
|
22
|
-
<tr v-for = "row in model.rows">
|
23
|
-
<td>{{row.f_meter_no}}</td>
|
24
|
-
<td>{{row.f_card_id}}</td>
|
25
|
-
<td>{{row.f_meter_brand}}</td>
|
26
|
-
<td>{{row.f_meter_measurement}}</td>
|
27
|
-
<td>{{row.f_meter_diameter}}</td>
|
28
|
-
<td>{{row.f_meter_reading}}</td>
|
29
|
-
<td>{{row.f_meter_remain}}</td>
|
30
|
-
<td>{{row.f_meter_total}}</td>
|
31
|
-
<td>{{row.f_meter_accumulation}}</td>
|
32
|
-
<td>{{row.f_remark}}</td>
|
33
|
-
<td class="nopadding">
|
34
|
-
<a @click='change(row)'>修改</a>
|
35
|
-
</td>
|
36
|
-
<td class="nopadding">
|
37
|
-
<a @click='del(row, $index)'>删除</a>
|
38
|
-
</td>
|
39
|
-
</tr>
|
40
|
-
|
41
|
-
</table>
|
42
|
-
|
43
|
-
</div>
|
44
|
-
</template>
|
45
|
-
|
46
|
-
<script>
|
47
|
-
// import { PagedList } from 'vue-client'
|
48
|
-
import co from 'co'
|
49
|
-
let info = function * (self) {
|
50
|
-
self.f_userinfoid = self.user.f_userinfoid
|
51
|
-
self.f_userfile_id = self.user.id
|
52
|
-
let back = yield self.$post('rs/sql/用户表档案', {data: {f_userinfoid: self.f_userinfoid,
|
53
|
-
f_userfile_id: self.f_userfile_id}}, {resolveMsg: null, rejectMsg: null})
|
54
|
-
self.model.rows = back.data
|
55
|
-
// self.$back()
|
56
|
-
}
|
57
|
-
|
58
|
-
export default {
|
59
|
-
title: '用户表档案',
|
60
|
-
props: ['user', 'f', 'flag'],
|
61
|
-
data () {
|
62
|
-
return {
|
63
|
-
// model: new PagedList('rs/sql/用户表档案', 20, {f_userinfoid: this.user.f_userinfoid,
|
64
|
-
// f_userfile_id: this.user.id})
|
65
|
-
model: {
|
66
|
-
rows: []
|
67
|
-
},
|
68
|
-
f_userinfoid: '',
|
69
|
-
f_userfile_id: ''
|
70
|
-
}
|
71
|
-
},
|
72
|
-
methods: {
|
73
|
-
change (row) {
|
74
|
-
this.$goto('metterfiles-change', {row: row})
|
75
|
-
},
|
76
|
-
add () {
|
77
|
-
this.flag = false
|
78
|
-
this.$goto('metterfiles-add', {ro: this.user}, 'self', this.callback)
|
79
|
-
},
|
80
|
-
del (row, index) {
|
81
|
-
this.$post('rs/logic/删除表档案', {data: row}, {resolveMsg: null, rejectMsg: null})
|
82
|
-
this.model.rows.splice(index, 1)
|
83
|
-
},
|
84
|
-
callback () {
|
85
|
-
let infomathis = info(this)
|
86
|
-
return co(infomathis)
|
87
|
-
}
|
88
|
-
},
|
89
|
-
ready () {
|
90
|
-
let infomathis = info(this)
|
91
|
-
return co(infomathis)
|
92
|
-
},
|
93
|
-
watch: {
|
94
|
-
'user' (val) {
|
95
|
-
let infomathis = info(this)
|
96
|
-
return co(infomathis)
|
97
|
-
},
|
98
|
-
'flag' (val) {
|
99
|
-
let infomathis = info(this)
|
100
|
-
return co(infomathis)
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<h3>用户表信息</h3>
|
4
|
+
<button class="btn btn-primary" @click="add()">
|
5
|
+
增加
|
6
|
+
</button>
|
7
|
+
<table class="table">
|
8
|
+
<tr>
|
9
|
+
<th>表号</th>
|
10
|
+
<th>卡号</th>
|
11
|
+
<th>表牌</th>
|
12
|
+
<th>计量类型</th>
|
13
|
+
<th>表径</th>
|
14
|
+
<th>机表读数</th>
|
15
|
+
<th>剩余气量</th>
|
16
|
+
<th>总气量</th>
|
17
|
+
<th>累购</th>
|
18
|
+
<th>备注</th>
|
19
|
+
<th>修改</th>
|
20
|
+
<th>删除</th>
|
21
|
+
</tr>
|
22
|
+
<tr v-for = "row in model.rows">
|
23
|
+
<td>{{row.f_meter_no}}</td>
|
24
|
+
<td>{{row.f_card_id}}</td>
|
25
|
+
<td>{{row.f_meter_brand}}</td>
|
26
|
+
<td>{{row.f_meter_measurement}}</td>
|
27
|
+
<td>{{row.f_meter_diameter}}</td>
|
28
|
+
<td>{{row.f_meter_reading}}</td>
|
29
|
+
<td>{{row.f_meter_remain}}</td>
|
30
|
+
<td>{{row.f_meter_total}}</td>
|
31
|
+
<td>{{row.f_meter_accumulation}}</td>
|
32
|
+
<td>{{row.f_remark}}</td>
|
33
|
+
<td class="nopadding">
|
34
|
+
<a @click='change(row)'>修改</a>
|
35
|
+
</td>
|
36
|
+
<td class="nopadding">
|
37
|
+
<a @click='del(row, $index)'>删除</a>
|
38
|
+
</td>
|
39
|
+
</tr>
|
40
|
+
|
41
|
+
</table>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
</template>
|
45
|
+
|
46
|
+
<script>
|
47
|
+
// import { PagedList } from 'vue-client'
|
48
|
+
import co from 'co'
|
49
|
+
let info = function * (self) {
|
50
|
+
self.f_userinfoid = self.user.f_userinfoid
|
51
|
+
self.f_userfile_id = self.user.id
|
52
|
+
let back = yield self.$post('rs/sql/用户表档案', {data: {f_userinfoid: self.f_userinfoid,
|
53
|
+
f_userfile_id: self.f_userfile_id}}, {resolveMsg: null, rejectMsg: null})
|
54
|
+
self.model.rows = back.data
|
55
|
+
// self.$back()
|
56
|
+
}
|
57
|
+
|
58
|
+
export default {
|
59
|
+
title: '用户表档案',
|
60
|
+
props: ['user', 'f', 'flag'],
|
61
|
+
data () {
|
62
|
+
return {
|
63
|
+
// model: new PagedList('rs/sql/用户表档案', 20, {f_userinfoid: this.user.f_userinfoid,
|
64
|
+
// f_userfile_id: this.user.id})
|
65
|
+
model: {
|
66
|
+
rows: []
|
67
|
+
},
|
68
|
+
f_userinfoid: '',
|
69
|
+
f_userfile_id: ''
|
70
|
+
}
|
71
|
+
},
|
72
|
+
methods: {
|
73
|
+
change (row) {
|
74
|
+
this.$goto('metterfiles-change', {row: row})
|
75
|
+
},
|
76
|
+
add () {
|
77
|
+
this.flag = false
|
78
|
+
this.$goto('metterfiles-add', {ro: this.user}, 'self', this.callback)
|
79
|
+
},
|
80
|
+
del (row, index) {
|
81
|
+
this.$post('rs/logic/删除表档案', {data: row}, {resolveMsg: null, rejectMsg: null})
|
82
|
+
this.model.rows.splice(index, 1)
|
83
|
+
},
|
84
|
+
callback () {
|
85
|
+
let infomathis = info(this)
|
86
|
+
return co(infomathis)
|
87
|
+
}
|
88
|
+
},
|
89
|
+
ready () {
|
90
|
+
let infomathis = info(this)
|
91
|
+
return co(infomathis)
|
92
|
+
},
|
93
|
+
watch: {
|
94
|
+
'user' (val) {
|
95
|
+
let infomathis = info(this)
|
96
|
+
return co(infomathis)
|
97
|
+
},
|
98
|
+
'flag' (val) {
|
99
|
+
let infomathis = info(this)
|
100
|
+
return co(infomathis)
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
</script>
|
@@ -1,76 +1,76 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
5
|
-
<div novalidate partial>
|
6
|
-
<div class="row form-inline auto select-overspread">
|
7
|
-
<div class="form-group">
|
8
|
-
<input type="text" id="f_title" class="form-control" v-model="model.f_title" v-on:keyup.enter="search"
|
9
|
-
placeholder="标题" condition="f_title like '%{}%'" >
|
10
|
-
</div>
|
11
|
-
<div class="form-group">
|
12
|
-
<datepicker id="f_start"
|
13
|
-
:value.sync="model.f_start"
|
14
|
-
placeholder="开始时间"
|
15
|
-
:disabled-days-of-Week="[]"
|
16
|
-
:format="'yyyy-MM-dd'"
|
17
|
-
v-model="model.f_start" condition="f_time >= '{}'"> </datepicker>
|
18
|
-
</div>
|
19
|
-
<div class="form-group">
|
20
|
-
<datepicker id="f_end"
|
21
|
-
:value.sync="model.f_end"
|
22
|
-
placeholder="结束时间"
|
23
|
-
:disabled-days-of-Week="[]"
|
24
|
-
:format="'yyyy-MM-dd'"
|
25
|
-
v-model="model.f_end" condition=" f_time <= '{} 23:59:59'"> </datepicker>
|
26
|
-
</div>
|
27
|
-
<div class="form-group">
|
28
|
-
<v-select :value.sync="$parent.$parent.model.f_division" :options='$parent.$parent.f_divisions' placeholder='请选择子公司'
|
29
|
-
close-on-select clear-button></v-select>
|
30
|
-
</div>
|
31
|
-
<div class="form-group">
|
32
|
-
<button type="button" class="btn btn-success width-80" @click="search()">查询</button>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
</criteria>
|
37
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
38
|
-
<template partial='head'>
|
39
|
-
<tr>
|
40
|
-
<th>标 题</th>
|
41
|
-
<th>下发时间</th>
|
42
|
-
<th>分公司</th>
|
43
|
-
</tr>
|
44
|
-
</template>
|
45
|
-
<template partial='body'>
|
46
|
-
<td>{{row.f_title}}</td>
|
47
|
-
<td>{{row.f_time}}</td>
|
48
|
-
<td>{{row.f_subcompany}}</td>
|
49
|
-
</template>
|
50
|
-
</data-grid>
|
51
|
-
</criteria-paged>
|
52
|
-
</div>
|
53
|
-
</template>
|
54
|
-
|
55
|
-
<script>
|
56
|
-
import { PagedList } from 'vue-client'
|
57
|
-
import Vue from 'vue'
|
58
|
-
import AppData from '../../stores/AppData'
|
59
|
-
|
60
|
-
export default {
|
61
|
-
title: '公告查询',
|
62
|
-
data () {
|
63
|
-
let model = new PagedList('rs/sql/公告查询', 20, {f_subcompany: 'this.f_division[0]'})
|
64
|
-
model.f_division = [this.$login.f.f_fengongsi]
|
65
|
-
return {
|
66
|
-
model: model,
|
67
|
-
f_divisions: this.$login.f.f_fengongsi != '' ? [{label: this.$login.f.f_fengongsi, value: this.$login.f.f_fengongsi}]: this.$appdata.getParam('安检系统用子公司')
|
68
|
-
}
|
69
|
-
},
|
70
|
-
computed: {
|
71
|
-
selected () {
|
72
|
-
return this.$refs.cp.$refs.grid.selected
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:criteria>
|
5
|
+
<div novalidate partial>
|
6
|
+
<div class="row form-inline auto select-overspread">
|
7
|
+
<div class="form-group">
|
8
|
+
<input type="text" id="f_title" class="form-control" v-model="model.f_title" v-on:keyup.enter="search"
|
9
|
+
placeholder="标题" condition="f_title like '%{}%'" >
|
10
|
+
</div>
|
11
|
+
<div class="form-group">
|
12
|
+
<datepicker id="f_start"
|
13
|
+
:value.sync="model.f_start"
|
14
|
+
placeholder="开始时间"
|
15
|
+
:disabled-days-of-Week="[]"
|
16
|
+
:format="'yyyy-MM-dd'"
|
17
|
+
v-model="model.f_start" condition="f_time >= '{}'"> </datepicker>
|
18
|
+
</div>
|
19
|
+
<div class="form-group">
|
20
|
+
<datepicker id="f_end"
|
21
|
+
:value.sync="model.f_end"
|
22
|
+
placeholder="结束时间"
|
23
|
+
:disabled-days-of-Week="[]"
|
24
|
+
:format="'yyyy-MM-dd'"
|
25
|
+
v-model="model.f_end" condition=" f_time <= '{} 23:59:59'"> </datepicker>
|
26
|
+
</div>
|
27
|
+
<div class="form-group">
|
28
|
+
<v-select :value.sync="$parent.$parent.model.f_division" :options='$parent.$parent.f_divisions' placeholder='请选择子公司'
|
29
|
+
close-on-select clear-button></v-select>
|
30
|
+
</div>
|
31
|
+
<div class="form-group">
|
32
|
+
<button type="button" class="btn btn-success width-80" @click="search()">查询</button>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</criteria>
|
37
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
38
|
+
<template partial='head'>
|
39
|
+
<tr>
|
40
|
+
<th>标 题</th>
|
41
|
+
<th>下发时间</th>
|
42
|
+
<th>分公司</th>
|
43
|
+
</tr>
|
44
|
+
</template>
|
45
|
+
<template partial='body'>
|
46
|
+
<td>{{row.f_title}}</td>
|
47
|
+
<td>{{row.f_time}}</td>
|
48
|
+
<td>{{row.f_subcompany}}</td>
|
49
|
+
</template>
|
50
|
+
</data-grid>
|
51
|
+
</criteria-paged>
|
52
|
+
</div>
|
53
|
+
</template>
|
54
|
+
|
55
|
+
<script>
|
56
|
+
import { PagedList } from 'vue-client'
|
57
|
+
import Vue from 'vue'
|
58
|
+
import AppData from '../../stores/AppData'
|
59
|
+
|
60
|
+
export default {
|
61
|
+
title: '公告查询',
|
62
|
+
data () {
|
63
|
+
let model = new PagedList('rs/sql/公告查询', 20, {f_subcompany: 'this.f_division[0]'})
|
64
|
+
model.f_division = [this.$login.f.f_fengongsi]
|
65
|
+
return {
|
66
|
+
model: model,
|
67
|
+
f_divisions: this.$login.f.f_fengongsi != '' ? [{label: this.$login.f.f_fengongsi, value: this.$login.f.f_fengongsi}]: this.$appdata.getParam('安检系统用子公司')
|
68
|
+
}
|
69
|
+
},
|
70
|
+
computed: {
|
71
|
+
selected () {
|
72
|
+
return this.$refs.cp.$refs.grid.selected
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
</script>
|
@@ -1,76 +1,76 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<validator name='v'>
|
4
|
-
<a href="#" class="btn btn-primary" @click="this.$back('items')"><<</a>
|
5
|
-
<form novalidate class="form-horizontal">
|
6
|
-
<div class="form-group">
|
7
|
-
<label class="col-sm-2 control-lable">审核人:</label>
|
8
|
-
<div class="col-sm-8">
|
9
|
-
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_by" v-validate:f_repair_approved_by='{ required: true }' />
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div class="form-group">
|
13
|
-
<label class="col-sm-2 control-lable">审核结果:</label>
|
14
|
-
<div class="col-sm-8">
|
15
|
-
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved" v-validate:f_repair_approved='{ required: true }' />
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
<div class="form-group">
|
19
|
-
<label class="col-sm-2 control-lable">审核时间:</label>
|
20
|
-
<div class="col-sm-8">
|
21
|
-
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_time"/>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<div class="form-group">
|
25
|
-
<label class="col-sm-2 control-lable">审核备注:</label>
|
26
|
-
<div class="col-sm-8">
|
27
|
-
<textarea class="form-control" type="text" v-model="item.f_repair_approved_note"></textarea>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
<div class="form-group col-sm-12">
|
31
|
-
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="approve">
|
32
|
-
<span class="glyphicon glyphicon-ok"></span> 通过
|
33
|
-
</button>
|
34
|
-
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="disapprove">
|
35
|
-
<span class="glyphicon glyphicon-remove"></span> 打回
|
36
|
-
</button>
|
37
|
-
</div>
|
38
|
-
</form>
|
39
|
-
</validator>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
</template>
|
43
|
-
|
44
|
-
<script>
|
45
|
-
import * as Util from '../Util'
|
46
|
-
import co from 'co'
|
47
|
-
import Vue from 'vue'
|
48
|
-
|
49
|
-
let syncVerify = function * (self) {
|
50
|
-
yield self.$resetpost('rs/logic/ApprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'})
|
51
|
-
}
|
52
|
-
|
53
|
-
export default {
|
54
|
-
title: '维修审核',
|
55
|
-
props: ['item', 'name'],
|
56
|
-
ready () {
|
57
|
-
if(this.item.f_repair_approved == '未审核') {
|
58
|
-
this.item.f_repair_approved_time = Util.toStandardTimeString()
|
59
|
-
this.item.f_repair_approved_by = this.name
|
60
|
-
}
|
61
|
-
},
|
62
|
-
methods: {
|
63
|
-
approve () {
|
64
|
-
this.item.f_repair_approved = '已审核'
|
65
|
-
let gen = syncVerify(this)
|
66
|
-
return co(gen)
|
67
|
-
},
|
68
|
-
disapprove () {
|
69
|
-
this.item.f_repair_approved = '打回'
|
70
|
-
let gen = syncVerify(this)
|
71
|
-
return co(gen)
|
72
|
-
},
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<validator name='v'>
|
4
|
+
<a href="#" class="btn btn-primary" @click="this.$back('items')"><<</a>
|
5
|
+
<form novalidate class="form-horizontal">
|
6
|
+
<div class="form-group">
|
7
|
+
<label class="col-sm-2 control-lable">审核人:</label>
|
8
|
+
<div class="col-sm-8">
|
9
|
+
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_by" v-validate:f_repair_approved_by='{ required: true }' />
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div class="form-group">
|
13
|
+
<label class="col-sm-2 control-lable">审核结果:</label>
|
14
|
+
<div class="col-sm-8">
|
15
|
+
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved" v-validate:f_repair_approved='{ required: true }' />
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="form-group">
|
19
|
+
<label class="col-sm-2 control-lable">审核时间:</label>
|
20
|
+
<div class="col-sm-8">
|
21
|
+
<input readonly='readonly' class="form-control" type="text" v-model="item.f_repair_approved_time"/>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div class="form-group">
|
25
|
+
<label class="col-sm-2 control-lable">审核备注:</label>
|
26
|
+
<div class="col-sm-8">
|
27
|
+
<textarea class="form-control" type="text" v-model="item.f_repair_approved_note"></textarea>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="form-group col-sm-12">
|
31
|
+
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="approve">
|
32
|
+
<span class="glyphicon glyphicon-ok"></span> 通过
|
33
|
+
</button>
|
34
|
+
<button :disabled="item.f_repair_approved != '未审核' && item.f_repair_approved != '重修'" type="button" class="btn btn-primary col-sm-3" @click="disapprove">
|
35
|
+
<span class="glyphicon glyphicon-remove"></span> 打回
|
36
|
+
</button>
|
37
|
+
</div>
|
38
|
+
</form>
|
39
|
+
</validator>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
</template>
|
43
|
+
|
44
|
+
<script>
|
45
|
+
import * as Util from '../Util'
|
46
|
+
import co from 'co'
|
47
|
+
import Vue from 'vue'
|
48
|
+
|
49
|
+
let syncVerify = function * (self) {
|
50
|
+
yield self.$resetpost('rs/logic/ApprovePaper', {data:{item: self.item}}, {resolveMsg: '操作成功!', rejectMsg: '操作失败!'})
|
51
|
+
}
|
52
|
+
|
53
|
+
export default {
|
54
|
+
title: '维修审核',
|
55
|
+
props: ['item', 'name'],
|
56
|
+
ready () {
|
57
|
+
if(this.item.f_repair_approved == '未审核') {
|
58
|
+
this.item.f_repair_approved_time = Util.toStandardTimeString()
|
59
|
+
this.item.f_repair_approved_by = this.name
|
60
|
+
}
|
61
|
+
},
|
62
|
+
methods: {
|
63
|
+
approve () {
|
64
|
+
this.item.f_repair_approved = '已审核'
|
65
|
+
let gen = syncVerify(this)
|
66
|
+
return co(gen)
|
67
|
+
},
|
68
|
+
disapprove () {
|
69
|
+
this.item.f_repair_approved = '打回'
|
70
|
+
let gen = syncVerify(this)
|
71
|
+
return co(gen)
|
72
|
+
},
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
</script>
|
@@ -1,57 +1,57 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<div class="auto">
|
4
|
-
<label>{{f_user_name}}日流量列表</label>
|
5
|
-
<button type="button" class="btn btn-default" @click="this.$back('asd')"><<</button>
|
6
|
-
</div>
|
7
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
8
|
-
<template partial='head'>
|
9
|
-
<tr>
|
10
|
-
<th>日期</th>
|
11
|
-
<th>流量Mb</th>
|
12
|
-
</tr>
|
13
|
-
</template>
|
14
|
-
<template partial='body'>
|
15
|
-
<td>{{row.f_datetime}}</td>
|
16
|
-
<td>{{row.f_traffic}}</td>
|
17
|
-
</template>
|
18
|
-
</data-grid>
|
19
|
-
</criteria-paged>
|
20
|
-
</div>
|
21
|
-
</template>
|
22
|
-
|
23
|
-
<script>
|
24
|
-
import { PagedList } from 'vue-client'
|
25
|
-
import * as Util from '../Util'
|
26
|
-
import co from 'co'
|
27
|
-
|
28
|
-
let fetchDailyTrafficList = function * (self) {
|
29
|
-
let result = yield self.$post('rs/sql/日流量明细?pageNo=1&pageSize=9999', {
|
30
|
-
data: {
|
31
|
-
f_userinfoid: self.f_userinfoid,
|
32
|
-
f_user_name: self.f_user_name,
|
33
|
-
f_ym: self.f_ym
|
34
|
-
}
|
35
|
-
}, {
|
36
|
-
resolveMsg: null,
|
37
|
-
rejectMsg: '提取任务出错'
|
38
|
-
})
|
39
|
-
self.$set("model.rows", result.data)
|
40
|
-
}
|
41
|
-
|
42
|
-
export default {
|
43
|
-
title: '日流量明细',
|
44
|
-
props: ['f_userinfoid', 'f_user_name', 'f_ym'],
|
45
|
-
data() {
|
46
|
-
return {
|
47
|
-
model: {
|
48
|
-
rows: []
|
49
|
-
}
|
50
|
-
}
|
51
|
-
},
|
52
|
-
ready () {
|
53
|
-
let fp = fetchDailyTrafficList(this)
|
54
|
-
co(fp)
|
55
|
-
}
|
56
|
-
}
|
57
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<div class="auto">
|
4
|
+
<label>{{f_user_name}}日流量列表</label>
|
5
|
+
<button type="button" class="btn btn-default" @click="this.$back('asd')"><<</button>
|
6
|
+
</div>
|
7
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
8
|
+
<template partial='head'>
|
9
|
+
<tr>
|
10
|
+
<th>日期</th>
|
11
|
+
<th>流量Mb</th>
|
12
|
+
</tr>
|
13
|
+
</template>
|
14
|
+
<template partial='body'>
|
15
|
+
<td>{{row.f_datetime}}</td>
|
16
|
+
<td>{{row.f_traffic}}</td>
|
17
|
+
</template>
|
18
|
+
</data-grid>
|
19
|
+
</criteria-paged>
|
20
|
+
</div>
|
21
|
+
</template>
|
22
|
+
|
23
|
+
<script>
|
24
|
+
import { PagedList } from 'vue-client'
|
25
|
+
import * as Util from '../Util'
|
26
|
+
import co from 'co'
|
27
|
+
|
28
|
+
let fetchDailyTrafficList = function * (self) {
|
29
|
+
let result = yield self.$post('rs/sql/日流量明细?pageNo=1&pageSize=9999', {
|
30
|
+
data: {
|
31
|
+
f_userinfoid: self.f_userinfoid,
|
32
|
+
f_user_name: self.f_user_name,
|
33
|
+
f_ym: self.f_ym
|
34
|
+
}
|
35
|
+
}, {
|
36
|
+
resolveMsg: null,
|
37
|
+
rejectMsg: '提取任务出错'
|
38
|
+
})
|
39
|
+
self.$set("model.rows", result.data)
|
40
|
+
}
|
41
|
+
|
42
|
+
export default {
|
43
|
+
title: '日流量明细',
|
44
|
+
props: ['f_userinfoid', 'f_user_name', 'f_ym'],
|
45
|
+
data() {
|
46
|
+
return {
|
47
|
+
model: {
|
48
|
+
rows: []
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
ready () {
|
53
|
+
let fp = fetchDailyTrafficList(this)
|
54
|
+
co(fp)
|
55
|
+
}
|
56
|
+
}
|
57
|
+
</script>
|