safecheck-client 3.0.33-16 → 3.0.33-160
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 +19 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/AreaPlan.vue +2 -1
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/ImgSelfAndroid.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +5 -1
- package/src/components/android/SafecheckOrderV.vue +18 -12
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/pc/NewCheckpaper.vue +11 -8
- 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 +28 -2
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- 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 +20 -7
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
- 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/DeviceChange.vue +1838 -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 +7 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +13 -14
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +2 -6
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -18
- 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/checkUserList.vue +36 -35
- 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/qingjian/android/PhoneUpUserinfo.vue +7 -5
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +66 -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/DefectListNew.vue +617 -0
- package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +2 -0
- package/src/filiale/wenxi/android/CurrentCreate.vue +1055 -1055
- 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 +1358 -1358
- package/src/filiale/wenxi/pc/PaperDefectMain.vue +790 -790
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +20 -20
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +3 -3
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +5 -5
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +17 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +30 -12
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
- 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/PaperDefectMain.vue +98 -3
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- 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/yuansheng/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/yuansheng/android.js +1 -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 +3 -1
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
@@ -269,7 +269,7 @@
|
|
269
269
|
"气量异常差值":{"index":10,"type":"number","readonly": true},
|
270
270
|
"金额异常差值":{"index":10,"type":"number","readonly": true},
|
271
271
|
"系统余额":{"index":10,"type":"number","readonly": true},
|
272
|
-
"
|
272
|
+
"表封号":{"index":11,"type":"string","readonly": true},
|
273
273
|
"燃气表照片":{"index":12,"type":"picture","checkmust": false}
|
274
274
|
}
|
275
275
|
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
@@ -686,8 +686,10 @@
|
|
686
686
|
let prefix = '用户基本信息:'
|
687
687
|
if(Util.required(this.data.f_user_name))
|
688
688
|
return prefix + '用户名必须输入'
|
689
|
+
if (!this.data.f_user_phone){
|
690
|
+
return '请输入正确的电话号码'
|
691
|
+
}
|
689
692
|
if(!(/^\d{11}$/.test(this.data.f_user_phone.trim()))) {
|
690
|
-
|
691
693
|
return '请输入正确的电话号码'
|
692
694
|
}
|
693
695
|
// if(Util.required(this.data.f_residential_area))
|
@@ -2072,7 +2074,7 @@
|
|
2072
2074
|
f_defect_level: null,
|
2073
2075
|
f_device_id: "",
|
2074
2076
|
f_is_defect: "",
|
2075
|
-
f_item_name: "
|
2077
|
+
f_item_name: "表封号",
|
2076
2078
|
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
2077
2079
|
f_path: "",
|
2078
2080
|
type: "string"
|
@@ -2134,7 +2136,7 @@
|
|
2134
2136
|
f_defect_level: null,
|
2135
2137
|
f_device_id: "",
|
2136
2138
|
f_is_defect: "",
|
2137
|
-
f_item_name: "
|
2139
|
+
f_item_name: "表封号",
|
2138
2140
|
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
2139
2141
|
f_path: "",
|
2140
2142
|
type: "string"
|
@@ -2435,13 +2437,17 @@
|
|
2435
2437
|
//tag
|
2436
2438
|
if (this.role == 'inspect') {
|
2437
2439
|
//tag
|
2438
|
-
if
|
2439
|
-
|
2440
|
-
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2440
|
+
if(this.item.f_no_checkplan != '无计划安检' ){
|
2441
|
+
if (this.item.f_no_checkplan == '复检') {
|
2442
|
+
value = this.$androidUtil.path({
|
2443
|
+
alias: 'getUserinfomation',
|
2444
|
+
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan in ('无计划安检','复检')"}
|
2445
|
+
})
|
2446
|
+
} else {
|
2447
|
+
value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
|
2448
|
+
}
|
2449
|
+
}else {
|
2450
|
+
value.data =[]
|
2445
2451
|
}
|
2446
2452
|
} else {
|
2447
2453
|
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
@@ -2618,7 +2624,7 @@
|
|
2618
2624
|
})
|
2619
2625
|
}
|
2620
2626
|
}else{
|
2621
|
-
if(this.parentPage && this.parentPage=='
|
2627
|
+
if(this.parentPage && this.parentPage=='AddPlanItem'){
|
2622
2628
|
//tag
|
2623
2629
|
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2624
2630
|
if (isRecodr) {
|
@@ -445,13 +445,15 @@ export default {
|
|
445
445
|
|
446
446
|
|
447
447
|
let a3=[]
|
448
|
-
for(let
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
448
|
+
for(let o=0;o<this.level2.length;o++){
|
449
|
+
if (this.level2[o].f_longitude && this.level2[o].f_latitude){
|
450
|
+
a3.push({
|
451
|
+
lnglat: [this.level2[o].f_longitude,this.level2[o].f_latitude], //点标记位置
|
452
|
+
name: '二级隐患',
|
453
|
+
id:o,
|
454
|
+
rowstr:this.level2[o]
|
455
|
+
})
|
456
|
+
}
|
455
457
|
}
|
456
458
|
// 将数组设置到 massMarks 图层
|
457
459
|
this.level2Mulchs.setData(a3);
|
@@ -459,13 +461,15 @@ export default {
|
|
459
461
|
this.level2Mulchs.setMap(this.map);
|
460
462
|
|
461
463
|
let a4=[]
|
462
|
-
for(let
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
464
|
+
for(let p=0;p<this.level3.length;p++){
|
465
|
+
if (this.level3[p].f_longitude&&this.level3[p].f_latitude){
|
466
|
+
a4.push({
|
467
|
+
lnglat: [this.level3[p].f_longitude, this.level3[p].f_latitude], //点标记位置
|
468
|
+
name: '三级隐患',
|
469
|
+
id:p,
|
470
|
+
rowstr:this.level3[p]
|
471
|
+
})
|
472
|
+
}
|
469
473
|
}
|
470
474
|
// 将数组设置到 massMarks 图层
|
471
475
|
this.level3Mulchs.setData(a4);
|
@@ -474,13 +478,15 @@ export default {
|
|
474
478
|
|
475
479
|
|
476
480
|
let a5=[]
|
477
|
-
for(let
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
481
|
+
for(let l=0;l<this.problems.length;l++){
|
482
|
+
if (this.problems[l].f_longitude&&this.problems[l].f_latitude){
|
483
|
+
a5.push({
|
484
|
+
lnglat: [this.problems[l].f_longitude, this.problems[l].f_latitude], //点标记位置
|
485
|
+
name: '普通问题',
|
486
|
+
id:l,
|
487
|
+
rowstr:this.problems[l]
|
488
|
+
})
|
489
|
+
}
|
484
490
|
}
|
485
491
|
// 将数组设置到 massMarks 图层
|
486
492
|
this.problemsMulchs.setData(a5);
|
@@ -79,8 +79,10 @@
|
|
79
79
|
let selectnew = function * (self) {
|
80
80
|
let http = new HttpResetClass()
|
81
81
|
http.load('POST', '/rs/search', {
|
82
|
-
|
83
|
-
|
82
|
+
data:{
|
83
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
84
|
+
userid: self.$login.f.orgid
|
85
|
+
}
|
84
86
|
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
85
87
|
self.checkers = []
|
86
88
|
let arr = []
|
@@ -894,6 +894,7 @@ import Vue from 'vue'
|
|
894
894
|
import * as Util from '../Util'
|
895
895
|
import {jsonSort} from '../../utils/LdapHelper'
|
896
896
|
import {HttpResetClass} from "vue-client";
|
897
|
+
import {forEach} from "mocha/lib/utils";
|
897
898
|
|
898
899
|
let asyncReady = async function (self) {
|
899
900
|
// 获取配置信息
|
@@ -1293,6 +1294,9 @@ export default {
|
|
1293
1294
|
if (this.deviceCollects.length > 0) {
|
1294
1295
|
this.hasDevice = true
|
1295
1296
|
}
|
1297
|
+
this.deviceconfig2 = this.deviceconfig2.filter(row => {
|
1298
|
+
return !(row.checkname == '$configProp' || row.checkname == '$globalProp');
|
1299
|
+
})
|
1296
1300
|
this.ajresult = JSON.parse(this.data.f_defect_content).result
|
1297
1301
|
this.showimg3 = this.data.f_noanswer_path
|
1298
1302
|
this.showimg5 = this.data.f_noanswer1_path
|
@@ -1873,18 +1877,17 @@ export default {
|
|
1873
1877
|
//tag
|
1874
1878
|
//tag)
|
1875
1879
|
console.log('Vue.config.safecheck.DevicesConfig', Vue.config.safecheck.DevicesConfig)
|
1876
|
-
|
1877
|
-
|
1878
|
-
if (typeof this.deviceconfig === 'string') {
|
1879
|
-
this.deviceconfig = JSON.parse(this.deviceconfig)
|
1880
|
-
}
|
1881
|
-
//tag)
|
1882
|
-
} else if (this.data.f_check_type == '非民用') {
|
1880
|
+
// 如果没有用户类型 默认按民用配置走
|
1881
|
+
if (this.data.f_check_type == '非民用') {
|
1883
1882
|
this.deviceconfig = Vue.config.safecheck.DevicesSetConfig
|
1884
1883
|
if (typeof this.deviceconfig === 'string') {
|
1885
1884
|
this.deviceconfig = JSON.parse(this.deviceconfig)
|
1886
1885
|
}
|
1887
|
-
|
1886
|
+
}else{
|
1887
|
+
this.deviceconfig = Vue.config.safecheck.DevicesConfig
|
1888
|
+
if (typeof this.deviceconfig === 'string') {
|
1889
|
+
this.deviceconfig = JSON.parse(this.deviceconfig)
|
1890
|
+
}
|
1888
1891
|
}
|
1889
1892
|
if (this.data.f_collection_type == '按金额') {
|
1890
1893
|
if (this.deviceconfig["燃气表"]){
|
@@ -16,7 +16,7 @@
|
|
16
16
|
close-on-select value-single >
|
17
17
|
</v-select>
|
18
18
|
</div>
|
19
|
-
<div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
|
19
|
+
<div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default" v-if="isdelete">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
|
20
20
|
</div>
|
21
21
|
<div class="leftplan-center safe_plan_list">
|
22
22
|
<div class="row safe-leftplan safe_list_li" :class="{'safe-selectplan':selectPlan.id==row.id}" v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
|
@@ -399,6 +399,7 @@
|
|
399
399
|
a:'1',
|
400
400
|
opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
|
401
401
|
currentorder:'按时间降序',
|
402
|
+
isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
|
402
403
|
checkplan : new SearchList(true),
|
403
404
|
selectPlan:{id:''},
|
404
405
|
upCheckPlan:{
|
@@ -451,6 +452,13 @@
|
|
451
452
|
},
|
452
453
|
async ready(){
|
453
454
|
await this.loadpage()
|
455
|
+
if (!this.userlogin.orgid){
|
456
|
+
if (this.$login.f.f_orgids){
|
457
|
+
this.userlogin.orgid = this.$login.f.f_orgids.endsWith('.')?this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1):this.$login.f.f_orgids
|
458
|
+
}else {
|
459
|
+
this.userlogin.orgid = ''
|
460
|
+
}
|
461
|
+
}
|
454
462
|
},
|
455
463
|
computed: {
|
456
464
|
ntoway() {
|
@@ -575,8 +583,10 @@
|
|
575
583
|
//查询安检员selectChanged
|
576
584
|
async searchChecker(id){
|
577
585
|
let res=await new HttpResetClass().load('POST', '/rs/search', {
|
578
|
-
|
579
|
-
|
586
|
+
data:{
|
587
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
588
|
+
userid: this.userlogin.orgid
|
589
|
+
}
|
580
590
|
}, {resolveMsg: null, rejectMsg: null})
|
581
591
|
let arr = []
|
582
592
|
res.data.forEach((resRow) => {
|
@@ -727,7 +737,7 @@
|
|
727
737
|
this.isSend=true
|
728
738
|
let res=await new HttpResetClass().load("POST", "/rs/logic/deleteCheckPlan", {
|
729
739
|
data:{
|
730
|
-
f_operator:this.userlogin.
|
740
|
+
f_operator:this.userlogin.name,//global.login.name,
|
731
741
|
condition:"",
|
732
742
|
switchCheckAll:true,
|
733
743
|
checkAll:false,
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</div>
|
51
51
|
<div class="form-group col-sm-2" style="float: right">
|
52
52
|
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
|
53
|
-
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
|
53
|
+
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
|
54
54
|
</div>
|
55
55
|
<modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
|
56
56
|
<div slot="modal-header" class="modal-header">
|
@@ -178,6 +178,7 @@
|
|
178
178
|
data() {
|
179
179
|
return {
|
180
180
|
model:new PagedList('/rs/sql/planItem', 100, {}),
|
181
|
+
isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
|
181
182
|
a:'1',
|
182
183
|
opt:[{label:"测试",value:"测试"}],
|
183
184
|
showCondtion:false,
|
@@ -371,6 +371,7 @@
|
|
371
371
|
<th><nobr>抄表册</nobr></th>
|
372
372
|
<th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
|
373
373
|
<th title="最后一次安检日期"><nobr>安检日期</nobr></th>
|
374
|
+
<th><nobr>首次通气时间</nobr></th>
|
374
375
|
<th><nobr>详细地址</nobr></th>
|
375
376
|
</tr>
|
376
377
|
</template>
|
@@ -386,6 +387,7 @@
|
|
386
387
|
<td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
|
387
388
|
<td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
|
388
389
|
<td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
|
390
|
+
<td style="text-align: center"><nobr>{{row.f_uservent_date}}</nobr></td>
|
389
391
|
<td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
|
390
392
|
</template>
|
391
393
|
</data-grid>
|
@@ -51,9 +51,9 @@
|
|
51
51
|
v-model='model.userType'
|
52
52
|
:value.sync="model.userType"
|
53
53
|
:options='$parent.$parent.userTypes'
|
54
|
-
condition="tuf.f_gasproperties
|
55
|
-
:
|
56
|
-
|
54
|
+
condition="tuf.f_gasproperties in {} "
|
55
|
+
:multiple="true"
|
56
|
+
></v-select>
|
57
57
|
</div>
|
58
58
|
<div class="col-sm-2 form-group" >
|
59
59
|
<label class="font_normal_body">气表类型</label>
|
@@ -29,7 +29,9 @@
|
|
29
29
|
<div class="row">
|
30
30
|
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 10px;margin-right: 75px" v-for="(index,img) in paper.f_overall_imgs">
|
31
31
|
<img-self :src="img.f_overall_path" alt="总体送气照片" :width="150" :height="200"></img-self>
|
32
|
-
|
32
|
+
</div>
|
33
|
+
<div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 10px;margin-right: 75px" v-for="(index,img) in fileInfoData">
|
34
|
+
<img-self :src="img.f_downloadURL" alt="总体送气照片" :width="150" :height="200"></img-self>
|
33
35
|
</div>
|
34
36
|
</div>
|
35
37
|
</div>
|
@@ -362,6 +364,7 @@
|
|
362
364
|
title: '用户反馈',
|
363
365
|
data() {
|
364
366
|
return {
|
367
|
+
fileInfoData:[],
|
365
368
|
paper:this.$parent.data,
|
366
369
|
printContent:[],
|
367
370
|
radios:[
|
@@ -432,12 +435,34 @@
|
|
432
435
|
Url:this.$androidUtil.getProxyUrl()
|
433
436
|
}
|
434
437
|
},
|
435
|
-
props: ['idx'],
|
438
|
+
props: ['idx','item'],
|
436
439
|
components: {
|
437
440
|
RadioGroup,
|
438
441
|
Radio
|
439
442
|
},
|
440
443
|
methods: {
|
444
|
+
//获取pc上传的送气全景照片
|
445
|
+
getGaspic() {
|
446
|
+
let data = {
|
447
|
+
tablename: 't_files',
|
448
|
+
condition: `f_blobid = '${this.item.id}' order by f_uploaddate desc `
|
449
|
+
}
|
450
|
+
let http = new HttpResetClass()
|
451
|
+
http.load('post', 'rs/sql/singleTable', {data: data}, {
|
452
|
+
resolveMsg: null,
|
453
|
+
rejectMsg: null
|
454
|
+
}).then(getFile=> {
|
455
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
456
|
+
let temp = getFile.data[i].f_downloadpath
|
457
|
+
if (temp) {
|
458
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
459
|
+
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
460
|
+
}
|
461
|
+
}
|
462
|
+
this.fileInfoData = []
|
463
|
+
this.fileInfoData = getFile.data
|
464
|
+
})
|
465
|
+
},
|
441
466
|
check(index) {
|
442
467
|
//tag
|
443
468
|
// 先取消所有选中项
|
@@ -948,6 +973,7 @@
|
|
948
973
|
}
|
949
974
|
//tag
|
950
975
|
//tag
|
976
|
+
this.getGaspic()
|
951
977
|
},
|
952
978
|
watch:{
|
953
979
|
'$parent.isUpload'(val){
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<devicesm> </devicesm>
|
39
39
|
</div>
|
40
40
|
<div style="width: 95%;height: 900px;margin-left: 20px;float: left;">
|
41
|
-
<asp-paper-feedbackm v-bind:paper="this.data" ></asp-paper-feedbackm>
|
41
|
+
<asp-paper-feedbackm v-bind:paper="this.data" :item="item" ></asp-paper-feedbackm>
|
42
42
|
</div>
|
43
43
|
</div>
|
44
44
|
</div>
|
@@ -407,7 +407,7 @@
|
|
407
407
|
defectType:[],
|
408
408
|
userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
409
409
|
defectLeave:'',
|
410
|
-
defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患'}],
|
410
|
+
defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患',value:'其他隐患'}],
|
411
411
|
thead: '',
|
412
412
|
headData: ['入户状态','用户名','用户电话','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','一级隐患数','一级隐患','二级隐患数','二级隐患','三级隐患数','三级隐患','其他隐患','隐患内容'],
|
413
413
|
bodyData: ['f_entry_status','f_user_name','f_user_phone','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_fist_count','f_fist_content','f_second_count','f_second_content','f_third_count','f_third_content','f_other_count','f_defect_content'],
|
@@ -158,6 +158,7 @@
|
|
158
158
|
<td style="text-align: center">{{row.f_checker_name}}</td>
|
159
159
|
<td style="text-align: center">
|
160
160
|
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
|
161
|
+
<button class="button_spacing button_search-1" @click="$parent.$parent.$parent.addpic(row)">添加照片</button>
|
161
162
|
<!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
|
162
163
|
@click="$parent.$parent.$parent.print(row)">
|
163
164
|
打印
|
@@ -168,6 +169,27 @@
|
|
168
169
|
</criteria-paged>
|
169
170
|
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
170
171
|
</div>
|
172
|
+
<modal :show.sync="pic" v-ref:modal backdrop="true" v-if="pic">
|
173
|
+
<header slot="modal-header" class="modal-header">
|
174
|
+
上传照片
|
175
|
+
</header>
|
176
|
+
<article slot="modal-body" class="modal-body">
|
177
|
+
<div class="from-group">
|
178
|
+
<safecheck-file-upload
|
179
|
+
:blodid="blodid"
|
180
|
+
:isupload="true"
|
181
|
+
:isdelete="true"
|
182
|
+
:isusetype="true"
|
183
|
+
:isremark="true"
|
184
|
+
:takeimg="false"
|
185
|
+
isusetype="送气照片"
|
186
|
+
></safecheck-file-upload>
|
187
|
+
</div>
|
188
|
+
</article>
|
189
|
+
<footer slot="modal-footer" class="modal-footer">
|
190
|
+
<button type="button" class="btn btn-success" @click='piclose'>关闭</button>
|
191
|
+
</footer>
|
192
|
+
</modal>
|
171
193
|
</div>
|
172
194
|
</template>
|
173
195
|
|
@@ -179,6 +201,7 @@
|
|
179
201
|
import * as Util from '../Util'
|
180
202
|
import getNowDate from "../../utils/getNowDate";
|
181
203
|
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
204
|
+
import safecheckUpload from "../Util/SafecheckUpload.vue";
|
182
205
|
|
183
206
|
//获取json配置文件
|
184
207
|
let asyncReady = async function (self) {
|
@@ -209,6 +232,9 @@
|
|
209
232
|
|
210
233
|
export default {
|
211
234
|
title: '非民用送气结果查看',
|
235
|
+
components: {
|
236
|
+
safecheckUpload
|
237
|
+
},
|
212
238
|
data() {
|
213
239
|
let model = new PagedList('rs/sql/查找安检单', 20, {
|
214
240
|
f_plan_id: 'this.f_plan_id',
|
@@ -274,10 +300,19 @@
|
|
274
300
|
orderFields: {
|
275
301
|
f_offsite_time: 'no'
|
276
302
|
},
|
303
|
+
blodid:null,
|
304
|
+
pic:false,
|
277
305
|
}
|
278
306
|
},
|
279
307
|
methods: {
|
280
|
-
|
308
|
+
piclose(){
|
309
|
+
this.pic=false
|
310
|
+
},
|
311
|
+
addpic(row){
|
312
|
+
this.blodid=row.id
|
313
|
+
this.pic=true
|
314
|
+
debugger
|
315
|
+
},
|
281
316
|
change(row) {
|
282
317
|
//Vue.$login = {jwt: row.f_checker_id}
|
283
318
|
asyncReady(this).then(() => {
|
@@ -163,6 +163,7 @@
|
|
163
163
|
<td style="text-align: center">{{row.f_checker_name}}</td>
|
164
164
|
<td style="text-align: center">
|
165
165
|
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
|
166
|
+
<button class="button_spacing button_search-1" @click="$parent.$parent.$parent.addpic(row)">添加照片</button>
|
166
167
|
<!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
|
167
168
|
@click="$parent.$parent.$parent.print(row)">
|
168
169
|
打印
|
@@ -173,6 +174,26 @@
|
|
173
174
|
</criteria-paged>
|
174
175
|
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
175
176
|
</div>
|
177
|
+
<modal :show.sync="pic" v-ref:modal backdrop="true" v-if="pic">
|
178
|
+
<header slot="modal-header" class="modal-header">
|
179
|
+
上传照片
|
180
|
+
</header>
|
181
|
+
<article slot="modal-body" class="modal-body">
|
182
|
+
<div class="from-group">
|
183
|
+
<safecheck-file-upload
|
184
|
+
:blodid="bolbid"
|
185
|
+
:isupload="true"
|
186
|
+
:isdelete="true"
|
187
|
+
:isusetype="true"
|
188
|
+
:isremark="true"
|
189
|
+
:takeimg="false"
|
190
|
+
></safecheck-file-upload>
|
191
|
+
</div>
|
192
|
+
</article>
|
193
|
+
<footer slot="modal-footer" class="modal-footer">
|
194
|
+
<button type="button" class="btn btn-success" @click='piclose'>关闭</button>
|
195
|
+
</footer>
|
196
|
+
</modal>
|
176
197
|
</div>
|
177
198
|
</template>
|
178
199
|
|
@@ -184,6 +205,7 @@
|
|
184
205
|
import * as Util from '../Util'
|
185
206
|
import getNowDate from "../../utils/getNowDate";
|
186
207
|
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
208
|
+
import safecheckUpload from "../Util/SafecheckUpload.vue";
|
187
209
|
|
188
210
|
//获取json配置文件
|
189
211
|
let asyncReady = async function (self) {
|
@@ -214,6 +236,7 @@
|
|
214
236
|
|
215
237
|
export default {
|
216
238
|
title: '民用送气结果查看',
|
239
|
+
components: {safecheckUpload},
|
217
240
|
data() {
|
218
241
|
let model = new PagedList('rs/sql/查找安检单', 20, {
|
219
242
|
f_plan_id: 'this.f_plan_id',
|
@@ -230,16 +253,6 @@
|
|
230
253
|
model.f_no_checkplan = ''
|
231
254
|
model.f_filialeid = this.$login.f.orgid
|
232
255
|
model.f_check_type='民用'
|
233
|
-
// let searchData={
|
234
|
-
// f_plan_id: this.model.f_checker_id==undefined?"":this.model.f_checker_id,
|
235
|
-
// f_approved: this.model.f_approved,
|
236
|
-
// f_entry_status: this.model.f_entry,
|
237
|
-
// f_no_checkplan:this.model.f_no_checkplan[0],
|
238
|
-
// f_filialeid: this.model.f_filialeid,
|
239
|
-
// //orderitem: this.model.f_offsite_time,
|
240
|
-
// //condition:this.model.condition
|
241
|
-
// }
|
242
|
-
// model.f_subcompany = this.$login.f.f_fengongsi
|
243
256
|
return {
|
244
257
|
searchData: {
|
245
258
|
condition:"1=1",
|
@@ -276,10 +289,18 @@
|
|
276
289
|
orderFields: {
|
277
290
|
f_offsite_time: 'no'
|
278
291
|
},
|
292
|
+
bolbid:null,
|
293
|
+
pic:false,
|
279
294
|
}
|
280
295
|
},
|
281
296
|
methods: {
|
282
|
-
|
297
|
+
piclose(){
|
298
|
+
this.pic=false
|
299
|
+
},
|
300
|
+
addpic(row){
|
301
|
+
this.bolbid=row.id
|
302
|
+
this.pic=true
|
303
|
+
},
|
283
304
|
change(row) {
|
284
305
|
//Vue.$login = {jwt: row.f_checker_id}
|
285
306
|
asyncReady(this).then(() => {
|