safecheck-client 3.0.32-4 → 3.0.32-41

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 (75) hide show
  1. package/package.json +133 -133
  2. package/src/App.vue +2 -2
  3. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  4. package/src/assets//345/234/260/345/235/200.png +0 -0
  5. package/src/assets//345/247/223/345/220/215.png +0 -0
  6. package/src/assets//345/260/217/345/214/272.png +0 -0
  7. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  8. package/src/assets//345/272/225/346/225/260.png +0 -0
  9. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/217/267.png +0 -0
  11. package/src/assets//346/245/274/345/261/202.png +0 -0
  12. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  13. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  14. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  15. package/src/components/map/checkScreen.vue +1 -1
  16. package/src/components/planmanage/checkPlanList.vue +3 -3
  17. package/src/components/rongcheng/DefectPaper.vue +4 -1
  18. package/src/components/rongcheng/SafecheckUserInfo.vue +1 -0
  19. package/src/filiale/Util.js +7 -0
  20. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  21. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  22. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  23. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  24. package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -1305
  25. package/src/filiale/dexin/android/SafecheckOrderV.vue +2851 -2799
  26. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  27. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  28. package/src/filiale/dexin/android.js +14 -11
  29. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  30. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  31. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  32. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  33. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  34. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  35. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  36. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  37. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  38. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  39. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  40. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  41. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  42. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  43. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  44. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  45. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  46. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  47. package/src/filiale/fugou/pc.js +60 -5
  48. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  49. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  50. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  51. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  52. package/src/filiale/jingyang/android.js +4 -0
  53. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  54. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  55. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  56. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  57. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  58. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  59. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  60. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  61. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  62. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  63. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  64. package/src/filiale/wensu/pc/DefectPaperNew.vue +8 -8
  65. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  66. package/src/filiale/wensu/pc/checkUserList.vue +5 -1
  67. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
  68. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  69. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  70. package/src/filiale/yongzhou/pc/safeStatistics.vue +125 -125
  71. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +111 -111
  72. package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
  73. package/src/main.js +33 -33
  74. package/static/stretch_bottom.png +0 -0
  75. package/static/stretch_top.png +0 -0
