manage-client 3.2.211 → 3.2.213
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/filiale/WEINAN/CancellationQuery.vue +0 -2
- package/src/filiale/shanxian/AreaGeneralQuery.vue +690 -430
- package/src/main.js +1 -1
- package/yarn-error.log +7659 -0
|
@@ -3,135 +3,203 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
-
<criteria
|
|
7
|
-
|
|
6
|
+
<criteria
|
|
7
|
+
partial="criteria"
|
|
8
|
+
@condition-changed="$parent.selfSearch"
|
|
9
|
+
v-ref:cri
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
novalidate
|
|
13
|
+
class="form-horizontal select-overspread container-fluid auto"
|
|
14
|
+
partial
|
|
15
|
+
>
|
|
8
16
|
<div class="row">
|
|
9
17
|
<div class="col-sm-2 form-group">
|
|
10
|
-
<label for="startDate" class="font_normal_body"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
<label for="startDate" class="font_normal_body"
|
|
19
|
+
>开始日期</label
|
|
20
|
+
>
|
|
21
|
+
<datepicker
|
|
22
|
+
id="startDate"
|
|
23
|
+
placeholder="开始日期"
|
|
24
|
+
style="width: 60%"
|
|
25
|
+
v-model="model.startDate"
|
|
26
|
+
:value.sync="model.startDate"
|
|
27
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
28
|
+
:show-reset-button="true"
|
|
16
29
|
>
|
|
17
30
|
</datepicker>
|
|
18
31
|
</div>
|
|
19
32
|
<div class="col-sm-2 form-group">
|
|
20
33
|
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
21
|
-
<datepicker
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
34
|
+
<datepicker
|
|
35
|
+
id="endDate"
|
|
36
|
+
placeholder="结束日期"
|
|
37
|
+
style="width: 60%"
|
|
38
|
+
v-model="model.endDate"
|
|
39
|
+
:value.sync="model.endDate"
|
|
40
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
41
|
+
:show-reset-button="true"
|
|
26
42
|
>
|
|
27
43
|
</datepicker>
|
|
28
44
|
</div>
|
|
29
45
|
<div class="col-sm-2 form-group">
|
|
30
|
-
<label class="font_normal_body"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
46
|
+
<label class="font_normal_body"
|
|
47
|
+
> 小区 </label
|
|
48
|
+
>
|
|
49
|
+
<v-select
|
|
50
|
+
:value.sync="model.f_residential_area"
|
|
51
|
+
class="select_list select"
|
|
52
|
+
enter-push
|
|
53
|
+
multiple
|
|
54
|
+
condition="f_residential_area in {}"
|
|
55
|
+
v-model="model.f_residential_area"
|
|
56
|
+
style="width: 60%"
|
|
57
|
+
:options="$parent.$parent.residentialArea"
|
|
58
|
+
placeholder="选择小区"
|
|
59
|
+
close-on-select
|
|
60
|
+
>
|
|
41
61
|
</v-select>
|
|
42
62
|
</div>
|
|
43
63
|
<div class="col-sm-2 form-group">
|
|
44
|
-
<label class="font_normal_body" title="旧客户编号"
|
|
45
|
-
|
|
46
|
-
|
|
64
|
+
<label class="font_normal_body" title="旧客户编号"
|
|
65
|
+
>档案编号</label
|
|
66
|
+
>
|
|
67
|
+
<input
|
|
68
|
+
type="text"
|
|
69
|
+
style="width: 60%"
|
|
70
|
+
class="input_search"
|
|
71
|
+
v-model="model.f_olduserinfo_code"
|
|
72
|
+
condition="f_olduserinfo_code = '{}' "
|
|
73
|
+
placeholder="档案编号"
|
|
74
|
+
/>
|
|
47
75
|
</div>
|
|
48
76
|
<!--<div class="col-sm-2 form-group">-->
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
77
|
+
<!--<label class="font_normal_body">客户编号</label>-->
|
|
78
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"-->
|
|
79
|
+
<!--condition="f_userinfo_code = '{}' " placeholder="客户编号">-->
|
|
52
80
|
<!--</div>-->
|
|
53
81
|
<!--<div class="col-sm-2 form-group">-->
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
82
|
+
<!--<label class="font_normal_body">客户名称</label>-->
|
|
83
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
|
|
84
|
+
<!--condition="f_user_name like '%{}%'" placeholder="客户名称">-->
|
|
57
85
|
<!--</div>-->
|
|
58
86
|
|
|
59
|
-
<div class="span" style="float:right
|
|
87
|
+
<div class="span" style="float: right">
|
|
60
88
|
<!--<read-idcard></read-idcard>-->
|
|
61
|
-
<button
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
89
|
+
<button
|
|
90
|
+
class="button_search button_spacing"
|
|
91
|
+
@click="search()"
|
|
92
|
+
>
|
|
93
|
+
查询
|
|
94
|
+
</button>
|
|
95
|
+
<button
|
|
96
|
+
class="button_clear button_spacing"
|
|
97
|
+
@click="$parent.$parent.clear()"
|
|
98
|
+
>
|
|
99
|
+
清空
|
|
100
|
+
</button>
|
|
101
|
+
<export-excel
|
|
102
|
+
:data="$parent.$parent.getCondition"
|
|
103
|
+
:field="$parent.$parent.getfield"
|
|
104
|
+
:footer="$parent.$parent.footer"
|
|
105
|
+
:header="$parent.$parent.other"
|
|
106
|
+
sqlurl="rs/logic/exportfile"
|
|
107
|
+
sql-name="areaGeneralQuery"
|
|
108
|
+
template-name="小区综合查询导出"
|
|
109
|
+
:choose-col="true"
|
|
110
|
+
></export-excel>
|
|
111
|
+
<print-data
|
|
112
|
+
:sum-field="$parent.$parent.getfield"
|
|
113
|
+
:model="$parent.model"
|
|
114
|
+
:field="$parent.$parent.getfield"
|
|
115
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
116
|
+
titletable="小区综合查询导出"
|
|
117
|
+
:sumsmodel="$parent.$parent.sumsmodel"
|
|
118
|
+
></print-data>
|
|
75
119
|
<!--<print-data :model="$parent.model" :field="$parent.$parent.getfield"-->
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<div
|
|
120
|
+
<!--:defaultfield="$parent.$parent.defaultfield" print-name="收费查询"-->
|
|
121
|
+
<!--:sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
|
|
122
|
+
<div
|
|
123
|
+
style="float: right"
|
|
124
|
+
class="button_spacing"
|
|
125
|
+
:class="{
|
|
126
|
+
button_shrink_top: $parent.$parent.criteriaShow,
|
|
127
|
+
button_shrink_bottom: !$parent.$parent.criteriaShow,
|
|
128
|
+
}"
|
|
129
|
+
@click="$parent.$parent.hidden()"
|
|
130
|
+
></div>
|
|
79
131
|
</div>
|
|
80
132
|
</div>
|
|
81
133
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
82
|
-
<res-select-group
|
|
134
|
+
<res-select-group
|
|
135
|
+
:initres="$parent.$parent.initres"
|
|
136
|
+
@re-res="$parent.$parent.getRes"
|
|
137
|
+
v-ref:sel
|
|
138
|
+
></res-select-group>
|
|
83
139
|
<!--<div class="col-sm-2 form-group">-->
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
140
|
+
<!--<label class="font_normal_body">客户电话</label>-->
|
|
141
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"-->
|
|
142
|
+
<!--condition="f_user_phone like '%{}%'" placeholder="客户电话">-->
|
|
87
143
|
<!--</div>-->
|
|
88
144
|
<!--<div class="col-sm-2 form-group">-->
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
145
|
+
<!--<label class="font_normal_body">身份证号</label>-->
|
|
146
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
|
|
147
|
+
<!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
|
|
92
148
|
<!--</div>-->
|
|
93
149
|
<!--<div class="col-sm-2 form-group">-->
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
150
|
+
<!--<label class="font_normal_body">客户地址</label>-->
|
|
151
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_address"-->
|
|
152
|
+
<!--condition="f_address like '%{}%'" placeholder='客户地址'>-->
|
|
97
153
|
<!--</div>-->
|
|
98
154
|
<div class="col-sm-2 form-group">
|
|
99
155
|
<label class="font_normal_body">客户类型</label>
|
|
100
|
-
<v-select
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
156
|
+
<v-select
|
|
157
|
+
:value.sync="model.f_user_type"
|
|
158
|
+
@change="$parent.$parent.userTypeChange()"
|
|
159
|
+
:options="$parent.$parent.usertypes"
|
|
160
|
+
placeholder="请选择"
|
|
161
|
+
v-model="model.f_user_type"
|
|
162
|
+
condition="f_user_type = '{}'"
|
|
163
|
+
close-on-select
|
|
164
|
+
></v-select>
|
|
105
165
|
</div>
|
|
106
166
|
<div class="col-sm-2 form-group">
|
|
107
167
|
<label class="font_normal_body">用气性质</label>
|
|
108
|
-
<v-select
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
168
|
+
<v-select
|
|
169
|
+
:value.sync="model.f_gasproperties"
|
|
170
|
+
v-model="model.f_gasproperties"
|
|
171
|
+
:options="$parent.$parent.gasproperties"
|
|
172
|
+
placeholder="请选择"
|
|
173
|
+
condition="f_gasproperties = '{}'"
|
|
174
|
+
close-on-select
|
|
175
|
+
></v-select>
|
|
112
176
|
</div>
|
|
113
177
|
<!--<div class="col-sm-2 form-group">-->
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
178
|
+
<!--<label class="font_normal_body">气表类型</label>-->
|
|
179
|
+
<!--<v-select :value.sync="model.f_meter_type" multiple-->
|
|
180
|
+
<!--:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"-->
|
|
181
|
+
<!--condition="f_meter_type in {}"-->
|
|
182
|
+
<!--close-on-select></v-select>-->
|
|
119
183
|
<!--</div>-->
|
|
120
184
|
<!--<div class="col-sm-2 form-group">-->
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
185
|
+
<!--<label class="font_normal_body">气表品牌</label>-->
|
|
186
|
+
<!--<v-select :value.sync="model.f_meter_brand" multiple-->
|
|
187
|
+
<!--v-model="model.f_meter_brand"-->
|
|
188
|
+
<!--:options='$parent.$parent.meterbrands' placeholder='请选择'-->
|
|
189
|
+
<!--condition="f_meter_brand in {}"-->
|
|
190
|
+
<!--close-on-select></v-select>-->
|
|
127
191
|
<!--</div>-->
|
|
128
|
-
|
|
129
192
|
</div>
|
|
130
193
|
</div>
|
|
131
194
|
</criteria>
|
|
132
195
|
|
|
133
|
-
<data-grid
|
|
134
|
-
|
|
196
|
+
<data-grid
|
|
197
|
+
:model="model"
|
|
198
|
+
partial="list"
|
|
199
|
+
class="list_area table_sy"
|
|
200
|
+
v-ref:grid
|
|
201
|
+
>
|
|
202
|
+
<template partial="head">
|
|
135
203
|
<tr>
|
|
136
204
|
<th rowspan="2">
|
|
137
205
|
<nobr>序号</nobr>
|
|
@@ -145,9 +213,9 @@
|
|
|
145
213
|
<th rowspan="2">
|
|
146
214
|
<nobr>总户数</nobr>
|
|
147
215
|
</th>
|
|
148
|
-
<!-- <th colspan="4">-->
|
|
149
|
-
<!-- <nobr>机表(抄表情况)</nobr>-->
|
|
150
|
-
<!-- </th>-->
|
|
216
|
+
<!-- <th colspan="4">-->
|
|
217
|
+
<!-- <nobr>机表(抄表情况)</nobr>-->
|
|
218
|
+
<!-- </th>-->
|
|
151
219
|
<th colspan="4">
|
|
152
220
|
<nobr>物联网表(用气情况)</nobr>
|
|
153
221
|
</th>
|
|
@@ -183,7 +251,7 @@
|
|
|
183
251
|
<th>
|
|
184
252
|
<nobr>实收</nobr>
|
|
185
253
|
</th>
|
|
186
|
-
<th
|
|
254
|
+
<th>
|
|
187
255
|
<nobr>户数</nobr>
|
|
188
256
|
</th>
|
|
189
257
|
<th>
|
|
@@ -195,7 +263,7 @@
|
|
|
195
263
|
<th>
|
|
196
264
|
<nobr>实收</nobr>
|
|
197
265
|
</th>
|
|
198
|
-
<th title="用气户数">
|
|
266
|
+
<!-- <th title="用气户数">
|
|
199
267
|
<nobr>户数</nobr>
|
|
200
268
|
</th>
|
|
201
269
|
<th>
|
|
@@ -206,428 +274,620 @@
|
|
|
206
274
|
</th>
|
|
207
275
|
<th>
|
|
208
276
|
<nobr>实收</nobr>
|
|
209
|
-
</th>
|
|
277
|
+
</th> -->
|
|
210
278
|
</tr>
|
|
211
279
|
</template>
|
|
212
|
-
<template partial=
|
|
213
|
-
<td style="text-align:center">
|
|
214
|
-
<nobr>{{$index+1}}</nobr>
|
|
280
|
+
<template partial="body">
|
|
281
|
+
<td style="text-align: center">
|
|
282
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
215
283
|
</td>
|
|
216
|
-
<td style="text-align: center
|
|
217
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
284
|
+
<td style="text-align: center">
|
|
285
|
+
<nobr>{{ row.f_residential_area }}</nobr>
|
|
218
286
|
</td>
|
|
219
|
-
<td style="text-align: center
|
|
220
|
-
<nobr>{{row.f_zhengchang}}</nobr>
|
|
287
|
+
<td style="text-align: center">
|
|
288
|
+
<nobr>{{ row.f_zhengchang }}</nobr>
|
|
221
289
|
</td>
|
|
222
|
-
<td style="text-align: center
|
|
223
|
-
<nobr>{{row.f_tingyong}}</nobr>
|
|
290
|
+
<td style="text-align: center">
|
|
291
|
+
<nobr>{{ row.f_tingyong }}</nobr>
|
|
224
292
|
</td>
|
|
225
|
-
<td style="text-align: center
|
|
226
|
-
<nobr>{{row.f_daikaitong}}</nobr>
|
|
293
|
+
<td style="text-align: center">
|
|
294
|
+
<nobr>{{ row.f_daikaitong }}</nobr>
|
|
227
295
|
</td>
|
|
228
|
-
<td style="text-align: center
|
|
229
|
-
<nobr>{{row.f_yichang}}</nobr>
|
|
296
|
+
<td style="text-align: center">
|
|
297
|
+
<nobr>{{ row.f_yichang }}</nobr>
|
|
230
298
|
</td>
|
|
231
299
|
|
|
232
|
-
<td style="text-align: center
|
|
233
|
-
<nobr>{{row.f_user_number}}</nobr>
|
|
300
|
+
<td style="text-align: center">
|
|
301
|
+
<nobr>{{ row.f_user_number }}</nobr>
|
|
234
302
|
</td>
|
|
235
303
|
|
|
236
|
-
<!-- <td style="text-align: center;">-->
|
|
237
|
-
<!-- <nobr>{{row.f_jibiao}}</nobr>-->
|
|
238
|
-
<!-- </td>-->
|
|
239
|
-
<!-- <td style="text-align: center;">-->
|
|
240
|
-
<!-- <nobr>{{row.f_oughtamount}}</nobr>-->
|
|
241
|
-
<!-- </td>-->
|
|
242
|
-
<!-- <td style="text-align: center;">-->
|
|
243
|
-
<!-- <nobr>{{row.f_oughtfee}}</nobr>-->
|
|
244
|
-
<!-- </td>-->
|
|
245
|
-
<!-- <td style="text-align: center;">-->
|
|
246
|
-
<!-- <nobr>{{row.f_collection_hand}}</nobr>-->
|
|
247
|
-
<!-- </td>-->
|
|
304
|
+
<!-- <td style="text-align: center;">-->
|
|
305
|
+
<!-- <nobr>{{row.f_jibiao}}</nobr>-->
|
|
306
|
+
<!-- </td>-->
|
|
307
|
+
<!-- <td style="text-align: center;">-->
|
|
308
|
+
<!-- <nobr>{{row.f_oughtamount}}</nobr>-->
|
|
309
|
+
<!-- </td>-->
|
|
310
|
+
<!-- <td style="text-align: center;">-->
|
|
311
|
+
<!-- <nobr>{{row.f_oughtfee}}</nobr>-->
|
|
312
|
+
<!-- </td>-->
|
|
313
|
+
<!-- <td style="text-align: center;">-->
|
|
314
|
+
<!-- <nobr>{{row.f_collection_hand}}</nobr>-->
|
|
315
|
+
<!-- </td>-->
|
|
248
316
|
|
|
249
|
-
<td style="text-align: center
|
|
250
|
-
<nobr>{{row.f_wulian}}</nobr>
|
|
317
|
+
<td style="text-align: center">
|
|
318
|
+
<nobr>{{ row.f_wulian }}</nobr>
|
|
251
319
|
</td>
|
|
252
|
-
<td style="text-align: center
|
|
253
|
-
<nobr>{{row.f_oughtamount_web}}</nobr>
|
|
320
|
+
<td style="text-align: center">
|
|
321
|
+
<nobr>{{ row.f_oughtamount_web }}</nobr>
|
|
254
322
|
</td>
|
|
255
|
-
<td style="text-align: center
|
|
256
|
-
<nobr>{{row.f_oughtfee_web}}</nobr>
|
|
323
|
+
<td style="text-align: center">
|
|
324
|
+
<nobr>{{ row.f_oughtfee_web }}</nobr>
|
|
257
325
|
</td>
|
|
258
|
-
<td style="text-align: center
|
|
259
|
-
<nobr>{{row.f_collection_web}}</nobr>
|
|
326
|
+
<td style="text-align: center">
|
|
327
|
+
<nobr>{{ row.f_collection_web }}</nobr>
|
|
260
328
|
</td>
|
|
261
329
|
|
|
262
|
-
<td style="text-align: center
|
|
263
|
-
<nobr>{{row.f_kabiao}}</nobr>
|
|
330
|
+
<td style="text-align: center">
|
|
331
|
+
<nobr>{{ row.f_kabiao }}</nobr>
|
|
264
332
|
</td>
|
|
265
|
-
<td style="text-align: center
|
|
266
|
-
<nobr>{{row.f_pregas}}</nobr>
|
|
333
|
+
<td style="text-align: center">
|
|
334
|
+
<nobr>{{ row.f_pregas }}</nobr>
|
|
267
335
|
</td>
|
|
268
|
-
<td style="text-align: center
|
|
269
|
-
<nobr>{{row.f_preamount}}</nobr>
|
|
336
|
+
<td style="text-align: center">
|
|
337
|
+
<nobr>{{ row.f_preamount }}</nobr>
|
|
270
338
|
</td>
|
|
271
|
-
<td style="text-align: center
|
|
272
|
-
<nobr>{{row.f_collection_card}}</nobr>
|
|
339
|
+
<td style="text-align: center">
|
|
340
|
+
<nobr>{{ row.f_collection_card }}</nobr>
|
|
273
341
|
</td>
|
|
274
|
-
<td style="text-align: center
|
|
275
|
-
<nobr>{{row.f_collection}}</nobr>
|
|
342
|
+
<td style="text-align: center">
|
|
343
|
+
<nobr>{{ row.f_collection }}</nobr>
|
|
276
344
|
</td>
|
|
277
345
|
</template>
|
|
278
|
-
<template partial=
|
|
346
|
+
<template partial="foot"></template>
|
|
279
347
|
</data-grid>
|
|
280
348
|
</criteria-paged>
|
|
281
349
|
<table class="table-hover">
|
|
282
350
|
<tr style="position: relative" class="table-bordered">
|
|
283
351
|
<td
|
|
284
|
-
style="
|
|
352
|
+
style="
|
|
353
|
+
display: inline-block;
|
|
354
|
+
width: auto;
|
|
355
|
+
border-right: 1px solid #f2f6fa;
|
|
356
|
+
padding: 0px 10px 0px 10px;
|
|
357
|
+
color: #5cb95c;
|
|
358
|
+
font-weight: bold;
|
|
359
|
+
"
|
|
360
|
+
>
|
|
285
361
|
汇总信息
|
|
286
362
|
</td>
|
|
287
|
-
<td
|
|
288
|
-
|
|
363
|
+
<td
|
|
364
|
+
style="
|
|
365
|
+
display: inline-block;
|
|
366
|
+
width: auto;
|
|
367
|
+
border-right: 1px solid #f2f6fa;
|
|
368
|
+
padding: 0px 10px 0px 10px;
|
|
369
|
+
font-weight: bold;
|
|
370
|
+
"
|
|
371
|
+
>
|
|
372
|
+
户数合计: {{ sumsmodel.f_user_number }}
|
|
289
373
|
</td>
|
|
290
|
-
<td
|
|
291
|
-
|
|
374
|
+
<td
|
|
375
|
+
style="
|
|
376
|
+
display: inline-block;
|
|
377
|
+
width: auto;
|
|
378
|
+
border-right: 1px solid #f2f6fa;
|
|
379
|
+
padding: 0px 10px 0px 10px;
|
|
380
|
+
font-weight: bold;
|
|
381
|
+
"
|
|
382
|
+
>
|
|
383
|
+
正常合计: {{ sumsmodel.f_zhengchang }}
|
|
292
384
|
</td>
|
|
293
|
-
<td
|
|
294
|
-
|
|
385
|
+
<td
|
|
386
|
+
style="
|
|
387
|
+
display: inline-block;
|
|
388
|
+
width: auto;
|
|
389
|
+
border-right: 1px solid #f2f6fa;
|
|
390
|
+
padding: 0px 10px 0px 10px;
|
|
391
|
+
font-weight: bold;
|
|
392
|
+
"
|
|
393
|
+
>
|
|
394
|
+
停用合计: {{ sumsmodel.f_tingyong }}
|
|
295
395
|
</td>
|
|
296
|
-
<td
|
|
297
|
-
|
|
396
|
+
<td
|
|
397
|
+
style="
|
|
398
|
+
display: inline-block;
|
|
399
|
+
width: auto;
|
|
400
|
+
border-right: 1px solid #f2f6fa;
|
|
401
|
+
padding: 0px 10px 0px 10px;
|
|
402
|
+
font-weight: bold;
|
|
403
|
+
"
|
|
404
|
+
>
|
|
405
|
+
预备户合计: {{ sumsmodel.f_daikaitong }}
|
|
298
406
|
</td>
|
|
299
|
-
<td
|
|
300
|
-
|
|
407
|
+
<td
|
|
408
|
+
style="
|
|
409
|
+
display: inline-block;
|
|
410
|
+
width: auto;
|
|
411
|
+
border-right: 1px solid #f2f6fa;
|
|
412
|
+
padding: 0px 10px 0px 10px;
|
|
413
|
+
font-weight: bold;
|
|
414
|
+
"
|
|
415
|
+
>
|
|
416
|
+
销户合计: {{ sumsmodel.f_yichang }}
|
|
301
417
|
</td>
|
|
302
|
-
<td
|
|
303
|
-
|
|
418
|
+
<td
|
|
419
|
+
style="
|
|
420
|
+
display: inline-block;
|
|
421
|
+
width: auto;
|
|
422
|
+
border-right: 1px solid #f2f6fa;
|
|
423
|
+
padding: 0px 10px 0px 10px;
|
|
424
|
+
font-weight: bold;
|
|
425
|
+
"
|
|
426
|
+
>
|
|
427
|
+
机表抄表户数合计: {{ sumsmodel.f_jibiao }}
|
|
304
428
|
</td>
|
|
305
|
-
<td
|
|
306
|
-
|
|
429
|
+
<td
|
|
430
|
+
style="
|
|
431
|
+
display: inline-block;
|
|
432
|
+
width: auto;
|
|
433
|
+
border-right: 1px solid #f2f6fa;
|
|
434
|
+
padding: 0px 10px 0px 10px;
|
|
435
|
+
font-weight: bold;
|
|
436
|
+
"
|
|
437
|
+
>
|
|
438
|
+
机表抄表气量合计: {{ sumsmodel.f_oughtamount }}
|
|
307
439
|
</td>
|
|
308
|
-
<td
|
|
309
|
-
|
|
440
|
+
<td
|
|
441
|
+
style="
|
|
442
|
+
display: inline-block;
|
|
443
|
+
width: auto;
|
|
444
|
+
border-right: 1px solid #f2f6fa;
|
|
445
|
+
padding: 0px 10px 0px 10px;
|
|
446
|
+
font-weight: bold;
|
|
447
|
+
"
|
|
448
|
+
>
|
|
449
|
+
机表抄表金额合计: {{ sumsmodel.f_oughtfee }}
|
|
310
450
|
</td>
|
|
311
|
-
<td
|
|
312
|
-
|
|
451
|
+
<td
|
|
452
|
+
style="
|
|
453
|
+
display: inline-block;
|
|
454
|
+
width: auto;
|
|
455
|
+
border-right: 1px solid #f2f6fa;
|
|
456
|
+
padding: 0px 10px 0px 10px;
|
|
457
|
+
font-weight: bold;
|
|
458
|
+
"
|
|
459
|
+
>
|
|
460
|
+
机表实收金额合计: {{ sumsmodel.f_collection_hand }}
|
|
313
461
|
</td>
|
|
314
|
-
<td
|
|
315
|
-
|
|
462
|
+
<td
|
|
463
|
+
style="
|
|
464
|
+
display: inline-block;
|
|
465
|
+
width: auto;
|
|
466
|
+
border-right: 1px solid #f2f6fa;
|
|
467
|
+
padding: 0px 10px 0px 10px;
|
|
468
|
+
font-weight: bold;
|
|
469
|
+
"
|
|
470
|
+
>
|
|
471
|
+
物联用气户数合计: {{ sumsmodel.f_wulian }}
|
|
316
472
|
</td>
|
|
317
|
-
<td
|
|
318
|
-
|
|
473
|
+
<td
|
|
474
|
+
style="
|
|
475
|
+
display: inline-block;
|
|
476
|
+
width: auto;
|
|
477
|
+
border-right: 1px solid #f2f6fa;
|
|
478
|
+
padding: 0px 10px 0px 10px;
|
|
479
|
+
font-weight: bold;
|
|
480
|
+
"
|
|
481
|
+
>
|
|
482
|
+
物联用气量合计: {{ sumsmodel.f_oughtamount_web }}
|
|
319
483
|
</td>
|
|
320
|
-
<td
|
|
321
|
-
|
|
484
|
+
<td
|
|
485
|
+
style="
|
|
486
|
+
display: inline-block;
|
|
487
|
+
width: auto;
|
|
488
|
+
border-right: 1px solid #f2f6fa;
|
|
489
|
+
padding: 0px 10px 0px 10px;
|
|
490
|
+
font-weight: bold;
|
|
491
|
+
"
|
|
492
|
+
>
|
|
493
|
+
物联用气金额合计: {{ sumsmodel.f_oughtfee_web }}
|
|
322
494
|
</td>
|
|
323
|
-
<td
|
|
324
|
-
|
|
495
|
+
<td
|
|
496
|
+
style="
|
|
497
|
+
display: inline-block;
|
|
498
|
+
width: auto;
|
|
499
|
+
border-right: 1px solid #f2f6fa;
|
|
500
|
+
padding: 0px 10px 0px 10px;
|
|
501
|
+
font-weight: bold;
|
|
502
|
+
"
|
|
503
|
+
>
|
|
504
|
+
物联实收金额合计: {{ sumsmodel.f_collection_web }}
|
|
325
505
|
</td>
|
|
326
|
-
<td
|
|
327
|
-
|
|
506
|
+
<td
|
|
507
|
+
style="
|
|
508
|
+
display: inline-block;
|
|
509
|
+
width: auto;
|
|
510
|
+
border-right: 1px solid #f2f6fa;
|
|
511
|
+
padding: 0px 10px 0px 10px;
|
|
512
|
+
font-weight: bold;
|
|
513
|
+
"
|
|
514
|
+
>
|
|
515
|
+
卡表售气户数合计: {{ sumsmodel.f_kabiao }}
|
|
328
516
|
</td>
|
|
329
|
-
<td
|
|
330
|
-
|
|
517
|
+
<td
|
|
518
|
+
style="
|
|
519
|
+
display: inline-block;
|
|
520
|
+
width: auto;
|
|
521
|
+
border-right: 1px solid #f2f6fa;
|
|
522
|
+
padding: 0px 10px 0px 10px;
|
|
523
|
+
font-weight: bold;
|
|
524
|
+
"
|
|
525
|
+
>
|
|
526
|
+
卡表售气量合计: {{ sumsmodel.f_pregas }}
|
|
331
527
|
</td>
|
|
332
|
-
<td
|
|
333
|
-
|
|
528
|
+
<td
|
|
529
|
+
style="
|
|
530
|
+
display: inline-block;
|
|
531
|
+
width: auto;
|
|
532
|
+
border-right: 1px solid #f2f6fa;
|
|
533
|
+
padding: 0px 10px 0px 10px;
|
|
534
|
+
font-weight: bold;
|
|
535
|
+
"
|
|
536
|
+
>
|
|
537
|
+
卡表售气金额合计: {{ sumsmodel.f_preamount }}
|
|
334
538
|
</td>
|
|
335
|
-
<td
|
|
336
|
-
|
|
539
|
+
<td
|
|
540
|
+
style="
|
|
541
|
+
display: inline-block;
|
|
542
|
+
width: auto;
|
|
543
|
+
border-right: 1px solid #f2f6fa;
|
|
544
|
+
padding: 0px 10px 0px 10px;
|
|
545
|
+
font-weight: bold;
|
|
546
|
+
"
|
|
547
|
+
>
|
|
548
|
+
卡表实收金额合计: {{ sumsmodel.f_collection_card }}
|
|
337
549
|
</td>
|
|
338
|
-
<td
|
|
339
|
-
|
|
550
|
+
<td
|
|
551
|
+
style="
|
|
552
|
+
display: inline-block;
|
|
553
|
+
width: auto;
|
|
554
|
+
border-right: 1px solid #f2f6fa;
|
|
555
|
+
padding: 0px 10px 0px 10px;
|
|
556
|
+
font-weight: bold;
|
|
557
|
+
"
|
|
558
|
+
>
|
|
559
|
+
总实收金额合计: {{ sumsmodel.f_collection }}
|
|
340
560
|
</td>
|
|
341
561
|
</tr>
|
|
342
562
|
</table>
|
|
343
563
|
</div>
|
|
344
564
|
<!--<div v-if="show">-->
|
|
345
|
-
|
|
565
|
+
<!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
|
|
346
566
|
<!--</div>-->
|
|
347
567
|
</div>
|
|
348
568
|
</div>
|
|
349
569
|
</template>
|
|
350
570
|
|
|
351
571
|
<script>
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
let readySomething = async function (self) {
|
|
356
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
357
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
358
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
359
|
-
// self.$refs.paged.$refs.cri.search()
|
|
360
|
-
// self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
361
|
-
await self.$MagLoadParams.loadParam()
|
|
362
|
-
self.initParams()
|
|
363
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
364
|
-
}
|
|
365
|
-
export default {
|
|
366
|
-
title: '小区综合查询',
|
|
367
|
-
data() {
|
|
368
|
-
return {
|
|
572
|
+
import { HttpResetClass, PagedList } from "vue-client";
|
|
573
|
+
import exportConfig from "./config/exportConfig";
|
|
369
574
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
575
|
+
let readySomething = async function (self) {
|
|
576
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint];
|
|
577
|
+
self.$refs.paged.$refs.cri.model.startDate =
|
|
578
|
+
self.$login.toStandardDateString() + " 00:00:00";
|
|
579
|
+
self.$refs.paged.$refs.cri.model.endDate =
|
|
580
|
+
self.$login.toStandardDateString() + " 23:59:59";
|
|
581
|
+
// self.$refs.paged.$refs.cri.search()
|
|
582
|
+
// self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
583
|
+
await self.$MagLoadParams.loadParam();
|
|
584
|
+
self.initParams();
|
|
585
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
586
|
+
};
|
|
587
|
+
export default {
|
|
588
|
+
title: "小区综合查询",
|
|
589
|
+
data() {
|
|
590
|
+
return {
|
|
591
|
+
//默认打印列
|
|
592
|
+
defaultfield: [],
|
|
593
|
+
config: {
|
|
594
|
+
defaultPrint: ["f_yichang", "f_collection_hand", "f_preamount"],
|
|
595
|
+
},
|
|
596
|
+
other: [],
|
|
597
|
+
footer: [],
|
|
598
|
+
//f_price_name:[],
|
|
599
|
+
gasproperties: [],
|
|
600
|
+
showinfo: false,
|
|
601
|
+
data: {},
|
|
602
|
+
show: false,
|
|
603
|
+
rowdata: {},
|
|
604
|
+
initres: {
|
|
605
|
+
org: [this.$login.f.orgid],
|
|
606
|
+
dep: [],
|
|
607
|
+
user: [],
|
|
608
|
+
},
|
|
609
|
+
model: new PagedList(
|
|
610
|
+
"rs/sql/areaGeneralQuery",
|
|
611
|
+
20,
|
|
612
|
+
{ startDate: "this.model.startDate", endDate: "this.model.endDate" },
|
|
613
|
+
{
|
|
389
614
|
f_user_number: 0,
|
|
390
615
|
f_zhengchang: 0,
|
|
391
616
|
f_tingyong: 0,
|
|
392
617
|
f_daikaitong: 0,
|
|
393
|
-
f_yichang
|
|
618
|
+
f_yichang: 0,
|
|
394
619
|
f_jibiao: 0,
|
|
395
620
|
f_oughtamount: 0,
|
|
396
|
-
f_oughtfee:0,
|
|
397
|
-
f_collection_hand:0,
|
|
398
|
-
f_wulian:0,
|
|
399
|
-
f_oughtamount_web:0,
|
|
400
|
-
f_oughtfee_web:0,
|
|
401
|
-
f_collection_web:0,
|
|
402
|
-
f_kabiao:0,
|
|
403
|
-
f_pregas:0,
|
|
404
|
-
f_preamount:0,
|
|
405
|
-
f_collection_card:0,
|
|
406
|
-
f_collection: 0
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
|
|
621
|
+
f_oughtfee: 0,
|
|
622
|
+
f_collection_hand: 0,
|
|
623
|
+
f_wulian: 0,
|
|
624
|
+
f_oughtamount_web: 0,
|
|
625
|
+
f_oughtfee_web: 0,
|
|
626
|
+
f_collection_web: 0,
|
|
627
|
+
f_kabiao: 0,
|
|
628
|
+
f_pregas: 0,
|
|
629
|
+
f_preamount: 0,
|
|
630
|
+
f_collection_card: 0,
|
|
631
|
+
f_collection: 0,
|
|
632
|
+
}
|
|
633
|
+
),
|
|
634
|
+
criteriaShow: false,
|
|
635
|
+
// 下拉框
|
|
636
|
+
meterbrands: [],
|
|
637
|
+
pricenames: [],
|
|
638
|
+
prices: [],
|
|
639
|
+
area: [],
|
|
640
|
+
orgCondtionStr: "(" + this.$login.f.orgid + ")",
|
|
641
|
+
//小区
|
|
642
|
+
residentialArea: [],
|
|
643
|
+
sumsmodel: {},
|
|
644
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
645
|
+
};
|
|
646
|
+
},
|
|
647
|
+
ready() {
|
|
648
|
+
this.getaddress();
|
|
423
649
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
this.$emit('error', error)
|
|
650
|
+
readySomething(this)
|
|
651
|
+
.then(() => {
|
|
652
|
+
this.$emit("ready");
|
|
428
653
|
})
|
|
654
|
+
.catch((error) => {
|
|
655
|
+
this.$emit("error", error);
|
|
656
|
+
});
|
|
657
|
+
},
|
|
658
|
+
methods: {
|
|
659
|
+
getRes(obj) {
|
|
660
|
+
this.orgCondtionStr = obj;
|
|
429
661
|
},
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
footerData.push(
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
662
|
+
getotherfooter() {
|
|
663
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
664
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
665
|
+
this.other = [];
|
|
666
|
+
this.footer = [];
|
|
667
|
+
let exportdata = this.getCondition;
|
|
668
|
+
let otherInData = [];
|
|
669
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
670
|
+
let footerData = [],
|
|
671
|
+
exportfield = this.getfield;
|
|
672
|
+
footerData.push("合计");
|
|
673
|
+
let self = this;
|
|
674
|
+
for (var field in self.sumsmodel) {
|
|
675
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
676
|
+
}
|
|
677
|
+
this.footer.push(footerData);
|
|
678
|
+
this.other.push(otherInData);
|
|
679
|
+
},
|
|
680
|
+
async getaddress() {
|
|
681
|
+
console.log("开始获取小区");
|
|
682
|
+
let HttpReset = new HttpResetClass();
|
|
683
|
+
var data = await HttpReset.load(
|
|
684
|
+
"POST",
|
|
685
|
+
"rs/sql/manage_getarealist",
|
|
686
|
+
{
|
|
455
687
|
data: {
|
|
456
|
-
condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
688
|
+
condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`,
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
{ resolveMsg: null, rejectMsg: "获取小区失败!" }
|
|
692
|
+
);
|
|
693
|
+
console.log("小区", data);
|
|
694
|
+
let house = [{ label: "全部", value: "" }];
|
|
695
|
+
for (let row of data.data) {
|
|
696
|
+
console.log("开始保存小区");
|
|
697
|
+
house.push({
|
|
698
|
+
label: row.f_residential_area,
|
|
699
|
+
value: row.f_residential_area,
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
this.residentialArea = house;
|
|
703
|
+
},
|
|
470
704
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
705
|
+
//把数据库查询数据转换为下拉数据
|
|
706
|
+
calculate(rows) {
|
|
707
|
+
let data = [];
|
|
708
|
+
rows.forEach((row, n) => {
|
|
709
|
+
data[n] = { label: row.f_residential_area, value: row.id };
|
|
710
|
+
});
|
|
711
|
+
return data;
|
|
712
|
+
},
|
|
479
713
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
714
|
+
search() {
|
|
715
|
+
this.$refs.paged.$refs.cri.search();
|
|
716
|
+
},
|
|
717
|
+
cancel() {
|
|
718
|
+
this.show = false;
|
|
719
|
+
},
|
|
720
|
+
showmsg(obj) {
|
|
721
|
+
this.rowdata = obj;
|
|
722
|
+
this.show = true;
|
|
723
|
+
},
|
|
724
|
+
userTypeChange() {
|
|
725
|
+
this.gasproperties = [];
|
|
726
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
727
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = "";
|
|
494
728
|
|
|
495
729
|
// console.log("查看客户类型",this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
initParams() {
|
|
504
|
-
// 初始化气表品牌
|
|
505
|
-
let brandArr = []
|
|
506
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
507
|
-
let temp = {}
|
|
508
|
-
temp.label = item.label
|
|
509
|
-
temp.value = item.value.f_meter_brand
|
|
510
|
-
brandArr.push(temp)
|
|
511
|
-
})
|
|
512
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
513
|
-
//初始化气表价格
|
|
514
|
-
this.prices = this.$MagGetSaleParam.getPrices();
|
|
515
|
-
},
|
|
516
|
-
selfSearch(args) {
|
|
517
|
-
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
|
|
518
|
-
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
519
|
-
} else {
|
|
520
|
-
let f_orgstr = this.orgCondtionStr
|
|
521
|
-
args.condition = `${args.condition} ` + f_orgstr
|
|
522
|
-
this.model.search(args.condition, args.model)
|
|
523
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
clear() {
|
|
527
|
-
//清空部门和人员
|
|
528
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
529
|
-
//部门和人员变为全选
|
|
530
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
531
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
532
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
533
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
534
|
-
})
|
|
535
|
-
|
|
536
|
-
},
|
|
537
|
-
dealmsg(val) {
|
|
538
|
-
val.model = this.model.model
|
|
539
|
-
this.$dispatch('deal-msg', val)
|
|
540
|
-
},
|
|
541
|
-
show() {
|
|
542
|
-
this.criteriaShow = true
|
|
543
|
-
},
|
|
544
|
-
hidden() {
|
|
545
|
-
this.criteriaShow = !this.criteriaShow
|
|
546
|
-
},
|
|
547
|
-
|
|
548
|
-
async updateParams() {
|
|
549
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
550
|
-
this.initParams()
|
|
730
|
+
this.gasproperties = this.$appdata.getParam(
|
|
731
|
+
this.$refs.paged.$refs.cri.model.f_user_type[0]
|
|
732
|
+
);
|
|
733
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
734
|
+
} else {
|
|
735
|
+
this.gasproperties = [{ label: "全部", value: "" }];
|
|
551
736
|
}
|
|
737
|
+
},
|
|
738
|
+
initParams() {
|
|
739
|
+
// 初始化气表品牌
|
|
740
|
+
let brandArr = [];
|
|
741
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
742
|
+
let temp = {};
|
|
743
|
+
temp.label = item.label;
|
|
744
|
+
temp.value = item.value.f_meter_brand;
|
|
745
|
+
brandArr.push(temp);
|
|
746
|
+
});
|
|
747
|
+
this.meterbrands = [{ label: "全部", value: "" }, ...brandArr];
|
|
748
|
+
//初始化气表价格
|
|
749
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
750
|
+
},
|
|
751
|
+
selfSearch(args) {
|
|
752
|
+
if (
|
|
753
|
+
this.$refs.paged.$refs.cri.model.startDate === "" ||
|
|
754
|
+
this.$refs.paged.$refs.cri.model.endDate === ""
|
|
755
|
+
) {
|
|
756
|
+
this.$showAlert(
|
|
757
|
+
"请先选择开始时间、结束时间,再进行查询操作!",
|
|
758
|
+
"warning",
|
|
759
|
+
3000
|
|
760
|
+
);
|
|
761
|
+
} else {
|
|
762
|
+
let f_orgstr = this.orgCondtionStr;
|
|
763
|
+
args.condition = `${args.condition} ` + f_orgstr;
|
|
764
|
+
this.model.search(args.condition, args.model);
|
|
765
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
clear() {
|
|
769
|
+
//清空部门和人员
|
|
770
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = [];
|
|
771
|
+
//部门和人员变为全选
|
|
772
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false;
|
|
773
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false;
|
|
774
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
775
|
+
this.$refs.paged.$refs.cri.model[key] = [];
|
|
776
|
+
});
|
|
777
|
+
},
|
|
778
|
+
dealmsg(val) {
|
|
779
|
+
val.model = this.model.model;
|
|
780
|
+
this.$dispatch("deal-msg", val);
|
|
781
|
+
},
|
|
782
|
+
show() {
|
|
783
|
+
this.criteriaShow = true;
|
|
784
|
+
},
|
|
785
|
+
hidden() {
|
|
786
|
+
this.criteriaShow = !this.criteriaShow;
|
|
787
|
+
},
|
|
552
788
|
|
|
789
|
+
async updateParams() {
|
|
790
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid);
|
|
791
|
+
this.initParams();
|
|
553
792
|
},
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
793
|
+
},
|
|
794
|
+
events: {
|
|
795
|
+
getidcard(IdCard) {
|
|
796
|
+
console.log("IdCard-===");
|
|
797
|
+
console.log(IdCard);
|
|
798
|
+
// console.log(param)
|
|
799
|
+
this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID;
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
watch: {
|
|
803
|
+
model(val) {},
|
|
804
|
+
orgCondtionStr(val) {
|
|
805
|
+
let res = val.match(/'(.*?)'/);
|
|
806
|
+
console.log("正则提取:", res && res[1]);
|
|
807
|
+
if (res) {
|
|
808
|
+
this.f_filialeid = res[1];
|
|
809
|
+
this.updateParams();
|
|
560
810
|
}
|
|
561
811
|
},
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
'orgCondtionStr'(val) {
|
|
566
|
-
let res = val.match(/'(.*?)'/)
|
|
567
|
-
console.log('正则提取:',res && res[1])
|
|
568
|
-
if (res) {
|
|
569
|
-
this.f_filialeid = res[1]
|
|
570
|
-
this.updateParams()
|
|
571
|
-
}
|
|
812
|
+
sumsmodel: {
|
|
813
|
+
handler: function (val) {
|
|
814
|
+
this.getotherfooter();
|
|
572
815
|
},
|
|
573
|
-
|
|
574
|
-
handler: function(val) {
|
|
575
|
-
this.getotherfooter();
|
|
576
|
-
},
|
|
577
|
-
deep: true
|
|
578
|
-
}
|
|
816
|
+
deep: true,
|
|
579
817
|
},
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
this
|
|
608
|
-
}
|
|
609
|
-
|
|
818
|
+
},
|
|
819
|
+
computed: {
|
|
820
|
+
getPricenames() {
|
|
821
|
+
let f_user_type = this.$refs.paged.model.model.f_user_type;
|
|
822
|
+
let f_gasproperties = this.$refs.paged.model.model.f_gasproperties;
|
|
823
|
+
let pricetype = this.$refs.paged.model.model.pricetype;
|
|
824
|
+
console.log(
|
|
825
|
+
"打印一下:",
|
|
826
|
+
f_user_type,
|
|
827
|
+
f_gasproperties,
|
|
828
|
+
pricetype,
|
|
829
|
+
this.f_filialeid,
|
|
830
|
+
this.prices
|
|
831
|
+
);
|
|
832
|
+
if (this.$refs.paged.model.model !== null) {
|
|
833
|
+
let rs = [];
|
|
834
|
+
let priceArr = [];
|
|
835
|
+
if (
|
|
836
|
+
f_user_type.length > 0 &&
|
|
837
|
+
f_gasproperties.length > 0 &&
|
|
838
|
+
pricetype.length > 0
|
|
839
|
+
) {
|
|
840
|
+
let params = {
|
|
841
|
+
f_user_type: f_user_type[0],
|
|
842
|
+
f_gasproperties: f_gasproperties[0],
|
|
843
|
+
f_price_type: pricetype[0],
|
|
844
|
+
filter: this.f_filialeid,
|
|
845
|
+
prices: this.prices,
|
|
846
|
+
};
|
|
847
|
+
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
848
|
+
let temp = {};
|
|
849
|
+
temp.label = item.label;
|
|
850
|
+
temp.value = item.value.f_price_name;
|
|
851
|
+
priceArr.push(temp);
|
|
852
|
+
});
|
|
853
|
+
rs = [{ label: "全部", value: "" }, ...priceArr];
|
|
610
854
|
}
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
615
|
-
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
616
|
-
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
855
|
+
if (rs.length === 0) {
|
|
856
|
+
console.log("rs读出来是空");
|
|
857
|
+
this.$refs.paged.model.model.f_price_name = "";
|
|
617
858
|
}
|
|
618
|
-
|
|
619
|
-
getfield() {
|
|
620
|
-
return exportConfig.AreaGeneralQuery
|
|
621
|
-
},
|
|
622
|
-
usertypes() {
|
|
623
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
624
|
-
},
|
|
625
|
-
metertypes() {
|
|
626
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
627
|
-
},
|
|
628
|
-
tablestate() {
|
|
629
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
859
|
+
return rs;
|
|
630
860
|
}
|
|
631
|
-
}
|
|
632
|
-
|
|
861
|
+
},
|
|
862
|
+
getCondition() {
|
|
863
|
+
return {
|
|
864
|
+
condition:
|
|
865
|
+
`${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
866
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
867
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
868
|
+
};
|
|
869
|
+
},
|
|
870
|
+
getfield() {
|
|
871
|
+
return exportConfig.AreaGeneralQuery;
|
|
872
|
+
},
|
|
873
|
+
usertypes() {
|
|
874
|
+
return [
|
|
875
|
+
{ label: " 全部 ", value: "" },
|
|
876
|
+
...this.$appdata.getParam("用户类型"),
|
|
877
|
+
];
|
|
878
|
+
},
|
|
879
|
+
metertypes() {
|
|
880
|
+
return [
|
|
881
|
+
{ label: " 全部 ", value: "" },
|
|
882
|
+
...this.$appdata.getParam("气表类型"),
|
|
883
|
+
];
|
|
884
|
+
},
|
|
885
|
+
tablestate() {
|
|
886
|
+
return [
|
|
887
|
+
{ label: " 全部 ", value: "" },
|
|
888
|
+
...this.$appdata.getParam("气表状态"),
|
|
889
|
+
];
|
|
890
|
+
},
|
|
891
|
+
},
|
|
892
|
+
};
|
|
633
893
|
</script>
|