safecheck-client 3.0.32 → 3.0.33-11

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 (95) hide show
  1. package/package.json +133 -133
  2. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  3. package/src/assets//345/234/260/345/235/200.png +0 -0
  4. package/src/assets//345/247/223/345/220/215.png +0 -0
  5. package/src/assets//345/260/217/345/214/272.png +0 -0
  6. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  7. package/src/assets//345/272/225/346/225/260.png +0 -0
  8. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  9. package/src/assets//346/245/274/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/261/202.png +0 -0
  11. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  12. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  13. package/src/components/android/AndroidDefectDeal.vue +5 -5
  14. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  15. package/src/components/android/SafecheckOrderV.vue +4 -1
  16. package/src/components/map/checkScreen.vue +1 -1
  17. package/src/components/planmanage/checkPlanList.vue +3 -3
  18. package/src/components/planmanage/checkUserList.vue +34 -2
  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/android/AddPlanItem.vue +5 -1
  28. package/src/filiale/bayan/android/SafecheckOrderV.vue +3 -0
  29. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  30. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  31. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  32. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  33. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  34. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  35. package/src/filiale/dexin/android.js +4 -1
  36. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  37. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  38. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  39. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  40. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  41. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  42. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  43. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  46. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  47. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  48. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  49. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  50. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  51. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  52. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  53. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  54. package/src/filiale/fugou/pc.js +60 -5
  55. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  56. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  57. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  58. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  59. package/src/filiale/jingyang/android.js +4 -0
  60. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  61. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  62. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  63. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  64. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  65. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  66. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  67. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  68. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  69. package/src/filiale/shexian/pc.js +1 -0
  70. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  71. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  72. package/src/filiale/weinan/android/SafecheckOrderV.vue +3321 -3276
  73. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  74. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  75. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  76. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  77. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  78. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  79. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  80. package/src/filiale/wensu/pc/checkUserList.vue +13 -9
  81. package/src/filiale/wensu/pc.js +1 -0
  82. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
  83. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  84. package/src/filiale/wuhai/pc.js +1 -0
  85. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  86. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  87. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  88. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  89. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  90. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  91. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  92. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  93. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  94. package/static/stretch_bottom.png +0 -0
  95. package/static/stretch_top.png +0 -0
@@ -8,6 +8,7 @@ let specialComp = {
8
8
 
9
9
  'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
10
10
  'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
11
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) }
11
12
  }
12
13
  exports.specialComp = specialComp
13
14
 
@@ -942,7 +942,7 @@
942
942
  condition += " and ti.f_last_check_state in ('入户','停用','拆除','未通气')"
943
943
  }
944
944
  if(this.$refs.paged.$refs.cri.model.f_state[0] =='未检'){
945
- condition += " and (ti.f_last_check_state in ('到访不遇','拒检') or ti.f_last_check_state is null)"
945
+ condition += " and ti.f_last_check_state not in ('入户','停用','拆除','未通气')"
946
946
  }
947
947
  // if(this.$refs.paged.$refs.cri.model.f_last_state[0])
948
948
  // condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
@@ -974,7 +974,11 @@
974
974
  if(this.$refs.paged.$refs.cri.model.userinfo){
975
975
  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}%')`
976
976
  }
977
- this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成' or f_complete = '已完成') or (f_state = '未检' or f_state = '已检') or (f_last_check_state = '到访不遇' or f_last_check_state = '拒检' )) and ti.f_no_checkplan = '有计划安检'" + condition)
977
+ if(this.$refs.paged.$refs.cri.model.f_state[0] ==''){
978
+ this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成' or f_complete = '已完成') or (f_state = '未检' or f_state = '已检') or (f_last_check_state = '到访不遇' or f_last_check_state = '拒检' )) and ti.f_no_checkplan = '有计划安检'" + condition)
979
+ }else{
980
+ this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成' or f_complete = '已完成') or (f_state = '未检' or f_state = '已检')) and ti.f_no_checkplan = '有计划安检'" + condition)
981
+ }
978
982
  },
