safecheck-client 3.0.34-9 → 3.0.34-90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/package.json +1 -1
  2. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  3. package/src/assets/123.png +0 -0
  4. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  5. package/src/components/LoadData.vue +62 -0
  6. package/src/components/NewDefectList/DefectListNew.vue +1 -0
  7. package/src/components/android/AddPlanItemYy.vue +451 -0
  8. package/src/components/android/AndroidDefectDeal.vue +634 -634
  9. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  10. package/src/components/android/AreaSelect.vue +198 -0
  11. package/src/components/android/BuildingSelect.vue +192 -0
  12. package/src/components/android/CheckPlanSelect.vue +229 -0
  13. package/src/components/android/CurrentCreateYy.vue +1051 -0
  14. package/src/components/android/PaperFeedback.vue +33 -0
  15. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  16. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  17. package/src/components/android/SafecheckDevices.vue +2 -2
  18. package/src/components/android/SafecheckOrderV.vue +8 -12
  19. package/src/components/android/UserinfoSelect.vue +714 -0
  20. package/src/components/android/examples/410.png +0 -0
  21. package/src/components/android/examples/SafeListExamples.vue +279 -0
  22. package/src/components/android/examples/UserExamples.vue +137 -0
  23. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
  24. package/src/components/android/examples/touxiang.png +0 -0
  25. package/src/components/pc/SafeVisitInfo.vue +261 -0
  26. package/src/components/rongcheng/AddPlanItem.vue +8 -0
  27. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  28. package/src/components/rongcheng/CheckSearchUser.vue +46 -16
  29. package/src/components/rongcheng/PaperStatem.vue +6 -1
  30. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  31. package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
  32. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  33. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  34. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
  35. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  36. package/src/filiale/baiyin/android.js +1 -0
  37. package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
  38. package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
  39. package/src/filiale/baiyin/pc/PaperList.vue +7 -7
  40. package/src/filiale/bayan/android/AddPlanItem.vue +8 -0
  41. package/src/filiale/bayan/android/PaperFeedback.vue +63 -49
  42. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
  43. package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
  44. package/src/filiale/bayan/android/SafecheckUserInfo.vue +5 -0
  45. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  46. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  47. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  48. package/src/filiale/huaran/android.js +12 -0
  49. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  50. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  51. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  52. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  53. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  54. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  55. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  56. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  57. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  58. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  59. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  60. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  61. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  62. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  63. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  64. package/src/filiale/huaran/pc.js +27 -0
  65. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  66. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  67. package/src/filiale/jiaxian/android/SafecheckDevices.vue +6 -6
  68. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  69. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  70. package/src/filiale/jiaxian/android.js +4 -0
  71. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  72. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
  73. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  74. package/src/filiale/jingyang/android.js +15 -15
  75. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  76. package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
  77. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  78. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  79. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  80. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  81. package/src/filiale/qingtongxia/android.js +14 -10
  82. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  83. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  84. package/src/filiale/ruihua/android.js +11 -0
  85. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  86. package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
  87. package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
  88. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
  89. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
  90. package/src/filiale/siyang/android.js +15 -11
  91. package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
  92. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
  93. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  94. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
  95. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  96. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  97. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  98. package/src/filiale/siyang/pc.js +22 -16
  99. package/src/filiale/tongchuan/android/Select.vue +421 -0
  100. package/src/filiale/tongchuan/android.js +1 -0
  101. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  102. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  103. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  104. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  105. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
  106. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  107. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  108. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  109. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  110. package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
  111. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
  112. package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
  113. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  114. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  115. package/src/filiale/weinan/pc/checkUserList.vue +49 -113
  116. package/src/filiale/weinan/pc.js +1 -0
  117. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2240
  118. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -592
  119. package/src/filiale/xilan/pc/checkUserList.vue +772 -0
  120. package/src/filiale/xilan/pc.js +12 -0
  121. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +10 -6
  122. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +21 -1
  123. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
  124. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
  125. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
  126. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
  127. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
  128. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +84 -10
  129. package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
  130. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  131. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  132. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  133. package/src/main.js +34 -33
  134. package/src/safecheck-android.js +11 -0
  135. package/src/safecheck-page.js +12 -0
  136. package/src/safecheck.js +3 -0
@@ -32,7 +32,7 @@
32
32
  progress="safeGetExportProgress"
