safecheck-client 3.0.32 → 3.0.33-2
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/package.json +133 -133
- package/src/App.vue +31 -31
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/components/android/AndroidDefectDeal.vue +5 -5
- package/src/components/android/PhoneUpUserinfo.vue +6 -0
- package/src/components/android/SafecheckOrderV.vue +4 -1
- package/src/components/map/checkScreen.vue +1 -1
- package/src/components/planmanage/checkPlanList.vue +3 -3
- package/src/components/rongcheng/AspiratedDevices.vue +34 -1
- package/src/components/rongcheng/DefectPaper.vue +4 -1
- package/src/components/rongcheng/SafecheckDevices.vue +34 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
- package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
- package/src/filiale/Util.js +7 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
- package/src/filiale/dexin/android.js +4 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
- package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +20 -120
- package/src/filiale/fugou/pc.js +60 -5
- package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
- package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
- package/src/filiale/jingyang/android.js +4 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shexian/pc/PaperList.vue +822 -0
- package/src/filiale/shexian/pc.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
- package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
- package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
- package/src/filiale/wensu/pc/DefectPaperNew.vue +15 -9
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
- package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
- package/src/filiale/wensu/pc/checkUserList.vue +5 -1
- package/src/filiale/wensu/pc.js +20 -19
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
- package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
- package/src/main.js +33 -33
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
@@ -57,6 +57,12 @@ div {
|
|
57
57
|
<div @click="back()">
|
58
58
|
<img src="../../../assets/back.png" style="margin: 0px"/>
|
59
59
|
</div>
|
60
|
+
<div style="margin-top:20px">
|
61
|
+
<button class="button_search" @click="updateSpotCheck('合格')">合格</button>
|
62
|
+
</div>
|
63
|
+
<div style="margin-top:20px">
|
64
|
+
<button class="button_search" @click="NoSpotCheck">不合格</button>
|
65
|
+
</div>
|
60
66
|
</div>
|
61
67
|
<work-busy :is-busy="loading"></work-busy>
|
62
68
|
<div class="container-fluid" style="overflow: scroll">
|
@@ -289,7 +295,9 @@ div {
|
|
289
295
|
</div>
|
290
296
|
<div class="col-md-4" style="text-align: center">
|
291
297
|
<label style="font-weight: normal"
|
292
|
-
v-if="dev.type!='picture'">{{
|
298
|
+
v-if="dev.type!='picture'">{{
|
299
|
+
getDeviceValue(config.checkname, dev.lname) ? getDeviceValue(config.checkname, dev.lname) : '无'
|
300
|
+
}}</label>
|
293
301
|
<label style="font-weight: normal" v-if="dev.type=='picture'">
|
294
302
|
<div v-show="getDevicePath(config.checkname,dev.lname)">
|
295
303
|
<button-link style="color: black" type="button" class="btn btn-link"
|
@@ -358,6 +366,23 @@ div {
|
|
358
366
|
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
359
367
|
</footer>
|
360
368
|
</modal>
|
369
|
+
<modal :show.sync="showSpotCheckButton" v-ref:modal backdrop="false">
|
370
|
+
<header slot="modal-header" class="modal-header">
|
371
|
+
安检抽检
|
372
|
+
</header>
|
373
|
+
<article slot="modal-body" class="modal-body">
|
374
|
+
<div class="from-group">
|
375
|
+
<div class="row">
|
376
|
+
<lable>抽检不合格原因</lable>
|
377
|
+
<textarea v-model="spotCheckMessage"></textarea>
|
378
|
+
</div>
|
379
|
+
</div>
|
380
|
+
</article>
|
381
|
+
<footer slot="modal-footer" class="modal-footer">
|
382
|
+
<button type="button" class="btn btn-success" @click='SpotCheckSuccess'>确认</button>
|
383
|
+
<button type="button" class="btn btn-success" @click='SpotCheckCancel'>取消</button>
|
384
|
+
</footer>
|
385
|
+
</modal>
|
361
386
|
</template>
|
362
387
|
|
363
388
|
<script>
|
@@ -463,25 +488,30 @@ export default {
|
|
463
488
|
"燃气表": {
|
464
489
|
"checkmust": true,
|
465
490
|
"index": 1,
|
466
|
-
"items":{
|
491
|
+
"items": {
|
467
492
|
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
468
|
-
"气表表号":{"index":1,"type":"string","readonly":true},
|
469
|
-
"气表型号":{"index":2,"type":"string","readonly":true},
|
470
|
-
"气表品牌":{"index":3,"type":"string","readonly":true},
|
471
|
-
"气表类型":{"index":4,"type":"string","readonly":true},
|
472
|
-
"进气方向":{
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
"
|
479
|
-
"
|
493
|
+
"气表表号": {"index": 1, "type": "string", "readonly": true},
|
494
|
+
"气表型号": {"index": 2, "type": "string", "readonly": true},
|
495
|
+
"气表品牌": {"index": 3, "type": "string", "readonly": true},
|
496
|
+
"气表类型": {"index": 4, "type": "string", "readonly": true},
|
497
|
+
"进气方向": {
|
498
|
+
"index": 5,
|
499
|
+
"type": "selector",
|
500
|
+
"options": [{"data": "左表", "isdefault": false}, {"data": "右表", "isdefault": false}],
|
501
|
+
"checkmust": true
|
502
|
+
},
|
503
|
+
"初始表底": {"index": 6, "type": "number", "isshow": false, "readonly": true},
|
504
|
+
"上期表读数": {"index": 7, "type": "number", "readonly": true, isshow: false},
|
505
|
+
"累购气量": {"index": 8, "type": "number", "readonly": true},
|
506
|
+
"累购金额": {"index": 8, "type": "number", "readonly": true},
|
507
|
+
"已用气量": {"index": 9, "type": "number", "checkmust": false},//基表数
|
508
|
+
"已用金额": {"index": 9, "type": "number", "checkmust": false},
|
509
|
+
"剩余气量": {"index": 10, "type": "number", "checkmust": false},//累购-已用
|
480
510
|
//显示屏数 --实际剩余气量
|
481
|
-
"剩余金额":{"index":10,"type":"number","checkmust": false},
|
482
|
-
"气量异常差值":{"index":11,"type":"number","readonly": true},
|
483
|
-
"金额异常差值":{"index":11,"type":"number","readonly": true},
|
484
|
-
"表箱号":{"index":12,"type":"string","readonly": true}
|
511
|
+
"剩余金额": {"index": 10, "type": "number", "checkmust": false},
|
512
|
+
"气量异常差值": {"index": 11, "type": "number", "readonly": true},
|
513
|
+
"金额异常差值": {"index": 11, "type": "number", "readonly": true},
|
514
|
+
"表箱号": {"index": 12, "type": "string", "readonly": true}
|
485
515
|
}
|
486
516
|
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
487
517
|
}
|
@@ -491,28 +521,35 @@ export default {
|
|
491
521
|
"燃气表": {
|
492
522
|
"checkmust": true,
|
493
523
|
"index": 1,
|
494
|
-
"items":{
|
524
|
+
"items": {
|
495
525
|
//"燃气表照片":{"index":1,"type":"picture","remark":"(拍摄清晰的表具编号、字轮数、剩余气量等)"},
|
496
|
-
"气表表号":{"index":1,"type":"string","readonly":true},
|
497
|
-
"气表型号":{"index":2,"type":"string","readonly":true},
|
498
|
-
"气表品牌":{"index":3,"type":"string","readonly":true},
|
499
|
-
"气表类型":{"index":4,"type":"string","readonly":true},
|
500
|
-
"进气方向":{
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
"
|
507
|
-
"
|
526
|
+
"气表表号": {"index": 1, "type": "string", "readonly": true},
|
527
|
+
"气表型号": {"index": 2, "type": "string", "readonly": true},
|
528
|
+
"气表品牌": {"index": 3, "type": "string", "readonly": true},
|
529
|
+
"气表类型": {"index": 4, "type": "string", "readonly": true},
|
530
|
+
"进气方向": {
|
531
|
+
"index": 5,
|
532
|
+
"type": "selector",
|
533
|
+
"options": [{"data": "左表", "isdefault": false}, {"data": "右表", "isdefault": false}],
|
534
|
+
"checkmust": true
|
535
|
+
},
|
536
|
+
"初始表底": {"index": 6, "type": "number", "isshow": false, "readonly": true},
|
537
|
+
"上期表读数": {"index": 7, "type": "number", "readonly": true, isshow: false},
|
538
|
+
"累购气量": {"index": 8, "type": "number", "readonly": true},
|
539
|
+
"累购金额": {"index": 8, "type": "number", "readonly": true},
|
540
|
+
"已用气量": {"index": 9, "type": "number", "checkmust": false},//基表数
|
541
|
+
"已用金额": {"index": 9, "type": "number", "checkmust": false},
|
542
|
+
"剩余气量": {"index": 10, "type": "number", "checkmust": false},//累购-已用
|
508
543
|
//显示屏数 --实际剩余气量
|
509
|
-
"剩余金额":{"index":10,"type":"number","checkmust": false},
|
510
|
-
"气量异常差值":{"index":11,"type":"number","readonly": true},
|
511
|
-
"金额异常差值":{"index":11,"type":"number","readonly": true},
|
512
|
-
"表箱号":{"index":12,"type":"string","readonly": true}
|
544
|
+
"剩余金额": {"index": 10, "type": "number", "checkmust": false},
|
545
|
+
"气量异常差值": {"index": 11, "type": "number", "readonly": true},
|
546
|
+
"金额异常差值": {"index": 11, "type": "number", "readonly": true},
|
547
|
+
"表箱号": {"index": 12, "type": "string", "readonly": true}
|
513
548
|
}
|
514
549
|
}
|
515
550
|
},
|
551
|
+
showSpotCheckButton: false,
|
552
|
+
spotCheckMessage:''
|
516
553
|
}
|
517
554
|
},
|
518
555
|
components: {
|
@@ -520,12 +557,12 @@ export default {
|
|
520
557
|
Radio,
|
521
558
|
},
|
522
559
|
computed: {
|
523
|
-
isRecodrDownloadBtn(){
|
560
|
+
isRecodrDownloadBtn() {
|
524
561
|
// 投诉单下派还是处理
|
525
562
|
let res = this.$appdata.getSingleValue('无限制录音');
|
526
|
-
if (res == 'true'){
|
563
|
+
if (res == 'true') {
|
527
564
|
return true;
|
528
|
-
}else {
|
565
|
+
} else {
|
529
566
|
return false;
|
530
567
|
}
|
531
568
|
},
|
@@ -549,6 +586,32 @@ export default {
|
|
549
586
|
}
|
550
587
|
},
|
551
588
|
methods: {
|
589
|
+
updateSpotCheck(value) {
|
590
|
+
var reqData = {
|
591
|
+
paperId:this.item.id,
|
592
|
+
userName: this.$login.f.name,
|
593
|
+
spotCheckState: '已抽检',
|
594
|
+
spotCheckResult: value,
|
595
|
+
spotCheckMessage:this.spotCheckMessage
|
596
|
+
}
|
597
|
+
new HttpResetClass().load('POST', 'rs/logic/updateSpotCheck', reqData).then(res => {
|
598
|
+
if (res.data = 200) {
|
599
|
+
this.$showMessage('安检抽检完成')
|
600
|
+
}
|
601
|
+
})
|
602
|
+
},
|
603
|
+
NoSpotCheck() {
|
604
|
+
this.showSpotCheckButton = true
|
605
|
+
},
|
606
|
+
SpotCheckSuccess() {
|
607
|
+
this.updateSpotCheck('不合格')
|
608
|
+
this.spotCheckMessage = ''
|
609
|
+
this.showSpotCheckButton = false
|
610
|
+
},
|
611
|
+
SpotCheckCancel() {
|
612
|
+
this.spotCheckMessage = ''
|
613
|
+
this.showSpotCheckButton = false
|
614
|
+
},
|
552
615
|
devicesCollect() {
|
553
616
|
//tag
|
554
617
|
//tag)
|
@@ -602,7 +665,7 @@ export default {
|
|
602
665
|
if (defects != '') {
|
603
666
|
deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}`)
|
604
667
|
}
|
605
|
-
} else if (items.type === 'string' && items.f_is_defect
|
668
|
+
} else if (items.type === 'string' && items.f_is_defect && items.f_item_value[0]) {
|
606
669
|
checkResult = '有隐患'
|
607
670
|
this.result = '有隐患'
|
608
671
|
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
@@ -679,10 +742,10 @@ export default {
|
|
679
742
|
if (Vue.config.safecheck.ApproveConfig.livedispose != undefined) {
|
680
743
|
this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
|
681
744
|
}
|
682
|
-
if(Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
|
745
|
+
if (Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
|
683
746
|
if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 3) {
|
684
747
|
this.hiddenDangerImgNumber = 3
|
685
|
-
}else {
|
748
|
+
} else {
|
686
749
|
this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
|
687
750
|
}
|
688
751
|
}
|
@@ -749,9 +812,9 @@ export default {
|
|
749
812
|
this.showimg2 = this.devicesAll[i][j].f_items[k].f_second_path
|
750
813
|
this.otherDarginShowImgs = []
|
751
814
|
for (let l = 0; l < this.hiddenDangerImgNumber; l++) {
|
752
|
-
let img = {path:''}
|
753
|
-
if (this.devicesAll[i][j].f_items[k]['f_p' + (l+1)+'_path']) {
|
754
|
-
img.path =
|
815
|
+
let img = {path: ''}
|
816
|
+
if (this.devicesAll[i][j].f_items[k]['f_p' + (l + 1) + '_path']) {
|
817
|
+
img.path = this.devicesAll[i][j].f_items[k]['f_p' + (l + 1) + '_path'] + '?' + Math.random()
|
755
818
|
this.otherDarginShowImgs.push(img)
|
756
819
|
}
|
757
820
|
}
|
@@ -1225,14 +1288,14 @@ export default {
|
|
1225
1288
|
//tag)
|
1226
1289
|
if (this.data.f_check_type == '民用') {
|
1227
1290
|
this.deviceconfig = Vue.config.safecheck.DevicesConfig
|
1228
|
-
if (typeof this.deviceconfig==='string'){
|
1229
|
-
this.deviceconfig=JSON.parse(this.deviceconfig)
|
1291
|
+
if (typeof this.deviceconfig === 'string') {
|
1292
|
+
this.deviceconfig = JSON.parse(this.deviceconfig)
|
1230
1293
|
}
|
1231
1294
|
//tag)
|
1232
1295
|
} else if (this.data.f_check_type == '非民用') {
|
1233
1296
|
this.deviceconfig = Vue.config.safecheck.DevicesSetConfig
|
1234
|
-
if (typeof this.deviceconfig==='string'){
|
1235
|
-
this.deviceconfig=JSON.parse(this.deviceconfig)
|
1297
|
+
if (typeof this.deviceconfig === 'string') {
|
1298
|
+
this.deviceconfig = JSON.parse(this.deviceconfig)
|
1236
1299
|
}
|
1237
1300
|
//tag)
|
1238
1301
|
}
|