safecheck-client 3.0.33-11 → 3.0.33-111
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 +3 -3
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -0
- package/src/components/android/SafecheckOrderV.vue +15 -11
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +7 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -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/filiale/Util.js +5 -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 +8 -6
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
- 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 +1065 -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/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 +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderV.vue +120 -21
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- 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 +222 -42
- 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/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/tianke/pc/checkScreen.vue +36 -31
- 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 +1410 -1410
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3321
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
- 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 +178 -4
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- 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/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +1 -1
- package/src/rongcheng.js +3 -1
package/index.html
CHANGED
@@ -6,10 +6,14 @@
|
|
6
6
|
<title>安检系统</title>
|
7
7
|
<link rel="stylesheet" href="http://cache.amap.com/lbs/static/main1119.css"/>
|
8
8
|
<!--引入高德地图组件-->
|
9
|
-
<script
|
9
|
+
<script type="text/javascript">
|
10
|
+
window._AMapSecurityConfig = {
|
11
|
+
securityJsCode: '082dcb22ce9f242500fd6db3a2da5f44'
|
12
|
+
}
|
13
|
+
</script>
|
14
|
+
<script src="https://webapi.amap.com/maps?v=1.4.2&key=a511f5f7695b395a4eebf72b20e0f6e9"></script>
|
10
15
|
<!--引入UI组件库(1.1版本) -->
|
11
16
|
<script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
|
12
|
-
<script type="text/javascript" src="http://cache.amap.com/lbs/static/addToolbar.js"></script>
|
13
17
|
<style media="screen">
|
14
18
|
/*url(./static/newmainbg.jpg)*/
|
15
19
|
body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "safecheck-client",
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "3.0.33-
|
4
|
+
"version": "3.0.33-111",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -103,13 +103,13 @@
|
|
103
103
|
"sketch-vue3": "^1.0.0",
|
104
104
|
"style": "0.0.3",
|
105
105
|
"style-loader": "^0.20.3",
|
106
|
-
"system-clients": "3.2.
|
106
|
+
"system-clients": "3.2.83",
|
107
107
|
"system-phone": "1.2.100",
|
108
108
|
"telephone-clients": "1.1.27",
|
109
109
|
"terser-webpack-plugin-legacy": "^1.2.5",
|
110
110
|
"url-loader": "^0.5.7",
|
111
111
|
"vue-amap": "0.5.10",
|
112
|
-
"vue-client": "1.24.
|
112
|
+
"vue-client": "1.24.76",
|
113
113
|
"vue-hot-reload-api": "^1.2.0",
|
114
114
|
"vue-html-loader": "^1.0.0",
|
115
115
|
"vue-loader": "^8.2.1",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<img :src="src" :alt="alt" @click.stop="open()" :width="width" :height="height" title="点击查看图片"
|
4
4
|
:id="'vc-imgself-img-'+attach">
|
5
5
|
<div class="full-img" v-show="show" @contextmenu.prevent.stop="clearStyle">
|
6
|
-
<img :src="
|
6
|
+
<img :src="src2" alt="" class="img-state" :alt="alt || ''" @mousewheel="bigimg(this)" id="image" draggable="false"
|
7
7
|
@mousedown.prevent="dropImage" style="position:fixed">
|
8
8
|
<div class="btns row">
|
9
9
|
<button type="button" name="button" class="btn btn-primary" @click.stop="leftRevolve()">向左旋转</button>
|
@@ -51,7 +51,8 @@
|
|
51
51
|
container:null,
|
52
52
|
positionX: null,
|
53
53
|
positionY: null,
|
54
|
-
powerh: 1.0
|
54
|
+
powerh: 1.0,
|
55
|
+
src2:""
|
55
56
|
}
|
56
57
|
},
|
57
58
|
ready(){
|
@@ -64,6 +65,7 @@
|
|
64
65
|
}
|
65
66
|
// 将新创建的 div 挂载到 body 上
|
66
67
|
document.body.appendChild(this.container);
|
68
|
+
this.src2=this.src
|
67
69
|
},
|
68
70
|
beforeDestroy(){
|
69
71
|
// 销毁挂载的
|
@@ -75,12 +77,12 @@
|
|
75
77
|
nextPage() {
|
76
78
|
console.log(this.list)
|
77
79
|
//当前图片,是最后一张图片
|
78
|
-
if (this.
|
79
|
-
this.
|
80
|
+
if (this.src2=== this.list[this.list.length - 1].f_overall_path) {
|
81
|
+
this.src2= this.list[0].f_overall_path
|
80
82
|
} else {
|
81
83
|
for (let i = 0; i < this.list.length; i++) {
|
82
|
-
if (this.
|
83
|
-
this.
|
84
|
+
if (this.src2=== this.list[i].f_overall_path) {
|
85
|
+
this.src2= this.list[i + 1].f_overall_path
|
84
86
|
break
|
85
87
|
}
|
86
88
|
}
|
@@ -90,12 +92,12 @@
|
|
90
92
|
previousPage() {
|
91
93
|
console.log(this.list)
|
92
94
|
//当前图片,是第一张图片
|
93
|
-
if (this.
|
94
|
-
this.
|
95
|
+
if (this.src2 === this.list[0].f_overall_path) {
|
96
|
+
this.src2= this.list[this.list.length - 1].f_overall_path
|
95
97
|
} else {
|
96
98
|
for (let i = 0; i < this.list.length; i++) {
|
97
|
-
if (this.
|
98
|
-
this.
|
99
|
+
if (this.src2=== this.list[i].f_overall_path) {
|
100
|
+
this.src2= this.list[i - 1].f_overall_path
|
99
101
|
break
|
100
102
|
}
|
101
103
|
}
|
@@ -985,7 +985,7 @@
|
|
985
985
|
criteria = {
|
986
986
|
items: 'count(id) count',
|
987
987
|
tablename: 't_check_plan_item',
|
988
|
-
condition: `(f_complete = '' or f_complete
|
988
|
+
condition: `(f_complete = '' or f_complete is null or f_complete = '未完成') AND f_state = '已检'`,
|
989
989
|
groupitem: 'f_state'
|
990
990
|
}
|
991
991
|
result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
|
@@ -457,6 +457,8 @@ export default {
|
|
457
457
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
458
458
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
459
459
|
}
|
460
|
+
this.f_items[prop].f_longitude = obj.longitude
|
461
|
+
this.f_items[prop].f_latitude = obj.latitude
|
460
462
|
//tag
|
461
463
|
//tag
|
462
464
|
HostApp._open_a_page({type: 'boomerang',
|
@@ -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必须与上面的固定配置保持'顺序'
|
@@ -2072,7 +2072,7 @@
|
|
2072
2072
|
f_defect_level: null,
|
2073
2073
|
f_device_id: "",
|
2074
2074
|
f_is_defect: "",
|
2075
|
-
f_item_name: "
|
2075
|
+
f_item_name: "表封号",
|
2076
2076
|
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
2077
2077
|
f_path: "",
|
2078
2078
|
type: "string"
|
@@ -2134,7 +2134,7 @@
|
|
2134
2134
|
f_defect_level: null,
|
2135
2135
|
f_device_id: "",
|
2136
2136
|
f_is_defect: "",
|
2137
|
-
f_item_name: "
|
2137
|
+
f_item_name: "表封号",
|
2138
2138
|
f_item_value: this.item.f_plan_meters[i].f_metertitles,
|
2139
2139
|
f_path: "",
|
2140
2140
|
type: "string"
|
@@ -2435,13 +2435,17 @@
|
|
2435
2435
|
//tag
|
2436
2436
|
if (this.role == 'inspect') {
|
2437
2437
|
//tag
|
2438
|
-
if
|
2439
|
-
|
2440
|
-
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2438
|
+
if(this.item.f_no_checkplan != '无计划安检' ){
|
2439
|
+
if (this.item.f_no_checkplan == '复检') {
|
2440
|
+
value = this.$androidUtil.path({
|
2441
|
+
alias: 'getUserinfomation',
|
2442
|
+
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan in ('无计划安检','复检')"}
|
2443
|
+
})
|
2444
|
+
} else {
|
2445
|
+
value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
|
2446
|
+
}
|
2447
|
+
}else {
|
2448
|
+
value.data =[]
|
2445
2449
|
}
|
2446
2450
|
} else {
|
2447
2451
|
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
@@ -2618,7 +2622,7 @@
|
|
2618
2622
|
})
|
2619
2623
|
}
|
2620
2624
|
}else{
|
2621
|
-
if(this.parentPage && this.parentPage=='
|
2625
|
+
if(this.parentPage && this.parentPage=='AddPlanItem'){
|
2622
2626
|
//tag
|
2623
2627
|
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2624
2628
|
if (isRecodr) {
|
@@ -259,7 +259,7 @@ export default {
|
|
259
259
|
// let condition = ` uf.f_filialeid = '${this.filialeid}'`
|
260
260
|
let condition = ` 1=1 `
|
261
261
|
condition += this.condition
|
262
|
-
condition += this.f_meternumber ? ` and f_meternumber = '${this.f_meternumber}'` : ""
|
262
|
+
condition += this.f_meternumber ? ` and uf.f_meternumber = '${this.f_meternumber}'` : ""
|
263
263
|
condition += this.f_userinfo_code ? ` and f_userinfo_code = '${this.f_userinfo_code}'` : ""
|
264
264
|
condition += this.f_meter_type != '' && this.f_meter_type != [] ? ` and f_meter_type = '${this.f_meter_type}'` : ""
|
265
265
|
console.log(condition)
|
@@ -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);
|
@@ -416,6 +416,7 @@
|
|
416
416
|
import getNowDate from "../../utils/getNowDate";
|
417
417
|
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
418
418
|
import BenzAMRRecorder from 'benz-amr-recorder'
|
419
|
+
import {toEndDateString, toStartDateString} from "../Util";
|
419
420
|
|
420
421
|
//获取json配置文件
|
421
422
|
let asyncReady = async function (self) {
|
@@ -650,11 +651,11 @@ export default {
|
|
650
651
|
asyncReady(this).then(() => {
|
651
652
|
if (row.f_safe_type == '已挂表未办卡安检'){
|
652
653
|
row.f_upload_state = '已传'
|
653
|
-
this.$goto('new-check-paper-temp', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self'
|
654
|
+
this.$goto('new-check-paper-temp', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
654
655
|
return
|
655
656
|
}
|
656
657
|
row.f_upload_state = '已传'
|
657
|
-
this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self'
|
658
|
+
this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
658
659
|
}).catch(
|
659
660
|
(respanse) => {
|
660
661
|
alert('获取配置文件失败')
|
@@ -742,15 +743,15 @@ export default {
|
|
742
743
|
}
|
743
744
|
this.excelHeaders = Object.assign({}, this.excelHeaders, oa)
|
744
745
|
}
|
745
|
-
////tag
|
746
746
|
this.function = this.f
|
747
|
-
////tag
|
748
747
|
//获取气表品牌
|
749
748
|
this.getTableBrands()
|
750
749
|
let gen = select(this)
|
751
750
|
//this.pianqu()
|
752
751
|
this.Mreadibook(`('${this.$login.f.orgid}')`)
|
753
752
|
co(gen)
|
753
|
+
this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
|
754
|
+
this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
|
754
755
|
},
|
755
756
|
watch: {
|
756
757
|
'model.f_no_checkplan'(val) {
|
@@ -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 = []
|
@@ -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:{
|
@@ -575,8 +576,10 @@
|
|
575
576
|
//查询安检员selectChanged
|
576
577
|
async searchChecker(id){
|
577
578
|
let res=await new HttpResetClass().load('POST', '/rs/search', {
|
578
|
-
|
579
|
-
|
579
|
+
data:{
|
580
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
581
|
+
userid: this.userlogin.orgid
|
582
|
+
}
|
580
583
|
}, {resolveMsg: null, rejectMsg: null})
|
581
584
|
let arr = []
|
582
585
|
res.data.forEach((resRow) => {
|
@@ -727,7 +730,7 @@
|
|
727
730
|
this.isSend=true
|
728
731
|
let res=await new HttpResetClass().load("POST", "/rs/logic/deleteCheckPlan", {
|
729
732
|
data:{
|
730
|
-
f_operator:this.userlogin.
|
733
|
+
f_operator:this.userlogin.name,//global.login.name,
|
731
734
|
condition:"",
|
732
735
|
switchCheckAll:true,
|
733
736
|
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>
|
@@ -14,6 +14,11 @@
|
|
14
14
|
condition="f_checker_name = '{}'">
|
15
15
|
</role-selector-safe>
|
16
16
|
</div>
|
17
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
18
|
+
<label class="font_normal_body">小区名称</label>
|
19
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
|
20
|
+
condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
|
21
|
+
</div>
|
17
22
|
<div class="col-sm-2 form-group">
|
18
23
|
<label for="startDate" class="font_normal_body">开始日期:</label>
|
19
24
|
<datepicker id="startDate" placeholder="开始日期"
|
@@ -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>
|
@@ -31,6 +31,9 @@
|
|
31
31
|
<img-self :src="img.f_overall_path" alt="总体送气照片" :width="150" :height="200"></img-self>
|
32
32
|
<!--<img src="../../assets/remove.png" @click="delfile('f_overall_path', img.f_overall_path,index)" class="imgs" style="width: 30px;" alt="">-->
|
33
33
|
</div>
|
34
|
+
<div class="img" v-for="row in fileInfoData">
|
35
|
+
<img :src="row.f_downloadURL">
|
36
|
+
</div>
|
34
37
|
</div>
|
35
38
|
</div>
|
36
39
|
<div class="row text-right div-photo">
|
@@ -362,6 +365,7 @@
|
|
362
365
|
title: '用户反馈',
|
363
366
|
data() {
|
364
367
|
return {
|
368
|
+
fileInfoData:[],
|
365
369
|
paper:this.$parent.data,
|
366
370
|
printContent:[],
|
367
371
|
radios:[
|
@@ -432,12 +436,34 @@
|
|
432
436
|
Url:this.$androidUtil.getProxyUrl()
|
433
437
|
}
|
434
438
|
},
|
435
|
-
props: ['idx'],
|
439
|
+
props: ['idx','item'],
|
436
440
|
components: {
|
437
441
|
RadioGroup,
|
438
442
|
Radio
|
439
443
|
},
|
440
444
|
methods: {
|
445
|
+
//获取pc上传的送气全景照片
|
446
|
+
getGaspic() {
|
447
|
+
let data = {
|
448
|
+
tablename: 't_files',
|
449
|
+
condition: `f_blobid = '${this.item.id}' order by f_uploaddate desc `
|
450
|
+
}
|
451
|
+
let http = new HttpResetClass()
|
452
|
+
http.load('post', 'rs/sql/singleTable', {data: data}, {
|
453
|
+
resolveMsg: null,
|
454
|
+
rejectMsg: null
|
455
|
+
}).then(getFile=> {
|
456
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
457
|
+
let temp = getFile.data[i].f_downloadpath
|
458
|
+
if (temp) {
|
459
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
460
|
+
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
461
|
+
}
|
462
|
+
}
|
463
|
+
this.fileInfoData = []
|
464
|
+
this.fileInfoData = getFile.data
|
465
|
+
})
|
466
|
+
},
|
441
467
|
check(index) {
|
442
468
|
//tag
|
443
469
|
// 先取消所有选中项
|
@@ -948,6 +974,7 @@
|
|
948
974
|
}
|
949
975
|
//tag
|
950
976
|
//tag
|
977
|
+
this.getGaspic()
|
951
978
|
},
|
952
979
|
watch:{
|
953
980
|
'$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">
|
173
|
+
<header slot="modal-header" class="modal-header">
|
174
|
+
上传照片22
|
175
|
+
</header>
|
176
|
+
<article slot="modal-body" class="modal-body">
|
177
|
+
<div class="from-group">
|
178
|
+
<safecheck-file-upload
|
179
|
+
:blodid="bolbid"
|
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,18 @@
|
|
274
300
|
orderFields: {
|
275
301
|
f_offsite_time: 'no'
|
276
302
|
},
|
303
|
+
bolbid:null,
|
304
|
+
pic:false,
|
277
305
|
}
|
278
306
|
},
|
279
307
|
methods: {
|
280
|
-
|
308
|
+
piclose(){
|
309
|
+
this.pic=false
|
310
|
+
},
|
311
|
+
addpic(row){
|
312
|
+
this.bolbid=row.id
|
313
|
+
this.pic=true
|
314
|
+
},
|
281
315
|
change(row) {
|
282
316
|
//Vue.$login = {jwt: row.f_checker_id}
|
283
317
|
asyncReady(this).then(() => {
|