safecheck-client 3.0.34-6 → 3.0.34-61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/docs/FormPrint.md +18 -18
  2. package/docs/GridTree.md +47 -47
  3. package/docs/PrintFile.md +38 -38
  4. package/docs/tree.md +40 -40
  5. package/package.json +1 -1
  6. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  7. package/src/assets/123.png +0 -0
  8. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  9. package/src/components/LoadData.vue +62 -0
  10. package/src/components/NewDefectList/DefectListNew.vue +617 -616
  11. package/src/components/android/AddGas.vue +147 -147
  12. package/src/components/android/AndroidDefectDeal.vue +1 -0
  13. package/src/components/android/AreaPlan.vue +566 -566
  14. package/src/components/android/AreaSelect.vue +208 -0
  15. package/src/components/android/BuildingSelect.vue +217 -0
  16. package/src/components/android/CheckPlanSelect.vue +248 -0
  17. package/src/components/android/CheckerMonthly.vue +84 -84
  18. package/src/components/android/LcheckUnplan.vue +108 -108
  19. package/src/components/android/PaperFeedback.vue +33 -0
  20. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  21. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  22. package/src/components/android/SafecheckDevices.vue +2 -2
  23. package/src/components/android/SafecheckOrderV.vue +8 -12
  24. package/src/components/android/SwitchValve.vue +323 -323
  25. package/src/components/android/examples/SafeListExamples.vue +96 -0
  26. package/src/components/android/examples/UserExamples.vue +130 -0
  27. package/src/components/checkerphonestate/Checker.vue +32 -32
  28. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  29. package/src/components/defects/AddDefectModal.vue +120 -120
  30. package/src/components/defects/AddDevice.vue +95 -95
  31. package/src/components/defects/DevicesSeting.vue +106 -106
  32. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  33. package/src/components/metterfiles/MetterFiles.vue +104 -104
  34. package/src/components/notice/NoticeQuery.vue +76 -76
  35. package/src/components/paper/RepairVerifyForm.vue +76 -76
  36. package/src/components/phonestate/DailyTraffic.vue +57 -57
  37. package/src/components/phonestate/LastKnownState.vue +74 -74
  38. package/src/components/rongcheng/AddPlanItem.vue +4 -0
  39. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  40. package/src/components/rongcheng/CheckSearchUser.vue +40 -14
  41. package/src/components/rongcheng/PaperStatem.vue +6 -1
  42. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  43. package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
  44. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  45. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  46. package/src/components/task/RepairAnnual.vue +79 -79
  47. package/src/components/task/RepairAnnualDetail.vue +49 -49
  48. package/src/components/task/RepairMonthly.vue +91 -91
  49. package/src/components/task/TaskAnnual.vue +77 -77
  50. package/src/components/task/TaskAnnualDetail.vue +47 -47
  51. package/src/components/task/TaskMonthly.vue +89 -89
  52. package/src/components/userfile/UserfileChange.vue +277 -277
  53. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
  54. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  55. package/src/filiale/baiyin/android.js +1 -0
  56. package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
  57. package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
  58. package/src/filiale/baiyin/pc/PaperList.vue +7 -7
  59. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  60. package/src/filiale/baiyin/pc.js +21 -21
  61. package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
  62. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  63. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  64. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  65. package/src/filiale/huaran/android.js +12 -0
  66. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  67. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  68. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  69. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  70. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  71. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  72. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  73. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  74. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  75. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  76. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  77. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  78. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  79. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  80. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  81. package/src/filiale/huaran/pc.js +27 -0
  82. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  83. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  84. package/src/filiale/jiaxian/android/SafecheckDevices.vue +6 -6
  85. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  86. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  87. package/src/filiale/jiaxian/android.js +4 -0
  88. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  89. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  90. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  91. package/src/filiale/ruihua/android.js +11 -0
  92. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  93. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
  94. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  95. package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
  96. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  97. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  98. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  99. package/src/filiale/siyang/pc.js +5 -0
  100. package/src/filiale/tongchuan/android/Select.vue +421 -0
  101. package/src/filiale/tongchuan/android.js +1 -0
  102. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  103. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  104. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  105. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  106. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  107. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  108. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  109. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  110. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  111. package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
  112. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -722
  113. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  114. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  115. package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
  116. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  117. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  118. package/src/filiale/weinan/pc/checkUserList.vue +712 -776
  119. package/src/filiale/weinan/pc.js +47 -46
  120. package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
  121. package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
  122. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1192
  123. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -472
  124. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -473
  125. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
  126. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
  127. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
  128. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
  129. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +6 -6
  130. package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
  131. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  132. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  133. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  134. package/src/safecheck-android.js +7 -0
  135. package/src/safecheck-page.js +10 -0
