manage-client 3.2.104 → 3.2.107

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.
Files changed (41) hide show
  1. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  2. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  3. package/.gradle/{buildOutputCleanup/outputFiles.bin → 4.4/fileHashes/fileHashes.bin} +0 -0
  4. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  5. package/.gradle/buildOutputCleanup/built.bin +0 -0
  6. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  7. package/build/webpack.base.conf.js +1 -0
  8. package/package.json +2 -2
  9. package/src/components/daping/DataManagement.vue +34 -35
  10. package/src/components/sale/businessquery/BusinessManage.vue +12 -0
  11. package/src/components/sale/businessquery/FillCardQuery.vue +39 -2
  12. package/src/components/sale/businessquery/sellingChargePrice.vue +716 -716
  13. package/src/components/sale/config/exportConfig.js +21 -1
  14. package/src/components/sale/config/tableConfig.js +48 -48
  15. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +408 -0
  16. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -0
  17. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
  18. package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -0
  19. package/src/components/webmeter/DrillData/UserGasAll.vue +607 -607
  20. package/src/components/webmeter/WebmeterQuery.vue +64 -64
  21. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +28 -9
  22. package/src/components/webmeter/report/ReportList.vue +420 -420
  23. package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
  24. package/src/filiale/jingwei/RecordInfoQuery.vue +40 -1
  25. package/src/filiale/qianneng/BusinessManage.vue +179 -0
  26. package/src/filiale/qianneng/ChargeQuery.vue +191 -184
  27. package/src/filiale/qianneng/HandplanQuery.vue +130 -117
  28. package/src/filiale/qianneng/OtherChargeQuery.vue +33 -31
  29. package/src/filiale/qianneng/SellDepReport.vue +27 -7
  30. package/src/filiale/qianneng/UserQuery.vue +938 -0
  31. package/src/filiale/qianneng/sale.js +5 -1
  32. package/src/filiale/shaoguan/TransferQuery.vue +8 -3
  33. package/src/main.js +66 -66
  34. package/src/newmanage.js +11 -1
  35. package/src/saleManage.js +15 -1
  36. package/src/webmeterManage.js +121 -121
  37. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  38. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  39. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  40. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  41. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -0,0 +1,938 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" >
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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_code"
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 class="font_normal_body" title="旧客户编号">档案编号</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
24
+ </div>
25
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body">客户电话</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
28
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
29
+ </div>
30
+ <div class="span" style="float:right;">
31
+ <button class="button_search button_spacing" @click="search()">查询</button>
32
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
34
+
35
+ <export-excel :data="$parent.$parent.getCondition"
36
+ :field="$parent.$parent.getExportField"
37
+ :footer="$parent.$parent.footer"
38
+ :header="$parent.$parent.other"
39
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
40
+ sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出'
41
+ :choose-col="true"></export-excel>
42
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
43
+ :defaultfield="$parent.$parent.defaultfield"
44
+ titletable="客户查询"
45
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
46
+
47
+ <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>
48
+ </div>
49
+ </div>
50
+ <div class="row" v-show="$parent.$parent.criteriaShow">
51
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
52
+ <div class="col-sm-2 form-group">
53
+ <label class="font_normal_body">发票编码</label>
54
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
55
+ condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body" >缴费类型</label>
59
+ <v-select :value.sync="model.f_payment" multiple
60
+ v-model="model.f_payment"
61
+ :options='$parent.$parent.dypayment' placeholder='请选择'
62
+ condition="f_cost_type in {}"
63
+ close-on-select></v-select>
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">客户状态</label>
67
+ <v-select :value.sync="model.f_user_state"
68
+ v-model="model.f_user_state"
69
+ :options='$parent.$parent.userstates' placeholder='请选择'
70
+ condition="f_user_state = '{}'"
71
+ close-on-select></v-select>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">余额区间</label>
75
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
76
+ condition="f_balance >= '{}'" placeholder="最小值">
77
+ </div>
78
+ <div class="col-sm-2 form-group">
79
+ <label class="font_normal_body">&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
80
+ <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
81
+ condition="f_balance <= '{}'" placeholder="最大值">
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">身份证号</label>
85
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
86
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
87
+ </div>
88
+ <div class="col-sm-2 form-group">
89
+ <label class="font_normal_body">微信绑定</label>
90
+ <v-select
91
+ :value.sync="model.f_wechat"
92
+ v-model="model.f_wechat"
93
+ :options='$parent.$parent.weixinSign'
94
+ placeholder='请选择'
95
+ condition="f_wechat = '{}'"
96
+ close-on-select>
97
+ </v-select>
98
+ </div>
99
+ <div class="col-sm-2 form-group">
100
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人口数&nbsp;</label>
101
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
102
+ condition="f_people_num = '{}'" placeholder="人口数">
103
+ </div>
104
+
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">用户类型</label>
107
+ <v-select :value.sync="model.f_user_type"
108
+ v-model="model.f_user_type" condition="f_user_type = '{}'"
109
+ :options='$parent.$parent.userTypes' placeholder='请选择'
110
+ close-on-select></v-select>
111
+ </div>
112
+
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
115
+ <v-select :value.sync="model.f_residential_area"
116
+ class="select_list select"
117
+ enter-push
118
+ multiple = "true"
119
+ v-model="model.f_residential_area"
120
+ style="width: 60%"
121
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
122
+ close-on-select>
123
+
124
+ </v-select>
125
+ </div>
126
+ <div class="col-sm-2 form-group">
127
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼栋&nbsp;&nbsp;&nbsp;</label>
128
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
129
+ condition="f_building like '%{}%'" placeholder="楼栋"/>
130
+ </div>
131
+ <div class="col-sm-2 form-group">
132
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
133
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
134
+ condition="f_unit like '%{}%'" placeholder="单元"/>
135
+ </div>
136
+ <div class="col-sm-2 form-group">
137
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;</label>
138
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
139
+ condition="f_floor like '%{}%'" placeholder="楼层"/>
140
+ </div>
141
+ <div class="col-sm-2 form-group">
142
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
143
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
144
+ condition="f_room like '%{}%'" placeholder="门牌号">
145
+ </div>
146
+
147
+ <div class="col-sm-2 form-group">
148
+ <label class="font_normal_body">客户地址</label>
149
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
150
+ condition="f_address like '%{}%'" placeholder='客户地址'>
151
+ </div>
152
+ <div class="col-sm-2 form-group">
153
+ <label for="startDate" class="font_normal_body">开始日期</label>
154
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
155
+ v-model="model.startDate"
156
+ :value.sync="model.startDate"
157
+ :format="'yyyy-MM-dd'"
158
+ :show-reset-button="true"
159
+ condition="f_createfile_date >= '{} 00:00:00'">
160
+ </datepicker>
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label for="endDate" class="font_normal_body">结束日期</label>
164
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
165
+ v-model="model.endDate"
166
+ :value.sync="model.endDate"
167
+ :format="'yyyy-MM-dd'"
168
+ :show-reset-button="true"
169
+ condition="f_createfile_date <= '{} 23:59:59'">
170
+ </datepicker>
171
+ </div>
172
+
173
+ <div class="col-sm-2 form-group">
174
+ <label class="font_normal_body">建档部门</label>
175
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
176
+ condition="f_depname like '%{}%'" placeholder='建档部门'>
177
+ </div>
178
+ <!-- <div class="col-sm-2 form-group">-->
179
+ <!-- <label class="font_normal_body">报警器编码</label>-->
180
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"-->
181
+ <!-- condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>-->
182
+ <!-- </div>-->
183
+
184
+ <!-- <div class="col-sm-2 form-group">-->
185
+ <!-- <label class="font_normal_body">燃气表号</label>-->
186
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"-->
187
+ <!-- condition="f_meternumber like '%{}%'" placeholder='燃气表号'>-->
188
+ <!-- </div>-->
189
+ <!-- <div class="col-sm-2">-->
190
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区名称&nbsp;&nbsp;&nbsp;</label>-->
191
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"-->
192
+ <!-- condition="f_residential_area like '%{}%'" placeholder="小区"/>-->
193
+ <!-- <div class="col-sm-8">&ndash;&gt;-->
194
+ <!-- <input type="text" v-show="false" v-model="model.f_residential_area" class="input_search" style="width: 80%"&ndash;&gt;-->
195
+ <!--; v-validate:f_residential_area='{required: true }'>&ndash;&gt;-->
196
+ <!-- <v-select :value.sync="model.f_residential_area" :value-single="true"&ndash;&gt;-->
197
+ <!-- class="select_list select"&ndash;&gt;-->
198
+ <!-- :options='fresidentialarea' placeholder='请选择'&ndash;&gt;-->
199
+ <!-- close-on-select search="true">&ndash;&gt;-->
200
+ <!-- </v-select>-->
201
+ <!-- </div>-->
202
+
203
+
204
+ <!-- <div class="col-sm-2 form-group">-->
205
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表员</label>-->
206
+ <!-- <v-select :value.sync="model.f_inputtor"-->
207
+ <!-- v-model="model.f_inputtor" condition="f_inputtor = '{}'"-->
208
+ <!-- :options='$parent.$parent.inputtores' placeholder='请选择'-->
209
+ <!-- multiple = "true"-->
210
+ <!-- close-on-select></v-select>-->
211
+ <!-- </div>-->
212
+
213
+ <!-- <div class="col-sm-2" >-->
214
+ <!-- <label for="f_balance" class="font_normal_body">账户结余</label>-->
215
+ <!-- <div class="form-group">-->
216
+ <!-- <v-input id="f_balance" placeholder="账户结余"-->
217
+ <!-- :expression.sync = 'model.f_balance'-->
218
+ <!-- v-model="model.f_balance"-->
219
+ <!-- condition= "f_balance {}"-->
220
+ <!-- :show-reset-button="reset"-->
221
+ <!-- v-ref:f_balance>-->
222
+ <!-- </v-input>-->
223
+ <!-- </div>-->
224
+ <!-- </div>-->
225
+
226
+ <!--表册片区-->
227
+ <!-- <div class="col-sm-2 form-group">-->
228
+ <!-- <label class="font_normal_body">表册片区</label>-->
229
+ <!-- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"-->
230
+ <!-- :options='$parent.$parent.bookSlice' placeholder='片区/表册'-->
231
+ <!-- style="width:60%"-->
232
+ <!-- close-on-select-->
233
+ <!-- condition="f_book_slice_area = '{}'"></v-select>-->
234
+ <!-- </div>-->
235
+
236
+ <div class="col-sm-2 form-group">
237
+ <label class="font_normal_body">客户等级</label>
238
+ <v-select :value.sync="model.f_user_level"
239
+ v-model="model.f_user_level" condition="f_user_level in {}"
240
+ :options='$parent.$parent.userLevels' placeholder='请选择'
241
+ multiple = "true"
242
+ close-on-select></v-select>
243
+ </div>
244
+ <div class="col-sm-2 form-group">
245
+ <label class="font_normal_body">通气状态</label>
246
+ <v-select :value.sync="model.f_address_state"
247
+ v-model="model.f_address_state" condition="f_address_state = '{}'"
248
+ :options='$parent.$parent.addressstate' placeholder='请选择'
249
+ close-on-select></v-select>
250
+ </div>
251
+ <!-- <div class="col-sm-2 form-group">-->
252
+ <!-- <label for="startGasDate" class="font_normal_body">通气时间</label>-->
253
+ <!-- <datepicker id="startGasDate" placeholder="开始日期" style="width:60%"-->
254
+ <!-- v-model="model.startGasDate"-->
255
+ <!-- :value.sync="model.startGasDate"-->
256
+ <!-- :format="'yyyy-MM-dd'"-->
257
+ <!-- :show-reset-button="true"-->
258
+ <!-- condition="f_gas_date >= '{} 00:00:00'">-->
259
+ <!-- </datepicker>-->
260
+ <!-- </div>-->
261
+ <!-- <div class="col-sm-2 form-group">-->
262
+ <!-- <label for="endGasDate" class="font_normal_body">至</label>-->
263
+ <!-- <datepicker id="endGasDate" placeholder="结束日期" style="width:60%"-->
264
+ <!-- v-model="model.endGasDate"-->
265
+ <!-- :value.sync="model.endGasDate"-->
266
+ <!-- :format="'yyyy-MM-dd'"-->
267
+ <!-- :show-reset-button="true"-->
268
+ <!-- condition="f_gas_date <= '{} 23:59:59'">-->
269
+ <!-- </datepicker>-->
270
+ <!-- </div>-->
271
+ <!-- <div class="col-sm-2 form-group">-->
272
+ <!-- <label class="font_normal_body">发卡状态</label>-->
273
+ <!-- <v-select :value.sync="model.f_whether_hairpin"-->
274
+ <!-- v-model="model.f_whether_hairpin" condition="f_whether_hairpin = '{}'"-->
275
+ <!-- :options='$parent.$parent.hairpin' placeholder='请选择'-->
276
+ <!-- close-on-select></v-select>-->
277
+ <!-- </div>-->
278
+
279
+ </div>
280
+ </div>
281
+ </criteria>
282
+
283
+
284
+ <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
285
+ <template partial='head'>
286
+ <tr>
287
+ <th>
288
+ <!--<nobr>客户编号</nobr>-->
289
+ <data-order field="f_userinfo_code" name="客户编号"
290
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
291
+ </th>
292
+ <th>
293
+ <nobr>客户名称</nobr>
294
+ </th>
295
+ <th>
296
+ <nobr>档案编号</nobr>
297
+ </th>
298
+ <th>
299
+ <nobr>客户电话</nobr>
300
+ </th>
301
+ <th>
302
+ <nobr>身份证号</nobr>
303
+ </th>
304
+ <!-- <th>-->
305
+ <!-- <nobr>表册片区</nobr>-->
306
+ <!-- </th>-->
307
+ <th>
308
+ <nobr>账户余额</nobr>
309
+ </th>
310
+ <th>
311
+ <nobr>客户等级</nobr>
312
+ </th>
313
+ <th>
314
+ <nobr>用户类型</nobr>
315
+ </th>
316
+ <th>
317
+ <data-order field="f_address" name="客户地址"
318
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
319
+ </th>
320
+ <th>
321
+ <nobr>小区</nobr>
322
+ </th>
323
+ <th>
324
+ <nobr>楼栋</nobr>
325
+ </th>
326
+ <th>
327
+ <nobr>单元</nobr>
328
+ </th>
329
+ <th>
330
+ <nobr>楼层</nobr>
331
+ </th>
332
+ <th>
333
+ <nobr>门牌号</nobr>
334
+ </th>
335
+ <th>
336
+ <nobr>客户状态</nobr>
337
+ </th>
338
+ <th>
339
+ <!--<nobr>建档日期</nobr>-->
340
+ <data-order field="f_createfile_date" name="建档日期"
341
+ :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>
342
+ </th>
343
+ <th>
344
+ <nobr>建档人</nobr>
345
+ </th>
346
+ <th>
347
+ <nobr>缴费类型</nobr>
348
+ </th>
349
+ <th>
350
+ <nobr>银行户名</nobr>
351
+ </th>
352
+ <th>
353
+ <nobr>银行名称</nobr>
354
+ </th>
355
+ <th>
356
+ <nobr>银行账号</nobr>
357
+ </th>
358
+ <th>
359
+ <nobr>银行身份证号</nobr>
360
+ </th>
361
+ <th>
362
+ <nobr>缴费编号</nobr>
363
+ </th>
364
+ <th>
365
+ <nobr>通气状态</nobr>
366
+ </th>
367
+ <!-- <th>-->
368
+ <!-- <nobr>发卡状态</nobr>-->
369
+ <!-- </th>-->
370
+ <th>
371
+ <nobr>备注</nobr>
372
+ </th>
373
+ <!-- <th>-->
374
+ <!-- <nobr>部门</nobr>-->
375
+ <!-- </th>-->
376
+ <!-- <th>-->
377
+ <!-- <nobr>公司</nobr>-->
378
+ <!-- </th>-->
379
+ </tr>
380
+ </template>
381
+ <template partial='body'>
382
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" ><nobr>
383
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
384
+ </nobr> </td>
385
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
386
+ <nobr>{{row.f_user_name}}</nobr>
387
+ </td>
388
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
389
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
390
+ </td>
391
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
392
+ <nobr>{{row.f_user_phone}}</nobr>
393
+ </td>
394
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
395
+ <nobr>{{row.f_idnumber}}</nobr>
396
+ </td>
397
+ <!-- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">-->
398
+ <!-- <nobr>{{row.f_book_slice_area}}</nobr>-->
399
+ <!-- </td>-->
400
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
401
+ <nobr>{{row.f_balance}}</nobr>
402
+ </td>
403
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
404
+ <nobr>{{row.f_user_level}}</nobr>
405
+ </td>
406
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
407
+ <nobr>{{row.f_user_type}}</nobr>
408
+ </td>
409
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
410
+ <nobr>{{row.f_address}}</nobr>
411
+ </td>
412
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
413
+ <nobr>{{row.f_residential_area}}</nobr>
414
+ </td>
415
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
416
+ <nobr>{{row.f_building}}</nobr>
417
+ </td>
418
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
419
+ <nobr>{{row.f_unit}}</nobr>
420
+ </td>
421
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
422
+ <nobr>{{row.f_floor}}</nobr>
423
+ </td>
424
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
425
+ <nobr>{{row.f_room}}</nobr>
426
+ </td>
427
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
428
+ <nobr>{{row.f_user_state}}</nobr>
429
+ </td>
430
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
431
+ <nobr>{{row.f_createfile_date}}</nobr>
432
+ </td>
433
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
434
+ <nobr>{{row.f_createfile_person}}</nobr>
435
+ </td>
436
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
437
+ <nobr>{{row.f_cost_type}}</nobr>
438
+ </td>
439
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
440
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
441
+ </td>
442
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
443
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
444
+ </td>
445
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
446
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
447
+ </td>
448
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
449
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
450
+ </td>
451
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
452
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
453
+ </td>
454
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
455
+ <nobr>{{row.f_address_state}}</nobr>
456
+ </td>
457
+ <!-- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">-->
458
+ <!-- <nobr>{{row.f_whether_hairpin}}</nobr>-->
459
+ <!-- </td>-->
460
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
461
+ <nobr>{{row.f_comments}}</nobr>
462
+ </td>
463
+ <!-- <td style="text-align: center;">-->
464
+ <!-- <nobr>{{row.f_depname}}</nobr>-->
465
+ <!-- </td>-->
466
+ <!-- <td style="text-align: center;">-->
467
+ <!-- <nobr>{{row.f_orgname}}</nobr>-->
468
+ <!-- </td>-->
469
+ </template>
470
+ <template partial='foot'>
471
+ </template>
472
+ </data-grid>
473
+ </criteria-paged>
474
+
475
+ <table class="table-hover">
476
+ <tr style="position: relative" class="table-bordered">
477
+ <td
478
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
479
+ 汇总信息
480
+ </td>
481
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
482
+ 结余合计:&emsp;{{sumsmodel.f_balance}}
483
+ </td>
484
+ </tr>
485
+ </table>
486
+
487
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
488
+ <!--<header slot="modal-header" class="modal-header text-center">-->
489
+ <!--<h4 class="modal-title">打印列选择</h4>-->
490
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
491
+ <!--<label for="f_generations" class="font-size">全选</label>-->
492
+ <!--</header>-->
493
+ <!--<article slot="modal-body">-->
494
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
495
+ <!--<div class="col-sm-3" v-for="f in fields">-->
496
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
497
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
498
+ <!--</div>-->
499
+ <!--</div>-->
500
+ <!--</article>-->
501
+ <!--<footer slot="modal-footer" class="modal-footer">-->
502
+ <!--<center>-->
503
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
504
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
505
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
506
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
507
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
508
+ <!--:fields="modelval" :printpage="true">-->
509
+ <!--</print-table>-->
510
+ <!--</center>-->
511
+ <!--</footer>-->
512
+ <!--</modal>-->
513
+ <!--<user-detail v-if="userdetail.show" :data="userdetail"></user-detail>-->
514
+ </div>
515
+
516
+ </div>
517
+ </div>
518
+ <div class="basic-main" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
519
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
520
+ </div>
521
+ </div>
522
+ </template>
523
+
524
+ <script>
525
+ import {HttpResetClass, PagedList} from 'vue-client'
526
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
527
+ import exportConfig from '../../components/sale/config/exportConfig'
528
+
529
+ let readySomething = async function (self) {
530
+ self.$MagGetSaleParam.initinputtor();
531
+ self.getinputtores();
532
+ // 获取区县
533
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
534
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
535
+ // await self.$refs.paged.$refs.cri.search()
536
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
537
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
538
+ }
539
+
540
+ export default {
541
+ title: '客户查询',
542
+ data() {
543
+ return {
544
+ other:[],
545
+ footer:[],
546
+ model: new PagedList('rs/sql/filesQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}, {f_balance: 0}),
547
+ criteriaShow: false,
548
+ orgCondtionStr: '',
549
+ modelval: [],
550
+ printshow: false,
551
+ all: false,
552
+ fields: {},
553
+ //排序
554
+ orderitem:'f_userinfo_code desc',
555
+ orderFields: {
556
+ f_operate_date: 'no'
557
+ },
558
+ //默认打印列
559
+ defaultfield: [],
560
+ config: {
561
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
562
+ },
563
+ balance2:'',
564
+ thead: '',
565
+ tfoot: '',
566
+ area: [],
567
+ //合计数据
568
+ sumsmodel: {},
569
+ initres: {
570
+ org:[this.$login.f.orgid],
571
+ dep:[],
572
+ user:[],
573
+ },
574
+ userdetail: {
575
+ show: false,
576
+ f_userinfo_code: '',
577
+ f_filialeids: ''
578
+ },
579
+
580
+ show:false,
581
+ rowdata:{},
582
+ meterInfo:{},
583
+ deviceInfo:{},
584
+ condition2:'',
585
+
586
+
587
+ weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
588
+ //小区
589
+ residentialArea: [],
590
+ //表册片区
591
+ bookSlice:[{label: '全部',value: ''}],
592
+ inputtores:[{label: '全部',value: ''}], //抄表员
593
+ allorgid:[],
594
+ f_filialeid: this.$login.f.f_orgid,
595
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
596
+ }
597
+ },
598
+ ready() {
599
+ this.getaddress()
600
+ // this.$refs.paged.$refs.cri.model.f_user_state=['正常']
601
+ readySomething(this).then(() => {
602
+ this.$emit('ready')
603
+ }).catch((error) => {
604
+ this.$emit('error', error)
605
+ })
606
+ this.initAreas(this.$login.f.orgid)
607
+ },
608
+ methods: {
609
+ async getinputtores () {
610
+ // 获取抄表员
611
+ let rs = []
612
+ if (this.$login.f.f_gasman.length > 0) {
613
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
614
+ let temp = {
615
+ label: this.$login.f.f_gasman[i].name,
616
+ value: this.$login.f.f_gasman[i].name
617
+ }
618
+ rs.push(temp)
619
+ }
620
+ }
621
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
622
+ },
623
+ async updateParams() {
624
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
625
+ this.inputtores = [];
626
+ this.inputtores.push({label: "全部", value: ""})
627
+ this.initSlice(this.f_filialeid)
628
+ if(this.allorgid!=null){
629
+ this.allorgid.forEach((res)=>{
630
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
631
+ })
632
+ }
633
+ },
634
+ getotherfooter () {
635
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
636
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
637
+ this.other = [];
638
+ this.footer = [];
639
+ let exportdata = this.getCondition;
640
+ let otherInData = [];
641
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
642
+ let footerData = [], exportfield = this.getExportField;
643
+ footerData.push("合计");
644
+ let self = this;
645
+ for (var field in self.sumsmodel) {
646
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
647
+ }
648
+ this.footer.push(footerData);
649
+ this.other.push(otherInData);
650
+ },
651
+ async getaddress(){
652
+ console.log('开始获取小区')
653
+ let HttpReset = new HttpResetClass()
654
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
655
+ data: {
656
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
657
+ }
658
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
659
+ console.log('小区',data)
660
+ let house = []
661
+ for (let row of data.data){
662
+ console.log('开始保存小区')
663
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
664
+ }
665
+ this.residentialArea = house
666
+ },
667
+
668
+ //把数据库查询数据转换为下拉数据
669
+ calculate(rows){
670
+ let data = []
671
+ rows.forEach((row, n) => {
672
+ data[n] = {label: row.f_residential_area, value: row.id}
673
+ })
674
+ return data
675
+ },
676
+ search(){
677
+ this.$refs.paged.$refs.cri.search()
678
+ },
679
+ cancel(obj) {
680
+ this.show = false
681
+ },
682
+ showmsg(obj){
683
+
684
+ this.rowdata=obj
685
+ this.show=true
686
+ // let http = new HttpResetClass()
687
+ // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
688
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
689
+ // this.meterInfo = res.data})
690
+ // let http2 = new HttpResetClass()
691
+ // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
692
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
693
+ // this.deviceInfo = res.data})
694
+
695
+ // this.f_userinfo_id=obj.f_userinfo_id
696
+ },
697
+ //初始化片区
698
+ async initSlice (val) {
699
+ if (val) {
700
+ let getAllArea = await this.$resetpost('/rs/search', {
701
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
702
+ userid: this.$login.f.id
703
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
704
+ let arr = getAllArea.data.filter((res) => {
705
+ return res.parentid == val
706
+ })
707
+ this.bookSlice = []
708
+ console.log('过滤之后的片区-------------------', arr)
709
+ arr.forEach((res) => {
710
+ this.bookSlice.push({label: res.name, value: res.name})
711
+ })
712
+ }
713
+ },
714
+ async initAreas (val) {
715
+
716
+ if (val) {
717
+ let getAllArea = await this.$resetpost('/rs/search', {
718
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
719
+ userid: this.$login.f.id
720
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
721
+
722
+ let arr = getAllArea.data.filter((res) => {
723
+ return res.parentid == val
724
+ })
725
+ console.log('过滤之后的片区', arr)
726
+ this.sliceArea = []
727
+ arr.forEach((res) => {
728
+ this.sliceArea.push({label: res.name, value: res.name})
729
+ })
730
+ }
731
+ },
732
+ selfSearch(args) {
733
+ //小区查询条件
734
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
735
+ console.log("=====小区model绑定====",this.area)
736
+ if(this.area.length !== 0){
737
+ let str = JSON.stringify(this.area)
738
+ str = str.replace(/"/g,`'`)
739
+ str = str.replace(/\[/g,``)
740
+ str = str.replace(/\]/g,``)
741
+ console.log("=====小区model22222222222绑定====",str)
742
+ //查询多个小区时条件
743
+ args.condition += ` and f_residential_area in ( ${str} )`
744
+ }
745
+
746
+ if (!this.orgCondtionStr) {
747
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
748
+ } else {
749
+ args.condition = `${args.condition}` + this.orgCondtionStr
750
+ }
751
+ this.condition2 = args.condition
752
+ this.model.search(args.condition, args.model)
753
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
754
+ console.log('合计字段', this.sumsmodel)
755
+ },
756
+ clear() {
757
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
758
+ this.$refs.paged.$refs.cri.model[key] = []
759
+ })
760
+ },
761
+ hidden() {
762
+ this.criteriaShow = !this.criteriaShow
763
+ },
764
+ getRes(obj) {
765
+ this.orgCondtionStr = obj
766
+ },
767
+ stamp() {
768
+ this.all = false
769
+ //默认选择要打印的列
770
+ this.modelval = defaultPrint.config
771
+ this.fields = this.getfield
772
+ console.log('所有打印字段', this.fields)
773
+ this.printshow = true
774
+ this.put()
775
+ },
776
+ put() {
777
+ // 对Modelval进行排序
778
+ this.sortModelval()
779
+ this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
780
+ for (let key of this.modelval) {
781
+ this.thead += '<th>' + this.fields[key] + '</th>'
782
+ }
783
+ this.thead += '</tr>'
784
+ },
785
+ print() {
786
+ this.$refs.print.PrintAsFile()
787
+ this.printshow = false
788
+ },
789
+ close() {
790
+ this.printshow = false
791
+ },
792
+ // 对选择的列进行排序
793
+ sortModelval() {
794
+ let sortModel = []
795
+ Object.keys(this.fields).forEach((key) => {
796
+ if (this.modelval.includes(key)) {
797
+ sortModel.push(key)
798
+ }
799
+ })
800
+ this.modelval = sortModel
801
+ console.log('选择的打印的字段', this.modelval)
802
+ },
803
+ dblclick(row, index) {
804
+ console.log('双击之后数据', row, index)
805
+ this.userdetail.show = true
806
+ this.userdetail.f_userinfo_code = row.f_userinfo_code
807
+ this.userdetail.f_filialeids = row.f_filialeids
808
+ },
809
+ sort (field, rule) {
810
+ // 将所有排序方式设为不排序,实现相互排斥
811
+ for (let key in this.orderFields) {
812
+ if (key === field) {
813
+ this.orderFields[key] = rule
814
+ } else {
815
+ this.orderFields[key] = 'no'
816
+ }
817
+ }
818
+ // 如果新规则不排序,还原为默认排序
819
+ if (rule === 'no') {
820
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
821
+ } else {
822
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
823
+ }
824
+
825
+ this.search()
826
+ }
827
+ },
828
+
829
+ watch: {
830
+ 'all'(val) {
831
+ if (val) {
832
+ this.modelval = this.bodyData
833
+ } else {
834
+ this.modelval = defaultPrint.config
835
+ this.put()
836
+ }
837
+ },
838
+ 'modelval.length'() {
839
+ this.put()
840
+ },
841
+ sumsmodel:{
842
+ handler: function(val) {
843
+ this.getotherfooter();
844
+ },
845
+ deep: true
846
+ },
847
+ 'orgCondtionStr'(val) {
848
+ let res = val.match(/'(.*?)'/)
849
+ console.log('正则提取:',res && res[1])
850
+ if (res) {
851
+ this.f_filialeid = res[1]
852
+ if(res.input !=null){
853
+ let resorgid = res.input.substring(res.input.indexOf("'"));
854
+ if(resorgid!= null && resorgid!=''){
855
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
856
+ // resorgid = resorgid.replaceAll("'","");
857
+ resorgid = resorgid.replace(/'/g,"");
858
+ this.allorgid = resorgid.split(",")
859
+ }
860
+ }
861
+ this.updateParams()
862
+ }
863
+ },
864
+ },
865
+ computed: {
866
+ // defaultexport() {
867
+ // return exportConfig.chargeexportConfig
868
+ // },
869
+ authArr () {
870
+ return this.$login.r ? this.$login.r : []
871
+ },
872
+
873
+ getCondition() {
874
+ return {condition: this.condition2,orderitem:this.orderitem}
875
+ },
876
+ getfield() {
877
+ let data = {}
878
+ this.bodyData.forEach((value, index) => {
879
+ data[this.bodyData[index]] = this.headData[index]
880
+ })
881
+ //合计字段打印
882
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
883
+ if (this.sumsmodel) {
884
+ Object.keys(this.sumsmodel).forEach((key) => {
885
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
886
+ })
887
+ } else {
888
+ this.tfoot += '暂无'
889
+ }
890
+ this.tfoot += '</th></tr>'
891
+ return data
892
+ },
893
+ getExportField() {
894
+ return exportConfig.userConfig
895
+ },
896
+ inputtor () {
897
+ // 获取抄表员
898
+ console.log('获取抄表员', this.$login.f)
899
+ let rs = []
900
+ if (this.$login.f.f_gasman.length > 0) {
901
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
902
+ let temp = {
903
+ label: this.$login.f.f_gasman[i].name,
904
+ value: this.$login.f.f_gasman[i].name
905
+ }
906
+ rs.push(temp)
907
+ }
908
+ }
909
+
910
+ return [{label: '全部', value: ''}, ...rs]
911
+ },
912
+ userstates() {
913
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
914
+ },
915
+ userLevels () {
916
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
917
+ },
918
+ userTypes () {
919
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
920
+ },
921
+ hairpin() {
922
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
923
+ },
924
+ addressstate() {
925
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
926
+ }
927
+ }
928
+ }
929
+ </script>
930
+ <style>
931
+ .back-red{ /* 红色背景 */
932
+ background-color: #F6C6CE;
933
+ }
934
+ .back-blue{ /* 蓝色背景 */
935
+
936
+ }
937
+ </style>
938
+