safecheck-client 3.0.34-9 → 3.0.34-91
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 +283 -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/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 +4 -0
- 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 +4 -0
- 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 +6 -0
- 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 +1 -0
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
- package/src/filiale/xilan/android/CurrentCreate.vue +1060 -0
- package/src/filiale/xilan/android.js +11 -0
- 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/safecheck-android.js +307 -296
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +3 -0
@@ -32,7 +32,7 @@
|
|
32
32
|
progress="safeGetExportProgress"
|
33
33
|
sqlurl="rs/logic/SafeExportExcel" sql-name="defectDetails" template-name='安检隐患明细'></export-excel-safe>
|
34
34
|
<button class="button_search" @click="$parent.$parent.showaudio()" v-if="$parent.$parent.audioshow">隐藏</button>
|
35
|
-
<button class="button_search" @click="$parent.$parent.toRepair"
|
35
|
+
<button class="button_search" @click="$parent.$parent.toRepair">转维修</button>
|
36
36
|
<button class="button_search" @click="search()">查询</button>
|
37
37
|
<div class="button_spacing"
|
38
38
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
@@ -170,10 +170,10 @@
|
|
170
170
|
</datepicker>
|
171
171
|
</div>
|
172
172
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
173
|
-
<label class="font_normal_body"
|
173
|
+
<label class="font_normal_body">首次通气开始</label>
|
174
174
|
<datepicker
|
175
175
|
:value.sync="model.f_gas_start"
|
176
|
-
placeholder='
|
176
|
+
placeholder='首次通气开始时间' style="width: 60%"
|
177
177
|
:disabled-days-of-week="[]"
|
178
178
|
:format="'yyyy-MM-dd'"
|
179
179
|
:show-rest-button="reset"
|
@@ -182,10 +182,10 @@
|
|
182
182
|
</datepicker>
|
183
183
|
</div>
|
184
184
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
185
|
-
<label class="font_normal_body"
|
185
|
+
<label class="font_normal_body">首次通气结束</label>
|
186
186
|
<datepicker
|
187
187
|
:value.sync="model.f_gas_end"
|
188
|
-
placeholder='
|
188
|
+
placeholder='首次通气结束时间' style="width: 60%"
|
189
189
|
:disabled-days-of-week="[]"
|
190
190
|
:format="'yyyy-MM-dd'"
|
191
191
|
:show-rest-button="reset"
|
@@ -193,6 +193,20 @@
|
|
193
193
|
condition="f_uservent_date <= '{} 23:59:59'">
|
194
194
|
</datepicker>
|
195
195
|
</div>
|
196
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
197
|
+
<label class="font_normal_body">回访状态</label>
|
198
|
+
<v-select :value.sync="model.f_is_visit"
|
199
|
+
v-model='model.f_is_visit'
|
200
|
+
style="width: 60%"
|
201
|
+
class="select_list select"
|
202
|
+
:options='$parent.$parent.is_visits' placeholder='请选择'
|
203
|
+
close-on-select :value-single="true"></v-select>
|
204
|
+
</div>
|
205
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
206
|
+
<label class="font_normal_body">回访备注</label>
|
207
|
+
<input type="text" class="input_search" v-model="model.f_bz"
|
208
|
+
style="width: 60%" placeholder="回访备注" condition="f_bz like '%{}%'">
|
209
|
+
</div>
|
196
210
|
</div>
|
197
211
|
<modal :show.sync="$parent.$parent.showModal" v-ref:modal>
|
198
212
|
<div slot="modal-header" class="modal-header">
|
@@ -213,7 +227,9 @@
|
|
213
227
|
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
214
228
|
<template partial='head'>
|
215
229
|
<tr>
|
216
|
-
<th
|
230
|
+
<th>
|
231
|
+
<nobr><input type="checkbox" v-model="$parent.$parent.$parent.selectAll"></input>全选</nobr>
|
232
|
+
</th>
|
217
233
|
<th>
|
218
234
|
<nobr>检查项</nobr>
|
219
235
|
</th>
|
@@ -239,7 +255,7 @@
|
|
239
255
|
<data-order field="f_address" name="客户地址"></data-order>
|
240
256
|
</th>
|
241
257
|
<th>
|
242
|
-
<nobr
|
258
|
+
<nobr>首次通气时间</nobr>
|
243
259
|
</th>
|
244
260
|
<th>
|
245
261
|
<data-order field="f_offsite_time" name="安检时间"></data-order>
|
@@ -268,10 +284,19 @@
|
|
268
284
|
<th>
|
269
285
|
<nobr>接收人</nobr>
|
270
286
|
</th>
|
287
|
+
<th>
|
288
|
+
<nobr>回访状态</nobr>
|
289
|
+
</th>
|
290
|
+
<th>
|
291
|
+
<nobr>回访备注</nobr>
|
292
|
+
</th>
|
293
|
+
<th>
|
294
|
+
<nobr>回访</nobr>
|
295
|
+
</th>
|
271
296
|
</tr>
|
272
297
|
</template>
|
273
298
|
<template partial='body'>
|
274
|
-
<td
|
299
|
+
<td style="text-align: center;white-space:nowrap;"><input type="checkbox" v-if="['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1" @click="$event.cancelBubble=true" :checked="$parent.$parent.$parent.isChecked(row)" @change="$parent.$parent.$parent.setCheckes(row)"></input></td>
|
275
300
|
<td style="text-align: center">{{row.f_device_type}}</td>
|
276
301
|
<td style="text-align: center">{{row.f_item_name}}/{{row.f_item_value}}</td>
|
277
302
|
<td style="text-align: center">{{row.f_defect_level}}</td>
|
@@ -291,6 +316,11 @@
|
|
291
316
|
<td style="text-align: center">{{row.f_service_id}}</td>
|
292
317
|
<td style="text-align: center">{{row.f_handlingtype}}</td>
|
293
318
|
<td style="text-align: center">{{row.f_order_man}}</td>
|
319
|
+
<td style="text-align: center">{{row.f_is_visit}}</td>
|
320
|
+
<td style="text-align: center">{{row.f_bz}}</td>
|
321
|
+
<td style="text-align: center">
|
322
|
+
<button-link v-if="row.f_is_repaired == '用户自行整改'" type="button" class="btn btn-link" @click="$parent.$parent.$parent.playWav(row.f_user_phone, row)">回访
|
323
|
+
</button-link></td>
|
294
324
|
</template>
|
295
325
|
</data-grid>
|
296
326
|
</criteria-paged>
|
@@ -412,6 +442,15 @@
|
|
412
442
|
<button class="button_search" @click="cancelsolveDefect">取消</button>
|
413
443
|
</div>
|
414
444
|
</modal>
|
445
|
+
<modal :show.sync="showVisit" v-ref:modal backdrop="false">
|
446
|
+
<header slot="modal-header" class="modal-header">
|
447
|
+
</header>
|
448
|
+
<article slot="modal-body" class="modal-body">
|
449
|
+
<safe-visit-info v-if="showVisit" :row="visitrow" :phone="wavflie" @show-obj="watchShow"></safe-visit-info>
|
450
|
+
</article>
|
451
|
+
<footer slot="modal-footer" class="modal-footer">
|
452
|
+
</footer>
|
453
|
+
</modal>
|
415
454
|
</div>
|
416
455
|
</div>
|
417
456
|
</template>
|
@@ -487,9 +526,13 @@
|
|
487
526
|
model.f_check_type=''
|
488
527
|
model.f_filialeid = `('${this.$login.f.orgid}')`
|
489
528
|
return {
|
529
|
+
showVisit: false,
|
530
|
+
visitrow: {},
|
531
|
+
wavflie: '',
|
490
532
|
audioshow:false,
|
491
|
-
|
533
|
+
selectAll:false,
|
492
534
|
model: model,
|
535
|
+
is_visits:[{label:'全部',value:''},{label:'已回访',value:'已回访'},{label:'未回访',value:'未回访'}],
|
493
536
|
deal_dispose:[{label:'全部',value:''},{label:'报修',value:'报修'},{label:'现场整改',value:'现场整改'},{label:'自行处理',value:'自行处理'},{label:'未处理',value:'未处理'}],
|
494
537
|
repairStateOptions: this.getSafeParam('隐患状态'),
|
495
538
|
//searchData:searchData,
|
@@ -501,7 +544,7 @@
|
|
501
544
|
'f_user_phone': '客户电话',
|
502
545
|
'f_residential_area': '小区',
|
503
546
|
'f_address': '客户地址',
|
504
|
-
'f_uservent_date': '
|
547
|
+
'f_uservent_date': '首次通气时间',
|
505
548
|
'f_offsite_time': '安检时间',
|
506
549
|
'f_checker_name': '安检员',
|
507
550
|
'f_deal_dispose': '处理方式',
|
@@ -562,7 +605,31 @@
|
|
562
605
|
return {condition: this.model.condition}
|
563
606
|
}
|
564
607
|
},
|
608
|
+
watch:{
|
609
|
+
'selectAll'(val){
|
610
|
+
if(!val){
|
611
|
+
this.checkes=[]
|
612
|
+
}else {
|
613
|
+
this.checkes=[]
|
614
|
+
for (let row of this.model.rows){
|
615
|
+
if (['用户自行整改', '现场已处理', '维修已处理', '转维修'].indexOf(row.f_is_repaired) == -1){
|
616
|
+
this.checkes.push(row)
|
617
|
+
}
|
618
|
+
}
|
619
|
+
}
|
620
|
+
}
|
621
|
+
},
|
565
622
|
methods: {
|
623
|
+
watchShow() {
|
624
|
+
this.visitrow = {}
|
625
|
+
this.showVisit = false
|
626
|
+
this.selfSearch()
|
627
|
+
},
|
628
|
+
playWav(val, val2) {
|
629
|
+
this.wavflie = val
|
630
|
+
this.visitrow = val2
|
631
|
+
this.showVisit = true
|
632
|
+
},
|
566
633
|
isChecked(row) {
|
567
634
|
return this.checkes.findIndex(item => item.f_defect_id == row.f_defect_id) != -1
|
568
635
|
},
|
@@ -738,6 +805,7 @@
|
|
738
805
|
this.showModal3=false
|
739
806
|
this.cancel1()
|
740
807
|
this.$showMessage('本次转维修成功'+successCount+'单')
|
808
|
+
this.$refs.paged.$refs.criteria.search()
|
741
809
|
},
|
742
810
|
getDefectInfoConfig(val){
|
743
811
|
try {
|
@@ -922,6 +990,12 @@
|
|
922
990
|
},
|
923
991
|
selfSearch(args) {
|
924
992
|
////tag
|
993
|
+
this.selectAll = false
|
994
|
+
if (args.model.f_is_visit == '已回访'){
|
995
|
+
args.condition += ` and f_is_visit = '是'`
|
996
|
+
}else if (args.model.f_is_visit == '未回访'){
|
997
|
+
args.condition += ` and f_is_visit is null`
|
998
|
+
}
|
925
999
|
args.condition += ` and f_filialeid in ${this.model.f_filialeid}`
|
926
1000
|
this.model.search(args.condition, args.model, args.condValue)
|
927
1001
|
},
|
@@ -242,10 +242,10 @@
|
|
242
242
|
</v-select>
|
243
243
|
</div>
|
244
244
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
245
|
-
<label class="font_normal_body"
|
245
|
+
<label class="font_normal_body">首次通气开始</label>
|
246
246
|
<datepicker
|
247
247
|
:value.sync="model.f_gas_start"
|
248
|
-
placeholder='
|
248
|
+
placeholder='首次通气开始时间' style="width: 60%"
|
249
249
|
:disabled-days-of-week="[]"
|
250
250
|
:format="'yyyy-MM-dd'"
|
251
251
|
:show-rest-button="reset"
|
@@ -254,10 +254,10 @@
|
|
254
254
|
</datepicker>
|
255
255
|
</div>
|
256
256
|
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
257
|
-
<label class="font_normal_body"
|
257
|
+
<label class="font_normal_body">首次通气结束</label>
|
258
258
|
<datepicker
|
259
259
|
:value.sync="model.f_gas_end"
|
260
|
-
placeholder='
|
260
|
+
placeholder='首次通气结束时间' style="width: 60%"
|
261
261
|
:disabled-days-of-week="[]"
|
262
262
|
:format="'yyyy-MM-dd'"
|
263
263
|
:show-rest-button="reset"
|
@@ -304,7 +304,7 @@
|
|
304
304
|
<nobr>客户地址</nobr>
|
305
305
|
</th>
|
306
306
|
<th>
|
307
|
-
<nobr
|
307
|
+
<nobr>首次通气时间</nobr>
|
308
308
|
</th>
|
309
309
|
<th>
|
310
310
|
<nobr>安检状态</nobr>
|
@@ -476,7 +476,7 @@ export default {
|
|
476
476
|
'f_check_type': '客户类型',
|
477
477
|
'f_residential_area': '小区',
|
478
478
|
'f_address': '客户地址',
|
479
|
-
'f_uservent_date': '
|
479
|
+
'f_uservent_date': '首次通气时间',
|
480
480
|
'f_entry_status': '安检状态',
|
481
481
|
'f_offsite_time': '安检时间',
|
482
482
|
'f_checker_name': '安检员',
|
@@ -713,7 +713,6 @@ export default {
|
|
713
713
|
//tag ===> ' + Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value))
|
714
714
|
//tag ===> ' + JSON.stringify(Number(this.gasDeviation)))
|
715
715
|
// 计算差值是否在范围内
|
716
|
-
|
717
716
|
if (Math.abs(this.f_items[this.f_meter_aberrant_number2.index].f_item_value) > Number(this.gasDeviation)) {
|
718
717
|
this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true
|
719
718
|
this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = '未处理'
|
@@ -721,6 +720,17 @@ export default {
|
|
721
720
|
this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = null
|
722
721
|
this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = null
|
723
722
|
}
|
723
|
+
if( this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true){
|
724
|
+
this.$showMessage(`表底数异常差值为:${this.f_items[this.f_meter_aberrant_number2.index].f_item_value},是否为隐患?`, ['confirm', 'cancel']).then((res) => {
|
725
|
+
if (res === 'confirm') {
|
726
|
+
this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = true
|
727
|
+
this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = '未处理'
|
728
|
+
}else{
|
729
|
+
this.f_items[this.f_meter_aberrant_number2.index].f_is_defect = null
|
730
|
+
this.f_items[this.f_meter_aberrant_number2.index].f_deal_dispose = null
|
731
|
+
}
|
732
|
+
})
|
733
|
+
}
|
724
734
|
},
|
725
735
|
|
726
736
|
getGasAberrantNumber(val) {
|
@@ -689,8 +689,16 @@ export default {
|
|
689
689
|
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
690
690
|
}
|
691
691
|
}
|
692
|
+
} else if (items.f_item_name === '表底数异常差值') {
|
693
|
+
var deviation = this.$appdata.getSingleValue('气量异常差值允许误差')
|
694
|
+
if (parseFloat(items.f_item_value[0]).toString() != "NaN" && parseFloat(deviation).toString() != "NaN") {
|
695
|
+
if (parseFloat(items.f_item_value[0]) > parseFloat(deviation) || parseFloat(items.f_item_value[0]) < parseFloat(deviation) * -1) {
|
696
|
+
checkResult = '有隐患'
|
697
|
+
this.result = '有隐患'
|
698
|
+
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
699
|
+
}
|
700
|
+
}
|
692
701
|
}
|
693
|
-
|
694
702
|
//tag)
|
695
703
|
//tag
|
696
704
|
//tag
|
@@ -839,7 +847,7 @@ export default {
|
|
839
847
|
},
|
840
848
|
isred(val1, val2) {
|
841
849
|
//tag
|
842
|
-
if (val2
|
850
|
+
if (val2 === '气量异常差值' || val2 === '金额异常差值') {
|
843
851
|
return
|
844
852
|
}
|
845
853
|
for (let i = 0; i < this.devicesAll.length; i++) {
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import Vue from 'vue'
|
2
|
+
import App from './App'
|
3
|
+
import { all } from 'vue-client'
|
4
|
+
// import { system } from 'system-clients'
|
5
|
+
import safecheckAndroid from './safecheck-page'
|
6
|
+
// import VueClipboard from 'vue-clipboard2'
|
7
|
+
// Vue.use(VueClipboard)
|
8
|
+
Vue.config.silent = true
|
9
|
+
/** **************************通用组件******************************/
|
10
|
+
all()
|
11
|
+
// system(false,'shiquan')
|
12
|
+
safecheckAndroid()
|
13
|
+
// 打开热力系统登陆
|
14
|
+
Vue.$heatCompatibility = false
|
15
|
+
|
16
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
17
|
+
require('system-clients/src/styles/less/aofeng/expandcss.less')
|
18
|
+
Vue.component('load-data', (resolve) => { require(['./components/LoadData'], resolve) })
|
19
|
+
// 测试
|
20
|
+
// Vue.component('test', (resolve) => { require(['./components/Test'], resolve) });
|
21
|
+
new Vue({
|
22
|
+
el: 'body',
|
23
|
+
components: { App }
|
24
|
+
})
|