safecheck-client 3.0.30-7 → 3.0.30-71

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 (79) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/components/Util.js +15 -0
  4. package/src/components/android/AddPlanItem.vue +5 -2
  5. package/src/components/android/AreaPlan.vue +2 -2
  6. package/src/components/android/CurrentCreate.vue +3 -2
  7. package/src/components/android/CurrentCreate_new.vue +563 -559
  8. package/src/components/android/PhoneotherInfo.vue +132 -132
  9. package/src/components/android/SafecheckOrderV.vue +2 -2
  10. package/src/components/android/UploadPage.vue +13 -123
  11. package/src/components/paper/PlanChooser.vue +8 -6
  12. package/src/components/pc/Edit.vue +126 -0
  13. package/src/components/pc/LodopFuncs.js +159 -0
  14. package/src/components/pc/NewCheckpaper.vue +9 -5
  15. package/src/components/pc/PaperEdit.vue +151 -0
  16. package/src/components/pc/PrintData.vue +243 -0
  17. package/src/components/pc/PrintTable.vue +241 -0
  18. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -278
  19. package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
  20. package/src/components/report/NoCheckplanSafecheck.vue +0 -2
  21. package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
  22. package/src/filiale/bayan/android/SafecheckOrderV.vue +2850 -2850
  23. package/src/filiale/bayan/android/SafecheckUserInfo.vue +806 -806
  24. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  25. package/src/filiale/fugou/android.js +10 -0
  26. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  27. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1294
  28. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  29. package/src/filiale/hanzhong/android.js +16 -16
  30. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  31. package/src/filiale/hanzhong/pc.js +4 -1
  32. package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
  33. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  34. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  35. package/src/filiale/jingyang/pc/PaperList.vue +1 -2
  36. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  37. package/src/filiale/kelai/android.js +1 -0
  38. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  39. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  40. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
  41. package/src/filiale/tianke/pc/checkScreen.vue +781 -781
  42. package/src/filiale/tianke/pc/cq.jpg +0 -0
  43. package/src/filiale/tianke/pc/qy.jpg +0 -0
  44. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  45. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1095 -1090
  46. package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
  47. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  48. package/src/filiale/wensu/android.js +1 -0
  49. package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
  50. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  51. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  52. package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
  53. package/src/filiale/wensu/pc/checkUserList.vue +50 -0
  54. package/src/filiale/wensu/pc.js +2 -1
  55. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  56. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
  57. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  58. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
  59. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  60. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  61. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
  62. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  63. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  64. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  65. package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
  66. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
  67. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
  68. package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
  69. package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
  70. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
  71. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
  72. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
  73. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  74. package/src/filiale/yongzhou/pc.js +17 -12
  75. package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
  76. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  77. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  78. package/src/safecheck-android.js +290 -290
  79. package/src/safecheck.js +12 -0
@@ -4,7 +4,6 @@
4
4
  <div class="panel-body panel-self">
5
5
  <div class="col-xs-12" style="padding: 2px 0">
6
6
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
7
- <!--<a class="panel-title col-xs-7 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" @click="searchHistory(userinfo.f_userinfoid)">{{ userinfo.f_userinfo_code }}</a>-->
8
7
  <p class="panel-title col-xs-7 text-left input-font" >
9
8
  <label @click="searchHistory(userinfo.f_userinfoid)" style="color: #00b3ee;text-decoration:none;">{{ userinfo.f_userinfo_code }}</label><label v-if="upUserinfoSta=='是'" style="color: #00b3ee;text-decoration:none;" @click="upuserinfo(userinfo.f_userinfoid)">信息变更</label>
10
9
  </p>
@@ -21,18 +20,7 @@
21
20
  <div class="col-xs-12" style="padding: 2px 0">
22
21
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户电话:</b></p>
23
22
  <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_user_phone2 ? userinfo.f_user_phone2 : userinfo.f_user_phone }}" v-model="userinfo.f_user_phone"/>
24
-
25
23
  </div>
26
- <!-- <div class="col-xs-12" style="padding: 2px 0">-->
27
- <!-- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>备用电话:</b></p>-->
28
- <!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_meters?userinfo.f_meters[0].f_rent_phone:null}}" v-model="userinfo.f_rent_phone"/>-->
29
-
30
- <!-- </div>-->
31
- <!-- <div class="col-xs-12" style="padding: 2px 0" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')">-->
32
- <!-- <p class="panel-title text-left font" style="width: 23%;float: left"><b>机表表号:</b></p>-->
33
- <!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_meter_no }}" v-model="userinfo.f_meter_no"/>-->
34
-
35
- <!-- </div>-->
36
24
  <div class="col-xs-12" style="padding: 2px 0">
37
25
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户小区:</b></p>
38
26
  <p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_residential_area }}</p>