@@ -57,6 +57,12 @@ div {
57
57
  <div @click="back()">
58
58
  <img src="../../../assets/back.png" style="margin: 0px"/>
59
59
  </div>
60
+ <div style="margin-top:20px">
61
+ <button class="button_search" @click="updateSpotCheck('合格')">合格</button>
62
+ </div>
63
+ <div style="margin-top:20px">
64
+ <button class="button_search" @click="NoSpotCheck">不合格</button>
65
+ </div>
60
66
  </div>
61
67
  <work-busy :is-busy="loading"></work-busy>
62
68
  <div class="container-fluid" style="overflow: scroll">
@@ -289,7 +295,9 @@ div {
289
295
  </div>
290
296
  <div class="col-md-4" style="text-align: center">
291
297
  <label style="font-weight: normal"
292
- v-if="dev.type!='picture'">{{ getDeviceValue(config.checkname, dev.lname) ? getDeviceValue(config.checkname, dev.lname) : '无' }}</label>
298
+ v-if="dev.type!='picture'">{{
299
+ getDeviceValue(config.checkname, dev.lname) ? getDeviceValue(config.checkname, dev.lname) : '无'
300
+ }}</label>
293
301
  <label style="font-weight: normal" v-if="dev.type=='picture'">
294
302
  <div v-show="getDevicePath(config.checkname,dev.lname)">
295
303
  <button-link style="color: black" type="button" class="btn btn-link"
@@ -358,6 +366,23 @@ div {
358
366
  <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
359
367
  </footer>
360
368
  </modal>
369
+ <modal :show.sync="showSpotCheckButton" v-ref:modal backdrop="false">
370
+ <header slot="modal-header" class="modal-header">
371
+ 安检抽检
372
+ </header>
373
+ <article slot="modal-body" class="modal-body">
374
+ <div class="from-group">
375
+ <div class="row">
376
+ <lable>抽检不合格原因</lable>
377
+ <textarea v-model="spotCheckMessage"></textarea>
378
+ </div>
379
+ </div>
380
+ </article>
381
+ <footer slot="modal-footer" class="modal-footer">
382
+ <button type="button" class="btn btn-success" @click='SpotCheckSuccess'>确认</button>
383
+ <button type="button" class="btn btn-success" @click='SpotCheckCancel'>取消</button>
384
+ </footer>
385
+ </modal>
361
386
  </template>
362
387
 
363
388
  <script>
@@ -463,25 +488,30 @@ export default {
463
488
  "燃气表": {
464
489
  "checkmust": true,
465
490
  "index": 1,
466
- "items":{
491
+ "items": {
467
492
  //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
468
- "气表表号":{"index":1,"type":"string","readonly":true},
469
- "气表型号":{"index":2,"type":"string","readonly":true},
470
- "气表品牌":{"index":3,"type":"string","readonly":true},
471
- "气表类型":{"index":4,"type":"string","readonly":true},
472
- "进气方向":{"index":5,"type":"selector","options":[{"data":"左表","isdefault":false},{"data":"右表","isdefault":false}],"checkmust": true},
473
- "初始表底":{"index":6,"type":"number","isshow":false,"readonly":true},
474
- "上期表读数":{"index":7,"type":"number","readonly":true,isshow:false},
475
- "累购气量":{"index":8,"type":"number","readonly":true},
476
- "累购金额":{"index":8,"type":"number","readonly":true},
477
- "已用气量":{"index":9,"type":"number","checkmust": false},//基表数
478
- "已用金额":{"index":9,"type":"number","checkmust": false},
479
- "剩余气量":{"index":10,"type":"number","checkmust": false},//累购-已用
493
+ "气表表号": {"index": 1, "type": "string", "readonly": true},
494
+ "气表型号": {"index": 2, "type": "string", "readonly": true},
495
+ "气表品牌": {"index": 3, "type": "string", "readonly": true},
496
+ "气表类型": {"index": 4, "type": "string", "readonly": true},
497
+ "进气方向": {
498
+ "index": 5,
499
+ "type": "selector",
500
+ "options": [{"data": "左表", "isdefault": false}, {"data": "右表", "isdefault": false}],
501
+ "checkmust": true
502
+ },
503
+ "初始表底": {"index": 6, "type": "number", "isshow": false, "readonly": true},
504
+ "上期表读数": {"index": 7, "type": "number", "readonly": true, isshow: false},
505
+ "累购气量": {"index": 8, "type": "number", "readonly": true},
506
+ "累购金额": {"index": 8, "type": "number", "readonly": true},
507
+ "已用气量": {"index": 9, "type": "number", "checkmust": false},//基表数
508
+ "已用金额": {"index": 9, "type": "number", "checkmust": false},
509
+ "剩余气量": {"index": 10, "type": "number", "checkmust": false},//累购-已用
480
510
  //显示屏数 --实际剩余气量
481
- "剩余金额":{"index":10,"type":"number","checkmust": false},
482
- "气量异常差值":{"index":11,"type":"number","readonly": true},
483
- "金额异常差值":{"index":11,"type":"number","readonly": true},
484
- "表箱号":{"index":12,"type":"string","readonly": true}
511
+ "剩余金额": {"index": 10, "type": "number", "checkmust": false},
512
+ "气量异常差值": {"index": 11, "type": "number", "readonly": true},
513
+ "金额异常差值": {"index": 11, "type": "number", "readonly": true},
514
+ "表箱号": {"index": 12, "type": "string", "readonly": true}
485
515
  }
486
516
  // 注意,配置项的index必须与上面的固定配置保持'顺序'
487
517
  }
@@ -491,28 +521,35 @@ export default {
491
521
  "燃气表": {
492
522
  "checkmust": true,
493
523
  "index": 1,
494
- "items":{
524
+ "items": {
495
525
  //"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
496
- "气表表号":{"index":1,"type":"string","readonly":true},
497
- "气表型号":{"index":2,"type":"string","readonly":true},
498
- "气表品牌":{"index":3,"type":"string","readonly":true},
499
- "气表类型":{"index":4,"type":"string","readonly":true},
500
- "进气方向":{"index":5,"type":"selector","options":[{"data":"左表","isdefault":false},{"data":"右表","isdefault":false}],"checkmust": true},
501
- "初始表底":{"index":6,"type":"number","isshow":false,"readonly":true},
502
- "上期表读数":{"index":7,"type":"number","readonly":true,isshow:false},
503
- "累购气量":{"index":8,"type":"number","readonly":true},
504
- "累购金额":{"index":8,"type":"number","readonly":true},
505
- "已用气量":{"index":9,"type":"number","checkmust": false},//基表数
506
- "已用金额":{"index":9,"type":"number","checkmust": false},
507
- "剩余气量":{"index":10,"type":"number","checkmust": false},//累购-已用
526
+ "气表表号": {"index": 1, "type": "string", "readonly": true},
527
+ "气表型号": {"index": 2, "type": "string", "readonly": true},
528
+ "气表品牌": {"index": 3, "type": "string", "readonly": true},
529
+ "气表类型": {"index": 4, "type": "string", "readonly": true},
530
+ "进气方向": {
531
+ "index": 5,
532
+ "type": "selector",
533
+ "options": [{"data": "左表", "isdefault": false}, {"data": "右表", "isdefault": false}],
534
+ "checkmust": true
535
+ },
536
+ "初始表底": {"index": 6, "type": "number", "isshow": false, "readonly": true},
537
+ "上期表读数": {"index": 7, "type": "number", "readonly": true, isshow: false},
538
+ "累购气量": {"index": 8, "type": "number", "readonly": true},
539
+ "累购金额": {"index": 8, "type": "number", "readonly": true},
540
+ "已用气量": {"index": 9, "type": "number", "checkmust": false},//基表数
541
+ "已用金额": {"index": 9, "type": "number", "checkmust": false},
542
+ "剩余气量": {"index": 10, "type": "number", "checkmust": false},//累购-已用
508
543
  //显示屏数 --实际剩余气量
509
- "剩余金额":{"index":10,"type":"number","checkmust": false},
510
- "气量异常差值":{"index":11,"type":"number","readonly": true},
511
- "金额异常差值":{"index":11,"type":"number","readonly": true},
512
- "表箱号":{"index":12,"type":"string","readonly": true}
544
+ "剩余金额": {"index": 10, "type": "number", "checkmust": false},
545
+ "气量异常差值": {"index": 11, "type": "number", "readonly": true},
546
+ "金额异常差值": {"index": 11, "type": "number", "readonly": true},
547
+ "表箱号": {"index": 12, "type": "string", "readonly": true}
513
548
  }
514
549
  }
515
550
  },
551
+ showSpotCheckButton: false,
552
+ spotCheckMessage:''
516
553
  }
517
554
  },
518
555
  components: {
@@ -520,12 +557,12 @@ export default {
520
557
  Radio,
521
558
  },
522
559
  computed: {
523
- isRecodrDownloadBtn(){
560
+ isRecodrDownloadBtn() {
524
561
  // 投诉单下派还是处理
525
562
  let res = this.$appdata.getSingleValue('无限制录音');
526
- if (res == 'true'){
563
+ if (res == 'true') {
527
564
  return true;
528
- }else {
565
+ } else {
529
566
  return false;
530
567
  }
531
568
  },
@@ -549,6 +586,32 @@ export default {
549
586
  }
550
587
  },
551
588
  methods: {
589
+ updateSpotCheck(value) {
590
+ var reqData = {
591
+ paperId:this.item.id,
592
+ userName: this.$login.f.name,
593
+ spotCheckState: '已抽检',
594
+ spotCheckResult: value,
595
+ spotCheckMessage:this.spotCheckMessage
596
+ }
597
+ new HttpResetClass().load('POST', 'rs/logic/updateSpotCheck', reqData).then(res => {
598
+ if (res.data = 200) {
599
+ this.$showMessage('安检抽检完成')
600
+ }
601
+ })
602
+ },
603
+ NoSpotCheck() {
604
+ this.showSpotCheckButton = true
605
+ },
606
+ SpotCheckSuccess() {
607
+ this.updateSpotCheck('不合格')
608
+ this.spotCheckMessage = ''
609
+ this.showSpotCheckButton = false
610
+ },
611
+ SpotCheckCancel() {
612
+ this.spotCheckMessage = ''
613
+ this.showSpotCheckButton = false
614
+ },
552
615
  devicesCollect() {
553
616
  //tag
554
617
  //tag)
@@ -602,7 +665,7 @@ export default {
602
665
  if (defects != '') {
603
666
  deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
604
667
  }
605
- } else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0] ) {
668
+ } else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0]) {
606
669
  checkResult = '有隐患'
607
670
  this.result = '有隐患'
608
671
  deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
@@ -679,10 +742,10 @@ export default {
679
742
  if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
680
743
  this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
681
744
  }
682
- if(Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
745
+ if (Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
683
746
  if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
684
747
  this.hiddenDangerImgNumber = 3
685
- }else {
748
+ } else {
686
749
  this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
687
750
  }
688
751
  }
@@ -749,9 +812,9 @@ export default {
749
812
  this.showimg2 = this.devicesAll[i][j].f_items[k].f_second_path
750
813
  this.otherDarginShowImgs = []
751
814
  for (let l = 0; l < this.hiddenDangerImgNumber; l++) {
752
- let img = {path:''}
753
- if (this.devicesAll[i][j].f_items[k]['f_p' + (l+1)+'_path']) {
754
- img.path = this.devicesAll[i][j].f_items[k]['f_p' + (l+1)+'_path'] + '?' + Math.random()
815
+ let img = {path: ''}
816
+ if (this.devicesAll[i][j].f_items[k]['f_p' + (l + 1) + '_path']) {
817
+ img.path = this.devicesAll[i][j].f_items[k]['f_p' + (l + 1) + '_path'] + '?' + Math.random()
755
818
  this.otherDarginShowImgs.push(img)
756
819
  }
757
820
  }
@@ -1225,14 +1288,14 @@ export default {
1225
1288
  //tag)
1226
1289
  if (this.data.f_check_type == '民用') {
1227
1290
  this.deviceconfig = Vue.config.safecheck.DevicesConfig
1228
- if (typeof this.deviceconfig==='string'){
1229
- this.deviceconfig=JSON.parse(this.deviceconfig)
1291
+ if (typeof this.deviceconfig === 'string') {
1292
+ this.deviceconfig = JSON.parse(this.deviceconfig)
1230
1293
  }
1231
1294
  //tag)
1232
1295
  } else if (this.data.f_check_type == '非民用') {
1233
1296
  this.deviceconfig = Vue.config.safecheck.DevicesSetConfig
1234
- if (typeof this.deviceconfig==='string'){
1235
- this.deviceconfig=JSON.parse(this.deviceconfig)
1297
+ if (typeof this.deviceconfig === 'string') {
1298
+ this.deviceconfig = JSON.parse(this.deviceconfig)
1236
1299
  }
1237
1300
  //tag)
1238
1301
  }
@@ -1035,7 +1035,7 @@
1035
1035
  console.log(errString)
1036
1036
  if (Vue.android) {
1037
1037
  this.$showMessage(errString)
1038
- debugger
1038
+
1039
1039
  }
1040
1040
  return
1041
1041
  } else {
@@ -123,7 +123,7 @@
123
123
  this.department_names.push({label:item.f_residential_area,value:item.f_residential_area})
124
124
  })
125
125
  }).catch(error=>{
126
- debugger
126
+
127
127
  })
128
128
  },
129
129
  computed: {
@@ -777,7 +777,7 @@
777
777
  this.$showMessage("网络异常,请检查网络后再试!")
778
778
  })
779
779
  }else{
780
- this.$showMessage("该安检单已被上传!")
780
+ this.$showMessage("该安检单已被上传!请联系营业厅进行核查")
781
781
  }
782
782
  },
783
783
  makeAPhoneCall(phoneNumber) {
@@ -49,15 +49,15 @@
49
49
  </div>
50
50
  <div class="row" v-show="!$parent.$parent.$parent.showItem">
51
51
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
52
- <label class="font_normal_body">用户类型</label>
52
+ <label class="font_normal_body">用气类型</label>
53
53
  <v-select id="f_usertype"
54
- placeholder='用户类型'
54
+ placeholder='用气类型'
55
55
  class="select select_list"
56
- :value.sync="model.f_usertype"
56
+ :value.sync="model.f_gasproperties"
57
57
  :value-single="true"
58
- :options='$parent.$parent.usertypes'
59
- v-model="model.f_usertype"
60
- condition="f_user_type = '{}'"
58
+ :options='$parent.$parent.gasproperties'
59
+ v-model="model.f_gasproperties"
60
+ condition="f_gasproperties = '{}'"
61
61
  close-on-select clear-button></v-select>
62
62
  </div>
63
63
  <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
@@ -183,25 +183,25 @@
183
183
  :value-single="true">
184
184
  </v-select>
185
185
  </div>
186
+ <!-- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">-->
187
+ <!-- <label class="font_normal_body">用户性质</label>-->
188
+ <!-- <v-select class="select_list select"-->
189
+ <!-- placeholder='用户性质' style="width: 60%"-->
190
+ <!-- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
191
+ <!-- :options='$parent.$parent.gasproperties'-->
192
+ <!-- close-on-select clear-button-->
193
+ <!-- condition="f_gasproperties = '{}'"-->
194
+ <!-- :value-single="true">-->
195
+ <!-- </v-select>-->
196
+ <!-- </div>-->
186
197
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
187
- <label class="font_normal_body">用户性质</label>
188
- <v-select class="select_list select"
189
- placeholder='用户性质' style="width: 60%"
190
- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
191
- :options='$parent.$parent.gasproperties'
192
- close-on-select clear-button
193
- condition="f_gasproperties = '{}'"
194
- :value-single="true">
195
- </v-select>
196
- </div>
197
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
198
- <label class="font_normal_body">片区</label>
198
+ <label class="font_normal_body">开户网点</label>
199
199
  <v-select class="select_list select"
200
- placeholder='片区' style="width: 60%"
200
+ placeholder='开户网点' style="width: 60%"
201
201
  :value.sync="model.f_outlets" v-model="model.f_outlets"
202
202
  :options='$parent.$parent.userareas'
203
203
  close-on-select clear-button
204
- condition="f_outlets = '{}'"
204
+ condition=" f_khwd = '{}'"
205
205
  :value-single="true">
206
206
  </v-select>
207
207
  </div>
@@ -251,16 +251,16 @@
251
251
  placeholder="地址" condition="f_address like '%{}%'">
252
252
  </div>
253
253
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
254
- <label class="font_normal_body">用户类型</label>
254
+ <label class="font_normal_body">用气类型</label>
255
255
  <v-select
256
- placeholder='用户类型'
256
+ placeholder='用气类型'
257
257
  class="select select_list"
258
258
 
259
- :value.sync="model.f_usertype"
259
+ :value.sync="model.f_gasproperties"
260
260
  :value-single="true"
261
- :options='$parent.$parent.usertypes'
262
- v-model="model.f_usertype"
263
- condition="f_user_type = '{}'"
261
+ :options='$parent.$parent.gasproperties'
262
+ v-model="model.f_gasproperties"
263
+ condition="f_gasproperties = '{}'"
264
264
  close-on-select clear-button></v-select>
265
265
  </div>
266
266
  <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
@@ -362,7 +362,10 @@
362
362
  <!-- <nobr>气表品牌</nobr>-->
363
363
  <!-- </th>-->
364
364
  <th>
365
- <nobr>用户类型</nobr>
365
+ <nobr>用气类型</nobr>
366
+ </th>
367
+ <th>
368
+ <nobr>开户网点</nobr>
366
369
  </th>
367
370
  <!-- <th>-->
368
371
  <!-- <nobr>壁挂炉</nobr>-->
@@ -403,7 +406,8 @@
403
406
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
404
407
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
405
408
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
406
- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
409
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gasproperties }}</td>
410
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_khwd }}</td>
407
411
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
408
412
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
409
413
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
@@ -583,13 +587,14 @@ export default {
583
587
  f_defect_content: "CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '正常' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
584
588
  },