@@ -1,21 +1,21 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //手机特殊目录注册到该文件中
5
- let specialComp = {
6
- // 计划安检
7
- 'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
8
- 'role-selector-safe': (resolve) => { require(['./pc/RoleSelector'], resolve) },
9
- 'right-tree-safe': (resolve) => { require(['./pc/RightTreeSafe'], resolve) },
10
- 'plan-chooser': (resolve) => { require(['./pc/PlanChooser'], resolve) },
11
- 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
12
- 'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
13
- 'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
14
- 'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
15
- 'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) }
16
- }
17
- exports.specialComp = specialComp
18
-
19
-
20
-
21
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ // 计划安检
7
+ 'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
8
+ 'role-selector-safe': (resolve) => { require(['./pc/RoleSelector'], resolve) },
9
+ 'right-tree-safe': (resolve) => { require(['./pc/RightTreeSafe'], resolve) },
10
+ 'plan-chooser': (resolve) => { require(['./pc/PlanChooser'], resolve) },
11
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
12
+ 'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
13
+ 'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
14
+ 'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
15
+ 'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) }
16
+ }
17
+ exports.specialComp = specialComp
18
+
19
+
20
+
21
+
@@ -84,6 +84,13 @@
84
84
  close-on-select>
85
85
  </v-select>
86
86
  </div>
87
+ <div class="row" style="margin-top: 10px">
88
+ <label class="font_normal_body">选择站点</label>
89
+ <right-tree
90
+ islist
91
+ :source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
92
+ @re-res="getSiteRes"></right-tree>
93
+ </div>
87
94
  <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
88
95
  <label class="font_normal_body">维&ensp;修&ensp;员</label>
89
96
  <v-select
@@ -93,13 +100,6 @@
93
100
  placeholder='请选择维修员'
94
101
  close-on-select></v-select>
95
102
  </div>
96
- <div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
97
- <label class="font_normal_body">站&ensp;&ensp;&ensp;&ensp;点</label>
98
- <right-tree
99
- islist
100
- :source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
101
- @re-res="getSiteRes"></right-tree>
102
- </div>
103
103
  <!--<div class="row" style="margin-top: 10px">
104
104
  <label class="font_normal_body">报修类型</label>
105
105
  <v-select :value.sync="selectData.f_repairtype"
@@ -362,7 +362,7 @@
362
362
  }
363
363
  console.log("准备保存!")
364
364
  this.disableTimer()
365
- this.getEmp()
365
+ // this.getEmp()
366
366
  this.showModal2=true
367
367
  },
368
368
  cancel1(){
@@ -377,14 +377,37 @@
377
377
  getSiteRes(obj) {
378
378
  console.log('siteRes ---> ')
379
379
  console.log(obj)
380
- if(obj.resids[0]){
381
- this.selectData.f_meetunit = obj.res.join('.')
382
- this.selectData.f_reciever = obj.resids.join('.')
383
- this.selectData.f_outlets = obj.res[obj.res.length - 1]
380
+ if(this.selectData.dispatchType=='派发给站点'){
381
+ if(obj.resids[0]){
382
+ this.selectData.f_meetunit = obj.res.join('.')
383
+ this.selectData.f_reciever = obj.resids.join('.')
384
+ this.selectData.f_outlets = obj.res[obj.res.length - 1]
385
+ }else {
386
+ this.selectData.f_meetunit = ''
387
+ this.selectData.f_reciever = ''
388
+ this.selectData.f_outlets = ''
389
+ }
384
390
  }else {
385
- this.selectData.f_meetunit = ''
386
- this.selectData.f_reciever = ''
387
- this.selectData.f_outlets = ''
391
+ if(obj.resids[0]){
392
+ this.selectData.f_meetunit = obj.res.join('.')
393
+ }else {
394
+ this.selectData.f_meetunit = ''
395
+ this.selectData.f_reciever = ''
396
+ this.selectData.f_outlets = ''
397
+ }
398
+ this.repairers = []
399
+ let vali = {
400
+ source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$)!=-1)`,
401
+ userid: `${obj.resids[0]}`
402
+ }
403
+ let http = new HttpResetClass()
404
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: vali}, {resolveMsg: null, rejectMsg: null}).then((res) => {
405
+ res.data.forEach((item) => {
406
+ if (item.state == '在职'){
407
+ this.repairers.push({label: `${item.name}`, value: item.name})
408
+ }
409
+ })
410
+ })
388
411
  }
389
412
  },
390
413
  rectification(){
@@ -417,7 +440,7 @@
417
440
  toRepair=null
418
441
  }else{
419
442
  console.log('派发给维修员---------'+this.selectData.f_repairman)
420
- act={f_meetunit:'',f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
443
+ act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
421
444
  toRepair='一级派单'
422
445
  }
423
446
  let repData={
@@ -438,16 +461,16 @@
438
461
  this.save()
439
462
  },
440
463
  // 获取维修员
441
- getEmp() {
442
- this.repairers=[]
443
- let per = {source: 'this.getRights().where(row.getType()==$user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${Vue.user.id}`}
444
- let http = new HttpResetClass()
445
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: per}, {resolveMsg: null, rejectMsg: null}).then((res) => {
446
- res.data.forEach((user)=>{
447
- this.repairers.push({label:user.name, value: user.name})
448
- })
449
- })
450
- },
464
+ // getEmp() {
465
+ // this.repairers=[]
466
+ // let per = {source: 'this.getRights().where(row.getType()==$user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${Vue.user.id}`}
467
+ // let http = new HttpResetClass()
468
+ // http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: per}, {resolveMsg: null, rejectMsg: null}).then((res) => {
469
+ // res.data.forEach((user)=>{
470
+ // this.repairers.push({label:user.name, value: user.name})
471
+ // })
472
+ // })
473
+ // },
451
474
  closely(isdelete){
452
475
  try {
453
476
  var startOrStopAudioClipStr;
@@ -2547,9 +2570,9 @@
2547
2570
  delete this.config['燃气表']['items']['气量异常差值']
2548
2571
  }
2549
2572
 
2550
- if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
2551
- that.config = that.config2
2552
- }
2573
+ // if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
2574
+ // that.config.燃气表 = that.config2.燃气表
2575
+ // }
2553
2576
 
