safecheck-client 3.0.34-3 → 3.0.34-31

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 (75) hide show
  1. package/package.json +1 -1
  2. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  3. package/src/assets/123.png +0 -0
  4. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  5. package/src/components/LoadData.vue +62 -0
  6. package/src/components/android/AndroidDefectDeal.vue +1 -0
  7. package/src/components/android/AreaPlan.vue +1 -7
  8. package/src/components/android/PaperFeedback.vue +1 -1
  9. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  10. package/src/components/android/QRCode/QRCodeBinding.vue +247 -0
  11. package/src/components/android/QRCode/QRCodePage.vue +199 -0
  12. package/src/components/android/SafePlanItem.vue +509 -509
  13. package/src/components/android/SafecheckDevices.vue +1 -1
  14. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  15. package/src/components/android/examples/SafeListExamples.vue +95 -0
  16. package/src/components/android/examples/UserExamples.vue +125 -0
  17. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  18. package/src/components/pc/DeviceChange.vue +1088 -1068
  19. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
  20. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
  21. package/src/filiale/baiyin/android.js +1 -0
  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/SafecheckOrderV.vue +1 -1
  25. package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
  26. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  27. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  28. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  29. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  30. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  31. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  32. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1231 -0
  33. package/src/filiale/jiaxian/android/SafecheckDevices.vue +4 -4
  34. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
  35. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  36. package/src/filiale/jiaxian/android.js +4 -0
  37. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  38. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  39. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  40. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  41. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  42. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  43. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  44. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  45. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  46. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
  47. package/src/filiale/siyang/pc/checkUserList.vue +786 -786
  48. package/src/filiale/siyang/pc.js +16 -16
  49. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  50. package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3335
  51. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  52. package/src/filiale/wuan/android/SafecheckOrderV.vue +2240 -2240
  53. package/src/filiale/wuan/android/SafecheckUserInfo.vue +592 -592
  54. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
  55. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
  56. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
  57. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
  58. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  59. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
  60. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
  61. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  62. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  63. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
  64. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  65. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  66. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  67. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  68. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
  69. package/src/filiale/yuansheng/android.js +17 -17
  70. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  71. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  72. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  73. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  74. package/src/main.js +1 -1
  75. package/src/safecheck-android.js +4 -0
@@ -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()){
@@ -676,7 +676,6 @@
676
676
  HostApp.__this__ = null
677
677
  },
678
678
  takePic(prop, title, index) {
679
- const obj = HostApp.getGpsDetailAddress()
680
679
  HostApp.__callback__ = this.cameraCallBack
681
680
  HostApp.__this__ = this
682
681
  ////tag
@@ -697,6 +696,7 @@
697
696
  }
698
697
  let jingweidu = ''
699
698
  if (this.$parent.$parent.is_has_jingweidu == 'true') {
699
+ const obj = HostApp.getGpsDetailAddress()
700
700
  jingweidu = '\t经度:' + obj.longitude + '\t纬度:' + obj.latitude
701
701
  }
