safecheck-client 3.0.33-15 → 3.0.33-152

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 (163) hide show
  1. package/index.html +6 -2
  2. package/package.json +133 -133
  3. package/src/App.vue +2 -2
  4. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/AreaPlan.vue +2 -1
  7. package/src/components/android/CurrentCreate.vue +1 -1
  8. package/src/components/android/ImgSelfAndroid.vue +1 -1
  9. package/src/components/android/SafecheckDevices.vue +5 -1
  10. package/src/components/android/SafecheckOrderV.vue +18 -12
  11. package/src/components/map/checkScreen.vue +27 -21
  12. package/src/components/paper/PlanChooser.vue +4 -2
  13. package/src/components/pc/NewCheckpaper.vue +11 -8
  14. package/src/components/planmanage/PlanManage.vue +14 -4
  15. package/src/components/planmanage/checkPlanList.vue +2 -1
  16. package/src/components/planmanage/checkUserList.vue +2 -0
  17. package/src/components/report/HiddenSituation.vue +3 -3
  18. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
  19. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  20. package/src/components/rongcheng/DefectPaper.vue +1 -1
  21. package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
  22. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  24. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  25. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  26. package/src/components/safecheckNew/PaperList.vue +785 -0
  27. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  28. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  29. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  30. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  31. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  32. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  33. package/src/filiale/Util.js +5 -0
  34. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  35. package/src/filiale/baiyin/android.js +10 -0
  36. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  37. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  38. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  39. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  40. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  41. package/src/filiale/baiyin/pc.js +17 -0
  42. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  43. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  44. package/src/filiale/bayan/android/SafecheckOrderV.vue +21 -8
  45. package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
  46. package/src/filiale/bayan/android.js +1 -0
  47. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  48. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  49. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  50. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  51. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  52. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  53. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  54. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  55. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  56. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  57. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  58. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  59. package/src/filiale/bayan/pc.js +6 -0
  60. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  61. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  62. package/src/filiale/fugou/android.js +2 -1
  63. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  64. package/src/filiale/fugou/pc/CheckBook.vue +303 -301
  65. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  66. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
  67. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  68. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  69. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -685
  70. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  71. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  72. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  73. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  74. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  75. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  76. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  77. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  78. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  79. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  80. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  81. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  82. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  83. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  84. package/src/filiale/jingyang/pc.js +1 -0
  85. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  86. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  87. package/src/filiale/liaoyuan/pc.js +2 -1
  88. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  89. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +7 -5
  90. package/src/filiale/qingjian/android/SafecheckOrderV.vue +66 -1
  91. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  92. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  93. package/src/filiale/rongchuang/android.js +1 -0
  94. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  95. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  96. package/src/filiale/rongchuang/pc.js +1 -0
  97. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  98. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  99. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  100. package/src/filiale/siyang/android.js +11 -0
  101. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  102. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  103. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  104. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  105. package/src/filiale/siyang/pc.js +15 -0
  106. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  107. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  108. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  109. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  110. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  111. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  112. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  113. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  114. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  115. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  116. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  117. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  118. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  119. package/src/filiale/weinan/pc.js +2 -0
  120. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  121. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  122. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  123. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  124. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
  125. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
  126. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +20 -20
  127. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +3 -3
  128. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  129. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +5 -5
  130. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +17 -4
  131. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +30 -12
  132. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
  133. package/src/filiale/yangchunboneng/android.js +1 -0
  134. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  135. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  136. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  137. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  138. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +98 -3
  139. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  140. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  141. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  142. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  143. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  144. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  145. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  146. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  147. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  148. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  149. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  150. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  151. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  152. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  153. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  154. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  155. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  156. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  157. package/src/filiale/yongzhou/pc.js +4 -0
  158. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  159. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  160. package/src/main.js +1 -1
  161. package/src/rongcheng.js +3 -1
  162. package/src/safecheck-android.js +6 -0
  163. package/src/safecheck.js +3 -0
@@ -0,0 +1,15 @@
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ 'plan-manage':(resolve) => { require(['./pc/PlanManage'], resolve) },
7
+ 'paper-main':(resolve) => { require(['./pc/PaperList'], resolve) },
8
+ 'check-user-list':(resolve) => { require(['./pc/checkUserList'], resolve) },
9
+ 'paper-defect-main':(resolve) => { require(['./pc/PaperDefectMain'], resolve) },
10
+ }
11
+ exports.specialComp = specialComp
12
+
13
+
14
+
15
+
@@ -232,26 +232,20 @@
232
232
  }