@@ -52,7 +40,6 @@
52
40
  </div>
53
41
  <div class="col-xs-12">
54
42
  <button type="button" style="width: 45%;float: left" class="btn btn-primary" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')" @click="updatebiaohao(userinfo.f_meter_no,userinfo.f_userinfoid)">表号修改</button>
55
- <!-- <button type="button" style="width: 45%;float: right" class="btn btn-primary" v-if="updateuserphone" @click="showbiaoxinghao()">表型号修改</button>-->
56
43
  </div>
57
44
  </div>
58
45
  <div class="panel-body">
@@ -83,15 +70,20 @@
83
70
  <label class="text-left font">到访不遇照片:</label>
84
71
  <div class="auto">
85
72
  <div class="panel" style="padding: 10px 10px 5px 10px;">
86
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
73
+ <div class="panel-body panel-self"
74
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
87
75
  <div class="row" style="height: 240px;overflow: scroll;top: 1px">
88
- <div class="col-sm-4">
89
- <img-self :src="f_noanswer_path" alt="到访不遇照片" width="150" height="200"></img-self>
76
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
77
+ v-for="(index,img) in f_noanswers_path">
78
+ <img-self :src="img.f_noanswer_path" alt="到访不遇照片" :width="130" :height="160"></img-self>
79
+ <img src="../../../assets/删除.png" @click="delfile('f_noanswers_path', img.f_noanswer_path,index)"
80
+ style="width: 15px;margin-top: -80px" alt="">
90
81
  </div>
91
82
  </div>
92
83
  <div class="row text-right div-photo" :class="style__">
93
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_noanswer_path', '到访不遇照片')">拍照</button>
94
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_noanswer_path', this.f_noanswer_path)" style="width: 25%;"></img>
84
+ <button type="button" name="button" class="btn btn-primary btn-photo"
85
+ @click="takePic('f_noanswers_path', '到访不遇照片')">拍照
86
+ </button>
95
87
  </div>
96
88
  </div>
97
89
  </div>
@@ -101,15 +93,20 @@
101
93
  <label class="text-left font">拒检照片:</label>
102
94
  <div class="auto">
103
95
  <div class="panel" style="padding: 10px 10px 5px 10px;">
104
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
96
+ <div class="panel-body panel-self"
97
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
105
98
  <div class="row" style="height: 240px;overflow: scroll;top: 1px">
106
- <div class="col-sm-4">
107
- <img-self :src="f_rejectcheck_path" alt="拒检照片" width="150" height="200"></img-self>
99
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px"
100
+ v-for="(index,img) in f_rejectchecks_path">
101
+ <img-self :src="img.f_rejectcheck_path" alt="拒检照片" :width="130" :height="160"></img-self>
102
+ <img src="../../../assets/删除.png" @click="delfile('f_rejectchecks_path', img.f_rejectcheck_path,index)"
103
+ style="width: 15px;margin-top: -80px" alt="">
108
104
  </div>
109
105
  </div>
110
- <div class="row text-right div-photo">
111
- <button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_rejectcheck_path', '拒检照片')">拍照</button>
112
- &nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_rejectcheck_path', this.f_rejectcheck_path)" style="width: 25%;"></img>
106
+ <div class="row text-right div-photo" :class="style__">
107
+ <button type="button" name="button" class="btn btn-primary btn-photo"
108
+ @click="takePic('f_rejectchecks_path', '拒检照片')">拍照
109
+ </button>
113
110
  </div>
114
111
  </div>
115
112
  </div>
@@ -310,23 +307,6 @@ export default {
310
307
  }
311
308
  })
312
309
  },