702
702
  HostApp._open_a_page({
@@ -452,7 +452,6 @@ export default {
452
452
  if (this.role == 'androidview') {
453
453
  return
454
454
  }
455
- const obj = HostApp.getGpsDetailAddress()
456
455
  HostApp.__callback__ = this.cameraCallBack
457
456
  HostApp.__this__ = this
458
457
  //tag
@@ -472,6 +471,7 @@ export default {
472
471
  }
473
472
  let jingweidu = ''
474
473
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
474
+ const obj = HostApp.getGpsDetailAddress()
475
475
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
476
476
  }
477
477
  //tag
@@ -747,7 +747,7 @@ export default {
747
747
  this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
748
748
  if(val=='已用气量'){
749
749
  //剩余气量 = 累购-已用
750
- this.f_items[this.f_gas_balance.index].f_item_value= this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value
750
+ this.f_items[this.f_gas_balance.index].f_item_value= (this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value).toFixed(2)
751
751
  if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
752
752
  this.f_items[this.f_gas_balance.index].f_item_value = null
753
753
  }
@@ -505,7 +505,6 @@ export default {
505
505
  HostApp.__this__ = null
506
506
  },
507
507
  takePic (type ,prop, title) {
508
- const obj = HostApp.getGpsDetailAddress()
509
508
  HostApp.__callback__ = this.cameraCallBack
510
509
  HostApp.__this__ = this
511
510
  //tag
@@ -531,6 +530,7 @@ export default {
531
530
  }
532
531
  let jingweidu = ''
533
532
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
533
+ const obj = HostApp.getGpsDetailAddress()
534
534
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
535
535
  }
536
536
  let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
@@ -303,15 +303,7 @@ export default {
303
303
  {label: '左表', value: '左表'},
304
304
  {label: '右表', value: '右表'}
305
305
  ],
306
- check_states: [
307
- {label: '请选择安检状态', value: ''},
308
- {label: '入户', value: '入户'},
309
- {label: '到访不遇', value: '到访不遇'},
310
- {label: '拒检', value: '拒检'},
311
- {label: '停用', value: '停用'},
312
- {label: '未通气', value: '未通气'},
313
- {label: '拆除', value: '拆除'}
314
- ],
306
+ check_states: Vue.$appdata.getParam('安检状态'),
315
307
  last_check_states: [
316
308
  {label: '请选择上次安检状态', value: ''},
317
309
  {label: '入户', value: '入户'},
@@ -437,10 +429,13 @@ export default {
437
429
  condition += " and f_offsite_time < '"+this.$refs.paged.$refs.cri.model.f_end_date +"'"
438
430
  }
439
431
  }
440
- if(this.$refs.paged.$refs.cri.model.f_state){
441
- if(this.$refs.paged.$refs.cri.model.f_state.toString().trim()){
442
- condition += " and f_entry_status = '"+this.$refs.paged.$refs.cri.model.f_state +"'"
443
- }
432
+ if(this.$refs.paged.$refs.cri.model.f_state.length > 0){
433
+ let last_check_state = ''
434
+ this.$refs.paged.$refs.cri.model.f_state.forEach((item) => {
435
+ last_check_state = last_check_state + `'${item}',`
436
+ })
437
+ last_check_state = last_check_state.slice(0, -1)
438
+ condition += " and f_entry_status in ("+last_check_state+")"
444
439
  }
445
440
  if(this.$refs.paged.$refs.cri.model.f_user_type){
446
441
  if(this.$refs.paged.$refs.cri.model.f_user_type.toString().trim()){
@@ -72,6 +72,7 @@
72
72
  <datepicker
73
73
  :value.sync="model.f_gas_date_str"
74
74
  style="width: 60%"
75
+ placeholder='用户首次通气'
75
76
  :format="'yyyy-MM-dd 00:00:00'"
76
77
  v-model="model.f_gas_date_str"
77
78
  condition="f_uservent_date > '{}'"
@@ -83,34 +84,35 @@
83
84
  <datepicker
84
85
  :value.sync="model.f_gas_date_end"
85
86
  style="width: 60%"
87
+ placeholder='用户首次通气'
86
88
  :format="'yyyy-MM-dd 23:59:59'"
87
89
  v-model="model.f_gas_date_end"
88
90
  condition="f_uservent_date < '{}'"
89
91
  >
90
92
  </datepicker>
91
93
  </div>
92
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
94
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow" >
93
95
  <label class="font_normal_body">开始时间</label>
94
96
  <datepicker
95
97
  :value.sync="model.f_check_start"
96
- placeholder='首次通气时间' style="width: 60%"
98
+ placeholder='表具通气时间' style="width: 60%"
97
99
  :disabled-days-of-week="[]"
98
100
  :format="'yyyy-MM-dd'"
99
101
  :show-rest-button="reset"
100
102
  v-model="model.f_check_start"
101
- condition="f_uservent_date > ='{} 00:00:00'">
103
+ condition="f_gas_date > ='{} 00:00:00'">
102
104
  </datepicker>
103
105
  </div>
104
- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
106
+ <div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow" >
105
107
  <label class="font_normal_body">结束时间</label>
106
108
  <datepicker
107
109
  :value.sync="model.f_check_end"
108
- placeholder='首次通气时间' style="width: 60%"
110
+ placeholder='表具通气时间' style="width: 60%"
109
111
  :disabled-days-of-week="[]"
110
112
  :format="'yyyy-MM-dd'"
111
113
  :show-rest-button="reset"
112
114
  v-model="model.f_check_end"
113
- condition="f_uservent_date <= '{} 23:59:59'">
115
+ condition="f_gas_date <= '{} 23:59:59'">
114
116
  </datepicker>
115
117
  </div>
116
118
  </div>
@@ -635,7 +637,7 @@ export default {
635
637
  // this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
636
638
  // //tag
637
639
  // // this.init=true
638
- // this.freshCheckBook()
640
+ this.freshCheckBook()
639
641
  }
640
642
  }
641
643
  </script>