safecheck-client 3.0.33-8 → 3.0.33-81

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 (91) hide show
  1. package/index.html +6 -2
  2. package/package.json +3 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/android/CurrentCreate.vue +1 -1
  6. package/src/components/android/SafecheckOrderV.vue +3 -3
  7. package/src/components/paper/PaperList.vue +5 -4
  8. package/src/components/planmanage/PlanManage.vue +3 -2
  9. package/src/components/planmanage/checkPlanList.vue +2 -1
  10. package/src/components/planmanage/checkUserList.vue +34 -2
  11. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  12. package/src/components/report/HiddenSituation.vue +3 -3
  13. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  14. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  15. package/src/components/rongcheng/DefectPaper.vue +1 -1
  16. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  17. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  18. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  19. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  20. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  21. package/src/filiale/Util.js +5 -0
  22. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  23. package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
  24. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  25. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  26. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  27. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  28. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  29. package/src/filiale/fugou/android.js +2 -1
  30. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  31. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  32. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  33. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  34. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  35. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  36. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  37. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  38. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  39. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  40. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  41. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  42. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  43. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  44. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  45. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  46. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  47. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  48. package/src/filiale/jingyang/pc.js +1 -0
  49. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  50. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  51. package/src/filiale/rongchuang/android.js +1 -0
  52. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  53. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  54. package/src/filiale/rongchuang/pc.js +1 -0
  55. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  56. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  57. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  58. package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
  59. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  60. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  61. package/src/filiale/weinan/pc.js +1 -0
  62. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  63. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
  64. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  65. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
  66. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
  67. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
  68. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
  69. package/src/filiale/yangchunboneng/android.js +1 -0
  70. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
  71. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
  72. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  73. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  74. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  75. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  76. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  77. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  78. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  79. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  80. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +55 -125
  81. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  82. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  83. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  84. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  85. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  86. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  87. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  88. package/src/filiale/yongzhou/pc.js +4 -0
  89. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  90. package/src/main.js +2 -2
  91. package/src/rongcheng.js +3 -1
@@ -293,7 +293,7 @@ export default {
293
293
  // 5秒后启用点击事件
294
294
  setTimeout(function(){
295
295
  $("#savebut").removeClass("noclickbut");
296
- },10000);
296
+ },5000);
297
297
  },
298
298
  showRepair(){
299
299
  this.showModal2=true
@@ -226,7 +226,7 @@
226
226
  this.nameForSql = ['f_plan_month', 'f_residential_area','f_plan_name']
227
227
  this.groupNameForSql = 'f_plan_month,f_residential_area,f_plan_name'
228
228
  this.f_check_start=Util.toStartDateYearString()
229
- this.search()
229
+ // this.search()
230
230
  this.initstreets()
231
231
  },
232
232
  methods: {
@@ -257,8 +257,6 @@
257
257
  },
258
258
  search () {
259
259
  this.$refs.paged.$refs.cri.search()
260
- this.$dispatch('search')
261
-
262
260
  },
263
261
  getorg (val) {
264
262
  this.f_orgid = this.$login.convertToIn(val)
@@ -20,6 +20,11 @@ export function getAttendanceState(item, timeToWork, timeToGo) {
20
20
  item.f_state = '正常'
21
21
  }
22
22
 
23
+ export function isEmpty (str) {
24
+ return str === undefined || str === null || str.toString().trim() === ''
25
+ }
26
+
27
+
23
28
  export function dateAddDay (date, day) {
24
29
  date.setDate(date.getDate() + Number.parseInt(day));
25
30
  let month = date.getMonth()+1
@@ -154,7 +154,8 @@
154
154
  </div>
155
155
  <div class="row">
156
156
  <p class="panel-title col-xs-4 text-left font">用户电话</p>
157
- <p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}</p>
157
+ <p class="panel-title col-xs-8 text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
158
+ <img src="../../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img></p>
158
159
  </div>
159
160
 
160
161
  <div class="row">
@@ -253,6 +254,9 @@
253
254
  }
