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.
- package/package.json +1 -1
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/NewDefectList/DefectListNew.vue +1 -0
- package/src/components/android/AddPlanItemYy.vue +451 -0
- package/src/components/android/AndroidDefectDeal.vue +634 -634
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/CurrentCreateYy.vue +1051 -0
- package/src/components/android/PaperFeedback.vue +33 -0
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +279 -0
- package/src/components/android/examples/UserExamples.vue +137 -0
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
- package/src/components/android/examples/touxiang.png +0 -0
- package/src/components/pc/SafeVisitInfo.vue +261 -0
- package/src/components/rongcheng/AddPlanItem.vue +8 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +46 -16
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
- package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
- package/src/filiale/baiyin/pc/PaperList.vue +7 -7
- package/src/filiale/bayan/android/AddPlanItem.vue +8 -0
- package/src/filiale/bayan/android/PaperFeedback.vue +63 -49
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
- package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +5 -0
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +6 -6
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android.js +15 -15
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +14 -10
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
- package/src/filiale/siyang/android.js +15 -11
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +22 -18
- package/src/filiale/siyang/pc.js +22 -16
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +49 -113
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2240
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -592
- package/src/filiale/xilan/pc/checkUserList.vue +772 -0
- package/src/filiale/xilan/pc.js +12 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +10 -6
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +21 -1
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +84 -10
- package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +34 -33
- package/src/safecheck-android.js +11 -0
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +3 -0
@@ -729,8 +729,8 @@ export default {
|
|
729
729
|
args.condition += " and f_last_check_date <= '" + args.model.f_check_end + "'"
|
730
730
|
}
|
731
731
|
}*/
|
732
|
-
args.condition += " and f_filialeid in " + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)})`)
|
733
|
-
let con = ' f_filialeid in ' + (this.model.f_filialeids ? this.model.f_filialeids : `(${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)})`)
|
732
|
+
args.condition += " and f_filialeid in " + (this.model.f_filialeids ? this.model.f_filialeids : `('${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}')`)
|
733
|
+
let con = ' f_filialeid in ' + (this.model.f_filialeids ? this.model.f_filialeids : `('${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}')`)
|
734
734
|
con += args.model.f_userinfo_code ? ` and f_userinfo_code like '%${args.model.f_userinfo_code}%'`:''
|
735
735
|
/*con += args.model.f_user_name ? ` and f_user_name like '%${args.model.f_user_name}%'` : ''
|
736
736
|
con += args.model.f_residential_area ? ` and f_residential_area like '%${args.model.f_residential_area}%'` : ''
|
@@ -510,9 +510,9 @@ export default {
|
|
510
510
|
this.solveModal.preData.defectImg1 = row.f_p1_path?'/rs/image/file/' + row.f_p1_path:''
|
511
511
|
this.solveModal.preData.defectImg2 = row.f_p2_path?'/rs/image/file/' + row.f_p2_path:''
|
512
512
|
this.solveModal.preData.defectImg3 = row.f_p3_path?'/rs/image/file/' + row.f_p3_path:''
|
513
|
-
this.solveModal.preData.repairedImg = '/rs/image/file/' + row.
|
514
|
-
this.solveModal.preData.repairedImg2 = row.
|
515
|
-
this.solveModal.preData.repairedImg3 = row.
|
513
|
+
this.solveModal.preData.repairedImg = '/rs/image/file/' + row.f_dealpath
|
514
|
+
this.solveModal.preData.repairedImg2 = row.f_other_dealpath1 ? ('/rs/image/file/' + row.f_other_dealpath1) : ''
|
515
|
+
this.solveModal.preData.repairedImg3 = row.f_other_dealpath2 ? ('/rs/image/file/' + row.f_other_dealpath2) : ''
|
516
516
|
this.solveModal.preData.repairedImg4 = row.f_repair4_path ? ('/rs/image/file/' + row.f_repair4_path) : ''
|
517
517
|
this.solveModal.uploadData.id = row.id
|
518
518
|
this.solveModal.preData.type = type
|
@@ -163,7 +163,7 @@
|
|
163
163
|
</v-select>
|
164
164
|
</div>
|
165
165
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
166
|
-
<label class="font_normal_body"
|
166
|
+
<label class="font_normal_body">建档时间</label>
|
167
167
|
<datepicker
|
168
168
|
:value.sync="model.f_check_gasstart"
|
169
169
|
placeholder='开始时间' style="width: 60%"
|
@@ -171,11 +171,11 @@
|
|
171
171
|
:format="'yyyy-MM-dd'"
|
172
172
|
:show-rest-button="reset"
|
173
173
|
v-model="model.f_check_gasstart"
|
174
|
-
condition="
|
174
|
+
condition="f_createfile_date > ='{} 00:00:00'">
|
175
175
|
</datepicker>
|
176
176
|
</div>
|
177
177
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
178
|
-
<label class="font_normal_body"
|
178
|
+
<label class="font_normal_body">建档时间</label>
|
179
179
|
<datepicker
|
180
180
|
:value.sync="model.f_check_gasend"
|
181
181
|
placeholder='结束时间' style="width: 60%"
|
@@ -183,7 +183,7 @@
|
|
183
183
|
:format="'yyyy-MM-dd'"
|
184
184
|
:show-rest-button="reset"
|
185
185
|
v-model="model.f_check_gasend"
|
186
|
-
condition="
|
186
|
+
condition="f_createfile_date <= '{} 23:59:59'">
|
187
187
|
</datepicker>
|
188
188
|
</div>
|
189
189
|
<div class="form-group col-sm-2" v-show="$parent.$parent.safeAudit && $parent.$parent.criteriaShow ">
|
@@ -333,7 +333,7 @@
|
|
333
333
|
<nobr>备注</nobr>
|
334
334
|
</th>
|
335
335
|
<th>
|
336
|
-
<nobr
|
336
|
+
<nobr>建档时间</nobr>
|
337
337
|
</th>
|
338
338
|
<th v-if="$parent.$parent.$parent.safeAudit">
|
339
339
|
<nobr>审核人</nobr>
|
@@ -374,7 +374,7 @@
|
|
374
374
|
<td style="text-align: center">{{ row.f_offsite_time }}</td>
|
375
375
|
<td style="text-align: center">{{ row.f_checker_name }}</td>
|
376
376
|
<td style="text-align: center">{{ row.f_repair_approved_note }}</td>
|
377
|
-
<td style="text-align: center">{{ row.
|
377
|
+
<td style="text-align: center">{{ row.f_createfile_date }}</td>
|
378
378
|
<td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approved_by }}</td>
|
379
379
|
<td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approvedstart_time }}</td>
|
380
380
|
<td style="text-align: center" v-show="$parent.$parent.$parent.safeAudit">{{ row.f_approved_time }}</td>
|
@@ -502,7 +502,7 @@ export default {
|
|
502
502
|
'f_checker_name': '安检员',
|
503
503
|
'f_safecheck_type':'安检类型',
|
504
504
|
'f_repair_approved_note': '备注',
|
505
|
-
'
|
505
|
+
'f_createfile_date': '建档时间',
|
506
506
|
'f_plan_name': '计划名称'
|
507
507
|
},
|
508
508
|
fun: this.$login.f,
|
@@ -174,6 +174,14 @@
|
|
174
174
|
<p class="panel-title col-xs-4 text-left font">最后安检状态</p>
|
175
175
|
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_last_check_state }}</p>
|
176
176
|
</div>
|
177
|
+
<div class="row">
|
178
|
+
<p class="panel-title col-xs-4 text-left font">表具状态</p>
|
179
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_table_state }}</p>
|
180
|
+
</div>
|
181
|
+
<div class="row" v-if="row.f_table_state = '停用'">
|
182
|
+
<p class="panel-title col-xs-4 text-left font">原因</p>
|
183
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_table_state }}</p>
|
184
|
+
</div>
|
177
185
|
</div>
|
178
186
|
</div>
|
179
187
|
|
@@ -77,6 +77,20 @@
|
|
77
77
|
</ol>
|
78
78
|
</div>
|
79
79
|
</div>
|
80
|
+
<div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
|
81
|
+
<div class="text-center">
|
82
|
+
<label class="font">客户意见反馈:</label>
|
83
|
+
</div>
|
84
|
+
<div class="col-md-12 col-sm-12 col-xs-12">
|
85
|
+
<ol class="showIi">
|
86
|
+
<li>检查说明:</li>
|
87
|
+
<li>1.已对客户燃气设施进行了安全检查</li>
|
88
|
+
<li>2.已对客户进行了安全用气知识宣传,并发放宣传资料</li>
|
89
|
+
<li>3.已对客户资料进行了登记</li>
|
90
|
+
<li>4.已向隐患用户告知说明隐患整改项目,并充分向用户告知了存在的隐患内容及注意事项,用户已获悉其中的内容</li>
|
91
|
+
</ol>
|
92
|
+
</div>
|
93
|
+
</div>
|
80
94
|
<div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
|
81
95
|
<input type="checkbox" v-model="paper.f_read_instructions"/><label class="text-left font">我已阅读须知内容</label>
|
82
96
|
|
@@ -338,7 +352,7 @@
|
|
338
352
|
</div>
|
339
353
|
</modal>
|
340
354
|
|
341
|
-
|
355
|
+
<!--停用框-->
|
342
356
|
<modal :show.sync="showTYModel" v-ref:modal>
|
343
357
|
<div slot="modal-header" class="modal-header">
|
344
358
|
<h4 class="modal-title">
|
@@ -592,55 +606,55 @@ export default {
|
|
592
606
|
methods: {
|
593
607
|
//对用户停用
|
594
608
|
async backlistTY() {
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
}
|
607
|
-
}, {resolveMsg: null, rejectMsg: null})
|
608
|
-
if (res2.data.length==0){
|
609
|
-
this.$showMessage('已成功停用')
|
610
|
-
this.showTYModel = false
|
611
|
-
return
|
612
|
-
}
|
613
|
-
let data = {
|
614
|
-
f_userfiles_id: {
|
615
|
-
f_userfiles_id: res2.data[0].f_userfiles_id,
|
616
|
-
f_table_state: '停用',
|
617
|
-
version: res2.data[0].version
|
618
|
-
},
|
619
|
-
f_userfile_id: res2.data[0].f_userfiles_id,
|
620
|
-
f_user_id: this.paper.f_userinfo_code,
|
621
|
-
f_userinfo_id: "'"+this.paper.f_userinfoid+"'",
|
622
|
-
f_user_name: this.paper.f_user_name,
|
623
|
-
f_othereason: this.tyCause,
|
624
|
-
f_operat_type: '停用',
|
625
|
-
f_describe: `${Vue.user.name}对客户${this.paper.f_user_name}进行停用操作`,
|
626
|
-
f_state: '有效',
|
627
|
-
f_user_phone: this.paper.f_user_phone,
|
628
|
-
f_operator: Vue.user.name,
|
629
|
-
f_operatorid: Vue.user.id,
|
630
|
-
f_orgid: Vue.user.orgid,
|
631
|
-
f_orgname: Vue.user.orgs,
|
632
|
-
f_depid: Vue.user.depids,
|
633
|
-
f_depname: Vue.user.deps,
|
634
|
-
f_zoneid: Vue.user.zoneid,
|
635
|
-
f_zones: Vue.user.zones
|
609
|
+
if (!this.tyCause) {
|
610
|
+
this.$showMessage("请填写停用原因!")
|
611
|
+
return
|
612
|
+
}
|
613
|
+
let http = new HttpResetClass()
|
614
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
|
615
|
+
data: {
|
616
|
+
items: "f_userfiles_id,version",
|
617
|
+
tablename: "t_userfiles",
|
618
|
+
condition: "f_table_state in ('正常','停用','封堵') and f_userinfo_id= '" + this.paper.f_userinfoid + "'",
|
619
|
+
orderitem: "f_userfiles_id"
|
636
620
|
}
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
621
|
+
}, {resolveMsg: null, rejectMsg: null})
|
622
|
+
if (res2.data.length==0){
|
623
|
+
this.$showMessage('已成功停用')
|
624
|
+
this.showTYModel = false
|
625
|
+
return
|
626
|
+
}
|
627
|
+
let data = {
|
628
|
+
f_userfiles_id: {
|
629
|
+
f_userfiles_id: res2.data[0].f_userfiles_id,
|
630
|
+
f_table_state: '停用',
|
631
|
+
version: res2.data[0].version
|
632
|
+
},
|
633
|
+
f_userfile_id: res2.data[0].f_userfiles_id,
|
634
|
+
f_user_id: this.paper.f_userinfo_code,
|
635
|
+
f_userinfo_id: "'"+this.paper.f_userinfoid+"'",
|
636
|
+
f_user_name: this.paper.f_user_name,
|
637
|
+
f_othereason: this.tyCause,
|
638
|
+
f_operat_type: '停用',
|
639
|
+
f_describe: `${Vue.user.name}对客户${this.paper.f_user_name}进行停用操作`,
|
640
|
+
f_state: '有效',
|
641
|
+
f_user_phone: this.paper.f_user_phone,
|
642
|
+
f_operator: Vue.user.name,
|
643
|
+
f_operatorid: Vue.user.id,
|
644
|
+
f_orgid: Vue.user.orgid,
|
645
|
+
f_orgname: Vue.user.orgs,
|
646
|
+
f_depid: Vue.user.depids,
|
647
|
+
f_depname: Vue.user.deps,
|
648
|
+
f_zoneid: Vue.user.zoneid,
|
649
|
+
f_zones: Vue.user.zones
|
650
|
+
}
|
651
|
+
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/entity/t_disable`,
|
652
|
+
data, {resolveMsg: null, rejectMsg: null}).then((row) => {
|
653
|
+
this.$showMessage('已成功停用')
|
654
|
+
this.paper.f_table_state = '停用'
|
655
|
+
this.$parent.$parent.data.f_table_state = '停用'
|
656
|
+
this.showTYModel = false
|
657
|
+
})
|
644
658
|
},
|
645
659
|
//停用取消按钮
|
646
660
|
tyCancel() {
|
@@ -285,21 +285,21 @@
|
|
285
285
|
:options="deviceBrandOption[row.f_devices_type]"
|
286
286
|
close-on-select value-single></v-select> -->
|
287
287
|
</div>
|
288
|
-
<div class="row auto" style="margin: 5px 0"
|
289
|
-
<label class="righttxt">设备型号:</label
|
290
|
-
<input type="text" class="form-control rightipt" v-model="row.f_devices_model"
|
291
|
-
</div
|
292
|
-
<div class="row auto" style="margin: 5px 0"
|
293
|
-
<label class="righttxt">生产日期:</label
|
294
|
-
|
295
|
-
<datepicker class="rightipt" :value.sync="row.f_make_date" v-model="row.f_make_date"
|
296
|
-
:disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly"
|
297
|
-
</datepicker
|
298
|
-
</div
|
299
|
-
<div class="row auto" style="margin: 5px 0"
|
300
|
-
<label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"
|
301
|
-
v-model="row.f_service_life"
|
302
|
-
</div
|
288
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
289
|
+
<!-- <label class="righttxt">设备型号:</label>-->
|
290
|
+
<!-- <input type="text" class="form-control rightipt" v-model="row.f_devices_model" />-->
|
291
|
+
<!-- </div>-->
|
292
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
293
|
+
<!-- <label class="righttxt">生产日期:</label>-->
|
294
|
+
<!-- <!–<input type="text" class="form-control rightipt" v-model="row.f_make_date" />–>-->
|
295
|
+
<!-- <datepicker class="rightipt" :value.sync="row.f_make_date" v-model="row.f_make_date"-->
|
296
|
+
<!-- :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">-->
|
297
|
+
<!-- </datepicker>-->
|
298
|
+
<!-- </div>-->
|
299
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
300
|
+
<!-- <label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"-->
|
301
|
+
<!-- v-model="row.f_service_life" />-->
|
302
|
+
<!-- </div>-->
|
303
303
|
<!-- <div class="row auto" style="margin: 5px 0">
|
304
304
|
<label class="righttxt">到期日期:</label>
|
305
305
|
<!–<input type="text" class="form-control rightipt" v-model="row.f_expire_date" />–>
|
@@ -311,31 +311,31 @@
|
|
311
311
|
:show-reset-button="reset" readonly="readonly">
|
312
312
|
</datepicker>
|
313
313
|
</div>-->
|
314
|
-
<div class="row auto" style="margin: 5px 0"
|
315
|
-
<label class="righttxt">安 装 人:</label><input type="text" class="form-control rightipt"
|
316
|
-
v-model="row.f_input_person"
|
317
|
-
</div
|
318
|
-
<div class="row auto" style="margin: 5px 0"
|
319
|
-
<label class="righttxt">安装日期:</label
|
320
|
-
|
321
|
-
<datepicker class="rightipt" :value.sync="row.f_input_date" v-model="row.f_input_date"
|
322
|
-
:disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly"
|
323
|
-
</datepicker
|
324
|
-
</div
|
325
|
-
<div class="row auto" style="margin: 5px 0"
|
326
|
-
<label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"
|
327
|
-
v-model="row.f_devices_num"
|
328
|
-
</div
|
329
|
-
<div class="row auto" style="margin: 5px 0"
|
330
|
-
<label class="righttxt">管道类型:</label
|
331
|
-
<v-select class="rightipt" :value.sync="row.f_pipe_type"
|
332
|
-
v-model="row.f_pipe_type"
|
333
|
-
placeholder='请选择管道类型'
|
334
|
-
:width='wid'
|
335
|
-
readonly
|
336
|
-
:options="pipetypes"
|
337
|
-
close-on-select value-single></v-select
|
338
|
-
</div
|
314
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
315
|
+
<!-- <label class="righttxt">安 装 人:</label><input type="text" class="form-control rightipt"-->
|
316
|
+
<!-- v-model="row.f_input_person" />-->
|
317
|
+
<!-- </div>-->
|
318
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
319
|
+
<!-- <label class="righttxt">安装日期:</label>-->
|
320
|
+
<!-- <!–<input type="text" class="form-control rightipt" v-model="row.f_input_date" />–>-->
|
321
|
+
<!-- <datepicker class="rightipt" :value.sync="row.f_input_date" v-model="row.f_input_date"-->
|
322
|
+
<!-- :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">-->
|
323
|
+
<!-- </datepicker>-->
|
324
|
+
<!-- </div>-->
|
325
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
326
|
+
<!-- <label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"-->
|
327
|
+
<!-- v-model="row.f_devices_num" />-->
|
328
|
+
<!-- </div>-->
|
329
|
+
<!-- <div class="row auto" style="margin: 5px 0">-->
|
330
|
+
<!-- <label class="righttxt">管道类型:</label>-->
|
331
|
+
<!-- <v-select class="rightipt" :value.sync="row.f_pipe_type"-->
|
332
|
+
<!-- v-model="row.f_pipe_type"-->
|
333
|
+
<!-- placeholder='请选择管道类型'-->
|
334
|
+
<!-- :width='wid'-->
|
335
|
+
<!-- readonly-->
|
336
|
+
<!-- :options="pipetypes"-->
|
337
|
+
<!-- close-on-select value-single></v-select>-->
|
338
|
+
<!-- </div>-->
|
339
339
|
<!--<div class="row auto" style="margin: 5px 0">
|
340
340
|
<label class="righttxt">设备状态:</label><input type="text" class="form-control rightipt" readonly v-model="row.f_userinfodevices_state" />
|
341
341
|
</div>-->
|
@@ -84,6 +84,13 @@
|
|
84
84
|
close-on-select>
|
85
85
|
</v-select>
|
86
86
|
</div>
|
87
|
+
<div class="row" style="margin-top: 10px">
|
88
|
+
<label class="font_normal_body">选择站点</label>
|
89
|
+
<right-tree
|
90
|
+
islist
|
91
|
+
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
92
|
+
@re-res="getSiteRes"></right-tree>
|
93
|
+
</div>
|
87
94
|
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
|
88
95
|
<label class="font_normal_body">维 修 员</label>
|
89
96
|
<v-select
|
@@ -93,13 +100,6 @@
|
|
93
100
|
placeholder='请选择维修员'
|
94
101
|
close-on-select></v-select>
|
95
102
|
</div>
|
96
|
-
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
|
97
|
-
<label class="font_normal_body">站    点</label>
|
98
|
-
<right-tree
|
99
|
-
islist
|
100
|
-
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
101
|
-
@re-res="getSiteRes"></right-tree>
|
102
|
-
</div>
|
103
103
|
<!--<div class="row" style="margin-top: 10px">
|
104
104
|
<label class="font_normal_body">报修类型</label>
|
105
105
|
<v-select :value.sync="selectData.f_repairtype"
|
@@ -255,7 +255,7 @@
|
|
255
255
|
"基表编号":{"index":1,"type":"string","readonly":true},
|
256
256
|
"气表型号":{"index":2,"type":"string","readonly":true},
|
257
257
|
"气表品牌":{"index":3,"type":"string","readonly":true},
|
258
|
-
"进气方向":{"index":4,"type":"string","readonly":true},
|
258
|
+
"进气方向":{"index":4,"type":"string","readonly":true,isshow:false},
|
259
259
|
"初始表底":{"index":5,"type":"number","isshow":false,"readonly":true},
|
260
260
|
"上期表读数":{"index":6,"type":"number","readonly":true,isshow:false},
|
261
261
|
"累购气量":{"index":7,"type":"number","readonly":true},
|
@@ -279,7 +279,7 @@
|
|
279
279
|
"基表编号":{"index":1,"type":"string","readonly":true},
|
280
280
|
"气表型号":{"index":2,"type":"string","readonly":true},
|
281
281
|
"气表品牌":{"index":3,"type":"string","readonly":true},
|
282
|
-
"进气方向":{"index":4,"type":"string","readonly":true},
|
282
|
+
"进气方向":{"index":4,"type":"string","readonly":true,isshow:false},
|
283
283
|
"初始表底":{"index":5,"type":"string","isshow":false,"readonly":true},
|
284
284
|
"累购金额":{"index":6,"type":"string","readonly":true},
|
285
285
|
"表累购金额":{"index":7,"type":"string","readonly":false},
|
@@ -362,7 +362,7 @@
|
|
362
362
|
}
|
363
363
|
console.log("准备保存!")
|
364
364
|
this.disableTimer()
|
365
|
-
this.getEmp()
|
365
|
+
// this.getEmp()
|
366
366
|
this.showModal2=true
|
367
367
|
},
|
368
368
|
cancel1(){
|
@@ -377,14 +377,37 @@
|
|
377
377
|
getSiteRes(obj) {
|
378
378
|
console.log('siteRes ---> ')
|
379
379
|
console.log(obj)
|
380
|
-
if(
|
381
|
-
|
382
|
-
|
383
|
-
|
380
|
+
if(this.selectData.dispatchType=='派发给站点'){
|
381
|
+
if(obj.resids[0]){
|
382
|
+
this.selectData.f_meetunit = obj.res.join('.')
|
383
|
+
this.selectData.f_reciever = obj.resids.join('.')
|
384
|
+
this.selectData.f_outlets = obj.res[obj.res.length - 1]
|
385
|
+
}else {
|
386
|
+
this.selectData.f_meetunit = ''
|
387
|
+
this.selectData.f_reciever = ''
|
388
|
+
this.selectData.f_outlets = ''
|
389
|
+
}
|
384
390
|
}else {
|
385
|
-
|
386
|
-
|
387
|
-
|
391
|
+
if(obj.resids[0]){
|
392
|
+
this.selectData.f_meetunit = obj.res.join('.')
|
393
|
+
}else {
|
394
|
+
this.selectData.f_meetunit = ''
|
395
|
+
this.selectData.f_reciever = ''
|
396
|
+
this.selectData.f_outlets = ''
|
397
|
+
}
|
398
|
+
this.repairers = []
|
399
|
+
let vali = {
|
400
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$)!=-1)`,
|
401
|
+
userid: `${obj.resids[0]}`
|
402
|
+
}
|
403
|
+
let http = new HttpResetClass()
|
404
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: vali}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
405
|
+
res.data.forEach((item) => {
|
406
|
+
if (item.state == '在职'){
|
407
|
+
this.repairers.push({label: `${item.name}`, value: item.name})
|
408
|
+
}
|
409
|
+
})
|
410
|
+
})
|
388
411
|
}
|
389
412
|
},
|
390
413
|
rectification(){
|
@@ -417,7 +440,7 @@
|
|
417
440
|
toRepair=null
|
418
441
|
}else{
|
419
442
|
console.log('派发给维修员---------'+this.selectData.f_repairman)
|
420
|
-
act={f_meetunit:
|
443
|
+
act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
|
421
444
|
toRepair='一级派单'
|
422
445
|
}
|
423
446
|
let repData={
|
@@ -438,16 +461,16 @@
|
|
438
461
|
this.save()
|
439
462
|
},
|
440
463
|
// 获取维修员
|
441
|
-
getEmp() {
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
},
|
464
|
+
// getEmp() {
|
465
|
+
// this.repairers=[]
|
466
|
+
// let per = {source: 'this.getRights().where(row.getType()==$user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${Vue.user.id}`}
|
467
|
+
// let http = new HttpResetClass()
|
468
|
+
// http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: per}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
469
|
+
// res.data.forEach((user)=>{
|
470
|
+
// this.repairers.push({label:user.name, value: user.name})
|
471
|
+
// })
|
472
|
+
// })
|
473
|
+
// },
|
451
474
|
closely(isdelete){
|
452
475
|
try {
|
453
476
|
var startOrStopAudioClipStr;
|
@@ -1308,6 +1331,9 @@
|
|
1308
1331
|
} else {
|
1309
1332
|
this.rowCodata = codata
|
1310
1333
|
}
|
1334
|
+
if (this.rowCodata.f_deputy_director){
|
1335
|
+
HostApp.setPreference('f_deputy_director',this.rowCodata.f_deputy_director)
|
1336
|
+
}
|
1311
1337
|
let param = {
|
1312
1338
|
f_check_item_id: this.data.f_check_item_id,
|
1313
1339
|
f_checker_id: this.data.f_checker_id,
|
@@ -1924,6 +1950,7 @@
|
|
1924
1950
|
this.data.isupdateplanitem = this.$appdata.getSingleValue('在线安检回更有计划') ? this.$appdata.getSingleValue('在线安检回更有计划') : 'false'
|
1925
1951
|
// 预约安检单工单编号
|
1926
1952
|
this.data.f_SafeToRepair_id = this.item.f_service_id
|
1953
|
+
this.data.f_deputy_director = HostApp.getPreference('f_deputy_director').data || ''
|
1927
1954
|
this.data.ename = Vue.user.ename
|
1928
1955
|
this.data.f_outlets = Vue.user.f_parentname
|
1929
1956
|
this.data.f_meetunit = Vue.user.orgpathnames
|
@@ -2042,15 +2069,6 @@
|
|
2042
2069
|
f_path: "",
|
2043
2070
|
type: "string"
|
2044
2071
|
},
|
2045
|
-
{
|
2046
|
-
f_defect_level: null,
|
2047
|
-
f_device_id: "",
|
2048
|
-
f_is_defect: "",
|
2049
|
-
f_item_name: "进气方向",
|
2050
|
-
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
2051
|
-
f_path: "",
|
2052
|
-
type: "string"
|
2053
|
-
},
|
2054
2072
|
{
|
2055
2073
|
f_defect_level: null,
|
2056
2074
|
f_device_id: "",
|
@@ -2104,15 +2122,6 @@
|
|
2104
2122
|
f_path: "",
|
2105
2123
|
type: "string"
|
2106
2124
|
},
|
2107
|
-
{
|
2108
|
-
f_defect_level: null,
|
2109
|
-
f_device_id: "",
|
2110
|
-
f_is_defect: "",
|
2111
|
-
f_item_name: "进气方向",
|
2112
|
-
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
2113
|
-
f_path: "",
|
2114
|
-
type: "string"
|
2115
|
-
},
|
2116
2125
|
{
|
2117
2126
|
f_defect_level: null,
|
2118
2127
|
f_device_id: "",
|
@@ -2372,15 +2381,6 @@
|
|
2372
2381
|
f_path: "",
|
2373
2382
|
type: "string"
|
2374
2383
|
},
|
2375
|
-
{
|
2376
|
-
f_defect_level: null,
|
2377
|
-
f_device_id: "",
|
2378
|
-
f_is_defect: "",
|
2379
|
-
f_item_name: "进气方向",
|
2380
|
-
f_item_value: this.item.f_plan_meters[i].f_flow_direction,
|
2381
|
-
f_path: "",
|
2382
|
-
type: "string"
|
2383
|
-
},
|
2384
2384
|
{
|
2385
2385
|
f_defect_level: null,
|
2386
2386
|
f_device_id: "",
|
@@ -2547,9 +2547,9 @@
|
|
2547
2547
|
delete this.config['燃气表']['items']['气量异常差值']
|
2548
2548
|
}
|
2549
2549
|
|
2550
|
-
if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
|
2551
|
-
|
2552
|
-
}
|
2550
|
+
// if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
|
2551
|
+
// that.config.燃气表 = that.config2.燃气表
|
2552
|
+
// }
|
2553
2553
|
|
2554
2554
|
//tag)
|
2555
2555
|
if (value.data[0].f_devices) {
|
@@ -243,6 +243,11 @@
|
|
243
243
|
this.$parent.$parent.item.f_plan_meters[0].f_metergasnums || this.$parent.$parent.item.f_plan_meters[0].f_initial_base
|
244
244
|
}}</p>
|
245
245
|
</div>
|
246
|
+
<div class="row">
|
247
|
+
<p class="panel-title col-xs-4 text-left font">上次隐患</p>
|
248
|
+
<p class="panel-title col-xs-8 text-left input-font">
|
249
|
+
{{ this.$parent.$parent.item.f_plan_meters[0].f_defect_text || '无' }}</p>
|
250
|
+
</div>
|
246
251
|
</div>
|
247
252
|
</div>
|
248
253
|
</div>
|