2554
2577
  //tag)
2555
2578
  if (value.data[0].f_devices) {
@@ -856,6 +856,7 @@ export default {
856
856
  ////tag
857
857
  //获取气表品牌
858
858
  this.getTableBrands()
859
+ this.getAllMeterBook()
859
860
  let gen = select(this)
860
861
  //this.pianqu()
861
862
  this.Mreadibook(`('${this.$login.f.orgid}')`)
@@ -170,30 +170,35 @@
170
170
 
171
171
  <div class="col-sm-3 form-group">
172
172
  <label class="font_normal_body">街道/乡镇</label>
173
- <v-select :value.sync="model.f_street_id" :value-single="true"
173
+ <v-select :value.sync="model.f_street_id"
174
+ :multiple="true"
174
175
  :options='$parent.$parent.streetslist' placeholder='请选择'
175
- condition="f_street_id = '{}'"
176
+ condition="f_street_id in {}"
176
177
  v-model='model.f_street_id'
177
178
  @change="$parent.$parent.streetChange"
178
- close-on-select :search="true" >
179
+ :search="true" >
179
180
  </v-select>
180
181
  </div>
181
182
  <div class="col-sm-3 form-group">
182
183
  <label class="font_normal_body">片区/行政村</label>
183
- <v-select :value.sync="model.f_community_id" v-model='model.f_community_id'
184
- :options='$parent.$parent.communitylist' placeholder='片区/管理站' filer-key="name"
185
- condition="f_community_id = '{}'"
184
+ <v-select :value.sync="model.f_community_id"
185
+ :multiple="true"
186
+ v-model='model.f_community_id'
187
+ :options='$parent.$parent.communitylist'
188
+ placeholder='片区/管理站' filer-key="name"
189
+ condition="f_community_id in {}"
186
190
  @change="$parent.$parent.communityChange"
187
- close-on-select v-ref:slice>
191
+ v-ref:slice>
188
192
  </v-select>
189
193
  </div>
190
194
  <div class="col-sm-3 form-group">
191
195
  <label class="font_normal_body">小区/自然村</label>
192
- <v-select :value.sync="model.f_residential_area_id" :value-single="true"
196
+ <v-select :value.sync="model.f_residential_area_id"
197
+ :multiple="true"
193
198
  :options='$parent.$parent.areaslist' placeholder='请选择'
194
- condition="f_residential_area_id = '{}'"
199
+ condition="f_residential_area_id in {}"
195
200
  v-model='model.f_residential_area_id'
196
- close-on-select>
201
+ >
197
202
  </v-select>
198
203
  </div>
199
204
  <div class="col-sm-3 form-group">
@@ -712,15 +717,30 @@ export default {
712
717
  })
713
718
  this.communitylist=redata
714
719
  },
715
- async streetChange(val){
716
- if(val){
717
- await this.initcommunity(` f_filialeid = '${this.f_filialeids}' and f_street_id ='${val}' `)
720
+ async streetChange(val) {
721
+ if (val.length > 0) {
722
+ // 使用数组来收集值
723
+ const ids = [];
724
+ for (let i = 0; i < val.length; i++) {
725
+ ids.push(val[i]);
726
+ }
727
+ // 将数组转换为逗号分隔的字符串
728
+ const strs = ids.join(',');
729
+ // 调用 initcommunity 方法时确保 SQL 语法正确
730
+ await this.initcommunity(`f_filialeid = '${this.f_filialeids}' and f_street_id in (${strs})`);
718
731
  }
719
732
  },
720
733
  async communityChange(val){
721
734
  console.log(val)
722
- if(val){
723
- await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id ='${val}' `)
735
+ if(val.length > 0){
736
+ // 使用数组来收集值
737
+ const ids = [];
738
+ for (let i = 0; i < val.length; i++) {
739
+ ids.push(val[i]);
740
+ }
741
+ // 将数组转换为逗号分隔的字符串
742
+ const strs = ids.join(',');
743
+ await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id in (${strs}) `)
724
744
  }
725
745
  }
726
746
  },