safecheck-client 3.0.32 → 3.0.33-2

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.
Files changed (88) hide show
  1. package/package.json +133 -133
  2. package/src/App.vue +31 -31
  3. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  4. package/src/assets//345/234/260/345/235/200.png +0 -0
  5. package/src/assets//345/247/223/345/220/215.png +0 -0
  6. package/src/assets//345/260/217/345/214/272.png +0 -0
  7. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  8. package/src/assets//345/272/225/346/225/260.png +0 -0
  9. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/217/267.png +0 -0
  11. package/src/assets//346/245/274/345/261/202.png +0 -0
  12. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  13. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  14. package/src/components/android/AndroidDefectDeal.vue +5 -5
  15. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  16. package/src/components/android/SafecheckOrderV.vue +4 -1
  17. package/src/components/map/checkScreen.vue +1 -1
  18. package/src/components/planmanage/checkPlanList.vue +3 -3
  19. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  20. package/src/components/rongcheng/DefectPaper.vue +4 -1
  21. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
  23. package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
  24. package/src/filiale/Util.js +7 -0
  25. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  26. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  27. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  28. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  29. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  30. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  31. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  32. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  33. package/src/filiale/dexin/android.js +4 -1
  34. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  35. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  36. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  37. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  38. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  39. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  40. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  41. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  42. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  43. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  46. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  47. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  48. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  49. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  50. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  51. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  52. package/src/filiale/fugou/pc.js +60 -5
  53. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  54. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  55. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  56. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  57. package/src/filiale/jingyang/android.js +4 -0
  58. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  59. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  60. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  61. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  62. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  63. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  64. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  65. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  66. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  67. package/src/filiale/shexian/pc.js +1 -0
  68. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  69. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  70. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  71. package/src/filiale/wensu/pc/DefectPaperNew.vue +15 -9
  72. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  73. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  74. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  75. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  76. package/src/filiale/wensu/pc/checkUserList.vue +5 -1
  77. package/src/filiale/wensu/pc.js +20 -19
  78. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  79. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  80. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  81. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  82. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  83. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  84. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  85. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  86. package/src/main.js +33 -33
  87. package/static/stretch_bottom.png +0 -0
  88. package/static/stretch_top.png +0 -0
@@ -6,7 +6,7 @@
6
6
  <form>
7
7
  <div class="row app-row">
8
8
  <div class="col-xs-4">
9
- <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
9
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
10
10
  <label class="font text-left">用户编号:</label>
11
11
  </div>
12
12
  <div class="col-xs-8" >
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
  <div class="row app-row">
18
18
  <div class="col-xs-4">
19
- <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
19
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
20
20
  <label class="font text-left">旧用户编号:</label>
21
21
  </div>
22
22
  <div class="col-xs-8" >
@@ -26,7 +26,7 @@
26
26
  </div>
27
27
  <div class="row app-row">
28
28
  <div class="col-xs-4">
29
- <img src="../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
29
+ <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
30
30
  <label class="font text-left">表 &nbsp;&nbsp; &nbsp;&nbsp; 号:</label>
31
31
  </div>
32
32
  <div class="col-xs-8" >
@@ -37,7 +37,7 @@
37
37
  </div>
38
38
  <div class="row app-row">
39
39
  <div class="col-xs-4">
40
- <img src="../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
40
+ <img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
41
41
  <label class="font text-left">用户名称:</label>
42
42
  </div>
43
43
  <div class="col-xs-8" >
@@ -46,7 +46,7 @@
46
46
  </div>
47
47
  <div class="row app-row">
48
48
  <div class="col-xs-4">
49
- <img src="../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
49
+ <img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
50
50
  <label class="font text-left">用户类型:</label>
51
51
  </div>
52
52
  <div class="col-xs-8" >
@@ -57,7 +57,7 @@
57
57
  </div>
58
58
  <div class="row app-row">
59
59
  <div class="col-xs-4">
60
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
60
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
61
61
  <label class="font text-left">小区名称:</label>
62
62
  </div>
63
63
  <div class="col-xs-8" >
@@ -66,7 +66,7 @@
66
66
  </div>
67
67
  <div class="row app-row">
68
68
  <div class="col-xs-4">
69
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
69
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
70
70
  <label class="font text-left">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</label>