254
255
  },
255
256
  methods:{
257
+ makeAPhoneCall(phoneNumber) {
258
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
259
+ },
256
260
  scan(){
257
261
  HostApp.__this__=this,
258
262
  HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
@@ -300,6 +304,9 @@
300
304
  })
301
305
  //tag
302
306
  },
307
+ selfSearch(){
308
+ this.$refs.paged.$refs.cri.search()
309
+ },
303
310
  inspect (info){
304
311
  if(info.f_last_check_date){
305
312
  this.$showMessage("该用户最后一次安检时间为 "+info.f_last_check_date+" 是否继续对该用户进行安检",['confirm', 'cancel']).then((butt)=>{
@@ -317,7 +324,8 @@
317
324
  safe:true
318
325
  }
319
326
  this.$dispatch('gotoson',pardate)
320
- this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', this.reload)
327
+ let _this = this
328
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', function(){_this.selfSearch()})
321
329
 
322
330
  })
323
331
  }
@@ -336,7 +344,8 @@
336
344
  safe:true
337
345
  }
338
346
  this.$dispatch('gotoson',pardate)
339
- this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', this.reload)
347
+ let _this = this
348
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect'}, 'self', function(){_this.selfSearch()})
340
349
 
341
350
  })
342
351
  }
@@ -426,7 +426,8 @@
426
426
  deps:Vue.user.deps,
427
427
  depids:Vue.user.depids,
428
428
  f_remarks:this.selectData.f_remarks,
429
- f_repairtype:this.selectData.f_repairtype,
429
+ f_repairtype:'安检',
430
+ f_servicetype:'安检维修',
430
431
  f_attendant: Vue.user.name,
431
432
  loginUser:{name:Vue.user.name,ename:Vue.user.id,id:Vue.user.id},
432
433
  }
@@ -747,10 +748,13 @@
747
748
  }
748
749
  }
749
750
  //检查安检下拉结果
750
- if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
751
+ if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio' || this.data[device][item].f_items[i].type == 'checkbox') {
751
752
  if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
752
753
  return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
753
754
  }
755
+ if (this.data[device][item].f_items[i].f_is_defect == true && (!this.data[device][item].f_items[i].f_deal_dispose || this.data[device][item].f_items[i].f_deal_dispose == '未处理')) {
756
+ return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须选择处理方式"
757
+ }
754
758
  }
755
759
  }
756
760
  }
@@ -2519,19 +2523,19 @@
2519
2523
  if (value.data.length != 0) {
2520
2524
  that.$set('data', value.data[0])
2521
2525
  //tag)
2522
- if (this.data.f_collection_type == '按气量' && this.data.f_user_type == '民用') {
2526
+ if (this.data.f_collection_type == '按气量' && (this.data.f_user_type == '民用' || this.data.f_check_type == '民用')) {
2523
2527
  delete this.config['燃气表']['items']['累购金额']
2524
2528
  delete this.config['燃气表']['items']['已用金额']
2525
2529
  delete this.config['燃气表']['items']['剩余金额']
2526
2530
  delete this.config['燃气表']['items']['金额异常差值']
2527
- } else if (this.data.f_collection_type == '按金额' && this.data.f_user_type == '民用') {
2531
+ } else if (this.data.f_collection_type == '按金额' && (this.data.f_user_type == '民用' || this.data.f_check_type == '民用')) {
2528
2532
  delete this.config['燃气表']['items']['累购气量']
2529
2533
  delete this.config['燃气表']['items']['已用气量']
2530
2534
  delete this.config['燃气表']['items']['剩余气量']
2531
2535
  delete this.config['燃气表']['items']['气量异常差值']
2532
2536
  }
2533
2537
 
2534
- if (this.data.f_user_type == '非民用'){
2538
+ if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
2535
2539
  that.config = that.config2
2536
2540
  }
2537
2541