313
- // updatePhones(f_rent_phone,f_userinfo_id){
314
- // this.$showMessage("将用户 "+this.userinfo.f_meters[0].f_rent_phone+"的电话号码从"+this.beforesphone+"修改为"+f_rent_phone,['confirm', 'cancel']).then((butt)=>{
315
- // if(butt=="confirm"){
316
- // let https = new HttpResetClass()
317
- // https.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/safecheckUpdatePhone`, {
318
- // f_rent_phone:f_rent_phone,
319
- // f_userinfo_id: f_userinfo_id,
320
- // }, {resolveMsg: null, rejectMsg: null}).then((res) => {
321
- // if(res.data.code == 200){
322
- // this.$showMessage('修改成功!')
323
- // }else{
324
- // this.$showMessage('修改失败!,网络异常')
325
- // }
326
- // })
327
- // }
328
- // })
329
- // },
330
310
  upuserinfo(f_userinfo_id) {
331
311
  this.$dispatch('gotoson', {
332
312
  _this: this.$parent.$parent,
@@ -344,9 +324,20 @@ export default {
344
324
  //tag
345
325
  this.$parent.$parent.$goto('phone-sell-info-xin', {f_userinfo_id: f_userinfo_id})
346
326
  },
347
- cameraCallBack(prop, fileName) {
348
- HostApp.__this__.$set(prop, fileName + '?' + Math.random())
349
- //tag
327
+ cameraCallBack (prop, fileName) {
328
+ if (prop == 'f_noanswers_path') {
329
+ let f_noanswer_path = fileName + '?' + Math.random()
330
+ HostApp.__this__.f_noanswers_path.push({
331
+ f_noanswer_path: f_noanswer_path
332
+ })
333
+ } else if (prop == 'f_rejectchecks_path') {
334
+ let f_rejectcheck_path = fileName + '?' + Math.random()
335
+ HostApp.__this__.f_rejectchecks_path.push({
336
+ f_rejectcheck_path: f_rejectcheck_path
337
+ })
338
+ }else {
339
+ HostApp.__this__.$set(prop, fileName + '?' + Math.random())
340
+ }
350
341
  HostApp.__callback__ = null
351
342
  HostApp.__this__ = null
352
343
  },
@@ -355,10 +346,24 @@ export default {
355
346
  HostApp.__this__ = this
356
347
  //tag
357
348
  let fileName
358
- if (!this[prop] || this[prop].includes("nopic.png")) {
349
+ if (prop == 'f_noanswers_path') {
350
+ //tag
351
+ if (this.f_noanswers_path.length == 3) {
352
+ return
353
+ }
359
354
  fileName = Util.guid() + '-' + prop + '.jpg'
360
- } else {
355
+ } else if (prop == 'f_rejectchecks_path') {
356
+ //tag
357
+ if (this.f_rejectchecks_path.length == 3) {
358
+ return
359
+ }
360
+ fileName = Util.guid() + '-' + prop + '.jpg'
361
+ }else {
362
+ if (!this[prop] || this[prop].includes('nopic.png')) {
363
+ fileName = Util.guid() + '-' + prop + '.jpg'
364
+ } else {
361
365
  fileName = Util.getFileName(this[prop])
366
+ }
362
367
  }
363
368
  HostApp._open_a_page({
364
369
  type: 'boomerang',
@@ -371,12 +376,20 @@ export default {
371
376
  }
372
377
  })
373
378
  },
374
- delfile(prop, fileName) {
375
- if (fileName == Vue.nopic)
379
+ delfile (prop, fileName, index) {
380
+ if (fileName == Vue.nopic) {
376
381
  return
377
- else {
378
- HostApp.delfile(fileName)
379
- this[prop] = Vue.nopic
382
+ } else {
383
+ if (prop == 'f_noanswers_path') {
384
+ this.f_noanswers_path.splice(index, 1)
385
+ HostApp.delfile(fileName)
386
+ }else if (prop == 'f_rejectchecks_path') {
387
+ this.f_rejectchecks_path.splice(index, 1)
388
+ HostApp.delfile(fileName)
389
+ } else {
390
+ HostApp.delfile(fileName)
391
+ this[prop] = Vue.nopic
392
+ }
380
393
  }
381
394
  },
382
395
  setEntryClass(val) {
@@ -461,10 +474,85 @@ export default {
461
474
  }
462
475
  if (!this.f_nongasuser_path)
463
476
  this.$set('f_nongasuser_path', '')
464
- if (!this.f_noanswer_path)
477
+ //到访多张照片
478
+ this.$set('f_noanswers_path', [])
479
+ if (this.f_noanswer_path) {
480
+ this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer_path})
481
+ } else {
465
482
  this.$set('f_noanswer_path', '')
466
- if (!this.f_rejectcheck_path)
483
+ }
484
+ if (this.f_noanswer1_path) {
485
+ this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer1_path})
486
+ } else {
487
+ this.$set('f_noanswer1_path', '')
488
+ }
489
+ if (this.f_noanswer2_path) {
490
+ this.f_noanswers_path.push({f_noanswer_path: this.f_noanswer2_path})
491
+ } else {
492
+ this.$set('f_noanswer2_path', '')
493
+ }
494
+ //拒检多张照片
495
+ this.$set('f_rejectchecks_path', [])
496
+ if (this.f_rejectcheck_path) {
497
+ this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck_path})
498
+ } else {
467
499
  this.$set('f_rejectcheck_path', '')
500
+ }
501
+ if (this.f_rejectcheck1_path) {
502
+ this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck1_path})
503
+ } else {
504
+ this.$set('f_rejectcheck1_path', '')
505
+ }
506
+ if (this.f_rejectcheck2_path) {
507
+ this.f_rejectchecks_path.push({f_rejectcheck_path: this.f_rejectcheck2_path})
508
+ } else {
509
+ this.$set('f_rejectcheck2_path', '')
510
+ }
511
+
512
+ this.$watch('f_noanswers_path.length', () => {
513
+ //tag)
514
+ for (let i = 0; i < 3; i++) {
515
+
516
+ if (this.f_noanswers_path[i] && this.f_noanswers_path[i].f_noanswer_path) {
517
+ //tag)
518
+ if (i == 0) {
519
+ this.f_noanswer_path = this.f_noanswers_path[i].f_noanswer_path
520
+ } else {
521
+ this['f_noanswer' + i + '_path'] = this.f_noanswers_path[i].f_noanswer_path
522
+ }
523
+ } else {
524
+ //tag)
525
+ if (i == 0) {
526
+ this.f_noanswer_path = null
527
+ } else {
528
+ this['f_noanswer' + i + '_path'] = null
529
+ }
530
+ }
531
+ }
532
+ //tag
533
+ })
534
+ this.$watch('f_rejectchecks_path.length', () => {
535
+ //tag)
536
+ for (let i = 0; i < 3; i++) {
537
+
538
+ if (this.f_rejectchecks_path[i] && this.f_rejectchecks_path[i].f_rejectcheck_path) {
539
+ //tag)
540
+ if (i == 0) {
541
+ this.f_rejectcheck_path = this.f_rejectchecks_path[i].f_rejectcheck_path
542
+ } else {
543
+ this['f_rejectcheck' + i + '_path'] = this.f_rejectchecks_path[i].f_rejectcheck_path
544
+ }
545
+ } else {
546
+ //tag)
547
+ if (i == 0) {
548
+ this.f_rejectcheck_path = null
549
+ } else {
550
+ this['f_rejectcheck' + i + '_path'] = null
551
+ }
552
+ }
553
+ }
554
+ //tag
555
+ })
468
556
 