71
71
  </div>
72
72
  <div class="col-xs-8" >
@@ -75,7 +75,7 @@
75
75
  </div>
76
76
  <div class="row app-row">
77
77
  <div class="col-xs-4">
78
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
78
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
79
79
  <label class="font text-left">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;元:</label>
80
80
  </div>
81
81
  <div class="col-xs-8" >
@@ -84,7 +84,7 @@
84
84
  </div>
85
85
  <div class="row app-row">
86
86
  <div class="col-xs-4">
87
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
87
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
88
88
  <label class="font text-left">用户地址:</label>
89
89
  </div>
90
90
  <div class="col-xs-8" >
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  <div class="row app-row">
95
95
  <div class="col-xs-4">
96
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
96
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
97
97
  <label class="font text-left">表&nbsp;&nbsp;封&nbsp;&nbsp;号:</label>
98
98
  </div>
99
99
  <div class="col-xs-8" >
@@ -102,7 +102,7 @@
102
102
  </div>
103
103
  <div class="row app-row">
104
104
  <div class="col-xs-4">
105
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
105
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
106
106
  <label class="font text-left">电&nbsp;&nbsp;话&nbsp;&nbsp;号:</label>
107
107
  </div>
108
108
  <div class="col-xs-8" >
@@ -111,7 +111,7 @@
111
111
  </div>
112
112
  <div class="row app-row">
113
113
  <div class="col-xs-4">
114
- <img src="../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
114
+ <img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
115
115
  <label class="font text-left">卡&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</label>
116
116
  </div>
117
117
  <div class="col-xs-8" >
@@ -120,7 +120,7 @@
120
120
  </div>
121
121
  <div class="row app-row">
122
122
  <div class="col-xs-4">
123
- <img src="../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
123
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
124
124
  <label class="font text-left">抄&nbsp;&nbsp;表&nbsp;&nbsp;册:</label>
125
125
  </div>
126
126
  <div class="col-xs-8" >
@@ -133,34 +133,34 @@
133
133
  close-on-select clear-button></v-select>
134
134
  </div>
135
135
  </div>
136
- <!-- <div class="row app-row">
137
- <div class="col-xs-4">
138
- <img src="../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
139
- <label class="font text-left">安检情况</label>
140
- </div>
141
- <div class="col-xs-8" >
142
- <v-select class="input-font"
143
- placeholder='请选择安检情况'
144
- :value.sync="model.f_ischeck"
145
- v-model="model.f_ischeck"
146
- :options='$parent.$parent.ischecks'
147
- condition="{}"
148
- close-on-select clear-button></v-select>
149
- </div>
150
- </div>
151
- <div class="row app-row">
152
- <div class="col-xs-4">
153
- <img src="../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
154
- <label class="font text-left">档案状态:</label>
155
- </div>
156
- <div class="col-xs-8" >
157
- <v-select class="input-font"
158
- placeholder='请选择档案状态'
159
- :value.sync="$parent.$parent.model.f_user_state"
160
- :options='$parent.$parent.f_user_states'
161
- close-on-select clear-button></v-select>
162
- </div>
163
- </div>-->
136
+ <!-- <div class="row app-row">
137
+ <div class="col-xs-4">
138
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
139
+ <label class="font text-left">安检情况</label>
140
+ </div>
141
+ <div class="col-xs-8" >
142
+ <v-select class="input-font"
143
+ placeholder='请选择安检情况'
144
+ :value.sync="model.f_ischeck"
145
+ v-model="model.f_ischeck"
146
+ :options='$parent.$parent.ischecks'
147
+ condition="{}"
148
+ close-on-select clear-button></v-select>
149
+ </div>
150
+ </div>
151
+ <div class="row app-row">
152
+ <div class="col-xs-4">
153
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
154
+ <label class="font text-left">档案状态:</label>
155
+ </div>
156
+ <div class="col-xs-8" >
157
+ <v-select class="input-font"
158
+ placeholder='请选择档案状态'
159
+ :value.sync="$parent.$parent.model.f_user_state"
160
+ :options='$parent.$parent.f_user_states'
161
+ close-on-select clear-button></v-select>
162
+ </div>
163
+ </div>-->
164
164
 
165
165
 
166
166
 
@@ -230,229 +230,229 @@
230
230
  </template>
