safecheck-client 4.0.0-1 → 4.0.0-100
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 +2 -2
- package/src/App.vue +2 -2
- package/src/components/NewDefectList/DefectListNew.vue +660 -663
- package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
- package/src/components/Util/ImgSelfSafePlus.vue +13 -3
- package/src/components/Util/SafecheckUpload.vue +281 -281
- package/src/components/android/AndroidDefectDeal.vue +1 -1
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
- package/src/components/android/AndroidDefectDetails.vue +769 -0
- package/src/components/android/BlackUserOnLine.vue +2 -2
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +175 -165
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +108 -116
- package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
- package/src/components/android/NewCheckpaperAndroid.vue +28 -21
- package/src/components/android/PaperFeedback.vue +15 -13
- package/src/components/android/PaperFeedbackTemp.vue +2 -2
- package/src/components/android/PhoneUpUserinfo.vue +20 -0
- package/src/components/android/RelieveRestrict.vue +1 -1
- package/src/components/android/Restriction.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +48 -6
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/android/SealBind.vue +392 -0
- package/src/components/android/SealManage.vue +250 -0
- package/src/components/inspections/inspectionFeedback.vue +2 -2
- package/src/components/paper/PaperList.vue +360 -332
- package/src/components/paper/RegionalList.vue +217 -0
- package/src/components/pc/AddToCheckBook.vue +100 -23
- package/src/components/pc/CheckBook.vue +2 -0
- package/src/components/pc/CheckBookDetails.vue +6 -39
- package/src/components/pc/CheckBookEntry.vue +6 -7
- package/src/components/pc/CheckBookList.vue +60 -69
- package/src/components/pc/CheckBookSearchArea.vue +20 -24
- package/src/components/pc/CheckBookSearchUser.vue +139 -84
- package/src/components/pc/CheckBookSearchUserList.vue +1 -2
- package/src/components/pc/CheckBookUser.vue +276 -44
- package/src/components/pc/DefectDeal.vue +1007 -1007
- package/src/components/pc/NewCheckpaper.vue +22 -14
- package/src/components/pc/NewCheckpaperTemp.vue +5 -5
- package/src/components/pc/PaperDefectMain.vue +1 -0
- package/src/components/pc/RoleSelectorDep.vue +2 -1
- package/src/components/planmanage/PlanManage.vue +825 -821
- package/src/components/planmanage/checkPlanList.vue +28 -0
- package/src/components/planmanage/checkUserList.vue +346 -346
- package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
- package/src/components/report/CheckPlanAreaList.vue +266 -266
- package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
- package/src/components/rongcheng/PaperFeedback.vue +2 -2
- package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
- package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
- package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
- package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -0
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -0
- package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +339 -0
- package/src/filiale/jinhong/android.js +11 -0
- package/src/filiale/jinhong/pc/CheckBookList.vue +388 -0
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +528 -0
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
- package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
- package/src/filiale/jinhong/pc/PaperList.vue +844 -0
- package/src/filiale/jinhong/pc/PlanManage.vue +925 -0
- package/src/filiale/jinhong/pc/SelectCheckPlan.vue +308 -0
- package/src/filiale/jinhong/pc/checkUserList.vue +745 -0
- package/src/filiale/jinhong/pc.js +13 -0
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
- package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
- package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
- package/src/filiale/meihekou/android/AreaPlan.vue +577 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
- package/src/filiale/meihekou/android/CurrentCreate.vue +1108 -0
- package/src/filiale/meihekou/android/MeterReading.vue +106 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1538 -0
- package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
- package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -0
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +2414 -0
- package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -0
- package/src/filiale/meihekou/android.js +21 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -0
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
- package/src/filiale/meihekou/pc.js +13 -0
- package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
- package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
- package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
- package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
- package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
- package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
- package/src/filiale/xiangyuanzhongai/android/AndroidDefectDeal.vue +634 -0
- package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
- package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
- package/src/filiale/xiangyuanzhongai/android.js +4 -0
- package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
- package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +791 -0
- package/src/filiale/xiangyuanzhongai/pc.js +2 -0
- package/src/filiale/xinkang/android/AddPlanItem.vue +413 -0
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/xinkang/android.js +1 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yunchengminsheng/android.js +1 -0
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
- package/src/main.js +1 -1
- package/src/safecheck-android.js +3 -0
- package/src/safecheck.js +3 -1
|
@@ -141,7 +141,7 @@ div {
|
|
|
141
141
|
<tr>
|
|
142
142
|
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
|
|
143
143
|
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_entry_status }}</td>
|
|
144
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%"
|
|
144
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用气状态:</td>
|
|
145
145
|
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_usegas }}</td>
|
|
146
146
|
</tr>
|
|
147
147
|
<tr>
|
|
@@ -543,7 +543,7 @@ div {
|
|
|
543
543
|
paperdata.f_entry_status
|
|
544
544
|
}}
|
|
545
545
|
</td>
|
|
546
|
-
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%"
|
|
546
|
+
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">用气状态:</td>
|
|
547
547
|
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ paperdata.f_usegas }}</td>
|
|
548
548
|
</tr>
|
|
549
549
|
<tr>
|
|
@@ -959,7 +959,7 @@ let asyncReady = async function (self) {
|
|
|
959
959
|
}
|
|
960
960
|
export default {
|
|
961
961
|
title: '安检单',
|
|
962
|
-
props: ['f_plan_id', 'item', 'role'],
|
|
962
|
+
props: ['f_plan_id', 'item', 'role','gotoitem'],
|
|
963
963
|
data() {
|
|
964
964
|
return {
|
|
965
965
|
f_user_path:'',
|
|
@@ -1132,7 +1132,7 @@ export default {
|
|
|
1132
1132
|
}).then((res) => {
|
|
1133
1133
|
if (res.data.code == 200) {
|
|
1134
1134
|
this.loading = false;
|
|
1135
|
-
this.$
|
|
1135
|
+
this.$emit('showback')
|
|
1136
1136
|
}
|
|
1137
1137
|
})
|
|
1138
1138
|
},
|
|
@@ -1159,7 +1159,7 @@ export default {
|
|
|
1159
1159
|
this.loading = false;
|
|
1160
1160
|
this.message = '';
|
|
1161
1161
|
this.showModel = false;
|
|
1162
|
-
this.$
|
|
1162
|
+
this.$emit('showback')
|
|
1163
1163
|
}
|
|
1164
1164
|
})
|
|
1165
1165
|
},
|
|
@@ -1217,7 +1217,7 @@ export default {
|
|
|
1217
1217
|
if (items.f_is_defect == 'true' || items.f_is_defect == true) {
|
|
1218
1218
|
checkResult = '有隐患'
|
|
1219
1219
|
this.result = '有隐患'
|
|
1220
|
-
defects = `${defects}:${
|
|
1220
|
+
defects = `${defects}:${f_item_value}/`
|
|
1221
1221
|
}
|
|
1222
1222
|
/*let options = this.config[this.data[device][item].f_device_type].items[items.f_item_name].options
|
|
1223
1223
|
for (let option in options) {
|
|
@@ -1297,7 +1297,9 @@ export default {
|
|
|
1297
1297
|
//tag)
|
|
1298
1298
|
if (this.deviceCollect.name) {
|
|
1299
1299
|
//tag
|
|
1300
|
-
|
|
1300
|
+
if(this.deviceCollect.value != '正常'){
|
|
1301
|
+
this.deviceCollects.push(JSON.parse(JSON.stringify(this.deviceCollect)))
|
|
1302
|
+
}
|
|
1301
1303
|
}
|
|
1302
1304
|
|
|
1303
1305
|
checkResult = '正常'
|
|
@@ -1349,9 +1351,11 @@ export default {
|
|
|
1349
1351
|
}
|
|
1350
1352
|
//tag
|
|
1351
1353
|
//tag)
|
|
1352
|
-
if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType) {
|
|
1354
|
+
if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType && Vue.config.safecheck.SafecheckType['年度普检']) {
|
|
1353
1355
|
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度普检'][this.item.f_check_type]])
|
|
1354
|
-
}
|
|
1356
|
+
}else if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType && Vue.config.safecheck.SafecheckType['年度安检']){
|
|
1357
|
+
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度安检'][this.item.f_check_type]])
|
|
1358
|
+
}else if (Vue.config.safecheck.SafecheckType && Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type]]){
|
|
1355
1359
|
this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
|
|
1356
1360
|
}else {
|
|
1357
1361
|
if(this.item.f_check_type == '民用'){
|
|
@@ -1510,16 +1514,20 @@ export default {
|
|
|
1510
1514
|
back() {
|
|
1511
1515
|
if (this.role == 'inspect') {
|
|
1512
1516
|
if (!this.isStrat) {
|
|
1513
|
-
this.$
|
|
1517
|
+
this.$emit('showback')
|
|
1514
1518
|
return
|
|
1515
1519
|
} else {
|
|
1516
1520
|
this.savePaper(true).then(() => {
|
|
1517
|
-
this.$
|
|
1521
|
+
this.$emit('showback')
|
|
1518
1522
|
this.isStrat = false
|
|
1519
1523
|
})
|
|
1520
1524
|
}
|
|
1521
1525
|
} else {
|
|
1522
|
-
this
|
|
1526
|
+
if(this.gotoitem){
|
|
1527
|
+
this.$back()
|
|
1528
|
+
return
|
|
1529
|
+
}
|
|
1530
|
+
this.$emit('showback')
|
|
1523
1531
|
}
|
|
1524
1532
|
},
|
|
1525
1533
|
checkIsStart() {
|
|
@@ -1893,12 +1901,12 @@ export default {
|
|
|
1893
1901
|
console.log('Vue.config.safecheck.DevicesConfig', Vue.config.safecheck.DevicesConfig)
|
|
1894
1902
|
// 如果没有用户类型 默认按民用配置走
|
|
1895
1903
|
if (this.data.f_check_type == '非民用') {
|
|
1896
|
-
this.deviceconfig = Vue.config.safecheck.DevicesSetConfig
|
|
1904
|
+
this.deviceconfig = JSON.parse(JSON.stringify(Vue.config.safecheck.DevicesSetConfig))
|
|
1897
1905
|
if (typeof this.deviceconfig === 'string') {
|
|
1898
1906
|
this.deviceconfig = JSON.parse(this.deviceconfig)
|
|
1899
1907
|
}
|
|
1900
1908
|
}else{
|
|
1901
|
-
this.deviceconfig = Vue.config.safecheck.DevicesConfig
|
|
1909
|
+
this.deviceconfig = JSON.parse(JSON.stringify(Vue.config.safecheck.DevicesConfig))
|
|
1902
1910
|
if (typeof this.deviceconfig === 'string') {
|
|
1903
1911
|
this.deviceconfig = JSON.parse(this.deviceconfig)
|
|
1904
1912
|
}
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
}).then((res) => {
|
|
573
573
|
if (res.data.code == 200) {
|
|
574
574
|
this.loading = false;
|
|
575
|
-
this.$
|
|
575
|
+
this.$emit('showback')
|
|
576
576
|
}
|
|
577
577
|
})
|
|
578
578
|
},
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
this.loading = false;
|
|
600
600
|
this.message = '';
|
|
601
601
|
this.showModel = false;
|
|
602
|
-
this.$
|
|
602
|
+
this.$emit('showback')
|
|
603
603
|
}
|
|
604
604
|
})
|
|
605
605
|
},
|
|
@@ -938,16 +938,16 @@
|
|
|
938
938
|
back() {
|
|
939
939
|
if (this.role == 'inspect') {
|
|
940
940
|
if (!this.isStrat) {
|
|
941
|
-
this.$
|
|
941
|
+
this.$emit('showback')
|
|
942
942
|
return
|
|
943
943
|
} else {
|
|
944
944
|
this.savePaper(true).then(() => {
|
|
945
|
-
this.$
|
|
945
|
+
this.$emit('showback')
|
|
946
946
|
this.isStrat = false
|
|
947
947
|
})
|
|
948
948
|
}
|
|
949
949
|
} else {
|
|
950
|
-
this.$
|
|
950
|
+
this.$emit('showback')
|
|
951
951
|
}
|
|
952
952
|
},
|
|
953
953
|
checkIsStart() {
|
|
@@ -127,11 +127,12 @@
|
|
|
127
127
|
if (resids.length > 0 && typeof resids[0] == "object") {
|
|
128
128
|
resids = resids[0]
|
|
129
129
|
}
|
|
130
|
+
this.allUsers = []
|
|
131
|
+
this.users = []
|
|
130
132
|
if (resids[0]) {
|
|
131
133
|
this.source = `root.getResourceById($${resids[0]}$,$department$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($${this.roleName}$) != -1)`
|
|
132
134
|
await this.search()
|
|
133
135
|
}
|
|
134
|
-
this.users = []
|
|
135
136
|
this.allUsers.forEach(user => {
|
|
136
137
|
this.users.push({label: user.name, value: user.name})
|
|
137
138
|
})
|