manage-client-xy 3.2.28 → 3.2.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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/components/SellReport/FinancialStatement.vue +30 -0
- package/src/components/SellReport/ManageBusSummary.vue +241 -241
- package/src/components/SellReport/SmartKitchenSummary.vue +275 -275
- package/src/components/SellReport/UserNumber.vue +30 -0
- package/src/components/SellReport/XianYangNewCharge.vue +355 -355
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +715 -700
- package/src/components/sale/businessquery/CMHGasQuery.vue +441 -411
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +659 -630
- package/src/components/sale/businessquery/ChangeUserQuery.vue +403 -373
- package/src/components/sale/businessquery/ChargeQuery.vue +1027 -997
- package/src/components/sale/businessquery/DisableQuery.vue +433 -403
- package/src/components/sale/businessquery/EnableQuery.vue +422 -392
- package/src/components/sale/businessquery/FMYGasQuery.vue +440 -410
- package/src/components/sale/businessquery/FillCardQuery.vue +522 -492
- package/src/components/sale/businessquery/FillGasQuery.vue +506 -476
- package/src/components/sale/businessquery/HandplanQuery.vue +728 -698
- package/src/components/sale/businessquery/LogQuery.vue +301 -269
- package/src/components/sale/businessquery/NewAccountQuery.vue +518 -488
- package/src/components/sale/businessquery/OtherChargeQuery.vue +432 -402
- package/src/components/sale/businessquery/RecordQuery.vue +399 -369
- package/src/components/sale/businessquery/ResidentialQuery.vue +417 -387
- package/src/components/sale/businessquery/ReverseQuery.vue +459 -429
- package/src/components/sale/businessquery/SellingHand.vue +408 -378
- package/src/components/sale/businessquery/TransferQuery.vue +589 -559
- package/src/components/sale/businessquery/cancelAccountQuery.vue +518 -488
- package/src/components/sale/filesquery/DeviceQuery.vue +30 -0
- package/src/components/sale/filesquery/MeterQuery.vue +30 -0
- package/src/components/sale/filesquery/UserQuery.vue +796 -764
- package/src/components/webmeter/DrillData/UserGasAll.vue +30 -1
|
@@ -1,403 +1,433 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
4
|
-
<div class="flex" v-if="!show">
|
|
5
|
-
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2 form-group">
|
|
11
|
-
<label class="font_normal_body">客户编号</label>
|
|
12
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_id"
|
|
13
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-2 form-group">
|
|
16
|
-
<label class="font_normal_body">客户名称</label>
|
|
17
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
|
-
condition=" f_user_name like '%{}%'" placeholder='客户名称'>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2 form-group">
|
|
21
|
-
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
22
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
23
|
-
v-model="model.startDate"
|
|
24
|
-
:value.sync="model.startDate"
|
|
25
|
-
:format="'yyyy-MM-dd'"
|
|
26
|
-
:show-reset-button="true"
|
|
27
|
-
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
32
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
33
|
-
v-model="model.endDate"
|
|
34
|
-
:value.sync="model.endDate"
|
|
35
|
-
:format="'yyyy-MM-dd'"
|
|
36
|
-
:show-reset-button="true"
|
|
37
|
-
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
|
|
38
|
-
</datepicker>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="span" style="float:right;">
|
|
41
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
44
|
-
|
|
45
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
46
|
-
:field="$parent.$parent.getfield"
|
|
47
|
-
sqlurl="rs/logic/exportfile" sql-name="disableQuery" template-name='停用查询导出'
|
|
48
|
-
v-if ="$parent.$parent.jurisdiction.includes('excel导出')"
|
|
49
|
-
:choose-col="true"></export-excel>
|
|
50
|
-
|
|
51
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<div class="row">
|
|
55
|
-
<res-select-group style="col-sm-2 form-group" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
56
|
-
<div class="col-sm-2 form-group">
|
|
57
|
-
<label for="f_area_id" class="font_normal_body">小区编码</label>
|
|
58
|
-
<input id="f_area_id" type="text" style="width:60%" class="input_search" v-model="model.f_area_id"
|
|
59
|
-
condition="f_area_id = '{}'" placeholder='小区编码'>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="col-sm-2 form-group">
|
|
62
|
-
<label class="font_normal_body">表/户停用</label>
|
|
63
|
-
<v-select :options='$parent.$parent.States' :value.sync="model.f_tableoruser_state"
|
|
64
|
-
close-on-select condition="f_tableoruser_state='{}'"
|
|
65
|
-
placeholder='表/户停用' v-model="model.f_tableoruser_state"></v-select>
|
|
66
|
-
</div>
|
|
67
|
-
<div class="col-sm-2 form-group">
|
|
68
|
-
<label class="font_normal_body"> 小区 </label>
|
|
69
|
-
<v-select :value.sync="model.f_residential_area"
|
|
70
|
-
class="select_list select"
|
|
71
|
-
enter-push
|
|
72
|
-
multiple = "true"
|
|
73
|
-
v-model="model.f_residential_area"
|
|
74
|
-
style="width: 60%"
|
|
75
|
-
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
76
|
-
close-on-select>
|
|
77
|
-
</v-select>
|
|
78
|
-
</div>
|
|
79
|
-
<div class="col-sm-2 form-group">
|
|
80
|
-
<label class="font_normal_body">客户地址</label>
|
|
81
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
82
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="col-sm-2 form-group">
|
|
85
|
-
<label class="font_normal_body">是否<br/>手持设备</label>
|
|
86
|
-
<v-select :value.sync="$parent.$parent.f_outlets"
|
|
87
|
-
:options="$parent.$parent.isPos"
|
|
88
|
-
:search="false"
|
|
89
|
-
placeholder='请选择'
|
|
90
|
-
condition="{}"
|
|
91
|
-
close-on-select></v-select>
|
|
92
|
-
</div>
|
|
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
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<th>
|
|
131
|
-
<nobr
|
|
132
|
-
</th>
|
|
133
|
-
<th>
|
|
134
|
-
<nobr
|
|
135
|
-
</th>
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
</
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
</td>
|
|
173
|
-
<td style="text-align: center;">
|
|
174
|
-
<nobr>{{row.
|
|
175
|
-
</td>
|
|
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
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
this.
|
|
328
|
-
|
|
329
|
-
this.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
this.
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
this.
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
},
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
this.
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label class="font_normal_body">客户编号</label>
|
|
12
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_id"
|
|
13
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2 form-group">
|
|
16
|
+
<label class="font_normal_body">客户名称</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
|
+
condition=" f_user_name like '%{}%'" placeholder='客户名称'>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
22
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
23
|
+
v-model="model.startDate"
|
|
24
|
+
:value.sync="model.startDate"
|
|
25
|
+
:format="'yyyy-MM-dd'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
32
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
33
|
+
v-model="model.endDate"
|
|
34
|
+
:value.sync="model.endDate"
|
|
35
|
+
:format="'yyyy-MM-dd'"
|
|
36
|
+
:show-reset-button="true"
|
|
37
|
+
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')">
|
|
38
|
+
</datepicker>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
44
|
+
|
|
45
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
46
|
+
:field="$parent.$parent.getfield"
|
|
47
|
+
sqlurl="rs/logic/exportfile" sql-name="disableQuery" template-name='停用查询导出'
|
|
48
|
+
v-if ="$parent.$parent.jurisdiction.includes('excel导出')"
|
|
49
|
+
:choose-col="true"></export-excel>
|
|
50
|
+
|
|
51
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row">
|
|
55
|
+
<res-select-group style="col-sm-2 form-group" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
56
|
+
<div class="col-sm-2 form-group">
|
|
57
|
+
<label for="f_area_id" class="font_normal_body">小区编码</label>
|
|
58
|
+
<input id="f_area_id" type="text" style="width:60%" class="input_search" v-model="model.f_area_id"
|
|
59
|
+
condition="f_area_id = '{}'" placeholder='小区编码'>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">表/户停用</label>
|
|
63
|
+
<v-select :options='$parent.$parent.States' :value.sync="model.f_tableoruser_state"
|
|
64
|
+
close-on-select condition="f_tableoruser_state='{}'"
|
|
65
|
+
placeholder='表/户停用' v-model="model.f_tableoruser_state"></v-select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body"> 小区 </label>
|
|
69
|
+
<v-select :value.sync="model.f_residential_area"
|
|
70
|
+
class="select_list select"
|
|
71
|
+
enter-push
|
|
72
|
+
multiple = "true"
|
|
73
|
+
v-model="model.f_residential_area"
|
|
74
|
+
style="width: 60%"
|
|
75
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
76
|
+
close-on-select>
|
|
77
|
+
</v-select>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-sm-2 form-group">
|
|
80
|
+
<label class="font_normal_body">客户地址</label>
|
|
81
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
82
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-2 form-group">
|
|
85
|
+
<label class="font_normal_body">是否<br/>手持设备</label>
|
|
86
|
+
<v-select :value.sync="$parent.$parent.f_outlets"
|
|
87
|
+
:options="$parent.$parent.isPos"
|
|
88
|
+
:search="false"
|
|
89
|
+
placeholder='请选择'
|
|
90
|
+
condition="{}"
|
|
91
|
+
close-on-select></v-select>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="col-sm-2 form-group">
|
|
94
|
+
<label class="font_normal_body">房产地址</label>
|
|
95
|
+
<input class="input_search" condition="f_house_address = '{}'"
|
|
96
|
+
placeholder='房产地址'
|
|
97
|
+
style="width:60%" type="text" v-model="model.f_house_address">
|
|
98
|
+
</div>
|
|
99
|
+
<div class="col-sm-2 form-group">
|
|
100
|
+
<label class="font_normal_body">用途</label>
|
|
101
|
+
<input class="input_search" condition="f_property_usage = '{}'"
|
|
102
|
+
placeholder='用途'
|
|
103
|
+
style="width:60%" type="text" v-model="model.f_property_usage">
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-2 form-group">
|
|
106
|
+
<label class="font_normal_body">房型</label>
|
|
107
|
+
<input class="input_search" condition="f_house_type = '{}'"
|
|
108
|
+
placeholder='房型'
|
|
109
|
+
style="width:60%" type="text" v-model="model.f_house_type">
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-2 form-group">
|
|
112
|
+
<label class="font_normal_body">是否一户多表</label>
|
|
113
|
+
<input class="input_search" condition="f_is_multi_meter = '{}'"
|
|
114
|
+
placeholder='是否一户多表'
|
|
115
|
+
style="width:60%" type="text" v-model="model.f_is_multi_meter">
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-sm-2 form-group">
|
|
118
|
+
<label class="font_normal_body">关联ID</label>
|
|
119
|
+
<input class="input_search" condition="f_house_id = '{}'"
|
|
120
|
+
placeholder='关联ID'
|
|
121
|
+
style="width:60%" type="text" v-model="model.f_house_id">
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</criteria>
|
|
126
|
+
|
|
127
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
128
|
+
<template partial='head'>
|
|
129
|
+
<tr>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>客户编号</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>客户名称</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
<th>
|
|
137
|
+
<nobr>客户地址</nobr>
|
|
138
|
+
</th>
|
|
139
|
+
<th>
|
|
140
|
+
<nobr>停用</nobr>
|
|
141
|
+
</th>
|
|
142
|
+
<th>
|
|
143
|
+
<nobr>停用原因</nobr>
|
|
144
|
+
</th>
|
|
145
|
+
<th>
|
|
146
|
+
<nobr>其他原因</nobr>
|
|
147
|
+
</th>
|
|
148
|
+
<th>
|
|
149
|
+
<nobr>状态</nobr>
|
|
150
|
+
</th>
|
|
151
|
+
<th>
|
|
152
|
+
<nobr>停用日期</nobr>
|
|
153
|
+
</th>
|
|
154
|
+
<th>
|
|
155
|
+
<nobr>人员</nobr>
|
|
156
|
+
</th>
|
|
157
|
+
<th>
|
|
158
|
+
<nobr>部门</nobr>
|
|
159
|
+
</th>
|
|
160
|
+
<th>
|
|
161
|
+
<nobr>网点</nobr>
|
|
162
|
+
</th>
|
|
163
|
+
<th>
|
|
164
|
+
<nobr>公司</nobr>
|
|
165
|
+
</th>
|
|
166
|
+
</tr>
|
|
167
|
+
</template>
|
|
168
|
+
<template partial='body'>
|
|
169
|
+
<td style="text-align: center;">
|
|
170
|
+
<nobr>
|
|
171
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
172
|
+
</td>
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
175
|
+
</td>
|
|
176
|
+
<td style="text-align: center;">
|
|
177
|
+
<nobr>{{row.f_address}}</nobr>
|
|
178
|
+
</td>
|
|
179
|
+
<td style="text-align: center;">
|
|
180
|
+
<nobr>{{row.f_tableoruser_state}}</nobr>
|
|
181
|
+
</td>
|
|
182
|
+
<td style="text-align: center;">
|
|
183
|
+
<nobr>{{row.f_disable_reason}}</nobr>
|
|
184
|
+
</td>
|
|
185
|
+
<td style="text-align: center;">
|
|
186
|
+
<nobr>{{row.f_othereason}}</nobr>
|
|
187
|
+
</td>
|
|
188
|
+
<td style="text-align: center;">
|
|
189
|
+
<nobr>{{row.f_state}}</nobr>
|
|
190
|
+
</td>
|
|
191
|
+
<td style="text-align: center;">
|
|
192
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
193
|
+
</td>
|
|
194
|
+
<td style="text-align: center;">
|
|
195
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
196
|
+
</td>
|
|
197
|
+
<td style="text-align: center;">
|
|
198
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
199
|
+
</td>
|
|
200
|
+
<td style="text-align: center;">
|
|
201
|
+
<nobr>{{row.f_outlets}}</nobr>
|
|
202
|
+
</td>
|
|
203
|
+
<td style="text-align: center;">
|
|
204
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
205
|
+
</td>
|
|
206
|
+
</template>
|
|
207
|
+
<template partial='foot'></template>
|
|
208
|
+
</data-grid>
|
|
209
|
+
</criteria-paged>
|
|
210
|
+
|
|
211
|
+
<table class="table-hover">
|
|
212
|
+
<tr style="position: relative" class="table-bordered">
|
|
213
|
+
<td
|
|
214
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
215
|
+
汇总信息
|
|
216
|
+
</td>
|
|
217
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">合计: {{sumsmodel.f_pregas}}</td>
|
|
218
|
+
</tr>
|
|
219
|
+
</table>
|
|
220
|
+
</div>
|
|
221
|
+
<div v-if="show">
|
|
222
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
223
|
+
</div>
|
|
224
|
+
<div v-if="showAttachment">
|
|
225
|
+
<attachment-viewer :business-id="currentRow && currentRow.id" table-name="t_disable" @close="closeAttachment"></attachment-viewer>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
</template>
|
|
230
|
+
|
|
231
|
+
<script>
|
|
232
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
233
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
234
|
+
import exportConfig from '../config/exportConfig'
|
|
235
|
+
import AttachmentViewer from './AttachmentViewer.vue'
|
|
236
|
+
|
|
237
|
+
let readySomething = async function (self) {
|
|
238
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
239
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
240
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
241
|
+
//self.$refs.paged.$refs.cri.model.f_sendsuccess = ['有效']
|
|
242
|
+
await self.$MagLoadParams.loadParam()
|
|
243
|
+
|
|
244
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
245
|
+
}
|
|
246
|
+
export default {
|
|
247
|
+
components: {
|
|
248
|
+
AttachmentViewer
|
|
249
|
+
},
|
|
250
|
+
data() {
|
|
251
|
+
return {
|
|
252
|
+
data: {},
|
|
253
|
+
model: new PagedList('rs/sql/disableQuery', 20, {}),
|
|
254
|
+
criteriaShow: false,
|
|
255
|
+
headData: ["客户编号", "客户名称", "操作人", "操作日期", "停用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
256
|
+
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
257
|
+
orgCondtionStr: '',
|
|
258
|
+
show:false,
|
|
259
|
+
showAttachment: false,
|
|
260
|
+
currentRow: null,
|
|
261
|
+
rowdata:{},
|
|
262
|
+
modelval: [],
|
|
263
|
+
printshow: false,
|
|
264
|
+
jurisdiction:this.$login.r,
|
|
265
|
+
residentialArea:[],
|
|
266
|
+
States:[{label:"全部",value:""},{label:"表停用",value:"表停用"},{label:"户停用",value:"户停用"}],
|
|
267
|
+
area:[],
|
|
268
|
+
f_outlets: [],
|
|
269
|
+
isPos: [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}],
|
|
270
|
+
all: false,
|
|
271
|
+
fields: {},
|
|
272
|
+
thead: '',
|
|
273
|
+
tfoot: '',
|
|
274
|
+
initres: {
|
|
275
|
+
org:[this.$login.f.orgid],
|
|
276
|
+
dep:[],
|
|
277
|
+
user:[],
|
|
278
|
+
},
|
|
279
|
+
//合计数据
|
|
280
|
+
sumsmodel: {}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
ready() {
|
|
284
|
+
this.getaddress()
|
|
285
|
+
|
|
286
|
+
readySomething(this).then(() => {
|
|
287
|
+
this.$emit('ready')
|
|
288
|
+
}).catch((error) => {
|
|
289
|
+
this.$emit('error', error)
|
|
290
|
+
})
|
|
291
|
+
},
|
|
292
|
+
methods: {
|
|
293
|
+
async getaddress(){
|
|
294
|
+
console.log('开始获取小区')
|
|
295
|
+
let HttpReset = new HttpResetClass()
|
|
296
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
297
|
+
data: {
|
|
298
|
+
condition: '1=1'
|
|
299
|
+
}
|
|
300
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
301
|
+
console.log('小区',data)
|
|
302
|
+
let house = []
|
|
303
|
+
for (let row of data.data){
|
|
304
|
+
console.log('开始保存小区')
|
|
305
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
306
|
+
}
|
|
307
|
+
this.residentialArea = house
|
|
308
|
+
},
|
|
309
|
+
search(){
|
|
310
|
+
this.$refs.paged.$refs.cri.search()
|
|
311
|
+
},
|
|
312
|
+
selfSearch(args) {
|
|
313
|
+
//小区查询条件
|
|
314
|
+
this.area = this.$refs.paged.$refs.cri.model.f_residential_area
|
|
315
|
+
console.log("=====小区model绑定====",this.area)
|
|
316
|
+
if(this.area.length !== 0){
|
|
317
|
+
let str = JSON.stringify(this.area)
|
|
318
|
+
str = str.replace(/"/g,`'`)
|
|
319
|
+
str = str.replace(/\[/g,``)
|
|
320
|
+
str = str.replace(/\]/g,``)
|
|
321
|
+
console.log("=====小区model22222222222绑定====",str)
|
|
322
|
+
//查询多个小区时条件
|
|
323
|
+
args.condition += ` and f_residential_area in ( ${str} )`
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// 手持设备查询条件
|
|
327
|
+
if(this.f_outlets[0] === '是'){
|
|
328
|
+
args.condition+= ` and f_outlets = '手持设备'`
|
|
329
|
+
} else if (this.f_outlets[0] === '否'){
|
|
330
|
+
args.condition+= ` and f_outlets is null`
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
334
|
+
this.model.search(args.condition, args.model)
|
|
335
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
336
|
+
},
|
|
337
|
+
clear() {
|
|
338
|
+
//清空部门和人员
|
|
339
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
340
|
+
//部门和人员变为全选
|
|
341
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
342
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
343
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
344
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
345
|
+
})
|
|
346
|
+
},
|
|
347
|
+
show() {
|
|
348
|
+
this.criteriaShow = true
|
|
349
|
+
},
|
|
350
|
+
hidden() {
|
|
351
|
+
this.criteriaShow = !this.criteriaShow
|
|
352
|
+
},
|
|
353
|
+
getRes(obj) {
|
|
354
|
+
this.orgCondtionStr = obj
|
|
355
|
+
},
|
|
356
|
+
stamp() {
|
|
357
|
+
this.all = false
|
|
358
|
+
//默认选择要打印的列
|
|
359
|
+
this.modelval = defaultPrint.config
|
|
360
|
+
this.fields = this.getfield
|
|
361
|
+
console.log('所有打印字段', this.fields)
|
|
362
|
+
this.printshow = true
|
|
363
|
+
this.put()
|
|
364
|
+
},
|
|
365
|
+
put() {
|
|
366
|
+
// 对Modelval进行排序
|
|
367
|
+
this.sortModelval()
|
|
368
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>启用查询报表</th></tr><tr>`
|
|
369
|
+
for (let key of this.modelval) {
|
|
370
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
371
|
+
}
|
|
372
|
+
this.thead += '</tr>'
|
|
373
|
+
},
|
|
374
|
+
cancel() {
|
|
375
|
+
this.show = false
|
|
376
|
+
},
|
|
377
|
+
dealmsg(val) {
|
|
378
|
+
console.log('---------------dealmsg')
|
|
379
|
+
this.rowdata=val
|
|
380
|
+
this.show=true
|
|
381
|
+
val.model = this.model.model
|
|
382
|
+
this.$dispatch('deal-msg', val)
|
|
383
|
+
},
|
|
384
|
+
print() {
|
|
385
|
+
this.$refs.print.PrintAsFile()
|
|
386
|
+
this.printshow = false
|
|
387
|
+
},
|
|
388
|
+
close() {
|
|
389
|
+
this.printshow = false
|
|
390
|
+
this.all = false
|
|
391
|
+
},
|
|
392
|
+
// 对选择的列进行排序
|
|
393
|
+
sortModelval() {
|
|
394
|
+
let sortModel = []
|
|
395
|
+
Object.keys(this.fields).forEach((key) => {
|
|
396
|
+
if (this.modelval.includes(key)) {
|
|
397
|
+
sortModel.push(key)
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
this.modelval = sortModel
|
|
401
|
+
console.log('选择的打印的字段', this.modelval)
|
|
402
|
+
},
|
|
403
|
+
view(row) {
|
|
404
|
+
this.currentRow = row;
|
|
405
|
+
this.showAttachment = true;
|
|
406
|
+
},
|
|
407
|
+
closeAttachment() {
|
|
408
|
+
this.showAttachment = false;
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
watch: {
|
|
412
|
+
'all'(val) {
|
|
413
|
+
if (val) {
|
|
414
|
+
this.modelval = this.bodyData
|
|
415
|
+
} else {
|
|
416
|
+
this.modelval = defaultPrint.config
|
|
417
|
+
this.put()
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
'modelval.length'() {
|
|
421
|
+
this.put()
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
computed: {
|
|
425
|
+
getCondition() {
|
|
426
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
427
|
+
},
|
|
428
|
+
getfield() {
|
|
429
|
+
return exportConfig.disableConfig
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
</script>
|