231
231
 
232
232
  <script>
233
- import {HttpResetClass, PagedList} from 'vue-client'
234
- import Vue from 'vue'
235
- import * as Util from '../../Util'
233
+ import {HttpResetClass, PagedList} from 'vue-client'
234
+ import Vue from 'vue'
235
+ import * as Util from '../../Util'
236
236
 
237
- export default {
238
- title: '安检员B',
239
- data () {
240
- let model = new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/提取用户档案`, 20, { groupitem: '""', orderitem: '"f_residential_area,CAST(build as int),f_unit,CAST(floor1 as int),f_room"',f_check_type:'this.f_check_type[0]',
241
- f_user_name:'this.model.f_username',myCycle: 'this.myCycle',fyCycle: 'this.fyCycle', f_user_type:'this.f_user_type',f_sign: 'this.f_sign[0]', f_residential_area:'this.model.f_districtname', f_address:'this.model.f_address',f_user_state: 'this.f_user_state[0]',f_orgids:'this.f_orgids',f_unit:'this.model.f_unit',f_building:'this.model.f_building',f_filialeid:'this.f_filialeid'})
242
- model.f_sign = ['']
243
- model.f_user_type = ''
244
- model.f_user_state =['']
245
- model.f_check_type =['']
246
- model.myCycle = 0
247
- model.fyCycle = 0
248
- model.f_filialeid = Vue.user.orgid
249
- //model.f_filialeid = 287
250
- return {
251
- model: model,
252
- cbc:[],
253
- showModal:false,
254
- signs: [
255
- {label:'请选择录入状态', value:''},
256
- {label:'录入', value:'1'},
257
- {label:'非录入', value:'0'},
258
- ],
259
- ischecks: [
260
- ],
261
- user_types: [
262
- {label: '请选择用户类型', value: ''},
263
- {label: '民用', value: '民用'},
264
- {label: '非民用', value: '非民用'},
265
- ],
266
- f_user_states: [
267
- {label:'请选择档案状态', value:''},
268
- {label:'正常', value:'正常'},
269
- {label:'点火', value:'点火'},
270
- ],
271
- f_check_types: [
272
- {label:'请选择安检类型', value:''},
273
- {label:'应检', value:'应检'},
274
- {label:'超期', value:'超期'},
275
- ],
276
- }
237
+ export default {
238
+ title: '安检员B',
239
+ data () {
240
+ let model = new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/提取用户档案`, 20, { groupitem: '""', orderitem: '"f_residential_area,CAST(build as int),f_unit,CAST(floor1 as int),f_room"',f_check_type:'this.f_check_type[0]',
241
+ f_user_name:'this.model.f_username',myCycle: 'this.myCycle',fyCycle: 'this.fyCycle', f_user_type:'this.f_user_type',f_sign: 'this.f_sign[0]', f_residential_area:'this.model.f_districtname', f_address:'this.model.f_address',f_user_state: 'this.f_user_state[0]',f_orgids:'this.f_orgids',f_unit:'this.model.f_unit',f_building:'this.model.f_building',f_filialeid:'this.f_filialeid'})
242
+ model.f_sign = ['']
243
+ model.f_user_type = ''
244
+ model.f_user_state =['']
245
+ model.f_check_type =['']
246
+ model.myCycle = 0
247
+ model.fyCycle = 0
248
+ model.f_filialeid = Vue.user.orgid
249
+ //model.f_filialeid = 287
250
+ return {
251
+ model: model,
252
+ cbc:[],
253
+ showModal:false,
254
+ signs: [
255
+ {label:'请选择录入状态', value:''},
256
+ {label:'录入', value:'1'},
257
+ {label:'非录入', value:'0'},
258
+ ],
259
+ ischecks: [
260
+ ],
261
+ user_types: [
262
+ {label: '请选择用户类型', value: ''},
263
+ {label: '民用', value: '民用'},
264
+ {label: '非民用', value: '非民用'},
265
+ ],
266
+ f_user_states: [
267
+ {label:'请选择档案状态', value:''},
268
+ {label:'正常', value:'正常'},
269
+ {label:'点火', value:'点火'},
270
+ ],
271
+ f_check_types: [
272
+ {label:'请选择安检类型', value:''},
273
+ {label:'应检', value:'应检'},
274
+ {label:'超期', value:'超期'},
275
+ ],
276
+ }
277
+ },
278
+ ready () {
279
+ // this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/getSafeCheckCycle`,{},{resolveMsg: null, rejectMsg: null}).then((res) => {
280
+ // //tag)
281
+ // if(res.data.code == 200){
282
+ // this.model.myCycle = res.data.civil.value
283
+ // this.model.fyCycle = res.data.civilian.value
284
+ // }else{
285
+ // //this.$showMessage(res.data.msg)
286
+ // }
287
+ //
288
+ // })
289
+ // this.getCheckTime()
290
+ // this.Mreadibook()
291
+ },
292
+ computed: {
293
+ reload(){
294
+ this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
277
295
  },
278
- ready () {
279
- // this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/getSafeCheckCycle`,{},{resolveMsg: null, rejectMsg: null}).then((res) => {
280
- // //tag)
281
- // if(res.data.code == 200){
282
- // this.model.myCycle = res.data.civil.value
283
- // this.model.fyCycle = res.data.civilian.value
284
- // }else{
285
- // //this.$showMessage(res.data.msg)
286
- // }
287
- //
288
- // })
289
- // this.getCheckTime()
290
- // this.Mreadibook()
296
+ selected () {
297
+ return this.$refs.paged.$refs.grid.selected
298
+ }
299
+ },
300
+ methods:{
301
+ scan(){
302
+ HostApp.__this__=this,
303
+ HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
291
304
  },
292
- computed: {
293
- reload(){
294
- this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
295
- },
296
- selected () {
297
- return this.$refs.paged.$refs.grid.selected
298
- }
305
+ getCode(){
306
+ var datapa = HostApp.getCode().data;
307
+ //tag
308
+ this.$refs.paged.$refs.cri.model.f_meternumber=datapa
299
309
  },
300
- methods:{
301
- scan(){
302
- HostApp.__this__=this,
303
- HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
304
- },
305
- getCode(){
306
- var datapa = HostApp.getCode().data;
307
- //tag
308
- this.$refs.paged.$refs.cri.model.f_meternumber=datapa
309
- },
310
- getCheckTime(){
311
- //tag
312
- new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
313
- items: 'f_circle,f_start_time',
314
- tablename: 't_safe_circle',
315
- condition: `f_filialeid = '${Vue.user.orgid}'`,
316
- orderitem: 'id'
317
- }}).then(res=>{
318
- //tag)
319
- let nocheck=''
320
- let ischeck=''
321
- if (res.data[0]){
322
- if (res.data[0].f_circle=='1'){
323
- nocheck=`(ua.f_last_check_date<'${res.data[0].f_start_time}' or ua.f_last_check_date is null)`
324
- ischeck=`ua.f_last_check_date>'${res.data[0].f_start_time}'`
310
+ getCheckTime(){
311
+ //tag
312
+ new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data: {
313
+ items: 'f_circle,f_start_time',
314
+ tablename: 't_safe_circle',
315
+ condition: `f_filialeid = '${Vue.user.orgid}'`,
316
+ orderitem: 'id'
317
+ }}).then(res=>{
318
+ //tag)
319
+ let nocheck=''
320
+ let ischeck=''
321
+ if (res.data[0]){
322
+ if (res.data[0].f_circle=='1'){
323
+ nocheck=`(ua.f_last_check_date<'${res.data[0].f_start_time}' or ua.f_last_check_date is null)`
324
+ ischeck=`ua.f_last_check_date>'${res.data[0].f_start_time}'`
325
325
 
326
- }else{
327
- let addtime= (Util.toStandardTimeString().substring(0,4)-res.data[0].f_start_time.substring(0,4))%res.data[0].f_circle
328
- //tag
329
- let time =(Util.toStandardTimeString().substring(0,4)-addtime)+'-01-01 00:00:00'
330
- //tag
331
- nocheck=`(ua.f_last_check_date<'${time}' or ua.f_last_check_date is null)`
332
- ischeck=`ua.f_last_check_date>'${time}'`
333
- }
326
+ }else{
327
+ let addtime= (Util.toStandardTimeString().substring(0,4)-res.data[0].f_start_time.substring(0,4))%res.data[0].f_circle
334
328
  //tag
335
- this.ischecks=[
336
- {label: '全部', value: ''},
337
- {label: '已检', value: ischeck },
338
- {label: '未检', value: nocheck},
339
- ]
329
+ let time =(Util.toStandardTimeString().substring(0,4)-addtime)+'-01-01 00:00:00'
340
330
  //tag
341
- }else{
342
- this.$showMessage("未配置安检周期")
331
+ nocheck=`(ua.f_last_check_date<'${time}' or ua.f_last_check_date is null)`
332
+ ischeck=`ua.f_last_check_date>'${time}'`
343
333
  }
334
+ //tag
335
+ this.ischecks=[
336
+ {label: '全部', value: ''},
337
+ {label: '已检', value: ischeck },
338
+ {label: '未检', value: nocheck},
339
+ ]
340
+ //tag
341
+ }else{
342
+ this.$showMessage("未配置安检周期")
343
+ }
344
+
345
+ })
346
+ //tag
347
+ },
348
+ inspect (info){
349
+ if(info.f_last_check_date){
350
+ this.$showMessage("该用户最后一次安检时间为 "+info.f_last_check_date+" 是否继续对该用户进行安检",['confirm', 'cancel']).then((butt)=>{
351
+ if(butt=="confirm"){
352
+ info.id = ''
353
+ info.f_state = '未检'
354
+ info.f_no_checkplan = '无计划安检'
355
+ //tag
356
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/查询计划项表信息`,{data:{f_userid:info.f_userinfo_id}}).then((response)=>{
357
+ //tag)
358
+ info['f_plan_meters'] = response.data
359
+ var pardate = {
360
+ _this:this,
361
+ tittle:'安检详情',
362
+ safe:true
363
+ }
364
+ this.$dispatch('gotoson',pardate)
365
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect',parentPage:'AddPlanItem'}, 'self', this.reload)
344
366
 
367
+ })
368
+ }
345
369
  })
370
+ }else{
371
+ info.id = ''
372
+ info.f_state = '未检'
373
+ info.f_no_checkplan = '无计划安检'
346
374
  //tag
347
- },
348
- inspect (info){
349
- if(info.f_last_check_date){
350
- this.$showMessage("该用户最后一次安检时间为 "+info.f_last_check_date+" 是否继续对该用户进行安检",['confirm', 'cancel']).then((butt)=>{
351
- if(butt=="confirm"){
352
- info.id = ''
353
- info.f_state = '未检'
354
- info.f_no_checkplan = '无计划安检'
355
- //tag
356
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/查询计划项表信息`,{data:{f_userid:info.f_userinfo_id}}).then((response)=>{
357
- //tag)
358
- info['f_plan_meters'] = response.data
359
- var pardate = {
360
- _this:this,
361
- tittle:'安检详情',
362
- safe:true
363
- }
364
- this.$dispatch('gotoson',pardate)
365
- this.$goto('safecheck-order-v', {item: info, role: 'inspect',parentPage:'AddPlanItem'}, 'self', this.reload)
375
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/查询计划项表信息`,{data:{f_userid:info.f_userinfo_id}}).then((response)=>{
376
+ //tag)
377
+ info['f_plan_meters'] = response.data
378
+ var pardate = {
379
+ _this:this,
380
+ tittle:'安检详情',
381
+ safe:true
382
+ }
383
+ this.$dispatch('gotoson',pardate)
384
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect',parentPage:'AddPlanItem'}, 'self', this.reload)
366
385
 
367
- })
368
- }
369
- })
370
- }else{
371
- info.id = ''
372
- info.f_state = '未检'
373
- info.f_no_checkplan = '无计划安检'
374
- //tag
375
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/查询计划项表信息`,{data:{f_userid:info.f_userinfo_id}}).then((response)=>{
376
- //tag)
377
- info['f_plan_meters'] = response.data
378
- var pardate = {
379
- _this:this,
380
- tittle:'安检详情',
381
- safe:true
386
+ })
387
+ }
388
+ },
389
+ Mreadibook(){
390
+ this.cbc=[]
391
+ let http = new HttpResetClass()
392
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterBooksData`,
393
+ {data: {f_orgid: "('"+Vue.user.orgid+"')"}},
394
+ {resolveMsg: null, rejectMsg: '获取失败!!!'}).then((getMeterReadingBooks)=>{
395
+ this.cbc = [{label: '全部', value: ''}]
396
+ //tag
397
+ //tag)
398
+ //tag
399
+ getMeterReadingBooks.data.meterbooks.forEach((res) => {
400
+ this.cbc.push({label: res.f_book_name, value: res.id})
401
+ /*if(res.f_book_slice_area){
402
+ if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
403
+ this.sliceArea.push(res.f_book_slice_area)
382
404
  }
383
- this.$dispatch('gotoson',pardate)
384
- this.$goto('safecheck-order-v', {item: info, role: 'inspect',parentPage:'AddPlanItem'}, 'self', this.reload)
385
-
386
- })
387
- }
388
- },
389
- Mreadibook(){
390
- this.cbc=[]
391
- let http = new HttpResetClass()
392
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterBooksData`,
393
- {data: {f_orgid: "('"+Vue.user.orgid+"')"}},
394
- {resolveMsg: null, rejectMsg: '获取失败!!!'}).then((getMeterReadingBooks)=>{
395
- this.cbc = [{label: '全部', value: ''}]
396
- //tag
397
- //tag)
398
- //tag
399
- getMeterReadingBooks.data.meterbooks.forEach((res) => {
400
- this.cbc.push({label: res.f_book_name, value: res.id})
401
- /*if(res.f_book_slice_area){
402
- if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
403
- this.sliceArea.push(res.f_book_slice_area)
404
- }
405
- }*/
406
- })
405
+ }*/
407
406
  })
407
+ })
408
408
 
409
409
 
410
- }
411
410
  }
412
411
  }
412
+ }
413
413
  </script>
