safecheck-client 3.0.34-2 → 3.0.34-21

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 (80) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +31 -31
  3. package/src/components/android/AndroidDefectDeal.vue +1 -0
  4. package/src/components/android/AreaPlan.vue +1 -7
  5. package/src/components/android/ImgSelfAndroid.vue +181 -181
  6. package/src/components/android/PaperFeedback.vue +1 -1
  7. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  8. package/src/components/android/SafePlanItem.vue +509 -509
  9. package/src/components/android/SafecheckDevices.vue +2 -2
  10. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  11. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  12. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
  13. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  14. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
  15. package/src/filiale/baiyin/android.js +1 -0
  16. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  17. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  18. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  19. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  20. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  21. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  22. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  23. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  24. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  25. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  26. package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
  27. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  28. package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
  29. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  30. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  31. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  32. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  33. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  34. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  35. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
  36. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  37. package/src/filiale/jiaxian/android.js +13 -10
  38. package/src/filiale/jiaxian/pc.js +12 -12
  39. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  40. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  41. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -468
  42. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  43. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  44. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  45. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  46. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  47. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  48. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  49. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  50. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
  51. package/src/filiale/siyang/pc/checkUserList.vue +786 -786
  52. package/src/filiale/siyang/pc.js +16 -16
  53. package/src/filiale/weinan/android/SafecheckDevices.vue +1307 -1295
  54. package/src/filiale/weinan/android/SafecheckOrderV.vue +11 -1
  55. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  56. package/src/filiale/wuan/android/SafecheckOrderV.vue +4 -1
  57. package/src/filiale/wuan/android/SafecheckUserInfo.vue +6 -5
  58. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
  59. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
  60. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  61. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
  62. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  63. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
  64. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
  65. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  66. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
  67. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  68. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  69. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  70. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
  71. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  72. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  73. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  74. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  75. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
  76. package/src/filiale/yuansheng/android.js +17 -17
  77. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  78. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  79. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  80. package/src/main.js +1 -1
@@ -147,6 +147,15 @@
147
147
  type="text">
148
148
  </div>
149
149
  </div>
150
+ <div v-if="item.f_deal_dispose == '自行处理' || item.f_deal_dispose == '限时整改'" class="form-group" style="display: flex;flex-wrap: wrap">
151
+ <label class="fivelabel">是否拉黑</label>
152
+ <v-select :options="lives"
153
+ :value.sync="item.f_is_black"
154
+ v-model="item.f_is_black"
155
+ :value-single="true"
156
+ clear-button
157
+ close-on-select></v-select>
158
+ </div>
150
159
  </div>
151
160
  </div>
152
161
  </div>
@@ -197,6 +206,7 @@ export default {
197
206
  value: '报修'
198
207
  }, {label: '限时整改', value: '限时整改'}, {label: '跟踪处置', value: '跟踪处置'}],
199
208
  showModal3:false,
