safecheck-client 3.0.33-3 → 3.0.33-30
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 +133 -133
- package/src/App.vue +2 -2
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +5 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +4 -1
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +303 -301
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
- package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +809 -651
- package/src/filiale/fugou/pc/CheckBookUser.vue +47 -44
- package/src/filiale/fugou/pc/PlanManage.vue +27 -8
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
- package/src/filiale/weinan/android/SafecheckOrderV.vue +71 -26
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/wensu/pc/checkUserList.vue +8 -8
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc.js +1 -0
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +114 -207
- package/src/filiale/yongzhou/pc/safeDetail.vue +446 -248
- package/src/filiale/yongzhou/pc.js +3 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
- package/src/main.js +1 -1
@@ -1,248 +1,446 @@
|
|
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.
|
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
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
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
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<td style="text-align: center">{{
|
126
|
-
<td style="text-align: center">{{ row.
|
127
|
-
<td style="text-align: center">{{ row.
|
128
|
-
<td style="text-align: center">{{ row.
|
129
|
-
<td style="text-align: center">{{ row.
|
130
|
-
|
131
|
-
|
132
|
-
<td style="text-align: center"
|
133
|
-
<td style="text-align: center">{{
|
134
|
-
|
135
|
-
<td style="text-align: center">{{
|
136
|
-
|
137
|
-
<td style="text-align: center">{{
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
<td style="text-align: center"
|
143
|
-
<td style="text-align: center">{{ model.sums.
|
144
|
-
<td style="text-align: center">{{ model.sums.
|
145
|
-
<td style="text-align: center">{{ model.sums.
|
146
|
-
<td style="text-align: center">
|
147
|
-
|
148
|
-
</td>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
</
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
</
|
245
|
-
|
246
|
-
<
|
247
|
-
|
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 = '{}'">
|
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
|
+
|
88
|
+
<th>
|
89
|
+
<nobr>未检户数</nobr>
|
90
|
+
</th>
|
91
|
+
<th>
|
92
|
+
<nobr>已检户数</nobr>
|
93
|
+
</th>
|
94
|
+
<th>
|
95
|
+
<nobr>入户户数</nobr>
|
96
|
+
</th>
|
97
|
+
<th>
|
98
|
+
<nobr>到访不遇-1次</nobr>
|
99
|
+
</th>
|
100
|
+
<th>
|
101
|
+
<nobr>到访不遇-2次</nobr>
|
102
|
+
</th>
|
103
|
+
<th>
|
104
|
+
<nobr>到访不遇-3次</nobr>
|
105
|
+
</th>
|
106
|
+
<th>
|
107
|
+
<nobr>到访不遇小计</nobr>
|
108
|
+
</th>
|
109
|
+
<th>
|
110
|
+
<nobr>拒检户数</nobr>
|
111
|
+
</th>
|
112
|
+
<th>
|
113
|
+
<nobr>安检率</nobr>
|
114
|
+
</th>
|
115
|
+
<th>
|
116
|
+
<nobr>申请安检户数</nobr>
|
117
|
+
</th>
|
118
|
+
<th>
|
119
|
+
<nobr>总入户数</nobr>
|
120
|
+
</th>
|
121
|
+
</tr>
|
122
|
+
</template>
|
123
|
+
<template partial='body'>
|
124
|
+
|
125
|
+
<td style="text-align: center">{{ $index + 1 }}</td>
|
126
|
+
<td style="text-align: center">{{ row.f_residential_area }}</td>
|
127
|
+
<td style="text-align: center"><a @click="$parent.$parent.$parent.modalShow(row,'1')">{{ row.totalcount }}</a></td>
|
128
|
+
<td style="text-align: center">{{ row.wjcount }}</td>
|
129
|
+
<td style="text-align: center">{{ row.yjcount }}</td>
|
130
|
+
<td style="text-align: center">{{ row.rhcount }}</td>
|
131
|
+
<td style="text-align: center">{{ row.dfbycount1 }}</td>
|
132
|
+
<td style="text-align: center">{{ row.dfbycount2 }}</td>
|
133
|
+
<td style="text-align: center">{{ row.dfbycount3 }}</td>
|
134
|
+
<td style="text-align: center">{{ row.unique_dfby_count }}</td>
|
135
|
+
<td style="text-align: center">{{ row.jjcount }}</td>
|
136
|
+
<td style="text-align: center">{{ row.check_bv }}</td>
|
137
|
+
<td style="text-align: center"><a @click="$parent.$parent.$parent.modalShow(row,'0')">{{ row.sqajcount }}</a></td>
|
138
|
+
<td style="text-align: center">{{ row.ruhucount }}</td>
|
139
|
+
|
140
|
+
</template>
|
141
|
+
<template partial="foot">
|
142
|
+
<td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
|
143
|
+
<td style="text-align: center">{{ model.sums.totalcount }}</td>
|
144
|
+
<td style="text-align: center">{{ model.sums.wjcount }}</td>
|
145
|
+
<td style="text-align: center">{{ model.sums.yjcount }}</td>
|
146
|
+
<td style="text-align: center">{{ model.sums.rhcount }}</td>
|
147
|
+
<td style="text-align: center">{{ model.sums.dfbycount1 }}</td>
|
148
|
+
<td style="text-align: center">{{ model.sums.dfbycount2 }}</td>
|
149
|
+
<td style="text-align: center">{{ model.sums.dfbycount3 }}</td>
|
150
|
+
<td style="text-align: center">{{ model.sums.unique_dfby_count }}</td>
|
151
|
+
<td style="text-align: center">{{ model.sums.jjcount }}</td>
|
152
|
+
<td style="text-align: center">
|
153
|
+
{{ ((model.sums.yjcount / model.sums.totalcount)*100.0).toFixed(2) }}%
|
154
|
+
</td>
|
155
|
+
<td style="text-align: center">{{ model.sums.sqajcount }}</td>
|
156
|
+
<td style="text-align: center">{{ model.sums.ruhucount }}</td>
|
157
|
+
</template>
|
158
|
+
</data-grid>
|
159
|
+
</criteria-paged>
|
160
|
+
</div>
|
161
|
+
<modal :show.sync="modal_show" backdrop="false"
|
162
|
+
class="allQuotaRecordModalShow" width="80%">
|
163
|
+
<header slot="modal-header" class="modal-header" style="text-align: center">
|
164
|
+
</header>
|
165
|
+
<article slot="modal-body" class="modal-body">
|
166
|
+
<criteria partial='criteria' class="search_area" v-ref:criteria>
|
167
|
+
<div partial>
|
168
|
+
<div class="row">
|
169
|
+
<div class="form-group col-sm-4">
|
170
|
+
<label class="font_normal_body">开始时间</label>
|
171
|
+
<datepicker
|
172
|
+
placeholder='请选择'
|
173
|
+
style="width:60%"
|
174
|
+
:disabled-days-of-week="[]"
|
175
|
+
:format="'yyyy-MM-dd'"
|
176
|
+
:show-rest-button="reset"
|
177
|
+
:value.sync="$parent.$parent.modalSearchData.start_time"
|
178
|
+
v-model="$parent.$parent.modalSearchData.start_time"
|
179
|
+
>
|
180
|
+
</datepicker>
|
181
|
+
</div>
|
182
|
+
<div class="form-group col-sm-4">
|
183
|
+
<label class="font_normal_body">结束时间</label>
|
184
|
+
<datepicker
|
185
|
+
placeholder='请选择'
|
186
|
+
:disabled-days-of-week="[]"
|
187
|
+
style="width:60%"
|
188
|
+
:format="'yyyy-MM-dd'"
|
189
|
+
:show-rest-button="reset"
|
190
|
+
:value.sync="$parent.$parent.modalSearchData.end_time"
|
191
|
+
v-model="$parent.$parent.modalSearchData.end_time">
|
192
|
+
</datepicker>
|
193
|
+
</div>
|
194
|
+
<div class="col-sm-4 form-group">
|
195
|
+
<label class="font_normal_body">用户编号</label>
|
196
|
+
<input style="width: 60%" class="input_search" v-model="$parent.$parent.modalSearchData.f_userinfo_code">
|
197
|
+
</div>
|
198
|
+
<div class="col-sm-4 form-group">
|
199
|
+
<label class="font_normal_body">用户名称</label>
|
200
|
+
<input style="width: 60%" class="input_search" v-model="$parent.$parent.modalSearchData.f_user_name">
|
201
|
+
</div>
|
202
|
+
<div class="col-sm-4 form-group">
|
203
|
+
<label class="font_normal_body">用户地址</label>
|
204
|
+
<input style="width: 60%" class="input_search" v-model="$parent.$parent.modalSearchData.f_address">
|
205
|
+
</div>
|
206
|
+
<div class="col-sm-4 form-group">
|
207
|
+
<label class="font_normal_body">用户电话</label>
|
208
|
+
<input style="width: 60%" class="input_search" v-model="$parent.$parent.modalSearchData.f_user_phone">
|
209
|
+
</div>
|
210
|
+
<div class="col-sm-4 form-group">
|
211
|
+
<label class="font_normal_body">安检员</label>
|
212
|
+
<input style="width: 60%" class="input_search" v-model="$parent.$parent.modalSearchData.f_checker">
|
213
|
+
</div>
|
214
|
+
<div class="col-sm-4 form-group">
|
215
|
+
<label class="font_normal_body">安检状态</label>
|
216
|
+
<v-select :value.sync="$parent.$parent.modalSearchData.f_last_check_state" v-model='$parent.$parent.modalSearchData.f_last_check_state'
|
217
|
+
:value-single="true" style="width: 60%"
|
218
|
+
class="select_list select"
|
219
|
+
:options='$parent.$parent.last_check_states' placeholder='安检状态'
|
220
|
+
close-on-select
|
221
|
+
></v-select>
|
222
|
+
</div>
|
223
|
+
<div class="form-group col-sm-4">
|
224
|
+
<label class="font_normal_body">用户类型</label>
|
225
|
+
<v-select :value.sync="$parent.$parent.modalSearchData.f_user_type" v-model='$parent.$parent.modalSearchData.f_user_type'
|
226
|
+
:value-single="true" style="width: 60%"
|
227
|
+
class="select_list select"
|
228
|
+
:options='$parent.$parent.user_types' placeholder='用户类型'
|
229
|
+
close-on-select
|
230
|
+
></v-select>
|
231
|
+
</div>
|
232
|
+
<div class="col-sm-4 form-group">
|
233
|
+
<label class="font_normal_body">到访不遇次数</label>
|
234
|
+
<input style="width: 60%" class="input_search" v-model="$parent.$parent.modalSearchData.f_check_version">
|
235
|
+
</div>
|
236
|
+
<button class="button_spacing button_search" @click="$parent.$parent.modalSearch()">查询</button>
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
</criteria>
|
240
|
+
<data-grid class="list_area table_sy" :model="modalModel" v-ref:modalgrid partial='list'>
|
241
|
+
<template partial='head'>
|
242
|
+
<th>
|
243
|
+
<nobr>用户编号</nobr>
|
244
|
+
</th>
|
245
|
+
<th>
|
246
|
+
<nobr>用户名称</nobr>
|
247
|
+
</th>
|
248
|
+
<th>
|
249
|
+
<nobr>小区</nobr>
|
250
|
+
</th>
|
251
|
+
<th>
|
252
|
+
<nobr>地址</nobr>
|
253
|
+
</th>
|
254
|
+
<th>
|
255
|
+
<nobr>客户电话</nobr>
|
256
|
+
</th>
|
257
|
+
<th>
|
258
|
+
<nobr>到访不遇次数</nobr>
|
259
|
+
</th>
|
260
|
+
<th>
|
261
|
+
<nobr>安检时间</nobr>
|
262
|
+
</th>
|
263
|
+
<th>
|
264
|
+
<nobr>安检员</nobr>
|
265
|
+
</th>
|
266
|
+
<th>
|
267
|
+
<nobr>用户类型</nobr>
|
268
|
+
</th>
|
269
|
+
<th v-if="$parent.$parent.$parent.$parent.type === '1'">
|
270
|
+
<nobr>安检状态</nobr>
|
271
|
+
</th>
|
272
|
+
</template>
|
273
|
+
<template partial='body'>
|
274
|
+
<td style="text-align:center">{{row.f_userinfo_code}}</td>
|
275
|
+
<td style="text-align:center">{{row.f_user_name }}</td>
|
276
|
+
<td style="text-align:center">{{row.f_residential_area}}</td>
|
277
|
+
<td style="text-align:center">{{row.f_address}}</td>
|
278
|
+
<td style="text-align:center">{{row.f_user_phone}}</td>
|
279
|
+
<td style="text-align:center">{{row.f_check_version}}</td>
|
280
|
+
<td style="text-align:center">{{row.f_last_check_date}}</td>
|
281
|
+
<td style="text-align:center">{{row.f_checker}}</td>
|
282
|
+
<td style="text-align:center">{{row.f_user_type}}</td>
|
283
|
+
<td style="text-align:center" v-if="$parent.$parent.$parent.$parent.type === '1'">{{row.f_last_check_state}}</td>
|
284
|
+
</template>
|
285
|
+
</data-grid>
|
286
|
+
</article>
|
287
|
+
<footer slot="modal-footer" class="modal-footer">
|
288
|
+
<button type="button" class="btn btn-default" @click='modal_show = false'>关闭</button>
|
289
|
+
</footer>
|
290
|
+
</modal>
|
291
|
+
</div>
|
292
|
+
</template>
|
293
|
+
|
294
|
+
<script>
|
295
|
+
import {PagedList} from "vue-client";
|
296
|
+
|
297
|
+
export default {
|
298
|
+
name: "safeDetail",
|
299
|
+
title: "安检情况明细",
|
300
|
+
data() {
|
301
|
+
|
302
|
+
return {
|
303
|
+
model: new PagedList("/rs/sql/safeDetail", 999, {orgid: this.$login.f.orgid}, {
|
304
|
+
totalcount: '',
|
305
|
+
sqajcount:'',
|
306
|
+
ruhucount:'',
|
307
|
+
wjcount: '',
|
308
|
+
yjcount: '',
|
309
|
+
rhcount: '',
|
310
|
+
dfbycount1: '',
|
311
|
+
dfbycount2: '',
|
312
|
+
dfbycount3: '',
|
313
|
+
unique_dfby_count: '',
|
314
|
+
jjcount: ''
|
315
|
+
}),
|
316
|
+
resids: {},
|
317
|
+
modalModel: new PagedList('rs/sql/singleTable_OrderBy', 99999, {
|
318
|
+
items: '"tcpi.*,tcp.f_checker"',
|
319
|
+
tablename: '"t_check_plan_item tcpi left join t_check_plan tcp on tcpi.f_plan_id = tcp.id"',
|
320
|
+
orderitem: '"1"'
|
321
|
+
}),
|
322
|
+
modalSearchData:{},
|
323
|
+
searchData: {
|
324
|
+
condition: "1=1",
|
325
|
+
orgid: this.$login.f.orgid
|
326
|
+
},
|
327
|
+
modal_show:false,
|
328
|
+
print_model:{},
|
329
|
+
last_check_states:[{label:'全部',value:''},{label:'入户',value:'入户'},{label:'拒检',value:'拒检'},{label:'到访不遇',value:'到访不遇'}],
|
330
|
+
user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
331
|
+
excelHeaders: {
|
332
|
+
'f_residential_area': '小区名称',
|
333
|
+
'totalcount': '计划安检总户数',
|
334
|
+
'wjcount': '未检户数',
|
335
|
+
'yjcount': '已检户数',
|
336
|
+
'rhcount': '入户户数',
|
337
|
+
'dfbycount1': '到访不遇-1次',
|
338
|
+
'dfbycount2': '到访不遇-2次',
|
339
|
+
'dfbycount3': '到访不遇-3次',
|
340
|
+
'unique_dfby_count': '到访不遇小计',
|
341
|
+
'jjcount': '拒检户数',
|
342
|
+
'check_bv':'安检率',
|
343
|
+
'sqajcount': '申请安检户数',
|
344
|
+
'ruhucount': '总入户数',
|
345
|
+
},
|
346
|
+
modalRow:{},
|
347
|
+
type:'1',
|
348
|
+
printshow: false,
|
349
|
+
defaultPrint: ['f_residential_area', 'totalcount','wjcount', 'rhcount','dfbycount1','dfbycount2','dfbycount3','unique_dfby_count','jjcount','check_bv', 'sqajcount', 'ruhucount'],
|
350
|
+
sumsmodel: {},
|
351
|
+
}
|
352
|
+
},
|
353
|
+
ready() {
|
354
|
+
// this.model.search('1=1')
|
355
|
+
},
|
356
|
+
methods: {
|
357
|
+
async modalShow (row,type) {
|
358
|
+
this.type = type
|
359
|
+
this.modalRow = row
|
360
|
+
this.modal_show = true
|
361
|
+
this.modalSearchData = {}
|
362
|
+
await this.modalSearch(row)
|
363
|
+
},
|
364
|
+
modalSearch () {
|
365
|
+
let modalCondition = this.$refs.paged.model.condition
|
366
|
+
if (this.modalSearchData.f_last_check_state){
|
367
|
+
modalCondition += ` and tcpi.f_last_check_state = '${this.modalSearchData.f_last_check_state}'`
|
368
|
+
}
|
369
|
+
if (this.modalSearchData.f_user_name){
|
370
|
+
modalCondition += ` and tcpi.f_user_name = '${this.modalSearchData.f_user_name}'`
|
371
|
+
}
|
372
|
+
if (this.modalSearchData.f_user_type){
|
373
|
+
modalCondition += ` and tcpi.f_user_type = '${this.modalSearchData.f_user_type}'`
|
374
|
+
}
|
375
|
+
if (this.modalSearchData.start_time){
|
376
|
+
modalCondition += ` and tcp.f_create_time >= '${this.modalSearchData.start_time}'`
|
377
|
+
}
|
378
|
+
if (this.modalSearchData.end_time){
|
379
|
+
modalCondition += ` and tcp.f_create_time <= '${this.modalSearchData.end_time}'`
|
380
|
+
}
|
381
|
+
if (this.modalSearchData.f_userinfo_code){
|
382
|
+
modalCondition += ` and tcpi.f_userinfo_code = '${this.modalSearchData.f_userinfo_code}'`
|
383
|
+
}
|
384
|
+
if (this.modalSearchData.f_address){
|
385
|
+
modalCondition += ` and tcpi.f_address = '${this.modalSearchData.f_address}'`
|
386
|
+
}
|
387
|
+
if (this.modalSearchData.f_user_phone){
|
388
|
+
modalCondition += ` and tcpi.f_user_phone = '${this.modalSearchData.f_user_phone}'`
|
389
|
+
}
|
390
|
+
if (this.modalSearchData.f_checker){
|
391
|
+
modalCondition += ` and tcp.f_checker = '${this.modalSearchData.f_checker}'`
|
392
|
+
}
|
393
|
+
if (this.modalSearchData.f_check_version){
|
394
|
+
modalCondition += ` and tcpi.f_check_version = '${this.modalSearchData.f_check_version}'`
|
395
|
+
}
|
396
|
+
modalCondition += ` and tcpi.f_residential_area = '${this.modalRow.f_residential_area}'`
|
397
|
+
if (this.type == '0') {
|
398
|
+
modalCondition += ` and tcp.f_safecheck_type = '临时安检'`
|
399
|
+
}
|
400
|
+
this.modalModel.search(modalCondition, this.modalModel)
|
401
|
+
},
|
402
|
+
async selfSearch(args) {
|
403
|
+
await this.model.search(args.condition, args.model, args.condValue)
|
404
|
+
this.searchData.condition = args.condition
|
405
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
406
|
+
this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
|
407
|
+
this.print_model.rows.push({
|
408
|
+
f_residential_area:'合计',
|
409
|
+
totalcount: this.sumsmodel.totalcount,
|
410
|
+
wjcount: this.sumsmodel.wjcount,
|
411
|
+
yjcount: this.sumsmodel.yjcount,
|
412
|
+
rhcount: this.sumsmodel.rhcount,
|
413
|
+
dfbycount1: this.sumsmodel.dfbycount1,
|
414
|
+
dfbycount2: this.sumsmodel.dfbycount2,
|
415
|
+
dfbycount3: this.sumsmodel.dfbycount3,
|
416
|
+
unique_dfby_count: this.sumsmodel.unique_dfby_count,
|
417
|
+
check_bv:`${((this.sumsmodel.yjcount / this.sumsmodel.totalcount)*100.0).toFixed(2)}%`,
|
418
|
+
sqajcount: this.sumsmodel.sqajcount,
|
419
|
+
ruhucount: this.sumsmodel.ruhucount
|
420
|
+
})
|
421
|
+
this.print_model.totalPage = 0
|
422
|
+
},
|
423
|
+
getRes(obj) {
|
424
|
+
//tag
|
425
|
+
this.resids = {res: obj.res[0], resids: obj.resids[0]}
|
426
|
+
this.model.f_filialeids = this.$login.convertToIn(obj.resids);
|
427
|
+
},
|
428
|
+
// 打印
|
429
|
+
stamp() {
|
430
|
+
this.printshow = true
|
431
|
+
},
|
432
|
+
close() {
|
433
|
+
this.printshow = false
|
434
|
+
}
|
435
|
+
},
|
436
|
+
computed: {
|
437
|
+
getstart() {
|
438
|
+
return `开始时间:${this.$refs.paged.$refs.criteria.model.start_time} 结束时间:${this.$refs.paged.$refs.criteria.model.end_time}`
|
439
|
+
},
|
440
|
+
}
|
441
|
+
}
|
442
|
+
</script>
|
443
|
+
|
444
|
+
<style scoped>
|
445
|
+
|
446
|
+
</style>
|