979
983
  getNewOrder(){
980
984
  HostApp.__this__ = this
@@ -684,9 +684,9 @@ export default {
684
684
  hasError = this.verifyDevices()
685
685
  if (hasError)
686
686
  return hasError
687
- hasError = this.verifyFeedback()
688
- if (hasError)
689
- return hasError
687
+ // hasError = this.verifyFeedback()
688
+ // if (hasError)
689
+ // return hasError
690
690
  },
691
691
  verifyState() {
692
692
  if (Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
@@ -357,7 +357,7 @@ export default {
357
357
  methods: {
358
358
  safeState(){
359
359
  let state = this.userinfo.f_last_check_state
360
- debugger
360
+
361
361
  if(state=='' ||state=='到访不遇' ||state=='拒检' ||state==null){
362
362
  return '未检'
363
363
  }else{
@@ -96,7 +96,7 @@ export default {
96
96
  this.bookList=[]
97
97
  }
98
98
  //如果是全选,则查询这个安检册下的用户
99
- debugger
99
+
100
100
  if(val){
101
101
  //遍历this.model.rows
102
102
  this.model.rows.forEach(res=>{
@@ -139,7 +139,7 @@ export default {
139
139
  }
140
140
  },
141
141
  removes(){
142
- debugger
142
+
143
143
  if(this.bookList.length===0){
144
144
  this.$showMessage('请选择用户')
145
145
  return
@@ -166,7 +166,7 @@ export default {
166
166
  })
167
167
  },
168
168
  remove(row){
169
- debugger
169
+
170
170
  this.$showMessage("确认移出此安检册?",['confirm']).then(res=>{
171
171
  if(res==='confirm'){
172
172
  let data = {
@@ -80,6 +80,7 @@
80
80
  {{{ model.data.substring(26,model.data.length-8) }}}
81
81
  </th>
82
82
  </tr>
83
+ <tr style="height: 100px"></tr>
83
84
  </table>
84
85
  </div>
85
86
  </criteria-paged>
@@ -72,6 +72,7 @@
72
72
  {{{ model.data.substring(26,model.data.length-8) }}}
73
73
  </th>
74
74
  </tr>
75
+ <tr style="height: 100px"></tr>
75
76
  </table>
76
77
  </div>
77
78
  </criteria-paged>
@@ -568,6 +568,9 @@ export default {
568
568
  let multiple = this.config[this.device.device].items[item].multiple?this.config[this.device.device].items[item].multiple:false
569
569
  let options = this.config[this.device.device].items[item].options
570
570
  if ((this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'inputSelector') && item == this.f_items[n].f_item_name) {
571
+ if (val.length > 1 && val.indexOf('正常') != -1){
572
+ this.f_items[n].f_item_value.splice(val.indexOf('正常'),1)
573
+ }
571
574
  for (let i in options) {
572
575
  if(typeof options[i]=='function'){
573
576
  continue
@@ -81,6 +81,21 @@
81
81
  >
82
82
  </v-select>
83
83
  </div>
84
+ <div class="form-group col-sm-4" >
85
+ <label class="font_normal_body">表具状态:</label>
86
+ <v-select
87
+ class="select select_list"
88
+ :value.sync="model.f_table_state"
89
+ v-model="model.f_table_state"
90
+ :options='$parent.$parent.tableStates'
91
+ placeholder='请选择'
92
+ condition="uf.f_table_state='{}'"
93
+ :search="false"
94
+ close-on-select
95
+ value-single
96
+ >
97
+ </v-select>
98
+ </div>
84
99
  <div class="form-group col-sm-4" >
85
100
  <label class="font_normal_body">用气性质:</label>
86
101
  <v-select
@@ -402,6 +417,7 @@
402
417
  showCondtion:false,
403
418
  userTypes:[],//用户类型
404
419
  userStates:[],//用户状态
420
+ tableStates:[],//表具状态
405
421
  gasproperties:[],//用气性质
406
422
  meter_classifys:[],//气表类型
407
423
  hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
@@ -520,7 +536,8 @@
520
536
  value: ''
521
537
  }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
522
538
 
523
- this.userStates=this.$appdata.getParam('安检用户状态') ? [...this.$appdata.getParam('安检用户状态')] : []
539
+ this.userStates=this.$appdata.getParam('安检用户状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
540
+ this.tableStates=this.$appdata.getParam('安检表具状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('安检表具状态')] : [{label: '全部', value: ''}]
524
541
  this.gasproperties=this.$appdata.getParam('用气性质') ? [{
525
542
  label: '全部',
526
543
  value: ''
@@ -201,7 +201,7 @@ const upSolveDefect = function * (self) {
201
201
  if (res.data.code === 200) {
202
202
  self.$showMessage('隐患已处理。')
203
203
  self.showSolveModal = false
204
- self.model.search('f_repaire_type != \'无隐患\'', {})
204
+ self.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
205
205
  }
206
206
  })
207
207
  }
@@ -303,7 +303,7 @@ const sendRepair = function* (self) {
303
303
  let updateRes = yield self.$resetpost('/rs/logic/updateDefectStateNew', data)
304
304
  if (updateRes.data.code == 200) {
305
305
  self.$showMessage('隐患已转维修。')
306
- self.model.search(`f_repaire_type != '无隐患'`, {})
306
+ self.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
307
307
  }
308
308
  }
309
309
  }
@@ -400,7 +400,7 @@ export default {
400
400
  this.model.f_item_value = `(SELECT stuff(( SELECT ',' + f_item_value FROM t_devices_items_lists WHERE ( f_is_defect = 'true' OR di.f_is_defect = 'true') AND f_item_id = di.id FOR xml path ( '' ) ),1,1,'' ) )`
401
401
  if (this.check) {
402
402
  this.model.f_paper_id = this.check.id
403
- this.model.search(`f_repaire_type != '无隐患'`, {})
403
+ this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
404
404
  }
405
405
  this.getEmp()
406
406
  },
@@ -415,7 +415,7 @@ export default {
415
415
  let http = new HttpResetClass()
416
416
  http.load('POST', 'rs/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
417
417
  if(res.data.code == 200){
418
- this.model.search(`f_repaire_type != '无隐患'`, {})
418
+ this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
419
419
  this.showSolveModal = false
420
420
  this.showToRepairModal = false
421
421
  this.$showMessage('提交成功')
@@ -487,14 +487,14 @@ export default {
487
487
  watch: {
488
488
  'check'() {
489
489
  this.model.f_paper_id = this.check.id
490
- this.model.search(`f_repaire_type != '无隐患'`, {})
490
+ this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
491
491
  },
492
492
  'model.rows'() {
493
493
  //
494
494
  if (this.model.rows.length > 0) {
495
495
  let tempRow = this.model.rows
496
496
  for (let i = 0; i < tempRow.length; i++) {
497
- if (tempRow[i].f_repaire_type == '未处理') {
497
+ if (tempRow[i].f_repaire_type == '未处理' || !tempRow[i].f_repaire_type ) {
498
498
  this.needRepair = true
499
499
  return
500
500
  }
Binary file
Binary file