safecheck-client 3.0.33-6 → 3.0.33-61

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 +3 -3
  2. package/src/App.vue +31 -31
  3. package/src/components/paper/PaperList.vue +5 -4
  4. package/src/components/planmanage/checkUserList.vue +34 -2
  5. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  6. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  7. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  8. package/src/components/rongcheng/DefectPaper.vue +1 -1
  9. package/src/components/rongcheng/PaperListNPSQ.vue +29 -1
  10. package/src/components/rongcheng/PaperListSQ.vue +30 -11
  11. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  12. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  13. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  14. package/src/filiale/Util.js +5 -0
  15. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  16. package/src/filiale/bayan/android/SafecheckOrderV.vue +2854 -2850
  17. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  18. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  19. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  20. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  21. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  22. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  23. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  24. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  25. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  26. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  27. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  28. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  29. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  30. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  31. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  32. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  33. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  34. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  35. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  36. package/src/filiale/jingyang/pc.js +1 -0
  37. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  38. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  39. package/src/filiale/rongchuang/android.js +1 -0
  40. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  41. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  42. package/src/filiale/rongchuang/pc.js +1 -0
  43. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  44. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  45. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  46. package/src/filiale/weinan/android/SafecheckOrderV.vue +3325 -3276
  47. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  48. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  49. package/src/filiale/weinan/pc.js +1 -0
  50. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  51. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
  52. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  53. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
  54. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  55. package/src/filiale/wuhai/pc.js +1 -0
  56. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2 -2
  57. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  58. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  59. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  60. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  61. package/src/filiale/yongzhou/pc/safeDetail.vue +212 -14
  62. package/src/filiale/yongzhou/pc.js +3 -0
  63. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  64. package/src/main.js +2 -2
@@ -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
  }