33
33
  sqlurl="rs/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel-safe>
34
34
  <button class="button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
35
- <button class="button_search" @click="$parent.$parent.toRepair" v-if="$parent.$parent.canToRepair == '是'">转维修</button>
35
+ <button class="button_search" @click="$parent.$parent.toRepair">转维修</button>
36
36
  <button class="button_search" @click="search()">查询</button>
37
37
  <div class="button_spacing"
38
38
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
@@ -170,10 +170,10 @@
170
170
  </datepicker>
171
171
  </div>
172
172
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
173
- <label class="font_normal_body">通气开始</label>
173
+ <label class="font_normal_body">首次通气开始</label>
174
174
  <datepicker
175
175
  :value.sync="model.f_gas_start"
176
- placeholder='首次通气时间' style="width: 60%"
176
+ placeholder='首次通气开始时间' style="width: 60%"
177
177
  :disabled-days-of-week="[]"
178
178
  :format="'yyyy-MM-dd'"
179
179
  :show-rest-button="reset"
@@ -182,10 +182,10 @@
182
182
  </datepicker>
183
183
  </div>
184
184
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
185
- <label class="font_normal_body">通气结束</label>
185
+ <label class="font_normal_body">首次通气结束</label>
186
186
  <datepicker
187
187
  :value.sync="model.f_gas_end"
188
- placeholder='首次通气时间' style="width: 60%"
188
+ placeholder='首次通气结束时间' style="width: 60%"
189
189
  :disabled-days-of-week="[]"
190
190
  :format="'yyyy-MM-dd'"
191
191
  :show-rest-button="reset"
@@ -193,6 +193,20 @@
193
193
  condition="f_uservent_date <= '{} 23:59:59'">
194
194
  </datepicker>
195
195
  </div>
196
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
197
+ <label class="font_normal_body">回访状态</label>
198
+ <v-select :value.sync="model.f_is_visit"
199
+ v-model='model.f_is_visit'
200
+ style="width: 60%"
201
+ class="select_list select"
202
+ :options='$parent.$parent.is_visits' placeholder='请选择'
203
+ close-on-select :value-single="true"></v-select>
204
+ </div>
205
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
206
+ <label class="font_normal_body">回访备注</label>
207
+ <input type="text" class="input_search" v-model="model.f_bz"
208
+ style="width: 60%" placeholder="回访备注" condition="f_bz like '%{}%'">
209
+ </div>
196
210
  </div>
197
211
  <modal :show.sync="$parent.$parent.showModal" v-ref:modal>
198
212
  <div slot="modal-header" class="modal-header">
@@ -213,7 +227,9 @@
213
227
  <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
214
228
  <template partial='head'>
215
229
  <tr>
216
- <th v-if="$parent.$parent.$parent.canToRepair=='是'"><nobr>选择</nobr></th>
230
+ <th>
231
+ <nobr><input type="checkbox" v-model="$parent.$parent.$parent.selectAll"></input>全选</nobr>
232
+ </th>
217
233
  <th>
218
234
  <nobr>检查项</nobr>
219
235
  </th>
@@ -239,7 +255,7 @@
239
255
  <data-order field="f_address" name="客户地址"></data-order>
240
256
  </th>
241
257
  <th>
242
- <nobr>通气时间</nobr>
258
+ <nobr>首次通气时间</nobr>
243
259
  </th>
244
260
  <th>
245
261
  <data-order field="f_offsite_time" name="安检时间"></data-order>
@@ -268,10 +284,19 @@
268
284
  <th>
269
285
  <nobr>接收人</nobr>
270
286
  </th>
287
+ <th>
288
+ <nobr>回访状态</nobr>
289
+ </th>
290
+ <th>
291
+ <nobr>回访备注</nobr>
292
+ </th>
293
+ <th>
294
+ <nobr>回访</nobr>
295
+ </th>
271
296
  </tr>
272
297
  </template>
273
298
  <template partial='body'>
