safecheck-client 3.0.34-1 → 3.0.34-13

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 (64) hide show
  1. package/package.json +1 -1
  2. package/src/components/android/AndroidDefectDeal.vue +634 -633
  3. package/src/components/android/AreaPlan.vue +1 -7
  4. package/src/components/android/ImgSelfAndroid.vue +181 -181
  5. package/src/components/android/PaperFeedback.vue +1 -1
  6. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  7. package/src/components/android/SafecheckDevices.vue +2 -2
  8. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  9. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  10. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  11. package/src/filiale/baiyin/android.js +10 -10
  12. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  13. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  14. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  15. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  16. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  17. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  18. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  19. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  20. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  21. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  22. package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
  23. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  24. package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
  25. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  26. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  27. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  28. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  29. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  30. package/src/filiale/jiaxian/android.js +10 -10
  31. package/src/filiale/jiaxian/pc.js +12 -12
  32. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  33. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  34. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  35. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  36. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  37. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  38. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  39. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  40. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  41. package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3335
  42. package/src/filiale/wuan/android/SafecheckOrderV.vue +4 -1
  43. package/src/filiale/wuan/android/SafecheckUserInfo.vue +6 -5
  44. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
  45. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
  46. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  47. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  48. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  49. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
  50. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
  51. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  52. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
  53. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +4 -4
  54. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  55. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +54 -3
  56. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -944
  57. package/src/filiale/yangchunboneng/pc/PaperList.vue +29 -0
  58. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  59. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  60. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  61. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  62. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  63. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  64. package/src/main.js +33 -33
@@ -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()){