209
+ lives: [{label: '是', value: '是'}, {label: '否', value: '否'}],
200
210
  data: {
201
211
  f_devices: [],
202
212
  f_defect_content: '',
@@ -1082,7 +1092,7 @@ export default {
1082
1092
  let msg = ''
1083
1093
  for (let a = 0; a < checkResults.data.length; a++) {
1084
1094
  for (let datumKey in checkResults.data[a]) {
1085
- msg += datumKey + ':' + checkResults.data[a][datumKey] + ';'
1095
+ msg += datumKey + ','
1086
1096
  }
1087
1097
  }
1088
1098
  this.data.f_defect_text = msg
@@ -175,6 +175,18 @@
175
175
  :multiple="true">
176
176
  </v-select>
177
177
  </div>
178
+ <div :class="$parent.$parent.style">
179
+ <label class="font_normal_body">是否限购</label>
180
+ <v-select style="width:60% "
181
+ class="select select_list"
182
+ :options='$parent.$parent.isOrNo'
183
+ v-model='model.f_is_black'
184
+ :value.sync="model.f_is_black"
185
+ placeholder='是否限购'
186
+ condition="f_is_black = '{}'"
187
+ :multiple="false">
188
+ </v-select>
189
+ </div>
178
190
  </div>
179
191
  <div class="row" v-show="$parent.$parent.$parent.showItem">
180
192
  <div :class="$parent.$parent.style">
@@ -329,6 +341,18 @@
329
341
  placeholder='隐患类型'
330
342
  :multiple="true">
331
343
  </v-select>
344
+ </div>
345
+ <div :class="$parent.$parent.style">
346
+ <label class="font_normal_body">是否限购</label>
347
+ <v-select style="width:60% "
348
+ class="select select_list"
349
+ :options='$parent.$parent.isOrNo'
350
+ v-model='model.f_is_black'
351
+ :value.sync="model.f_is_black"
352
+ placeholder='是否限购'
353
+ condition="f_is_black = '{}'"
354
+ :multiple="false">
355
+ </v-select>
332
356
  </div>
333
357
  <div :class="$parent.$parent.style">
334
358
  <label class="font_normal_body">维&ensp;修&ensp;员</label>
@@ -371,6 +395,7 @@
371
395
  <th><nobr>完成情况</nobr></th>
372
396
  <th><nobr>维修情况</nobr></th>
373
397
  <th><nobr>维修员</nobr></th>
398
+ <th><nobr>限购状态</nobr></th>
374
399
  <th><nobr>隐患明细</nobr></th>
375
400
  </tr>
376
401
  </template>
@@ -392,6 +417,7 @@
392
417
  <td style="text-align: center;white-space:nowrap;">{{row.f_is_repair}}</td>
393
418
  <td style="text-align: center;white-space:nowrap;">{{row.f_repaired}}</td>
394
419
  <td style="text-align: center;white-space:nowrap;">{{row.f_repairman}}</td>
420
+ <td style="text-align: center;white-space:nowrap;">{{row.f_is_black}}</td>
395
421
  <td style="text-align: center;white-space:nowrap;">{{ $parent.$parent.$parent.trouble(row.f_defect_content)}}</td>
396
422
  </template>
397
423
  </data-grid>
@@ -522,7 +548,9 @@ export default {
522
548
  checker_name:'',
523
549
  defectType:[],
524
550
  defectLeave:'',
551
+ is_black:'',
525
552
  defectLeaveList:[{label:'全部',value:''},{label:'重大',value:'重大'},{label:'一般',value:'一般'}],
553
+ isOrNo:[{label:'全部',value:''},{label:'是',value:'是'},{label:'否',value:'否'}],
526
554
  repaired:[{label: '全部', value: ''},{label: '未完成', value: '未完成'}, {label: '已完成', value: '已完成'}],
527
555
  deals:[{label: '全部', value: ''},{label: '未处理', value: '未处理'}, {label: '已处理', value: '已处理'}],
528
556
  f: this.$login.f,
@@ -990,6 +1018,9 @@ export default {
990
1018
  }
991
1019
  }
992
1020
  args.condition += ` )`
1021
+ }
1022
+ if (this.is_black){
1023
+
993
1024
  }
994
1025
  this.model.search(args.condition, args.model)
995
1026
  console.log('zzz',args.condition)
@@ -1375,8 +1375,10 @@ export default {
1375
1375
  if(HostApp.__this__.role == 'inspect'
1376
1376
  && HostApp.__this__.data.f_approved
1377
1377
  && HostApp.__this__.data.f_approved == '打回') {
1378
+ if (!this.data.f_onsite_time){
1379
+ HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1380
+ }
1378
1381
  //tag
1379
- HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
1380
1382
  HostApp.__this__.tick()
1381
1383
  }
1382
1384
  }
@@ -2235,3 +2237,4 @@ export default {
2235
2237
  padding: 13px 16px;
2236
2238
  }
2237
2239
  </style>
2240
+
@@ -240,9 +240,6 @@ export default {
240
240
  }
241
241
  }
242
242
  }
243
- for (let i in this.userinfo) {
244
- //tag + ':' + JSON.stringify(this.userinfo[i]))
245
- }
246
243
  this.safecheckStateReady()
247
244
  },