274
- <td v-if="$parent.$parent.$parent.canToRepair=='是'" style="text-align: center;white-space:nowrap;"><input type="checkbox" v-if="['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1" @click="$event.cancelBubble=true" :checked="$parent.$parent.$parent.isChecked(row)" @change="$parent.$parent.$parent.setCheckes(row)"></input></td>
299
+ <td style="text-align: center;white-space:nowrap;"><input type="checkbox" v-if="['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1" @click="$event.cancelBubble=true" :checked="$parent.$parent.$parent.isChecked(row)" @change="$parent.$parent.$parent.setCheckes(row)"></input></td>
275
300
  <td style="text-align: center">{{row.f_device_type}}</td>
276
301
  <td style="text-align: center">{{row.f_item_name}}/{{row.f_item_value}}</td>
277
302
  <td style="text-align: center">{{row.f_defect_level}}</td>
@@ -291,6 +316,11 @@
291
316
  <td style="text-align: center">{{row.f_service_id}}</td>
292
317
  <td style="text-align: center">{{row.f_handlingtype}}</td>
293
318
  <td style="text-align: center">{{row.f_order_man}}</td>
319
+ <td style="text-align: center">{{row.f_is_visit}}</td>
320
+ <td style="text-align: center">{{row.f_bz}}</td>
321
+ <td style="text-align: center">
322
+ <button-link v-if="row.f_is_repaired == '用户自行整改'" type="button" class="btn btn-link" @click="$parent.$parent.$parent.playWav(row.f_user_phone, row)">回访
323
+ </button-link></td>
294
324
  </template>
295
325
  </data-grid>
296
326
  </criteria-paged>
@@ -412,6 +442,15 @@
412
442
  <button class="button_search" @click="cancelsolveDefect">取消</button>
413
443
  </div>
414
444
  </modal>
445
+ <modal :show.sync="showVisit" v-ref:modal backdrop="false">
446
+ <header slot="modal-header" class="modal-header">
447
+ </header>
448
+ <article slot="modal-body" class="modal-body">
449
+ <safe-visit-info v-if="showVisit" :row="visitrow" :phone="wavflie" @show-obj="watchShow"></safe-visit-info>
450
+ </article>
451
+ <footer slot="modal-footer" class="modal-footer">
452
+ </footer>
453
+ </modal>
415
454
  </div>
416
455
  </div>
417
456
  </template>
@@ -487,9 +526,13 @@
487
526
  model.f_check_type=''
488
527
  model.f_filialeid = `('${this.$login.f.orgid}')`
489
528
  return {
529
+ showVisit: false,
530
+ visitrow: {},
531
+ wavflie: '',
490
532
  audioshow:false,
491
-
533
+ selectAll:false,
492
534
  model: model,
535
+ is_visits:[{label:'全部',value:''},{label:'已回访',value:'已回访'},{label:'未回访',value:'未回访'}],
493
536
  deal_dispose:[{label:'全部',value:''},{label:'报修',value:'报修'},{label:'现场整改',value:'现场整改'},{label:'自行处理',value:'自行处理'},{label:'未处理',value:'未处理'}],
494
537
  repairStateOptions: this.getSafeParam('隐患状态'),
495
538
  //searchData:searchData,
@@ -501,7 +544,7 @@
501
544
  'f_user_phone': '客户电话',
502
545
  'f_residential_area': '小区',
503
546
  'f_address': '客户地址',
504
- 'f_uservent_date': '通气时间',
547
+ 'f_uservent_date': '首次通气时间',
505
548
  'f_offsite_time': '安检时间',
506
549
  'f_checker_name': '安检员',
507
550
  'f_deal_dispose': '处理方式',
@@ -562,7 +605,31 @@
562
605
  return {condition: this.model.condition}
563
606
  }
564
607
  },
608
+ watch:{
609
+ 'selectAll'(val){
610
+ if(!val){
611
+ this.checkes=[]
612
+ }else {
613
+ this.checkes=[]
614
+ for (let row of this.model.rows){
615
+ if (['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1){
616
+ this.checkes.push(row)
617
+ }
618
+ }
619
+ }
620
+ }
621
+ },
565
622
  methods: {
623
+ watchShow() {
624
+ this.visitrow = {}
625
+ this.showVisit = false
626
+ this.selfSearch()
627
+ },
628
+ playWav(val, val2) {
629
+ this.wavflie = val
630
+ this.visitrow = val2
631
+ this.showVisit = true
632
+ },
566
633
  isChecked(row) {
567
634
  return this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id) != -1
568
635
  },
@@ -738,6 +805,7 @@
738
805
  this.showModal3=false
739
806
  this.cancel1()
740
807
  this.$showMessage('本次转维修成功'+successCount+'单')
808
+ this.$refs.paged.$refs.criteria.search()
741
809
  },
