safecheck-client 3.0.35-6 → 3.0.35-61
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/App.vue +31 -31
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/Util/SafecheckUpload.vue +4 -0
- package/src/components/android/AddPlanItemYy.vue +451 -451
- package/src/components/android/CheckPlanDown.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +56 -41
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +7 -9
- package/src/components/android/NoCivilCurrentCreate.vue +10 -0
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PhoneSellInfo.vue +100 -65
- package/src/components/android/PhoneUpUserinfo.vue +25 -6
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckOrderV.vue +2 -529
- package/src/components/android/examples/SafeListExamples.vue +296 -296
- package/src/components/pc/AddPlanItemYyChange.vue +743 -0
- package/src/components/pc/NewCheckpaper.vue +58 -3
- package/src/components/pc/SecurityCheckLedger.vue +143 -0
- package/src/components/pc/SecurityCheckList.vue +160 -0
- package/src/components/pc/SecurityCheckManage.vue +113 -0
- package/src/components/pc/SecurityCheckUser.vue +440 -0
- package/src/components/planmanage/PlanManage.vue +47 -1
- package/src/components/report/CheckPlanAreaList.vue +25 -5
- package/src/components/rongcheng/AddPlanItem.vue +1 -1
- package/src/components/rongcheng/AspiratedAreaPlan.vue +575 -574
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
- package/src/components/rongcheng/CheckSearchUser.vue +1 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1236
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
- package/src/components/userfile/InfoModifyModal.vue +1 -0
- package/src/components/userfile/UserInfoAudit.vue +2 -0
- package/src/components/userfile/UserinfoModify.vue +6 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
- package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1380 -1380
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -0
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +882 -868
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
- package/src/filiale/bayan/pc/usergashistory.vue +149 -0
- package/src/filiale/bayan/pc/usergashistorynian.vue +149 -0
- package/src/filiale/bayan/pc.js +24 -22
- package/src/filiale/dexin/android/SafecheckOrderV.vue +7 -11
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
- package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
- package/src/filiale/dexin/pc.js +1 -0
- package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
- package/src/filiale/huaran/android.js +1 -0
- package/src/filiale/huaran/pc/PaperList.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +66 -7
- package/src/filiale/huaran/pc/checkUserList.vue +55 -22
- package/src/filiale/huaran/pc.js +1 -0
- package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +21 -1
- package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +10 -5
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +1 -1
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/PlanManage.vue +26 -16
- package/src/filiale/siyang/pc/checkUserList.vue +123 -148
- package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
- package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +14 -0
- package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
- package/src/filiale/weinan/pc/PaperList.vue +14 -1
- package/src/filiale/xilan/android/CurrentCreate.vue +0 -14
- package/src/filiale/xilan/android.js +10 -11
- package/src/filiale/xilan/pc/PaperList.vue +795 -0
- package/src/filiale/xilan/pc.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +1 -1
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
- package/src/main.js +1 -1
- package/src/safecheck-android.js +303 -307
- package/src/safecheck.js +15 -0
- package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -270,6 +270,30 @@ div {
|
|
270
270
|
</tr>
|
271
271
|
</tbody>
|
272
272
|
</table>
|
273
|
+
<table class="table table-striped table-bordered" style="margin-top: 35px"
|
274
|
+
v-show="showPdfImg && paperdata.f_entry_status=='入户' && ajresult=='有隐患'">
|
275
|
+
<thead>
|
276
|
+
<tr>
|
277
|
+
<th style="text-align: center">隐患照片</th>
|
278
|
+
</tr>
|
279
|
+
</thead>
|
280
|
+
<tbody>
|
281
|
+
<tr>
|
282
|
+
<td style="margin: auto;text-align: center">
|
283
|
+
<div class="container" style="max-width: 550px;background: #FFFFFF">
|
284
|
+
<div class="img" v-for="img in deviceImgs">
|
285
|
+
<img-self-plus :list="deviceCollect.imgs " :src="img.f_overall_path" style="float: left"
|
286
|
+
width="150"
|
287
|
+
height="200"></img-self-plus>
|
288
|
+
</div>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
</td>
|
293
|
+
|
294
|
+
</tr>
|
295
|
+
</tbody>
|
296
|
+
</table>
|
273
297
|
<table class="table table-striped table-bordered" style="margin-top: 35px"
|
274
298
|
v-show="paperdata.f_entry_status=='入户'">
|
275
299
|
<thead>
|
@@ -631,6 +655,30 @@ div {
|
|
631
655
|
|
632
656
|
</tbody>
|
633
657
|
</table>
|
658
|
+
<table class="table table-striped table-bordered" style="margin-top: 35px"
|
659
|
+
v-show="showPdfImg && paperdata.f_entry_status=='入户' && ajresult=='有隐患'">
|
660
|
+
<thead>
|
661
|
+
<tr>
|
662
|
+
<th style="text-align: center">隐患照片</th>
|
663
|
+
</tr>
|
664
|
+
</thead>
|
665
|
+
<tbody>
|
666
|
+
<tr>
|
667
|
+
<td style="margin: auto;text-align: center">
|
668
|
+
<div class="container" style="max-width: 550px;background: #FFFFFF">
|
669
|
+
<div class="img" v-for="img in deviceImgs">
|
670
|
+
<img-self-plus :list="deviceCollect.imgs " :src="img.f_overall_path" style="float: left"
|
671
|
+
width="150"
|
672
|
+
height="200"></img-self-plus>
|
673
|
+
</div>
|
674
|
+
</div>
|
675
|
+
|
676
|
+
|
677
|
+
</td>
|
678
|
+
|
679
|
+
</tr>
|
680
|
+
</tbody>
|
681
|
+
</table>
|
634
682
|
<table class="table table-striped table-bordered" style="margin-top: 35px"
|
635
683
|
v-show="paperdata.f_entry_status=='入户'">
|
636
684
|
<thead>
|
@@ -976,6 +1024,7 @@ export default {
|
|
976
1024
|
f_defect_content: ''
|
977
1025
|
},
|
978
1026
|
showPdfDownload: this.$appdata.getSingleValue('安检结果pdf下载') ? this.$appdata.getSingleValue('安检结果pdf下载') : false,
|
1027
|
+
showPdfImg: this.$appdata.getSingleValue('安检结果pdf展示隐患照片') ? this.$appdata.getSingleValue('安检结果pdf展示隐患照片') : false,
|
979
1028
|
lastCheckData: {},
|
980
1029
|
paperdata: {},
|
981
1030
|
picturename: '隐患照片',
|
@@ -983,6 +1032,7 @@ export default {
|
|
983
1032
|
hasDevice: false,
|
984
1033
|
deviceCollect: {},
|
985
1034
|
deviceCollects: [],
|
1035
|
+
deviceImgs:[],
|
986
1036
|
isshow: false,
|
987
1037
|
ajresult: '',
|
988
1038
|
loading: true,
|
@@ -1165,6 +1215,7 @@ export default {
|
|
1165
1215
|
//tag)
|
1166
1216
|
//tag
|
1167
1217
|
this.deviceCollects = []
|
1218
|
+
this.deviceImgs = []
|
1168
1219
|
let checkResult = '正常'
|
1169
1220
|
this.result = '正常'
|
1170
1221
|
let codata = JSON.parse(JSON.stringify(this.data))
|
@@ -1182,6 +1233,7 @@ export default {
|
|
1182
1233
|
// //tag
|
1183
1234
|
let deviceelse = []
|
1184
1235
|
let deviceInfos = []
|
1236
|
+
|
1185
1237
|
for (let i in this.data[device][item].f_items) {
|
1186
1238
|
let defects = ''
|
1187
1239
|
|
@@ -1224,11 +1276,13 @@ export default {
|
|
1224
1276
|
if (defects != '') {
|
1225
1277
|
console.log('有隐患items', items)
|
1226
1278
|
deviceInfos.push(`${items.f_item_name}${defects.substring(0, defects.length - 1)}${items.f_else ? items.f_else : ''}`)
|
1279
|
+
this.deviceImgs.push({f_overall_path:items.f_path})
|
1227
1280
|
}
|
1228
1281
|
} else if ((items.type === 'string' || items.type === 'number') && items.f_is_defect && items.f_item_value[0]) {
|
1229
1282
|
checkResult = '有隐患'
|
1230
1283
|
this.result = '有隐患'
|
1231
1284
|
deviceInfos.push(`${items.f_item_name}:${items.f_item_value[0]}`)
|
1285
|
+
this.deviceImgs.push({f_overall_path:items.f_path})
|
1232
1286
|
|
1233
1287
|
} else if (items.f_item_name == '金额异常差值') {
|
1234
1288
|
var deviation = this.$appdata.getSingleValue('金额异常差值允许误差')
|
@@ -1280,6 +1334,7 @@ export default {
|
|
1280
1334
|
this.$set('deviceCollect.else', deviceelse)
|
1281
1335
|
console.log('deviceCollect.devices', this.deviceCollect.devices)
|
1282
1336
|
console.log('deviceCollect.else', this.deviceCollect.else)
|
1337
|
+
console.log('deviceCollect.imgs', this.deviceCollect.imgs)
|
1283
1338
|
//tag)
|
1284
1339
|
if (this.deviceCollect.name) {
|
1285
1340
|
//tag
|
@@ -1326,8 +1381,8 @@ export default {
|
|
1326
1381
|
this.livedispose = Vue.config.safecheck.ApproveConfig.livedispose
|
1327
1382
|
}
|
1328
1383
|
if (Vue.config.safecheck.ApproveConfig.hiddendanger != undefined) {
|
1329
|
-
if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >=
|
1330
|
-
this.hiddenDangerImgNumber =
|
1384
|
+
if (parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger) >= 5) {
|
1385
|
+
this.hiddenDangerImgNumber = 5
|
1331
1386
|
} else {
|
1332
1387
|
this.hiddenDangerImgNumber = parseInt(Vue.config.safecheck.ApproveConfig.hiddendanger)
|
1333
1388
|
}
|
@@ -1828,7 +1883,7 @@ export default {
|
|
1828
1883
|
} else if (this.role == 'androidview') {
|
1829
1884
|
id = this.item.f_paper_id
|
1830
1885
|
}
|
1831
|
-
this.$resetpost(`rs/
|
1886
|
+
this.$resetpost(`rs/logic/getUserinfomation`, {data: {condition: `id = '${id}'`}}).then((respanse) => {
|
1832
1887
|
//tag
|
1833
1888
|
if (respanse.data.length != 0) {
|
1834
1889
|
// 包含 其它 特殊处理的数组
|
@@ -0,0 +1,143 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
+
<div class="row">
|
8
|
+
<div class="form-group col-sm-2" >
|
9
|
+
<label class="font_normal_body">小区名称</label>
|
10
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
11
|
+
style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area = '{}'">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
14
|
+
<div style="float: right" class="button_spacing"
|
15
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
16
|
+
@click="$parent.$parent.hiddenr()"></div>
|
17
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
18
|
+
:field="$parent.$parent.excelHeaders"
|
19
|
+
:choose-col="true"
|
20
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="securityCheckLedger" template-name='安检台账'></export-excel-safe>
|
21
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</criteria>
|
26
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
27
|
+
<template partial='head'>
|
28
|
+
<tr>
|
29
|
+
<th>
|
30
|
+
<nobr>小区名称</nobr>
|
31
|
+
</th>
|
32
|
+
<th>
|
33
|
+
<nobr>小区用户数</nobr>
|
34
|
+
</th>
|
35
|
+
<th>
|
36
|
+
<nobr>所属计划</nobr>
|
37
|
+
</th>
|
38
|
+
<th>
|
39
|
+
<nobr>计划内用户数</nobr>
|
40
|
+
</th>
|
41
|
+
<th>
|
42
|
+
<nobr>计划下发时间</nobr>
|
43
|
+
</th>
|
44
|
+
<th>
|
45
|
+
<nobr>计划执行时间</nobr>
|
46
|
+
</th>
|
47
|
+
<th>
|
48
|
+
<nobr>计划结束时间</nobr>
|
49
|
+
</th>
|
50
|
+
<th>
|
51
|
+
<nobr>执行周期</nobr>
|
52
|
+
</th>
|
53
|
+
<th>
|
54
|
+
<nobr>周期单位</nobr>
|
55
|
+
</th>
|
56
|
+
<th>
|
57
|
+
<nobr>距离下周期时间(天)</nobr>
|
58
|
+
</th>
|
59
|
+
<th>
|
60
|
+
<nobr>操作</nobr>
|
61
|
+
</th>
|
62
|
+
</tr>
|
63
|
+
</template>
|
64
|
+
<template partial='body'>
|
65
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_residential_area}}</td>
|
66
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.area_num}}</td>
|
67
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_plan_name}}</td>
|
68
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.plan_num}}</td>
|
69
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.f_issue_time}}</td>
|
70
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.first_check_date}}</td>
|
71
|
+
<td style="text-align: center " @click="$parent.$parent.$parent.showList(row)">{{row.f_use_end_time}}</td>
|
72
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.zq_value}}</td>
|
73
|
+
<td style="text-align: center" @click="$parent.$parent.$parent.showList(row)">{{row.dw_value}}</td>
|
74
|
+
<td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }" @click="$parent.$parent.$parent.showList(row)">{{ row.difference_day }}</td>
|
75
|
+
<td style="text-align: center">
|
76
|
+
<button class="button_spacing button_search" @click="$parent.$parent.$parent.showUser(row)">计划下发</button>
|
77
|
+
</td>
|
78
|
+
</template>
|
79
|
+
</data-grid>
|
80
|
+
</criteria-paged>
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
</template>
|
84
|
+
|
85
|
+
<script>
|
86
|
+
import {PagedList} from 'vue-client'
|
87
|
+
|
88
|
+
export default {
|
89
|
+
title: '安检台账',
|
90
|
+
data() {
|
91
|
+
return {
|
92
|
+
model: new PagedList('rs/sql/securityCheckLedger', 20),
|
93
|
+
searchData: {
|
94
|
+
condition: "1=1"
|
95
|
+
},
|
96
|
+
excelHeaders: {
|
97
|
+
'f_residential_area': '小区名称',
|
98
|
+
'area_num': '小区用户数',
|
99
|
+
'f_plan_name': '所属计划',
|
100
|
+
'plan_num': '计划内用户数',
|
101
|
+
'f_issue_time': '计划下发时间',
|
102
|
+
'first_check_date': '计划执行时间',
|
103
|
+
'f_use_end_time': '计划结束时间',
|
104
|
+
'zq_value': '执行周期',
|
105
|
+
'dw_value': '周期单位',
|
106
|
+
'difference_day': '距离下周期时间(天)'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
methods: {
|
111
|
+
hiddenr() {
|
112
|
+
this.$parent.isdetail = !this.$parent.isdetail
|
113
|
+
},
|
114
|
+
showList(row){
|
115
|
+
row.val = row
|
116
|
+
this.$parent.selected(row)
|
117
|
+
},
|
118
|
+
showUser(row){
|
119
|
+
row.val = row
|
120
|
+
this.$parent.selected2(row)
|
121
|
+
},
|
122
|
+
selfSearch(args) {
|
123
|
+
this.model.search(args.condition, args.model, args.condValue)
|
124
|
+
}
|
125
|
+
},
|
126
|
+
ready() {
|
127
|
+
|
128
|
+
},
|
129
|
+
watch: {
|
130
|
+
'model.condition'(val) {
|
131
|
+
if (val) {
|
132
|
+
this.searchData.condition = val
|
133
|
+
}
|
134
|
+
}
|
135
|
+
},
|
136
|
+
computed: {
|
137
|
+
selected() {
|
138
|
+
return this.$refs.paged.$refs.grid.selected
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
}
|
143
|
+
</script>
|
@@ -0,0 +1,160 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex">
|
3
|
+
<criteria-paged :model="model" v-ref:paged :pager="false">
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="form-group col-sm-4" >
|
8
|
+
<label class="font_normal_body">计划名称</label>
|
9
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_plan_name" placeholder='计划名称'
|
10
|
+
condition="f_plan_name = '{}'" @keyup.enter="search()">
|
11
|
+
</div>
|
12
|
+
<!-- <div class="form-group col-sm-4" >-->
|
13
|
+
<!-- <label class="font_normal_body">用户类型</label>-->
|
14
|
+
<!-- <v-select style="width:60% "-->
|
15
|
+
<!-- class="select select_list"-->
|
16
|
+
<!-- :value.sync="model.f_user_type"-->
|
17
|
+
<!-- v-model="model.f_user_type"-->
|
18
|
+
<!-- :options='$parent.$parent.userType'-->
|
19
|
+
<!-- placeholder='用户类型'-->
|
20
|
+
<!-- condition="f_user_type = '{}'"-->
|
21
|
+
<!-- close-on-select>-->
|
22
|
+
<!-- </v-select>-->
|
23
|
+
<!-- </div>-->
|
24
|
+
<!-- <div class="form-group col-sm-4" >-->
|
25
|
+
<!-- <label class="font_normal_body">是否已检</label>-->
|
26
|
+
<!-- <v-select style="width:60% "-->
|
27
|
+
<!-- class="select select_list"-->
|
28
|
+
<!-- :value.sync="model.f_state"-->
|
29
|
+
<!-- v-model="model.f_state"-->
|
30
|
+
<!-- :options='$parent.$parent.checkState'-->
|
31
|
+
<!-- placeholder='是否已检'-->
|
32
|
+
<!-- condition="f_state = '{}'"-->
|
33
|
+
<!-- close-on-select>-->
|
34
|
+
<!-- </v-select>-->
|
35
|
+
<!-- </div>-->
|
36
|
+
<!-- <div class="form-group col-sm-4" >-->
|
37
|
+
<!-- <label class="font_normal_body">安检状态</label>-->
|
38
|
+
<!-- <v-select style="width:60% "-->
|
39
|
+
<!-- class="select select_list"-->
|
40
|
+
<!-- :value.sync="model.f_entry_status"-->
|
41
|
+
<!-- v-model="model.f_entry_status"-->
|
42
|
+
<!-- :options='$parent.$parent.entry_status'-->
|
43
|
+
<!-- placeholder='安检状态'-->
|
44
|
+
<!-- condition="f_entry_status = '{}'"-->
|
45
|
+
<!-- close-on-select>-->
|
46
|
+
<!-- </v-select>-->
|
47
|
+
<!-- </div>-->
|
48
|
+
</div>
|
49
|
+
<!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
|
50
|
+
<!-- <div class="form-group col-sm-4" >-->
|
51
|
+
<!-- <label class="font_normal_body">气表编号</label>-->
|
52
|
+
<!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'-->
|
53
|
+
<!-- condition="f_meternumber = '{}'" @keyup.enter="search()">-->
|
54
|
+
<!-- </div>-->
|
55
|
+
<!-- <div class="form-group col-sm-4" >-->
|
56
|
+
<!-- <label class="font_normal_body">气表品牌</label>-->
|
57
|
+
<!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'-->
|
58
|
+
<!-- condition="f_meter_brand like '%{}%'" @keyup.enter="search()">-->
|
59
|
+
<!-- </div>-->
|
60
|
+
<!-- </div>-->
|
61
|
+
<div class="row">
|
62
|
+
<div class="form-group col-sm-2 button-range" >
|
63
|
+
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
64
|
+
<!-- <export-excel-safe :data="$parent.$parent.exportParameter"-->
|
65
|
+
<!-- :field="$parent.$parent.excelHeaders"-->
|
66
|
+
<!-- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanUserList"-->
|
67
|
+
<!-- template-name='安检情况明细' :choose-col="true">-->
|
68
|
+
<!-- </export-excel-safe>-->
|
69
|
+
<!-- <!–展示下方条件或隐藏–>-->
|
70
|
+
<!-- <div class="span" style="float:right;">-->
|
71
|
+
<!-- <div class="button_spacing" style="float: right;margin-left:10px"-->
|
72
|
+
<!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
|
73
|
+
<!-- @click="$parent.$parent.hidden()">-->
|
74
|
+
<!-- </div>-->
|
75
|
+
<!-- </div>-->
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</criteria>
|
80
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
|
81
|
+
<template partial='head' >
|
82
|
+
<tr>
|
83
|
+
<th><nobr>计划名称</nobr></th>
|
84
|
+
<th>
|
85
|
+
<nobr>计划内用户数</nobr>
|
86
|
+
</th>
|
87
|
+
<th>
|
88
|
+
<nobr>计划下发时间</nobr>
|
89
|
+
</th>
|
90
|
+
<th>
|
91
|
+
<nobr>计划执行时间</nobr>
|
92
|
+
</th>
|
93
|
+
<th>
|
94
|
+
<nobr>计划结束时间</nobr>
|
95
|
+
</th>
|
96
|
+
<th><nobr>入户数</nobr></th>
|
97
|
+
<th><nobr>到访不遇数</nobr></th>
|
98
|
+
<th><nobr>拒检数</nobr></th>
|
99
|
+
<th><nobr>安检率</nobr></th>
|
100
|
+
<th><nobr>入户率</nobr></th>
|
101
|
+
</tr>
|
102
|
+
</template>
|
103
|
+
<template partial='body' >
|
104
|
+
<tr >
|
105
|
+
<td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
|
106
|
+
<td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
|
107
|
+
<td style="text-align:center"><span>{{row.f_issue_time}}</span></td>
|
108
|
+
<td style="text-align:center"><span>{{row.min_f_last_check_date}}</span></td>
|
109
|
+
<td style="text-align:center"><span>{{row.max_f_last_check_date}}</span></td>
|
110
|
+
<td style="text-align:center">{{row.f_ruhu}}</td>
|
111
|
+
<td style="text-align:center">{{row.f_buyu}}</td>
|
112
|
+
<td style="text-align:center">{{row.f_jujian}}</td>
|
113
|
+
<td style="text-align:center">{{row.f_check_bv}}</td>
|
114
|
+
<td style="text-align:center">{{row.f_ruhu_bv}}</td>
|
115
|
+
</tr>
|
116
|
+
</template>
|
117
|
+
<template partial='foot'></template>
|
118
|
+
</data-grid>
|
119
|
+
</criteria-paged>
|
120
|
+
</div>
|
121
|
+
</template>
|
122
|
+
|
123
|
+
<script>
|
124
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
125
|
+
export default {
|
126
|
+
title: '安检情况明细',
|
127
|
+
data () {
|
128
|
+
return {
|
129
|
+
model: new PagedList('rs/sql/securityCheckList', 50, {}),
|
130
|
+
}
|
131
|
+
},
|
132
|
+
props: ['checkrow'],
|
133
|
+
ready () {
|
134
|
+
this.search()
|
135
|
+
// this.getfield = this.config.excelHeaders
|
136
|
+
},
|
137
|
+
methods: {
|
138
|
+
search () {
|
139
|
+
this.$refs.paged.$refs.criteria.search()
|
140
|
+
},
|
141
|
+
async selfSearch (args) {
|
142
|
+
if(!this.checkrow){
|
143
|
+
return
|
144
|
+
}
|
145
|
+
let condition = {
|
146
|
+
condition1: `f_residential_area = '${this.checkrow.f_residential_area}'`,
|
147
|
+
condition2: args.condition
|
148
|
+
}
|
149
|
+
const res = await new HttpResetClass().load('post','/rs/sql/securityCheckList',{data:{condition: condition}})
|
150
|
+
this.model.rows = res.data
|
151
|
+
// this.model.search(condition, args.model)
|
152
|
+
},
|
153
|
+
},
|
154
|
+
watch: {
|
155
|
+
'checkrow' () {
|
156
|
+
this.search()
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
</script>
|
@@ -0,0 +1,113 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="unit" class="flex-row" v-if="listpage" >
|
3
|
+
<div :class="{'basic-main':((!isdetail) && (!usershow) && (!isdetail2)),'binary-left':isdetail||usershow||isdetail2}" >
|
4
|
+
<security-check-ledger1 v-ref:list :row="row"></security-check-ledger1>
|
5
|
+
</div>
|
6
|
+
<div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
|
7
|
+
<security-check-ledger2 :checkrow="checkrow" ></security-check-ledger2>
|
8
|
+
</div>
|
9
|
+
<div class="binary-right" style="overflow-y: scroll" v-if="isdetail2">
|
10
|
+
<security-check-ledger3 :checkrow="checkrow" ></security-check-ledger3>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</template>
|
14
|
+
<script>
|
15
|
+
import Vue from 'vue'
|
16
|
+
|
17
|
+
export default {
|
18
|
+
title: '安检情况汇总',
|
19
|
+
data () {
|
20
|
+
return {
|
21
|
+
f_userinfo_id: '',
|
22
|
+
f_filialeid: this.$login.f.orgid,
|
23
|
+
config: {
|
24
|
+
isLimit: false, // 限购
|
25
|
+
audit: false, // 启用审核
|
26
|
+
heatingSeason: false, // 采暖季
|
27
|
+
deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
|
28
|
+
},
|
29
|
+
listpage: true,
|
30
|
+
row: null,
|
31
|
+
checkrow: null,
|
32
|
+
parentData: '',
|
33
|
+
isdetail: false,
|
34
|
+
isdetail2: false,
|
35
|
+
gasPriceShow: false,
|
36
|
+
usershow: false,
|
37
|
+
// 控制气价信息界面和变更操作记录界面的展示
|
38
|
+
changeView: false,
|
39
|
+
nocivilshow:true,
|
40
|
+
modalshow:false,
|
41
|
+
}
|
42
|
+
},
|
43
|
+
ready () {
|
44
|
+
},
|
45
|
+
methods: {
|
46
|
+
cancel(obj) {
|
47
|
+
this.listpage = true
|
48
|
+
},
|
49
|
+
dealMsg(val) {
|
50
|
+
this.listpage = false
|
51
|
+
this.f_userinfo_id = val.f_userinfo_id
|
52
|
+
},
|
53
|
+
selected (obj) {
|
54
|
+
this.checkrow = obj.val
|
55
|
+
this.isdetail = true
|
56
|
+
this.isdetail2 = false
|
57
|
+
this.usershow = false
|
58
|
+
this.listpage = true
|
59
|
+
},
|
60
|
+
selected2 (obj) {
|
61
|
+
this.checkrow = obj.val
|
62
|
+
this.isdetail = false
|
63
|
+
this.isdetail2 = true
|
64
|
+
this.usershow = false
|
65
|
+
this.listpage = true
|
66
|
+
},
|
67
|
+
refresh () {
|
68
|
+
this.row = null
|
69
|
+
this.gasPriceShow = false
|
70
|
+
this.isdetail = false
|
71
|
+
this.usershow =false
|
72
|
+
this.listpage=true
|
73
|
+
this.$refs.list.search()
|
74
|
+
}
|
75
|
+
},
|
76
|
+
events: {
|
77
|
+
'success' (name, row, res) {
|
78
|
+
this.row = row
|
79
|
+
this.gasPriceShow = false
|
80
|
+
this.isdetail = false
|
81
|
+
this.usershow =false
|
82
|
+
this.listpage=true
|
83
|
+
this.$refs.list.search()
|
84
|
+
},
|
85
|
+
'error' (name, row, res) {
|
86
|
+
this.row = row
|
87
|
+
this.gasPriceShow = false
|
88
|
+
this.isdetail = false
|
89
|
+
this.usershow =false
|
90
|
+
this.listpage=true
|
91
|
+
this.$refs.list.search()
|
92
|
+
},
|
93
|
+
'close' (res) {
|
94
|
+
this.row = null
|
95
|
+
this.gasPriceShow = false
|
96
|
+
this.isdetail = false
|
97
|
+
this.usershow =false
|
98
|
+
this.listpage=true
|
99
|
+
},
|
100
|
+
'search' () {
|
101
|
+
this.row = null
|
102
|
+
this.gasPriceShow = false
|
103
|
+
this.isdetail = false
|
104
|
+
this.usershow =false
|
105
|
+
this.listpage=true
|
106
|
+
// this.$refs.list.search()
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
</script>
|
111
|
+
<style>
|
112
|
+
|
113
|
+
</style>
|