safecheck-client 3.0.30-69 → 3.0.30-70
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/App.vue +31 -31
- package/src/filiale/tianke/pc/checkScreen.vue +781 -781
- package/src/filiale/tianke/pc/cq.jpg +0 -0
- package/src/filiale/tianke/pc/qy.jpg +0 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1231 -1231
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -1092
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -252
- package/src/filiale/yongzhou/pc/communityDetail.vue +194 -194
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +207 -207
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +207 -207
- package/src/filiale/yongzhou/pc/safeDetail.vue +248 -248
- package/src/filiale/yongzhou/pc/safeStatistics.vue +124 -124
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +455 -455
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +267 -267
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +110 -110
- package/src/filiale/yongzhou/pc.js +28 -28
- package/src/main.js +1 -1
@@ -1,248 +1,248 @@
|
|
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 partial>
|
7
|
-
<div class="row">
|
8
|
-
<div class="form-group col-sm-4">
|
9
|
-
<label class="font_normal_body">开始时间:</label>
|
10
|
-
<datepicker
|
11
|
-
placeholder='请选择'
|
12
|
-
style="width:60%"
|
13
|
-
:disabled-days-of-week="[]"
|
14
|
-
:format="'yyyy-MM-dd'"
|
15
|
-
:show-rest-button="reset"
|
16
|
-
:value.sync="model.start_time"
|
17
|
-
v-model="model.start_time"
|
18
|
-
condition="tcp.f_create_time >= '{} 00:00:00'">
|
19
|
-
</datepicker>
|
20
|
-
</div>
|
21
|
-
<div class="form-group col-sm-4">
|
22
|
-
<label class="font_normal_body">结束时间:</label>
|
23
|
-
<datepicker
|
24
|
-
placeholder='请选择'
|
25
|
-
:disabled-days-of-week="[]"
|
26
|
-
style="width:60%"
|
27
|
-
:format="'yyyy-MM-dd'"
|
28
|
-
:show-rest-button="reset"
|
29
|
-
:value.sync="model.end_time"
|
30
|
-
v-model="model.end_time"
|
31
|
-
condition="tcp.f_create_time <= '{} 23:59:59'">
|
32
|
-
</datepicker>
|
33
|
-
</div>
|
34
|
-
<div class="col-sm-4 form-group">
|
35
|
-
<label class="font_normal_body">小区名称:</label>
|
36
|
-
<input style="width: 60%" class="input_search" v-model="model.f_residential_area"
|
37
|
-
placeholder="请输入小区(可模糊查询)" condition="tcpi.f_residential_area like '%{}%'">
|
38
|
-
</div>
|
39
|
-
<div class="form-group col-sm-4">
|
40
|
-
<label class="font_normal_body">用户类型</label>
|
41
|
-
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
42
|
-
:value-single="true" style="width: 60%"
|
43
|
-
class="select_list select"
|
44
|
-
:options='$parent.$parent.user_types' placeholder='用户类型'
|
45
|
-
close-on-select
|
46
|
-
condition="tcpi.f_user_type = '{}'"></v-select>
|
47
|
-
</div>
|
48
|
-
<div class="col-sm-4 form-group" style="margin: 0">
|
49
|
-
<role-selector-safe
|
50
|
-
role-name="安检员"
|
51
|
-
:resobjprop.sync="$parent.$parent.resids"
|
52
|
-
role-lable="安 检 员 "
|
53
|
-
@re-res="$parent.$parent.getRes"
|
54
|
-
:value.sync="model.f_checker_id"
|
55
|
-
v-model="model.f_checker_id"
|
56
|
-
condition="tcp.f_checker_name = '{}'">
|
57
|
-
</role-selector-safe>
|
58
|
-
</div>
|
59
|
-
<div style="float: right">
|
60
|
-
<export-excel-safe :data="$parent.$parent.searchData"
|
61
|
-
:field="$parent.$parent.excelHeaders"
|
62
|
-
progress="safeGetExportProgress"
|
63
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="safeDetail" template-name='安检情况明细'
|
64
|
-
:choose-col="true"></export-excel-safe>
|
65
|
-
</div>
|
66
|
-
<print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
|
67
|
-
:field="$parent.$parent.excelHeaders"
|
68
|
-
:defaultfield="$parent.$parent.defaultPrint"
|
69
|
-
:titletable="'安检情况明细'" :starthead="$parent.$parent.getstart"
|
70
|
-
></print-data-safe>
|
71
|
-
<button class="button_spacing button_search" @click="search()">查询</button>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
</criteria>
|
75
|
-
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
76
|
-
<template partial='head'>
|
77
|
-
<tr>
|
78
|
-
<th>
|
79
|
-
<nobr>序号</nobr>
|
80
|
-
</th>
|
81
|
-
<th>
|
82
|
-
<nobr>小区名称</nobr>
|
83
|
-
</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>
|
97
|
-
<nobr>到访不遇-1次</nobr>
|
98
|
-
</th>
|
99
|
-
<th>
|
100
|
-
<nobr>到访不遇-2次</nobr>
|
101
|
-
</th>
|
102
|
-
<th>
|
103
|
-
<nobr>到访不遇-3次</nobr>
|
104
|
-
</th>
|
105
|
-
<th>
|
106
|
-
<nobr>到访不遇小计</nobr>
|
107
|
-
</th>
|
108
|
-
<th>
|
109
|
-
<nobr>拒检户数</nobr>
|
110
|
-
</th>
|
111
|
-
<th>
|
112
|
-
<nobr>安检率</nobr>
|
113
|
-
</th>
|
114
|
-
</tr>
|
115
|
-
</template>
|
116
|
-
<template partial='body'>
|
117
|
-
|
118
|
-
<td style="text-align: center">{{ $index + 1 }}</td>
|
119
|
-
<td style="text-align: center">{{ row.f_residential_area }}</td>
|
120
|
-
<td style="text-align: center">{{ row.totalcount }}</td>
|
121
|
-
<td style="text-align: center">{{ row.wjcount }}</td>
|
122
|
-
<td style="text-align: center">{{ row.yjcount }}</td>
|
123
|
-
<td style="text-align: center">{{ row.rhcount }}</td>
|
124
|
-
<td style="text-align: center">{{ row.dfbycount1 }}</td>
|
125
|
-
<td style="text-align: center">{{ row.dfbycount2 }}</td>
|
126
|
-
<td style="text-align: center">{{ row.dfbycount3 }}</td>
|
127
|
-
<td style="text-align: center">{{ row.unique_dfby_count }}</td>
|
128
|
-
<td style="text-align: center">{{ row.jjcount }}</td>
|
129
|
-
<td style="text-align: center">{{ row.check_bv }}</td>
|
130
|
-
</template>
|
131
|
-
<template partial="foot">
|
132
|
-
<td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
|
133
|
-
<td style="text-align: center">{{ model.sums.totalcount }}</td>
|
134
|
-
|
135
|
-
<td style="text-align: center">{{ model.sums.wjcount }}</td>
|
136
|
-
|
137
|
-
<td style="text-align: center">{{ model.sums.yjcount }}</td>
|
138
|
-
|
139
|
-
<td style="text-align: center">{{ model.sums.rhcount }}</td>
|
140
|
-
|
141
|
-
<td style="text-align: center">{{ model.sums.dfbycount1 }}</td>
|
142
|
-
<td style="text-align: center">{{ model.sums.dfbycount2 }}</td>
|
143
|
-
<td style="text-align: center">{{ model.sums.dfbycount3 }}</td>
|
144
|
-
<td style="text-align: center">{{ model.sums.unique_dfby_count }}</td>
|
145
|
-
<td style="text-align: center">{{ model.sums.jjcount }}</td>
|
146
|
-
<td style="text-align: center">
|
147
|
-
{{ ((model.sums.yjcount / model.sums.totalcount)*100.0).toFixed(2) }}%
|
148
|
-
</td>
|
149
|
-
|
150
|
-
</template>
|
151
|
-
</data-grid>
|
152
|
-
</criteria-paged>
|
153
|
-
</div>
|
154
|
-
</div>
|
155
|
-
</template>
|
156
|
-
|
157
|
-
<script>
|
158
|
-
import {PagedList} from "vue-client";
|
159
|
-
|
160
|
-
export default {
|
161
|
-
name: "safeDetail",
|
162
|
-
title: "安检情况明细",
|
163
|
-
data() {
|
164
|
-
|
165
|
-
return {
|
166
|
-
model: new PagedList("/rs/sql/safeDetail", 999, {orgid: this.$login.f.orgid}, {
|
167
|
-
totalcount: '',
|
168
|
-
wjcount: '',
|
169
|
-
yjcount: '',
|
170
|
-
rhcount: '',
|
171
|
-
dfbycount1: '',
|
172
|
-
dfbycount2: '',
|
173
|
-
dfbycount3: '',
|
174
|
-
unique_dfby_count: '',
|
175
|
-
jjcount: ''
|
176
|
-
}),
|
177
|
-
resids: {},
|
178
|
-
searchData: {
|
179
|
-
condition: "1=1",
|
180
|
-
orgid: this.$login.f.orgid
|
181
|
-
},
|
182
|
-
print_model:{},
|
183
|
-
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
184
|
-
excelHeaders: {
|
185
|
-
'f_residential_area': '小区名称',
|
186
|
-
'totalcount': '计划安检总户数',
|
187
|
-
'wjcount': '未检户数',
|
188
|
-
'yjcount': '已检户数',
|
189
|
-
'rhcount': '入户户数',
|
190
|
-
'dfbycount1': '到访不遇-1次',
|
191
|
-
'dfbycount2': '到访不遇-2次',
|
192
|
-
'dfbycount3': '到访不遇-3次',
|
193
|
-
'unique_dfby_count': '到访不遇小计',
|
194
|
-
'jjcount': '拒检户数',
|
195
|
-
'check_bv':'安检率'
|
196
|
-
},
|
197
|
-
printshow: false,
|
198
|
-
defaultPrint: ['f_residential_area', 'totalcount', 'wjcount', 'rhcount','dfbycount1','dfbycount2','dfbycount3','unique_dfby_count','jjcount','check_bv'],
|
199
|
-
sumsmodel: {},
|
200
|
-
}
|
201
|
-
},
|
202
|
-
ready() {
|
203
|
-
// this.model.search('1=1')
|
204
|
-
},
|
205
|
-
methods: {
|
206
|
-
async selfSearch(args) {
|
207
|
-
await this.model.search(args.condition, args.model, args.condValue)
|
208
|
-
this.searchData.condition = args.condition
|
209
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
210
|
-
this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
|
211
|
-
this.print_model.rows.push({
|
212
|
-
f_residential_area:'合计',
|
213
|
-
totalcount: this.sumsmodel.totalcount,
|
214
|
-
wjcount: this.sumsmodel.wjcount,
|
215
|
-
yjcount: this.sumsmodel.yjcount,
|
216
|
-
rhcount: this.sumsmodel.rhcount,
|
217
|
-
dfbycount1: this.sumsmodel.dfbycount1,
|
218
|
-
dfbycount2: this.sumsmodel.dfbycount2,
|
219
|
-
dfbycount3: this.sumsmodel.dfbycount3,
|
220
|
-
unique_dfby_count: this.sumsmodel.unique_dfby_count,
|
221
|
-
check_bv:`${((this.sumsmodel.yjcount / this.sumsmodel.totalcount)*100.0).toFixed(2)}%`
|
222
|
-
})
|
223
|
-
this.print_model.totalPage = 0
|
224
|
-
},
|
225
|
-
getRes(obj) {
|
226
|
-
//tag
|
227
|
-
this.resids = {res: obj.res[0], resids: obj.resids[0]}
|
228
|
-
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
229
|
-
},
|
230
|
-
// 打印
|
231
|
-
stamp() {
|
232
|
-
this.printshow = true
|
233
|
-
},
|
234
|
-
close() {
|
235
|
-
this.printshow = false
|
236
|
-
}
|
237
|
-
},
|
238
|
-
computed: {
|
239
|
-
getstart() {
|
240
|
-
return `开始时间:${this.$refs.paged.$refs.criteria.model.start_time} 结束时间:${this.$refs.paged.$refs.criteria.model.end_time}`
|
241
|
-
},
|
242
|
-
}
|
243
|
-
}
|
244
|
-
</script>
|
245
|
-
|
246
|
-
<style scoped>
|
247
|
-
|
248
|
-
</style>
|
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 partial>
|
7
|
+
<div class="row">
|
8
|
+
<div class="form-group col-sm-4">
|
9
|
+
<label class="font_normal_body">开始时间:</label>
|
10
|
+
<datepicker
|
11
|
+
placeholder='请选择'
|
12
|
+
style="width:60%"
|
13
|
+
:disabled-days-of-week="[]"
|
14
|
+
:format="'yyyy-MM-dd'"
|
15
|
+
:show-rest-button="reset"
|
16
|
+
:value.sync="model.start_time"
|
17
|
+
v-model="model.start_time"
|
18
|
+
condition="tcp.f_create_time >= '{} 00:00:00'">
|
19
|
+
</datepicker>
|
20
|
+
</div>
|
21
|
+
<div class="form-group col-sm-4">
|
22
|
+
<label class="font_normal_body">结束时间:</label>
|
23
|
+
<datepicker
|
24
|
+
placeholder='请选择'
|
25
|
+
:disabled-days-of-week="[]"
|
26
|
+
style="width:60%"
|
27
|
+
:format="'yyyy-MM-dd'"
|
28
|
+
:show-rest-button="reset"
|
29
|
+
:value.sync="model.end_time"
|
30
|
+
v-model="model.end_time"
|
31
|
+
condition="tcp.f_create_time <= '{} 23:59:59'">
|
32
|
+
</datepicker>
|
33
|
+
</div>
|
34
|
+
<div class="col-sm-4 form-group">
|
35
|
+
<label class="font_normal_body">小区名称:</label>
|
36
|
+
<input style="width: 60%" class="input_search" v-model="model.f_residential_area"
|
37
|
+
placeholder="请输入小区(可模糊查询)" condition="tcpi.f_residential_area like '%{}%'">
|
38
|
+
</div>
|
39
|
+
<div class="form-group col-sm-4">
|
40
|
+
<label class="font_normal_body">用户类型</label>
|
41
|
+
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
42
|
+
:value-single="true" style="width: 60%"
|
43
|
+
class="select_list select"
|
44
|
+
:options='$parent.$parent.user_types' placeholder='用户类型'
|
45
|
+
close-on-select
|
46
|
+
condition="tcpi.f_user_type = '{}'"></v-select>
|
47
|
+
</div>
|
48
|
+
<div class="col-sm-4 form-group" style="margin: 0">
|
49
|
+
<role-selector-safe
|
50
|
+
role-name="安检员"
|
51
|
+
:resobjprop.sync="$parent.$parent.resids"
|
52
|
+
role-lable="安 检 员 "
|
53
|
+
@re-res="$parent.$parent.getRes"
|
54
|
+
:value.sync="model.f_checker_id"
|
55
|
+
v-model="model.f_checker_id"
|
56
|
+
condition="tcp.f_checker_name = '{}'">
|
57
|
+
</role-selector-safe>
|
58
|
+
</div>
|
59
|
+
<div style="float: right">
|
60
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
61
|
+
:field="$parent.$parent.excelHeaders"
|
62
|
+
progress="safeGetExportProgress"
|
63
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="safeDetail" template-name='安检情况明细'
|
64
|
+
:choose-col="true"></export-excel-safe>
|
65
|
+
</div>
|
66
|
+
<print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
|
67
|
+
:field="$parent.$parent.excelHeaders"
|
68
|
+
:defaultfield="$parent.$parent.defaultPrint"
|
69
|
+
:titletable="'安检情况明细'" :starthead="$parent.$parent.getstart"
|
70
|
+
></print-data-safe>
|
71
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</criteria>
|
75
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
76
|
+
<template partial='head'>
|
77
|
+
<tr>
|
78
|
+
<th>
|
79
|
+
<nobr>序号</nobr>
|
80
|
+
</th>
|
81
|
+
<th>
|
82
|
+
<nobr>小区名称</nobr>
|
83
|
+
</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>
|
97
|
+
<nobr>到访不遇-1次</nobr>
|
98
|
+
</th>
|
99
|
+
<th>
|
100
|
+
<nobr>到访不遇-2次</nobr>
|
101
|
+
</th>
|
102
|
+
<th>
|
103
|
+
<nobr>到访不遇-3次</nobr>
|
104
|
+
</th>
|
105
|
+
<th>
|
106
|
+
<nobr>到访不遇小计</nobr>
|
107
|
+
</th>
|
108
|
+
<th>
|
109
|
+
<nobr>拒检户数</nobr>
|
110
|
+
</th>
|
111
|
+
<th>
|
112
|
+
<nobr>安检率</nobr>
|
113
|
+
</th>
|
114
|
+
</tr>
|
115
|
+
</template>
|
116
|
+
<template partial='body'>
|
117
|
+
|
118
|
+
<td style="text-align: center">{{ $index + 1 }}</td>
|
119
|
+
<td style="text-align: center">{{ row.f_residential_area }}</td>
|
120
|
+
<td style="text-align: center">{{ row.totalcount }}</td>
|
121
|
+
<td style="text-align: center">{{ row.wjcount }}</td>
|
122
|
+
<td style="text-align: center">{{ row.yjcount }}</td>
|
123
|
+
<td style="text-align: center">{{ row.rhcount }}</td>
|
124
|
+
<td style="text-align: center">{{ row.dfbycount1 }}</td>
|
125
|
+
<td style="text-align: center">{{ row.dfbycount2 }}</td>
|
126
|
+
<td style="text-align: center">{{ row.dfbycount3 }}</td>
|
127
|
+
<td style="text-align: center">{{ row.unique_dfby_count }}</td>
|
128
|
+
<td style="text-align: center">{{ row.jjcount }}</td>
|
129
|
+
<td style="text-align: center">{{ row.check_bv }}</td>
|
130
|
+
</template>
|
131
|
+
<template partial="foot">
|
132
|
+
<td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
|
133
|
+
<td style="text-align: center">{{ model.sums.totalcount }}</td>
|
134
|
+
|
135
|
+
<td style="text-align: center">{{ model.sums.wjcount }}</td>
|
136
|
+
|
137
|
+
<td style="text-align: center">{{ model.sums.yjcount }}</td>
|
138
|
+
|
139
|
+
<td style="text-align: center">{{ model.sums.rhcount }}</td>
|
140
|
+
|
141
|
+
<td style="text-align: center">{{ model.sums.dfbycount1 }}</td>
|
142
|
+
<td style="text-align: center">{{ model.sums.dfbycount2 }}</td>
|
143
|
+
<td style="text-align: center">{{ model.sums.dfbycount3 }}</td>
|
144
|
+
<td style="text-align: center">{{ model.sums.unique_dfby_count }}</td>
|
145
|
+
<td style="text-align: center">{{ model.sums.jjcount }}</td>
|
146
|
+
<td style="text-align: center">
|
147
|
+
{{ ((model.sums.yjcount / model.sums.totalcount)*100.0).toFixed(2) }}%
|
148
|
+
</td>
|
149
|
+
|
150
|
+
</template>
|
151
|
+
</data-grid>
|
152
|
+
</criteria-paged>
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
</template>
|
156
|
+
|
157
|
+
<script>
|
158
|
+
import {PagedList} from "vue-client";
|
159
|
+
|
160
|
+
export default {
|
161
|
+
name: "safeDetail",
|
162
|
+
title: "安检情况明细",
|
163
|
+
data() {
|
164
|
+
|
165
|
+
return {
|
166
|
+
model: new PagedList("/rs/sql/safeDetail", 999, {orgid: this.$login.f.orgid}, {
|
167
|
+
totalcount: '',
|
168
|
+
wjcount: '',
|
169
|
+
yjcount: '',
|
170
|
+
rhcount: '',
|
171
|
+
dfbycount1: '',
|
172
|
+
dfbycount2: '',
|
173
|
+
dfbycount3: '',
|
174
|
+
unique_dfby_count: '',
|
175
|
+
jjcount: ''
|
176
|
+
}),
|
177
|
+
resids: {},
|
178
|
+
searchData: {
|
179
|
+
condition: "1=1",
|
180
|
+
orgid: this.$login.f.orgid
|
181
|
+
},
|
182
|
+
print_model:{},
|
183
|
+
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
184
|
+
excelHeaders: {
|
185
|
+
'f_residential_area': '小区名称',
|
186
|
+
'totalcount': '计划安检总户数',
|
187
|
+
'wjcount': '未检户数',
|
188
|
+
'yjcount': '已检户数',
|
189
|
+
'rhcount': '入户户数',
|
190
|
+
'dfbycount1': '到访不遇-1次',
|
191
|
+
'dfbycount2': '到访不遇-2次',
|
192
|
+
'dfbycount3': '到访不遇-3次',
|
193
|
+
'unique_dfby_count': '到访不遇小计',
|
194
|
+
'jjcount': '拒检户数',
|
195
|
+
'check_bv':'安检率'
|
196
|
+
},
|
197
|
+
printshow: false,
|
198
|
+
defaultPrint: ['f_residential_area', 'totalcount', 'wjcount', 'rhcount','dfbycount1','dfbycount2','dfbycount3','unique_dfby_count','jjcount','check_bv'],
|
199
|
+
sumsmodel: {},
|
200
|
+
}
|
201
|
+
},
|
202
|
+
ready() {
|
203
|
+
// this.model.search('1=1')
|
204
|
+
},
|
205
|
+
methods: {
|
206
|
+
async selfSearch(args) {
|
207
|
+
await this.model.search(args.condition, args.model, args.condValue)
|
208
|
+
this.searchData.condition = args.condition
|
209
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
210
|
+
this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
|
211
|
+
this.print_model.rows.push({
|
212
|
+
f_residential_area:'合计',
|
213
|
+
totalcount: this.sumsmodel.totalcount,
|
214
|
+
wjcount: this.sumsmodel.wjcount,
|
215
|
+
yjcount: this.sumsmodel.yjcount,
|
216
|
+
rhcount: this.sumsmodel.rhcount,
|
217
|
+
dfbycount1: this.sumsmodel.dfbycount1,
|
218
|
+
dfbycount2: this.sumsmodel.dfbycount2,
|
219
|
+
dfbycount3: this.sumsmodel.dfbycount3,
|
220
|
+
unique_dfby_count: this.sumsmodel.unique_dfby_count,
|
221
|
+
check_bv:`${((this.sumsmodel.yjcount / this.sumsmodel.totalcount)*100.0).toFixed(2)}%`
|
222
|
+
})
|
223
|
+
this.print_model.totalPage = 0
|
224
|
+
},
|
225
|
+
getRes(obj) {
|
226
|
+
//tag
|
227
|
+
this.resids = {res: obj.res[0], resids: obj.resids[0]}
|
228
|
+
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
229
|
+
},
|
230
|
+
// 打印
|
231
|
+
stamp() {
|
232
|
+
this.printshow = true
|
233
|
+
},
|
234
|
+
close() {
|
235
|
+
this.printshow = false
|
236
|
+
}
|
237
|
+
},
|
238
|
+
computed: {
|
239
|
+
getstart() {
|
240
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.start_time} 结束时间:${this.$refs.paged.$refs.criteria.model.end_time}`
|
241
|
+
},
|
242
|
+
}
|
243
|
+
}
|
244
|
+
</script>
|
245
|
+
|
246
|
+
<style scoped>
|
247
|
+
|
248
|
+
</style>
|