469
557
 
470
558
  this.$watch('f_usegas', (val) => {
@@ -477,9 +565,15 @@ export default {
477
565
 
478
566
  if (val == '到访不遇') {
479
567
  this.f_rejectcheck_path = Vue.nopic
568
+ this.f_rejectcheck1_path = Vue.nopic
569
+ this.f_rejectcheck2_path = Vue.nopic
570
+ this.f_rejectchecks_path = []
480
571
  }
481
572
  if (val == '拒检') {
482
573
  this.f_noanswer_path = Vue.nopic
574
+ this.f_noanswer_path1 = Vue.nopic
575
+ this.f_noanswer_path2 = Vue.nopic
576
+ this.f_noanswers_path = []
483
577
  }
484
578
 
485
579
  if (val != '入户') {
@@ -510,6 +604,10 @@ export default {
510
604
  this.$set('f_cookers', [])
511
605
  this.$set('f_heaters', [])
512
606
  this.$set('f_furnaces', [])
607
+ } else {
608
+ this.f_rejectcheck_path = Vue.nopic
609
+ this.f_noanswer_path = Vue.nopic
610
+ this.f_novisit_reason = null
513
611
  }
514
612
  })
515
613
  }
@@ -380,6 +380,16 @@ div {
380
380
  <img-self-safe v-if="this.paperdata.f_entry_status=='到访不遇'" :src="showimg3" width="300"
381
381
  height="400"></img-self-safe>
382
382
  </div>
383
+ <div class="col-md-6">
384
+ <img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer1_path"
385
+ :src="showimg5" width="300"
386
+ height="400"></img-self-plus>
387
+ </div>
388
+ <div class="col-md-6">
389
+ <img-self-plus v-if="this.paperdata.f_entry_status=='到访不遇'&& this.paperdata.f_noanswer2_path"
390
+ :src="showimg6" width="300"
391
+ height="400"></img-self-plus>
392
+ </div>
383
393
  <div class="col-md-6">
384
394
  <img-self-safe v-if="this.paperdata.f_entry_status=='拒检'" :src="showimg4" width="300"
385
395
  height="400"></img-self-safe>
@@ -479,6 +489,8 @@ export default {
479
489
  showimg2: '',
480
490
  showimg3: '',
481
491
  showimg4: '',
492
+ showimg5: '',
493
+ showimg6: '',
482
494
  startClick: false, //开始安检按钮是否可点击
483
495
  isStrat: false, //是否开始安检
484
496
  checkResult: {},//查询结果
@@ -684,6 +696,8 @@ export default {
684
696
  }
685
697
  this.ajresult = JSON.parse(this.data.f_defect_content).result
686
698
  this.showimg3 = this.data.f_noanswer_path
699
+ this.showimg5 = this.data.f_noanswer1_path
700
+ this.showimg6 = this.data.f_noanswer2_path
687
701
  this.showimg4 = this.data.f_rejectcheck_path
688
702
  this.paperdata = this.data
689
703
  this.loading = false