585
589
  excelHeaders: {
586
- //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
590
+ //用户编号 用户名称 用户电话 安检次数 用气类型 小区名称 地址 安检日期 安检状态 安检结果
587
591
 
588
592
  'f_userinfo_code': '用户编号',
589
593
  'f_user_name': '用户名称',
590
594
  'f_user_phone': '用户电话',
591
595
  'f_meternumber': '用户表号',
592
- 'f_user_type': '用户类型',
596
+ 'f_gasproperties': '用气类型',
597
+ 'f_khwd': '开户网点',
593
598
  'f_checker_name': '安检员',
594
599
  'f_residential_area': '小区名称',
595
600
  'f_address': '地址',
@@ -606,7 +611,7 @@ export default {
606
611
  orgstrs: [{label: '全部', value: ''}],
607
612
  checkersid: [],
608
613
  gasproperties:[],
609
- userareas:[],
614
+ userareas:[{label: '全部', value: ''}, ...this.$appdata.getParam('开户网点')],
610
615
  SafeCheckXZ: '',
611
616
  civil: '', //民用安检周期
612
617
  civilian: '', //非民用安检周期
@@ -684,7 +689,7 @@ export default {
684
689
  this.Mreadibook(`('${this.$login.f.orgid}')`)
685
690
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
686
691
  this.getAllGasproperties()
687
- this.getAllOutlets()
692
+ // this.getAllOutlets()
688
693
  },
689
694
  methods: {
690
695
  async blacklist(){
@@ -920,10 +925,10 @@ export default {
920
925
  }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
921
926
  },
922
927
  usertypes() {
923
- return this.$appdata.getParam('用户类型') ? [{
928
+ return this.$appdata.getParam('用气类型') ? [{
924
929
  label: '全部',
925
930
  value: ''
926
- }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
931
+ }, ...this.$appdata.getParam('用气类型')] : [{label: '全部', value: ''}]
927
932
  },
928
933
  userstates() {
929
934
  return this.$appdata.getParam('用户状态') ? [{
@@ -1082,25 +1087,25 @@ export default {
1082
1087
  })
1083
1088
  })
1084
1089
  },
1085
- getAllOutlets(){
1086
- this.userareas=[{
1087
- label:'全部',
1088
- value:''
1089
- }]
1090
- new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
1091
- items: 'f_outlets',
1092
- tablename: 't_user_address',
1093
- condition: `1=1`,
1094
- groupitem: 'f_outlets'
1095
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1096
- res.data.forEach(ress=>{
1097
- this.userareas.push({
1098
- label:ress.f_outlets,
1099
- value:ress.f_outlets
1100
- })
1101
- })
1102
- })
1103
- },
1090
+ // getAllOutlets(){
1091
+ // this.userareas=[{
1092
+ // label:'全部',
1093
+ // value:''
1094
+ // }]
1095
+ // new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
1096
+ // items: 'f_outlets',
1097
+ // tablename: 't_user_address',
1098
+ // condition: `1=1`,
1099
+ // groupitem: 'f_outlets'
1100
+ // }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1101
+ // res.data.forEach(ress=>{
1102
+ // this.userareas.push({
1103
+ // label:ress.f_outlets,
1104
+ // value:ress.f_outlets
1105
+ // })
1106
+ // })
1107
+ // })
1108
+ // },
1104
1109
  getAllMeterBook(val){
1105
1110
  ////tag
1106
1111
  ////tag
@@ -101,9 +101,9 @@
101
101
  </v-select>
102
102
  </div>
103
103
  <div :class="$parent.$parent.style">
104
- <label class="font_normal_body">起始时间</label>
104
+ <label class="font_normal_body">安检起始时间</label>
105
105
  <datepicker
106
- placeholder='起始时间' style="width:60%"
106
+ placeholder='安检起始时间' style="width:60%"
107
107
  :disabled-days-of-week="[]"
108
108
  :format="'yyyy-MM-dd'"
109
109
  :show-rest-button="reset"
@@ -113,9 +113,9 @@
113
113
  </datepicker>
114
114
  </div>
115
115
  <div :class="$parent.$parent.style">
116
- <label class="font_normal_body">结束时间</label>
116
+ <label class="font_normal_body">安检结束时间</label>
117
117
  <datepicker
118
- placeholder='结束时间' style="width:60%"
118
+ placeholder='安检结束时间' style="width:60%"
119
119
  :disabled-days-of-week="[]"
120
120
  :format="'yyyy-MM-dd'"
121
121
  :show-rest-button="reset"
@@ -300,9 +300,9 @@
300
300
  </v-select>
301
301
  </div>
302
302
  <div :class="$parent.$parent.style">
303
- <label class="font_normal_body">起始时间</label>
303
+ <label class="font_normal_body">安检起始时间</label>
304
304
  <datepicker
305
- placeholder='起始时间' style="width:60%"
305
+ placeholder='安检起始时间' style="width:60%"
306
306
  :disabled-days-of-week="[]"
307
307
  :format="'yyyy-MM-dd'"
308
308
  :show-rest-button="reset"
@@ -312,9 +312,9 @@
312
312
  </datepicker>
313
313
  </div>
314
314
  <div :class="$parent.$parent.style">
315
- <label class="font_normal_body">结束时间</label>
315
+ <label class="font_normal_body">安检结束时间</label>
316
316
  <datepicker
317
- placeholder='结束时间' style="width:60%"
317
+ placeholder='安检结束时间' style="width:60%"
318
318
  :disabled-days-of-week="[]"
319
319
  :format="'yyyy-MM-dd'"
320
320
  :show-rest-button="reset"
@@ -120,9 +120,9 @@ import {HttpResetClass} from 'vue-client'
120
120
  this.allUsers.forEach(user => {
121
121
  // if (resids.indexOf(user.orgid) != -1) {
122
122
  // if (typeof user.name == "string"){
123
- if(user.state == '在职'){
123
+
124
124
  this.users.push({label: user.name, value: user.name})
125
- }
125
+
126
126
 
127
127
  // }
128
128
  // }
@@ -408,7 +408,11 @@
408
408
  args.condition +=` and ${this.uploadCodeCondition}`
409
409
  }
410
410
  if(args.model.f_last_check_state){
411
- args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
411
+ if (args.model.f_last_check_state == '未检'){
412
+ args.condition += ` and (ua.f_last_check_date is null or ua.f_last_check_date is null) `
413
+ }else {
414
+ args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
415
+ }
412
416
  }
413
417
  if(args.model.f_start_time){
414
418
  args.condition += ` and ua.f_last_check_date >='${args.model.f_start_time} 00:00:00' `