248
245
  methods: {
@@ -409,7 +406,9 @@ export default {
409
406
  start() {
410
407
  this.$parent.$parent.isStrat = true
411
408
  this.$set('action', !this.action)
412
- this.$set('f_onsite_time', Util.toStandardTimeString())
409
+ if (!this.f_onsite_time){
410
+ this.$set('f_onsite_time', Util.toStandardTimeString())
411
+ }
413
412
  },
414
413
  safecheckStateReady() {
415
414
  //tag
@@ -441,7 +440,9 @@ export default {
441
440
  //tag
442
441
  if (this.f_onsite_time) {
443
442
  this.$parent.$parent.isStrat = true
444
- this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
443
+ if (!this.$parent.$parent.data.f_onsite_time){
444
+ this.$parent.$parent.data.f_onsite_time = this.f_onsite_time
445
+ }
445
446
  }
446
447
  if (this.$parent.$parent.role == 'repair') {
447
448
  this.$set('style__', 'divmask')
@@ -662,15 +662,7 @@
662
662
  {label: '未检', value: '未检'},
663
663
  {label: '已检', value: '已检'},
664
664
  ],
665
- last_check_states: [
666
- {label: '请选择', value: ''},
667
- {label: '入户', value: '入户'},
668
- {label: '拒检', value: '拒检'},
669
- {label: '到访不遇', value: '到访不遇'},
670
- {label: '拆除', value: '拆除'},
671
- {label: '停用', value: '停用'},
672
- {label: '未通气', value: '未通气'}
673
- ],
665
+ last_check_states: Vue.$appdata.getParam('安检状态'),
674
666
  upload_states: [
675
667
  {label: '请选择上传状态', value: ''},
676
668
  {label: '未传', value: '未传'},
@@ -1009,8 +1001,13 @@
1009
1001
  condition += ` and (ti.f_user_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%' or f_zuhu_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%' or f_rent_phone like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%' or f_user_phone2 like '%${this.$refs.paged.$refs.cri.model.f_user_phone}%')`
1010
1002
  }
1011
1003
 
1012
- if(this.$refs.paged.$refs.cri.model.f_last_check_state !=''){
1013
- condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_check_state+"'"
1004
+ if(this.$refs.paged.$refs.cri.model.f_last_check_state.length > 0){
1005
+ let last_check_state = ''
1006
+ this.$refs.paged.$refs.cri.model.f_last_check_state.forEach((item) => {
1007
+ last_check_state = last_check_state + `'${item}',`
1008
+ })
1009
+ last_check_state = last_check_state.slice(0, -1)
1010
+ condition += " and ti.f_last_check_state in ("+last_check_state+")"
1014
1011
  }
1015
1012
  if(this.$refs.paged.$refs.cri.model.userinfo){
1016
1013
  condition += ` and (f_userinfo_code like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_name like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_meter_no like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_address like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_zuhu_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_rent_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_phone2 like '%${this.$refs.paged.$refs.cri.model.userinfo}%')`
@@ -302,15 +302,7 @@ export default {
302
302
  {label: '左表', value: '左表'},
303
303
  {label: '右表', value: '右表'}
304
304
  ],
305
- check_states: [
306
- {label: '请选择安检状态', value: ''},
307
- {label: '入户', value: '入户'},
308
- {label: '到访不遇', value: '到访不遇'},
309
- {label: '拒检', value: '拒检'},
310
- {label: '停用', value: '停用'},
311
- {label: '未通气', value: '未通气'},
312
- {label: '拆除', value: '拆除'}
313
- ],
305
+ check_states: Vue.$appdata.getParam('安检状态'),
314
306
  last_check_states: [
315
307
  {label: '请选择上次安检状态', value: ''},
316
308
  {label: '入户', value: '入户'},
@@ -436,10 +428,13 @@ export default {
436
428
  condition += " and f_offsite_time < '"+this.$refs.paged.$refs.cri.model.f_end_date +"'"
437
429
  }
438
430
  }
439
- if(this.$refs.paged.$refs.cri.model.f_state){
440
- if(this.$refs.paged.$refs.cri.model.f_state.toString().trim()){
441
- condition += " and f_entry_status = '"+this.$refs.paged.$refs.cri.model.f_state +"'"
442
- }
431
+ if(this.$refs.paged.$refs.cri.model.f_state.length > 0){
432
+ let last_check_state = ''
433
+ this.$refs.paged.$refs.cri.model.f_state.forEach((item) => {
434
+ last_check_state = last_check_state + `'${item}',`
435
+ })
436
+ last_check_state = last_check_state.slice(0, -1)
437
+ condition += " and f_entry_status in ("+last_check_state+")"
443
438
  }
444
439
  if(this.$refs.paged.$refs.cri.model.f_user_type){
445
440
  if(this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()){