742
810
  getDefectInfoConfig(val){
743
811
  try {
@@ -922,6 +990,12 @@
922
990
  },
923
991
  selfSearch(args) {
924
992
  ////tag
993
+ this.selectAll = false
994
+ if (args.model.f_is_visit == '已回访'){
995
+ args.condition += ` and f_is_visit = '是'`
996
+ }else if (args.model.f_is_visit == '未回访'){
997
+ args.condition += ` and f_is_visit is null`
998
+ }
925
999
  args.condition += ` and f_filialeid in ${this.model.f_filialeid}`
926
1000
  this.model.search(args.condition, args.model, args.condValue)
927
1001
  },
@@ -242,10 +242,10 @@
242
242
  </v-select>
243
243
  </div>
244
244
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
245
- <label class="font_normal_body">通气开始</label>
245
+ <label class="font_normal_body">首次通气开始</label>
246
246
  <datepicker
247
247
  :value.sync="model.f_gas_start"
248
- placeholder='首次通气时间' style="width: 60%"
248
+ placeholder='首次通气开始时间' style="width: 60%"
249
249
  :disabled-days-of-week="[]"
250
250
  :format="'yyyy-MM-dd'"
251
251
  :show-rest-button="reset"
@@ -254,10 +254,10 @@
254
254
  </datepicker>
255
255
  </div>
256
256
  <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
257
- <label class="font_normal_body">通气结束</label>
257
+ <label class="font_normal_body">首次通气结束</label>
258
258
  <datepicker
259
259
  :value.sync="model.f_gas_end"
260
- placeholder='首次通气时间' style="width: 60%"
260
+ placeholder='首次通气结束时间' style="width: 60%"
261
261
  :disabled-days-of-week="[]"
262
262
  :format="'yyyy-MM-dd'"
263
263
  :show-rest-button="reset"
@@ -304,7 +304,7 @@
304
304
  <nobr>客户地址</nobr>
305
305
  </th>
306
306
  <th>
307
- <nobr>通气时间</nobr>
307
+ <nobr>首次通气时间</nobr>
308
308
  </th>
309
309
  <th>
310
310
  <nobr>安检状态</nobr>
@@ -476,7 +476,7 @@ export default {
476
476
  'f_check_type': '客户类型',
477
477
  'f_residential_area': '小区',
478
478
  'f_address': '客户地址',
479
- 'f_uservent_date': '通气时间',
479
+ 'f_uservent_date': '首次通气时间',
480
480
  'f_entry_status': '安检状态',
481
481
  'f_offsite_time': '安检时间',
482
482
  'f_checker_name': '安检员',
@@ -713,7 +713,6 @@ export default {
713
713
  //tag ===> ' + Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value))
714
714
  //tag ===> ' + JSON.stringify(Number(this.gasDeviation)))
715
715
  // 计算差值是否在范围内
716
-
717
716
  if (Math.abs(this.f_items[this.f_meter_aberrant_number2.index].f_item_value) > Number(this.gasDeviation)) {
718
717
  this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true
719
718
  this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = '未处理'
@@ -721,6 +720,17 @@ export default {
721
720
  this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = null
722
721
  this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = null
723
722
  }
723
+ if( this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true){
724
+ this.$showMessage(`表底数异常差值为:${this.f_items[this.f_meter_aberrant_number2.index].f_item_value},是否为隐患?`, ['confirm', 'cancel']).then((res) => {
725
+ if (res === 'confirm') {
726
+ this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true
727
+ this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = '未处理'
728
+ }else{
729
+ this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = null
730
+ this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = null
731
+ }
732
+ })
733
+ }
724
734
  },
725
735
 
726
736
  getGasAberrantNumber(val) {
@@ -689,8 +689,16 @@ export default {
689
689
  deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
690
690
  }
691
691
  }
692
+ } else if (items.f_item_name === '表底数异常差值') {
693
+ var deviation = this.$appdata.getSingleValue('气量异常差值允许误差')
694
+ if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
695
+ if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
696
+ checkResult = '有隐患'
697
+ this.result = '有隐患'
698
+ deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
699
+ }
700
+ }
692
701
  }
