safecheck-client 3.0.33-14 → 3.0.33-140
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.
- package/index.html +6 -2
- package/package.json +133 -133
- package/src/App.vue +2 -2
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +5 -1
- package/src/components/android/SafecheckOrderV.vue +18 -12
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1046 -1019
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1378 -1378
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +455 -420
- package/src/components/rongcheng/PaperListSQ.vue +444 -423
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1328 -1191
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android.js +10 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc.js +17 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +8 -6
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +119 -12
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +6 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +1 -0
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +303 -301
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
- package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -651
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +316 -314
- package/src/safecheck-android.js +6 -0
- 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.
|
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
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
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
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
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
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
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">通 气 人:</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
|
-
|
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('
|
156
|
-
<button type="button" name="button" class="col-sm-3 btn btn-primary" style="float: right" @click="quotaSave('延期生效')"
|
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"){
|