233
233
  let td=Util.toStandardDateString()
234
234
  //获取今天上传的所有隐患
235
- let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.toStartDateYearString()} 00:00:00' and f_longitude is not null`}},
235
+ let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.toStandardDateString()} 00:00:00'`}},
236
236
  {resolveMsg: null, rejectMsg: null})
237
237
  //tag)
238
238
  if(arr.data){
239
239
  this.todayDefectList=[]
240
240
  arr.data.forEach((defect)=>{
241
- //拿出今天的隐患放到今日隐患列表中
242
- console.log("td",td)
243
- console.log("defect",defect)
244
- console.log("defect",defect)
245
241
  if(defect.f_upload_date.indexOf(td)!=-1){
246
242
  this.todayDefectList.push(defect)
247
243
  }
248
- //取出一二三级隐患
249
- console.log("二级隐患",defect.f_defect_level=='二级隐患')
250
- if(defect.f_defect_level=='一级隐患'){
244
+ if(defect.f_defect_level.indexOf('一级') >=0){
251
245
  this.level1.push(defect)
252
- }else if(defect.f_defect_level=='二级隐患'){
246
+ }else if(defect.f_defect_level.indexOf('二级') >=0){
253
247
  this.level2.push(defect)
254
- }else if(defect.f_defect_level=='三级隐患'){
248
+ }else if(defect.f_defect_level.indexOf('三级') >=0){
255
249
  this.level3.push(defect)
256
250
  }else{
257
251
  this.problems.push(defect)
@@ -348,13 +342,15 @@
348
342
 
349
343
 
350
344
  let a3=[]
351
- for(let i=0;i<this.level2.length;i++){
352
- a3.push({
353
- lnglat: [this.level2[i].f_longitude,this.level2[i].f_latitude], //点标记位置
354
- name: '二级隐患',
355
- id:i,
356
- rowstr:this.level2[i]
357
- })
345
+ for(let o=0;o<this.level2.length;o++){
346
+ if (this.level2[o].f_longitude && this.level2[o].f_latitude){
347
+ a3.push({
348
+ lnglat: [this.level2[o].f_longitude,this.level2[o].f_latitude], //点标记位置
349
+ name: '二级隐患',
350
+ id:o,
351
+ rowstr:this.level2[o]
352
+ })
353
+ }
358
354
  }
359
355
  // 将数组设置到 massMarks 图层
360
356
  this.level2Mulchs.setData(a3);
@@ -362,13 +358,15 @@
362
358
  this.level2Mulchs.setMap(this.map);
363
359
 
364
360
  let a4=[]
365
- for(let i=0;i<this.level3.length;i++){
366
- a4.push({
367
- lnglat: [this.level3[i].f_longitude, this.level3[i].f_latitude], //点标记位置
368
- name: '三级隐患',
369
- id:i,
370
- rowstr:this.level3[i]
371
- })
361
+ for(let p=0;p<this.level3.length;p++){
362
+ if (this.level3[p].f_longitude&&this.level3[p].f_latitude){
363
+ a4.push({
364
+ lnglat: [this.level3[p].f_longitude, this.level3[p].f_latitude], //点标记位置
365
+ name: '三级隐患',
366
+ id:p,
367
+ rowstr:this.level3[p]
368
+ })
369
+ }
372
370
  }
373
371
  // 将数组设置到 massMarks 图层
374
372
  this.level3Mulchs.setData(a4);
@@ -377,13 +375,15 @@
377
375
 
378
376
 
379
377
  let a5=[]
380
- for(let i=0;i<this.problems.length;i++){
381
- a5.push({
382
- lnglat: [this.problems[i].f_longitude, this.problems[i].f_latitude], //点标记位置
383
- name: '普通问题',
384
- id:i,
385
- rowstr:this.problems[i]
386
- })
378
+ for(let l=0;l<this.problems.length;l++){
379
+ if (this.problems[l].f_longitude&&this.problems[l].f_latitude){
380
+ a5.push({
381
+ lnglat: [this.problems[l].f_longitude, this.problems[l].f_latitude], //点标记位置
382
+ name: '普通问题',
383
+ id:l,
384
+ rowstr:this.problems[l]
385
+ })
386
+ }
387
387
  }
388
388
  // 将数组设置到 massMarks 图层
389
389
  this.problemsMulchs.setData(a5);
@@ -469,10 +469,15 @@
469
469
  let that=this
470
470
  this.map = new AMap.Map('check_map', {
471
471
  zoom: 12,
472
+ center: [116.80030599999998, 37.65219],
473
+ showIndoorMap: false,
472
474
  viewMode: '2D', //设置地图模式
473
475
  lang: 'zh_cn', //设置地图语言类型
474
476
  zindex: 99
475
477
  });
478
+
479
+ let bounds = this.map.getBounds();
480
+ this.map.setLimitBounds(bounds);
476
481
  // 异步加载地图插件
477
482
  AMap.plugin(
478
483
  ['AMap.ToolBar','AMap.Geolocation','AMap.Geocoder'], () => {//异步加载插件
@@ -192,6 +192,27 @@
192
192
  </div>
193
193
  </div>
194
194
  </div>-->
195
+ <div class="row auto" style="margin: 5px 0">
196
+ <label class="righttxt">气表品牌:</label>
197
+ <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_gasbrand_id "
198
+ v-model="userinfo.meterinfo[0].f_gasbrand_id "
199
+ placeholder='请选择'
200
+ :width='wid'
201
+ @change="brand_change"
202
+ readonly
203
+ :options="brandlist"
204
+ close-on-select value-single></v-select>
205
+ </div>
206
+ <div class="row auto" style="margin: 5px 0">
207
+ <label class="righttxt">气表型号:</label>
208
+ <v-select class="rightipt" :value.sync="userinfo.meterinfo[0].f_gasmodel_id"
209
+ v-model="userinfo.meterinfo[0].f_gasmodel_id"
210
+ placeholder='请选择'
211
+ :width='wid'
212
+ readonly
213
+ :options="modellist"
214
+ close-on-select value-single></v-select>
215
+ </div>
195
216
  <div class="row auto" style="margin: 5px 0">
196
217
  <label class="righttxt">通&ensp;气&ensp;人:</label>
197
218
  <input type="text" class="form-control rightipt" v-model="userinfo.meterinfo[0].f_gas_person"/>
@@ -425,7 +446,9 @@
425
446
  'f_user_name'
426
447
  ],
427
448
  checkUserFilesField: [
428
- 'f_meternumber'
449
+ 'f_meternumber',
450
+ 'f_gasbrand_id',
451
+ 'f_gasmodel_id'
429
452
  ],
430
453
  checkAddressField: [
431
454
  'f_pcd_id',
@@ -441,6 +464,8 @@
441
464
  ],
442
465
  },
443
466
  boxOptions: [],
467
+ brandlist: [],
468
+ modellist: [],
444
469
  showBox: false,
445
470
  directOptions: [{label: '是', value: '是'}, {label: '否', value: '否'}],
446
471
  deviceBrandOption: {},
@@ -455,6 +480,20 @@
455
480
  f_source: ''
456
481
  },
457
482
  methods: {
483
+ async getBrand() {
484
+ let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
485
+ data: {
486
+ items: "*",
487
+ tablename: "t_gasbrand",
488
+ orderitem: "id",
489
+ condition: `f_orgid = '${Vue.user.orgid}'`
490
+ }
491
+ }, {resolveMsg: null, rejectMsg: null})
492
+ ////tag)
493
+ res.data.forEach((result) => {
494
+ this.brandlist.push({label: result.f_meter_brand , value: result.id})
495
+ })
496
+ },
458
497
  scan() {
459
498
  HostApp.__this__ = this,
460
499
  HostApp.scanCode({callback: "javascript:HostApp.__this__.getCode();"})
@@ -770,6 +809,8 @@
770
809
  f_iscity: this.userinfo.addressinfo.f_iscity,
771
810
  f_special: this.userinfo.addressinfo.f_special,
772
811
  f_meternumber: this.userinfo.meterinfo[0].f_meternumber,
812
+ f_gasbrand_id: this.userinfo.meterinfo[0].f_gasbrand_id,
813
+ f_gasmodel_id: this.userinfo.meterinfo[0].f_gasmodel_id,
773
814
  changemeterno: this.changemeterno
774
815
  },
775
816
  tablename: 't_modify_userinfo'
@@ -865,6 +906,23 @@
865
906
 
866
907
  this.changeNewAddress()
867
908
  },
909
+ async brand_change() {
910
+ /*根据气表品牌,查询气表类型*/
911
+ if (this.userinfo.meterinfo[0].f_gasbrand_id!== "") {
912
+ let res = await new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
913
+ data: {
914
+ items: "*",
915
+ tablename: "t_gasmodel",
916
+ orderitem: "id",
917
+ condition: `f_gasbrand_id= '${this.userinfo.meterinfo[0].f_gasbrand_id}'`
918
+ }
919
+ }, {resolveMsg: null, rejectMsg: null})
920
+ ////tag)
921
+ res.data.forEach((result) => {
922
+ this.modellist.push({label: result.f_meter_style, value: result.id})
923
+ })
924
+ }
925
+ },
868
926
  async pcd_change() {
869
927
  //tag
870
928
  if (this.selectPcd.id) {
@@ -1083,7 +1141,7 @@
1083
1141
  return
1084
1142
  }
1085
1143
  try {
1086
-
1144
+ this.getBrand()
1087
1145
  this.devices_types = Vue.$appdata.getParam('设备类型')
1088
1146
  console.log('this.devices_types=', JSON.stringify(this.devices_types))
1089
1147
  for (const devices_type of this.devices_types) {
@@ -920,13 +920,12 @@
920
920
  if(Util.required(this.data.f_user_name))
921
921
  return prefix + '用户名必须输入'
922
922
  if(!(/^\d{11}$/.test(this.data.f_user_phone))) {
923
-
924
923
  return '请输入正确的电话号码'
925
924
  }
926
925
  // if(Util.required(this.data.f_residential_area))
927
926
  // return prefix + '小区名称必须输入'
928
- if(Util.required(this.data.f_address))
929
- return prefix + '地址必须输入'
927
+ // if(Util.required(this.data.f_address))
928
+ // return prefix + '地址必须输入'
930
929
  },
931
930
  verifyDevices() {
932
931
  for (let dev in this.config) {
@@ -601,7 +601,7 @@ export default {
601
601
  if (defects != '') {
602
602
  deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
603
603
  }
604
- } else if (items.type === 'string') {
604
+ } else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0]) {
605
605
  checkResult = '有隐患'
606
606
  this.result = '有隐患'
607
607
  deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
@@ -344,8 +344,8 @@
344
344
  },
345
345
  props:["selectplan","userlogin"],
346
346
  ready(){
347
- this.$refs.paged.$refs.criteria.model.f_user_state='正常'
348
- this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
347
+ // this.$refs.paged.$refs.criteria.model.f_user_state='正常'
348
+ // this.$refs.paged.$refs.criteria.model.f_endfile_time=Util.toStartDateYearString()
349
349
  //this.$refs.paged.$refs.criteria.model.f_hasHousehold='未入户'
350
350
  this.setConList()
351
351
  this.loadpage()
@@ -103,14 +103,14 @@
103
103
  <label>请输入超期原因:</label><br/>
104
104
  <textarea style="width: 100%;" v-model="paper.f_exceed_reason"></textarea>
105
105
  </div>
106
- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
107
- <div class="col-xs-6 col-sm-6">
108
- <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>
109
- </div>
110
- <div class="col-xs-6 col-sm-6">
111
- <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户限制</label>
112
- </div>
113
- </div>
106
+ <!-- <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">-->
107
+ <!-- <div class="col-xs-6 col-sm-6">-->
108
+ <!-- <input type="checkbox" v-model="backlistisselect" :readonly="enabled"/><label class="text-left font" >限制该用户购气</label>-->
109
+ <!-- </div>-->
110
+ <!-- <div class="col-xs-6 col-sm-6">-->
111
+ <!-- <input type="checkbox" v-model="deletebacklistisselect" :readonly="deleteenabled"/><label class="text-left font" >取消该用户限制</label>-->
112
+ <!-- </div>-->
113
+ <!-- </div>-->
114
114
  <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__" v-if="Vue.$appdata.getParam('安检天然气安全使用须知检查')=='是'">
115
115
  <div class="col-xs-12 col-sm-12">
116
116
  <input type="checkbox" v-model="paper.f_gas_guidelines" /><label class="text-left font" >天然气安全使用须知</label>
@@ -160,7 +160,7 @@
160
160
  close-on-select
161
161
  @change="changdeal" @click="transelation(idxs)"></v-select>
162
162
  </div>
163
- <div v-if="row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改'" style="display: flex;flex-wrap: wrap">
163
+ <div v-if="(row.f_deal_dispose == '自行处理' || row.f_deal_dispose == '限时整改') && row.f_is_defect != '' " style="display: flex;flex-wrap: wrap">
164
164
  <label class="fivelabel">处理时效:</label>
165
165
  <!-- <datepicker-->
166
166
  <!-- :value.sync="row.f_handle_date"-->
@@ -649,6 +649,8 @@ export default {
649
649
  this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal : '报修'
650
650
  //tag
651
651
  this.f_items[n].tooltip = options[i].tooltip
652
+ //todo
653
+ this.takePic(n, this.f_items[n].f_item_name)
652
654
  } else {
653
655
  this.f_items[n].f_path = ''
654
656
  this.f_items[n].f_is_defect = ''
@@ -691,7 +693,8 @@ export default {
691
693
  this.f_items[n].f_live_dispose = '否'
692
694
  this.f_items[n].f_deal_dispose = options[i].deal ? options[i].deal : '报修'
693
695
  this.f_items[n].tooltip = options[i].tooltip
694
-
696
+ //todo
697
+ this.takePic(n, this.f_items[n].f_item_name)
695
698
  return
696
699
  }
697
700
  }
@@ -749,6 +752,7 @@ export default {
749
752
  this.f_items[n].f_deal_dispose = selected[0].deal ? selected[0].deal : '报修'
750
753
  //tag
751
754
  this.f_items[n].tooltip = selected[0].tooltip
755
+ this.takePic(n, this.f_items[n].f_item_name)
752
756
  }
753
757
 
754
758
  return
@@ -152,8 +152,8 @@
152
152
  </div>
153
153
  </div>
154
154
  <div slot="modal-footer" class="modal-footer" style="text-align: center">
155
- <button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: left" @click="quotaSave('即时生效')">即时限购上传</button>
156
- <button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: right" @click="quotaSave('延期生效')">延期限购上传</button>
155
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: left" @click="quotaSave('取消')">取消</button>
156
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: right" @click="quotaSave('延期生效')">确认</button>
157
157
  </div>
158
158
  </modal>
159
159
  </div>
@@ -372,6 +372,10 @@ export default {
372
372
  },
373
373
  methods: {
374
374
  quotaSave(type){
375
+ if (type == '取消'){
376
+ this.showModal3 = false
377
+ return
378
+ }
375
379
  this.saveNoclick()
376
380
  this.rowCodata.f_immediately_black = type
377
381
  let param = {
@@ -1074,6 +1078,16 @@ export default {
1074
1078
  }
1075
1079
  this.checkResult = {}
1076
1080
  }
1081
+ if (checkResults.data.length > 0) {
1082
+ let msg = ''
1083
+ for (let a = 0; a < checkResults.data.length; a++) {
1084
+ for (let datumKey in checkResults.data[a]) {
1085
+ msg += datumKey + ':' + checkResults.data[a][datumKey] + ';'
1086
+ }
1087
+ }
1088
+ this.data.f_defect_text = msg
1089
+ codata.f_defect_text = msg
1090
+ }
1077
1091
  //tag
1078
1092
  //tag)
1079
1093
  codata.f_defect_content = JSON.stringify(checkResults)
@@ -25,8 +25,10 @@
25
25
  </div>
26
26
  <div class="col-xs-12" style="padding: 2px 0">
27
27
  <p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>用户电话:</b></p>
28
- <p class="panel-title col-xs-6 text-left input-font">{{ userinfo.f_user_phone }}
29
-
28
+ <p class="panel-title col-xs-6 text-left input-font" style="width: 62%">{{ userinfo.f_user_phone }}
29
+ <img src="../../../assets/phone.png" style="width: 8%"
30
+ v-on:click.stop.prevent='makeAPhoneCall(userinfo.f_user_phone)'/>
31
+ </p>
30
32
  </div>
31
33
  <div class="col-xs-12" style="padding: 2px 0">
32
34
  <p class="panel-title col-xs-6 text-left font" style="width: 30%;float: left"><b>备用电话:</b></p>
@@ -288,6 +290,9 @@
288
290
  this.safecheckStateReady()
289
291
  },
290
292
  methods: {
293
+ makeAPhoneCall(phoneNumber) {
294
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
295
+ },
291
296
  updatebiaohao(f_meter_no,f_userinfo_id){
292
297
  this.$showMessage("将用户 "+this.userinfo.f_user_name+"的机表表号从"+this.userinfo.planmeterss.f_meter_no+"修改为"+f_meter_no,['confirm', 'cancel']).then((butt)=>{
293
298
  if(butt=="confirm"){