693
-
694
702
  //tag)
695
703
  //tag
696
704
  //tag
@@ -839,7 +847,7 @@ export default {
839
847
  },
840
848
  isred(val1, val2) {
841
849
  //tag
842
- if (val2 == '气量异常差值' || val2 == '金额异常差值') {
850
+ if (val2 === '气量异常差值' || val2 === '金额异常差值') {
843
851
  return
844
852
  }
845
853
  for (let i = 0; i < this.devicesAll.length; i++) {
@@ -0,0 +1,24 @@
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ // import { system } from 'system-clients'
5
+ import safecheckAndroid from './safecheck-page'
6
+ // import VueClipboard from 'vue-clipboard2'
7
+ // Vue.use(VueClipboard)
8
+ Vue.config.silent = true
9
+ /** **************************通用组件******************************/
10
+ all()
11
+ // system(false,'shiquan')
12
+ safecheckAndroid()
13
+ // 打开热力系统登陆
14
+ Vue.$heatCompatibility = false
15
+
16
+ require('system-clients/src/styles/less/bootstrap.less')
17
+ require('system-clients/src/styles/less/aofeng/expandcss.less')
18
+ Vue.component('load-data', (resolve) => { require(['./components/LoadData'], resolve) })
19
+ // 测试
20
+ // Vue.component('test', (resolve) => { require(['./components/Test'], resolve) });
21
+ new Vue({
22
+ el: 'body',
23
+ components: { App }
24
+ })
package/src/main.js CHANGED
@@ -1,33 +1,34 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import safecheck from './safecheck'
6
- import echarts from 'echarts'
7
- // import safecheck from './rongcheng'
8
-
9
- all()
10
- // 验证码开关赋值
11
- var Verificationfalg = false
12
- system(Verificationfalg)
13
- // system()
14
- safecheck('siyang')
15
- // safecheck('rizhao')
16
- require('./bootstrap/less/bootstrap.less')
17
- require('./expandcss.less')
18
-
19
- Vue.prototype.$echarts = echarts
20
- Vue.android = false
21
-
22
- Vue.url = '/SafeCheck/rs/'
23
- if(Vue.android)
24
- Vue.url = Vue.staticUrl
25
- Vue.interval = 1*60*1000
26
- Vue.nopic = 'file:///android_asset/nopic.png'
27
- Vue.mapSetup = false
28
-
29
- /* eslint-disable no-new */
30
- new Vue({
31
- el: 'body',
32
- components: { App }
33
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import safecheck from './safecheck'
6
+ import echarts from 'echarts'
7
+ // import safecheck from './rongcheng'
8
+
9
+ all()
10
+ // 验证码开关赋值
11
+ var Verificationfalg = false
12
+ system(Verificationfalg)
13
+ // system()
14
+ safecheck('siyang')
15
+ // safecheck('jingyang');
16
+ // safecheck('rizhao')
17
+ require('./bootstrap/less/bootstrap.less')
18
+ require('./expandcss.less')
19
+
20
+ Vue.prototype.$echarts = echarts
21
+ Vue.android = false
22
+
23
+ Vue.url = '/SafeCheck/rs/'
24
+ if(Vue.android)
25
+ Vue.url = Vue.staticUrl
26
+ Vue.interval = 1*60*1000
27
+ Vue.nopic = 'file:///android_asset/nopic.png'
28
+ Vue.mapSetup = false
29
+
30
+ /* eslint-disable no-new */
31
+ new Vue({
32
+ el: 'body',
33
+ components: { App }
34
+ })
@@ -5,11 +5,19 @@ export default function (filiale) {
5
5
  // register check-paper asynchronosly
6
6
  // 登录
7
7
  Vue.component('android_login', (resolve) => { require(['./components/android/Login'], resolve) })
8
+ Vue.component('check-plan-select', (resolve) => { require(['./components/android/CheckPlanSelect'], resolve) })
9
+ Vue.component('area-select-safe', (resolve) => { require(['./components/android/AreaSelect'], resolve) })
10
+ Vue.component('userinfo-select', (resolve) => { require(['./components/android/UserinfoSelect'], resolve) })
11
+ Vue.component('building-select', (resolve) => { require(['./components/android/BuildingSelect'], resolve) })
12
+ Vue.component('user-examples', (resolve) => { require(['./components/android/examples/UserExamples'], resolve) })
13
+ Vue.component('safe-list-examples', (resolve) => { require(['./components/android/examples/SafeListExamples'], resolve) })
8
14
  Vue.component('img-self-android', (resolve) => {
9
15
  require(['./components/android/ImgSelfAndroid'], resolve)
10
16
  })
11
17
  // 安检员导航
12
18
  Vue.component('checker', (resolve) => { require(['./components/android/Checker'], resolve) })
19
+ Vue.component('qr-code-page', (resolve) => { require(['./components/android/QRCode/QRCodePage'], resolve) })
20
+ Vue.component('qr-code-binding', (resolve) => { require(['./components/android/QRCode/QRCodeBinding'], resolve) })
13
21
  // 维修员
14
22
  Vue.component('repairman', (resolve) => { require(['./components/android/Repairman'], resolve) })
15
23
  // 所长
@@ -127,6 +135,7 @@ export default function (filiale) {
127
135
  Vue.component('upload-page', (resolve) => { require(['./components/android/UploadPage'], resolve) })
128
136
  // 无计划安检
129
137
  Vue.component('add-plan-item', (resolve) => { require(['./components/android/AddPlanItem'], resolve) })
138
+ Vue.component('add-plan-item-yy', (resolve) => { require(['./components/android/AddPlanItemYy'], resolve) })
130
139
  // 在线复检
131
140
  Vue.component('reload-check', (resolve) => { require(['./components/android/recheck/Recheck'], resolve) })
132
141
  //记录查看
@@ -151,6 +160,7 @@ export default function (filiale) {
151
160
  Vue.component('device-item', (resolve) => { require(['./components/android/DevicesItem'], resolve) })
152
161
  // 临时安检计划
153
162
  Vue.component('current-create', (resolve) => { require(['./components/android/CurrentCreate'], resolve) })
163
+ Vue.component('current-create-yy', (resolve) => { require(['./components/android/CurrentCreateYy'], resolve) })
154
164
  // 安检待办---民用
155
165
  Vue.component('civil-current-create', (resolve) => { require(['./components/android/CivilCurrentCreate'], resolve) })
156
166
  // 安检待办---非民用
@@ -192,6 +202,7 @@ export default function (filiale) {
192
202
  // 安检用户信息查看
193
203
  Vue.component('safecheck-userinfo', (resolve) => { require(['./components/android/userinfo/SafecheckUserInfo'], resolve) })
194
204
  Vue.component('android-defect-deal', (resolve) => { require(['./components/android/AndroidDefectDeal'], resolve) })
205
+ Vue.component('android-defect-deal-before-safe', (resolve) => { require(['./components/android/AndroidDefectDealBeforeSafe'], resolve) })
195
206
  // 在线用户档案核对
196
207
  //Vue.component('user-safe-app', (resolve) => { require(['../examples/UserFiles/App'], resolve) })
197
208
  //手机报表查询
@@ -0,0 +1,12 @@
1
+ import Vue from 'vue'
2
+ import { all } from 'vue-client'
3
+
4
+ export default function (filiale) {
5
+ // register check-paper asynchronosly
6
+ Vue.component('user-examples', (resolve) => { require(['./components/android/examples/UserExamples'], resolve) })
7
+ Vue.component('safe-list-examples', (resolve) => { require(['./components/android/examples/SafeListExamples'], resolve) })
8
+ Vue.component('view-details-examples', (resolve) => { require(['./components/android/examples/ViewDetailsExamples.vue'], resolve) })
9
+ Vue.component('img-self-android', (resolve) => { require(['./components/android/ImgSelfAndroid'], resolve)
10
+ })
11
+ }
12
+
package/src/safecheck.js CHANGED
@@ -331,6 +331,9 @@ export default function (filiale) {
331
331
  Vue.component('repair-annual-detail', (resolve) => {
332
332
  require(['./components/task/RepairAnnualDetail'], resolve)
333
333
  })
334
+ Vue.component('safe-visit-info', (resolve) => {
335
+ require(['./components/pc/SafeVisitInfo'], resolve)
336
+ })
334
337
  // 月度任务追踪
335
338
  Vue.component('repair-monthly', (resolve) => {
336
339
  require(['./components/task/RepairMonthly'], resolve)