safecheck-client 3.0.30-62-t9 → 3.0.30-62-t11
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 +1 -1
- package/src/components/Util/SafecheckUpload.vue +281 -281
- package/src/components/android/CheckPlanDown.vue +214 -214
- package/src/components/android/PhoneUpUserinfo.vue +1229 -1229
- package/src/components/android/PhoneotherInfov3.vue +118 -118
- package/src/components/android/SafecheckOrderV.vue +2278 -2278
- package/src/components/pc/AddPlanItemYyChange.vue +743 -743
- package/src/components/pc/NewCheckpaper.vue +1957 -2001
- package/src/components/pc/PaperDefectMain.vue +879 -866
- package/src/components/pc/SecurityCheckLedger.vue +133 -133
- package/src/components/pc/SecurityCheckList.vue +160 -160
- package/src/components/report/CheckPlanAreaList.vue +505 -505
- package/src/components/rongcheng/AspiratedAreaPlan.vue +575 -575
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1376 -1986
- package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -643
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -1066
- package/src/filiale/huaran/android/CheckPlanDown.vue +212 -212
- package/src/filiale/shanxian/android/AddPlanItem.vue +447 -451
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -1514
- package/src/filiale/xilan/pc/PaperList.vue +795 -795
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
@@ -1,133 +1,133 @@
|
|
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=api/af-safecheck/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
|
-
</tr>
|
60
|
-
</template>
|
61
|
-
<template partial='body'>
|
62
|
-
<td style="text-align: center">{{row.f_residential_area}}</td>
|
63
|
-
<td style="text-align: center">{{row.area_num}}</td>
|
64
|
-
<td style="text-align: center">{{row.f_plan_name}}</td>
|
65
|
-
<td style="text-align: center">{{row.plan_num}}</td>
|
66
|
-
<td style="text-align: center">{{row.f_issue_time}}</td>
|
67
|
-
<td style="text-align: center">{{row.first_check_date}}</td>
|
68
|
-
<td style="text-align: center">{{row.f_use_end_time}}</td>
|
69
|
-
<td style="text-align: center">{{row.zq_value}}</td>
|
70
|
-
<td style="text-align: center">{{row.dw_value}}</td>
|
71
|
-
<td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }">{{ row.difference_day }}</td>
|
72
|
-
</template>
|
73
|
-
</data-grid>
|
74
|
-
</criteria-paged>
|
75
|
-
</div>
|
76
|
-
</div>
|
77
|
-
</template>
|
78
|
-
|
79
|
-
<script>
|
80
|
-
import {PagedList} from 'vue-client'
|
81
|
-
|
82
|
-
export default {
|
83
|
-
title: '安检台账',
|
84
|
-
data() {
|
85
|
-
return {
|
86
|
-
model: new PagedList('api/af-safecheck/sql/securityCheckLedger', 20),
|
87
|
-
searchData: {
|
88
|
-
condition: "1=1"
|
89
|
-
},
|
90
|
-
excelHeaders: {
|
91
|
-
'f_residential_area': '小区名称',
|
92
|
-
'area_num': '小区用户数',
|
93
|
-
'f_plan_name': '所属计划',
|
94
|
-
'plan_num': '计划内用户数',
|
95
|
-
'f_issue_time': '计划下发时间',
|
96
|
-
'first_check_date': '计划执行时间',
|
97
|
-
'f_use_end_time': '计划结束时间',
|
98
|
-
'zq_value': '执行周期',
|
99
|
-
'dw_value': '周期单位',
|
100
|
-
'difference_day': '距离下周期时间(天)'
|
101
|
-
}
|
102
|
-
}
|
103
|
-
},
|
104
|
-
methods: {
|
105
|
-
hiddenr() {
|
106
|
-
this.$parent.isdetail = !this.$parent.isdetail
|
107
|
-
},
|
108
|
-
showList(row){
|
109
|
-
row.val = row
|
110
|
-
this.$parent.selected(row)
|
111
|
-
},
|
112
|
-
selfSearch(args) {
|
113
|
-
this.model.search(args.condition, args.model, args.condValue)
|
114
|
-
}
|
115
|
-
},
|
116
|
-
ready() {
|
117
|
-
|
118
|
-
},
|
119
|
-
watch: {
|
120
|
-
'model.condition'(val) {
|
121
|
-
if (val) {
|
122
|
-
this.searchData.condition = val
|
123
|
-
}
|
124
|
-
}
|
125
|
-
},
|
126
|
-
computed: {
|
127
|
-
selected() {
|
128
|
-
return this.$refs.paged.$refs.grid.selected
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
}
|
133
|
-
</script>
|
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=api/af-safecheck/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
|
+
</tr>
|
60
|
+
</template>
|
61
|
+
<template partial='body'>
|
62
|
+
<td style="text-align: center">{{row.f_residential_area}}</td>
|
63
|
+
<td style="text-align: center">{{row.area_num}}</td>
|
64
|
+
<td style="text-align: center">{{row.f_plan_name}}</td>
|
65
|
+
<td style="text-align: center">{{row.plan_num}}</td>
|
66
|
+
<td style="text-align: center">{{row.f_issue_time}}</td>
|
67
|
+
<td style="text-align: center">{{row.first_check_date}}</td>
|
68
|
+
<td style="text-align: center">{{row.f_use_end_time}}</td>
|
69
|
+
<td style="text-align: center">{{row.zq_value}}</td>
|
70
|
+
<td style="text-align: center">{{row.dw_value}}</td>
|
71
|
+
<td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }">{{ row.difference_day }}</td>
|
72
|
+
</template>
|
73
|
+
</data-grid>
|
74
|
+
</criteria-paged>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
</template>
|
78
|
+
|
79
|
+
<script>
|
80
|
+
import {PagedList} from 'vue-client'
|
81
|
+
|
82
|
+
export default {
|
83
|
+
title: '安检台账',
|
84
|
+
data() {
|
85
|
+
return {
|
86
|
+
model: new PagedList('api/af-safecheck/sql/securityCheckLedger', 20),
|
87
|
+
searchData: {
|
88
|
+
condition: "1=1"
|
89
|
+
},
|
90
|
+
excelHeaders: {
|
91
|
+
'f_residential_area': '小区名称',
|
92
|
+
'area_num': '小区用户数',
|
93
|
+
'f_plan_name': '所属计划',
|
94
|
+
'plan_num': '计划内用户数',
|
95
|
+
'f_issue_time': '计划下发时间',
|
96
|
+
'first_check_date': '计划执行时间',
|
97
|
+
'f_use_end_time': '计划结束时间',
|
98
|
+
'zq_value': '执行周期',
|
99
|
+
'dw_value': '周期单位',
|
100
|
+
'difference_day': '距离下周期时间(天)'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
methods: {
|
105
|
+
hiddenr() {
|
106
|
+
this.$parent.isdetail = !this.$parent.isdetail
|
107
|
+
},
|
108
|
+
showList(row){
|
109
|
+
row.val = row
|
110
|
+
this.$parent.selected(row)
|
111
|
+
},
|
112
|
+
selfSearch(args) {
|
113
|
+
this.model.search(args.condition, args.model, args.condValue)
|
114
|
+
}
|
115
|
+
},
|
116
|
+
ready() {
|
117
|
+
|
118
|
+
},
|
119
|
+
watch: {
|
120
|
+
'model.condition'(val) {
|
121
|
+
if (val) {
|
122
|
+
this.searchData.condition = val
|
123
|
+
}
|
124
|
+
}
|
125
|
+
},
|
126
|
+
computed: {
|
127
|
+
selected() {
|
128
|
+
return this.$refs.paged.$refs.grid.selected
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
}
|
133
|
+
</script>
|
@@ -1,160 +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('api/af-safecheck/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','/api/af-safecheck/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>
|
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('api/af-safecheck/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','/api/af-safecheck/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>
|