414
414
  <style scoped>
415
- .app-row {
416
- background-color: white;
417
- padding: 10px 10px 0 10px;
418
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
419
- }
420
- .search_input {
421
- border: 0;
422
- outline: none;
423
- }
424
- .font{
425
- font: 15px PingFang-SC-Medium;
426
- color: #666666;
427
- }
428
- .input-font{
429
- font: 15px PingFang-SC-Medium;
430
- color: #333333;
431
- }
432
- .btn-font{
433
- font:600 16px PingFang-SC-Bold;
434
- color: #499EDF;
435
- }
436
- .btn-color{
437
- background-color: #FFFFFF;
438
- border-radius: 10px ;
439
- border: 1px solid #499EDF;
440
- }
441
- .app-text {
442
- font-size: 12px;
443
- }
444
- .panel-self{
445
- border-radius: 10px;
446
- border:1px solid #499EDF;
447
- background-color: #F8F8F8;
448
- }
449
- .yybtn-color{
450
- border-radius: 4px ;
451
- border: 1px solid #499EDF;
452
- }
453
- .qxbtn-color{
454
- background-color: #FFFFFF;
455
- border-radius: 4px ;
456
- border: 1px solid #499EDF;
457
- }
415
+ .app-row {
416
+ background-color: white;
417
+ padding: 10px 10px 0 10px;
418
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
419
+ }
420
+ .search_input {
421
+ border: 0;
422
+ outline: none;
423
+ }
424
+ .font{
425
+ font: 15px PingFang-SC-Medium;
426
+ color: #666666;
427
+ }
428
+ .input-font{
429
+ font: 15px PingFang-SC-Medium;
430
+ color: #333333;
431
+ }
432
+ .btn-font{
433
+ font:600 16px PingFang-SC-Bold;
434
+ color: #499EDF;
435
+ }
436
+ .btn-color{
437
+ background-color: #FFFFFF;
438
+ border-radius: 10px ;
439
+ border: 1px solid #499EDF;
440
+ }
441
+ .app-text {
442
+ font-size: 12px;
443
+ }
444
+ .panel-self{
445
+ border-radius: 10px;
446
+ border:1px solid #499EDF;
447
+ background-color: #F8F8F8;
448
+ }
449
+ .yybtn-color{
450
+ border-radius: 4px ;
451
+ border: 1px solid #499EDF;
452
+ }
453
+ .qxbtn-color{
454
+ background-color: #FFFFFF;
455
+ border-radius: 4px ;
456
+ border: 1px solid #499EDF;
457
+ }
458
458
  </style>