manage-client 3.2.100 → 3.2.101

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 (37) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/GasMoneyPublicMoney.vue +251 -251
  3. package/src/components/SellReport/NonResidentGas.vue +216 -216
  4. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
  5. package/src/components/SellReport/ReportItems.vue +246 -246
  6. package/src/components/sale/businessquery/ArrearsQuery.vue +934 -934
  7. package/src/components/sale/businessquery/ChangeMeterQuery.vue +676 -676
  8. package/src/components/sale/businessquery/InspectListGas.vue +552 -552
  9. package/src/components/sale/businessquery/InspectListUser.vue +449 -449
  10. package/src/components/sale/businessquery/sellingChargePrice.vue +716 -716
  11. package/src/components/sale/config/exportConfig.js +44 -0
  12. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  13. package/src/components/webmeter/reportdata/ReportDataQuery.vue +28 -0
  14. package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
  15. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
  16. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  17. package/src/filiale/macheng/FxGasTable.vue +236 -236
  18. package/src/filiale/macheng/ManageDayGas.vue +248 -248
  19. package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
  20. package/src/filiale/macheng/ManageMonthGas.vue +250 -250
  21. package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
  22. package/src/filiale/macheng/ManageSellType.vue +287 -287
  23. package/src/filiale/macheng/MonthGasQuery.vue +470 -0
  24. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  25. package/src/filiale/macheng/SellingTable.vue +219 -219
  26. package/src/filiale/macheng/UserBalanceReport.vue +178 -178
  27. package/src/filiale/macheng/config/DefaultPrint.js +7 -0
  28. package/src/filiale/macheng/config/exportConfig.js +74 -67
  29. package/src/filiale/macheng/reportManage.js +19 -19
  30. package/src/filiale/macheng/sale.js +12 -11
  31. package/src/filiale/meihekou/HandplanQuery.vue +1234 -1234
  32. package/src/filiale/meihekou/UserQuery.vue +773 -773
  33. package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
  34. package/src/filiale/rongchuang/SellingTable.vue +251 -251
  35. package/src/filiale/shaoguan/RecordInfoQuery.vue +1150 -1150
  36. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  37. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
@@ -1,1150 +1,1150 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" v-if="!show">
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_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">客户状态</label>
22
- <v-select :value.sync="model.f_user_state"
23
- v-model="model.f_user_state"
24
- :options='$parent.$parent.userstates' placeholder='请选择'
25
- condition="f_user_state = '{}'"
26
- close-on-select></v-select>
27
- </div>
28
- <div class="col-sm-2 form-group" >
29
- <label class="font_normal_body">气表表号</label>
30
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
31
- condition="f_meternumber like '%{}%'" placeholder='气表表号'>
32
- </div>
33
- <div class="col-sm-2 form-group">
34
- <label class="font_normal_body">使用类型</label>
35
- <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
36
- :options='$parent.$parent.useTypes' placeholder='请选择'
37
- style="width:60%"
38
- close-on-select
39
- condition="f_usetype = '{}'"></v-select>
40
- </div>
41
- <div class="span" style = "float:right;">
42
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
43
- <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
44
- <button class="button_search button_spacing" @click="search()">查询</button>
45
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
46
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
47
-
48
- <export-excel :data="$parent.$parent.getCondition"
49
- :field="$parent.$parent.getExportField"
50
- :header="$parent.$parent.other"
51
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
52
- sqlurl="rs/logic/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
53
- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
54
- :defaultfield="$parent.$parent.defaultfield"
55
- titletable="综合档案查询"
56
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
- <div style="float: right" class="button_spacing"
58
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
59
- @click="$parent.$parent.hidden()"></div>
60
- </div>
61
- </div>
62
-
63
- <div class="row" v-show="$parent.$parent.criteriaShow">
64
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
65
- <div class="col-sm-2 form-group" >
66
- <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
67
- <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
68
- v-model="model.startDate"
69
- :value.sync="model.startDate"
70
- :format="'yyyy-MM-dd'"
71
- :show-reset-button="true"
72
- condition="f_createfile_date >= '{} 00:00:00'">
73
- </datepicker>
74
- </div>
75
- <div class="col-sm-2 form-group" >
76
- <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
77
- <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
78
- v-model="model.endDate"
79
- :value.sync="model.endDate"
80
- :format="'yyyy-MM-dd'"
81
- :show-reset-button="true"
82
- condition="f_createfile_date <= '{} 23:59:59'">
83
- </datepicker>
84
- </div>
85
-
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">气表分类</label>
88
- <v-select :value.sync="model.f_meter_classify"
89
- v-model="model.f_meter_classify"
90
- :options='$parent.$parent.metertypes' placeholder='请选择'
91
- condition="f_meter_classify = '{}'"
92
- close-on-select></v-select>
93
- </div>
94
-
95
- <div class="col-sm-2 form-group">
96
- <label class="font_normal_body">气表品牌</label>
97
- <v-select :value.sync="model.f_meter_brand"
98
- v-model="model.f_meter_brand"
99
- :options='$parent.$parent.meterbrands' placeholder='请选择'
100
- condition="f_meter_brand = '{}'"
101
- close-on-select></v-select>
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
105
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
106
- condition="f_card_id = '{}'" placeholder='卡号'>
107
- </div>
108
- <div class="col-sm-2 form-group">
109
- <label class="font_normal_body">客户类型</label>
110
- <v-select :value.sync="model.f_user_type"
111
- :options='$parent.$parent.usertypes'
112
- @change="$parent.$parent.userTypeChange()"
113
- placeholder='请选择' v-model="model.f_user_type"
114
- condition="f_user_type = '{}'"
115
- close-on-select></v-select>
116
- </div>
117
- <div class="col-sm-2 form-group" >
118
- <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表开始日期</label>
119
- <datepicker id="startDate1" placeholder="抄表开始日期" style="width:60%"
120
- v-model="model.startDate1"
121
- :value.sync="model.startDate1"
122
- :format="'yyyy-MM-dd'"
123
- :show-reset-button="true"
124
- condition="f_hand_date >= '{} 00:00:00'">
125
- </datepicker>
126
- </div>
127
- <div class="col-sm-2 form-group" >
128
- <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表结束日期</label>
129
- <datepicker id="endDate1" placeholder="抄表结束日期" style="width:60%"
130
- v-model="model.endDate1"
131
- :value.sync="model.endDate1"
132
- :format="'yyyy-MM-dd'"
133
- :show-reset-button="true"
134
- condition="f_hand_date <= '{} 23:59:59'">
135
- </datepicker>
136
- </div>
137
- <div class="col-sm-2 form-group">
138
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
139
- <v-select :value.sync="model.f_residential_area"
140
- class="select_list select"
141
- enter-push
142
- multiple
143
- condition="f_residential_area in {}"
144
- v-model="model.f_residential_area"
145
- style="width: 60%"
146
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
147
- close-on-select>
148
-
149
- </v-select>
150
- </div>
151
- <div class="col-sm-2 form-group" >
152
- <label class="font_normal_body">客户地址</label>
153
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
154
- condition="f_address like '%{}%'" placeholder='客户地址'>
155
- </div>
156
- <div class="col-sm-2 form-group" >
157
- <label class="font_normal_body">用气点</label>
158
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
159
- condition="f_userfiles_address like '%{}%'" placeholder="用气点">
160
- </div>
161
- <div class="col-sm-2 form-group">
162
- <label class="font_normal_body">用气性质</label>
163
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
164
- :options='$parent.$parent.gasproperties' placeholder='请选择'
165
- condition="f_gasproperties = '{}'"
166
- close-on-select></v-select>
167
- </div>
168
- <div class="col-sm-2 form-group">
169
- <label class="font_normal_body">气价类型</label>
170
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
171
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
172
- condition="f_price_type = '{}'"
173
- close-on-select v-ref:type>
174
- </v-select>
175
- </div>
176
- <div class="col-sm-2 form-group">
177
- <label class="font_normal_body">气价名称</label>
178
- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
179
- :options="$parent.$parent.getPricenames" placeholder='气价名称'
180
- condition="f_price_name = '{}'"
181
-
182
- close-on-select ></v-select>
183
- </div>
184
- <div class="col-sm-2 form-group" >
185
- <label class="font_normal_body">微信绑定</label>
186
- <v-select :value.sync="model.f_isband"
187
- v-model="model.f_isband"
188
- :options='$parent.$parent.bandstates' placeholder='请选择'
189
- condition="f_isband = '{}'"
190
- close-on-select></v-select>
191
- </div>
192
- <div class="col-sm-2 form-group">
193
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
194
- <v-select :value.sync="model.isbgl" v-model="model.isbgl"
195
- :options='$parent.$parent.bgl' placeholder='请选择'
196
- condition="isbgl = '{}'"
197
- close-on-select></v-select>
198
- </div>
199
- <div class="col-sm-2 form-group">
200
- <label class="font_normal_body">发卡状态</label>
201
- <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
202
- :options='$parent.$parent.whetherCard' placeholder='请选择'
203
- condition="f_whether_hairpin = '{}'"
204
- close-on-select></v-select>
205
- </div>
206
- <div class="col-sm-2 form-group">
207
- <label class="font_normal_body">安装位置</label>
208
- <v-select :value.sync="model.f_position" v-model="model.f_position"
209
- :options='$parent.$parent.positions' placeholder='请选择'
210
- condition="f_position = '{}'"
211
- close-on-select></v-select>
212
- </div>
213
-
214
- <div class="col-sm-2 form-group">
215
- <label class="font_normal_body">档案抄表员</label>
216
- <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
217
- style="width:60%"
218
- :multiple="true"
219
- :options='$parent.$parent.inputtores' placeholder='档案抄表员'
220
- close-on-select
221
- v-el:cc></v-select>
222
- </div>
223
- <div class="col-sm-2 form-group">
224
- <label class="font_normal_body">表册抄表员</label>
225
- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
226
- style="width:60%"
227
- :multiple="true"
228
- :options='$parent.$parent.inputtores' placeholder='表册抄表员'
229
- close-on-select
230
- v-el:cc></v-select>
231
- </div>
232
- <!--表册片区-->
233
- <div class="col-sm-2 form-group">
234
- <label class="font_normal_body">表册片区</label>
235
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
236
- @change="$parent.$parent.inputtorchange"
237
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
238
- style="width:60%"
239
- close-on-select
240
- condition="f_book_slice_area = '{}'"></v-select>
241
- </div>
242
- <div class="col-sm-2 form-group">
243
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
244
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
245
- :options='$parent.$parent.meterbooks' placeholder='请选择'
246
- style="width:60%"
247
- close-on-select
248
- condition="f_meter_book_num = '{}'"></v-select>
249
- </div>
250
- <div class="col-sm-2 form-group">
251
- <label class="font_normal_body">房屋类型</label>
252
- <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
253
- :options='$parent.$parent.houseTypes' placeholder='请选择'
254
- style="width:60%"
255
- close-on-select
256
- condition="f_house_type = '{}'"></v-select>
257
- </div>
258
- <div class="col-sm-2 form-group">
259
- <label class="font_normal_body" >缴费类型</label>
260
- <v-select :value.sync="model.f_payment" multiple
261
- v-model="model.f_payment"
262
- :options='$parent.$parent.dypayment' placeholder='请选择'
263
- condition="f_cost_type in {}"
264
- close-on-select></v-select>
265
- </div>
266
- <div class="col-sm-2 form-group" >
267
- <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
268
- <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
269
- v-model="model.startDate2"
270
- :value.sync="model.startDate2"
271
- :format="'yyyy-MM-dd'"
272
- :show-reset-button="true"
273
- condition="f_open_date >= '{} 00:00:00'">
274
- </datepicker>
275
- </div>
276
- <div class="col-sm-2 form-group" >
277
- <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
278
- <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
279
- v-model="model.endDate2"
280
- :value.sync="model.endDate2"
281
- :format="'yyyy-MM-dd'"
282
- :show-reset-button="true"
283
- condition="f_open_date <= '{} 23:59:59'">
284
- </datepicker>
285
- </div>
286
- <div class="col-sm-2 form-group" >
287
- <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
288
- <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
289
- v-model="model.startDate3"
290
- :value.sync="model.startDate3"
291
- :format="'yyyy-MM-dd'"
292
- :show-reset-button="true"
293
- condition="f_install_date >= '{} 00:00:00'">
294
- </datepicker>
295
- </div>
296
- <div class="col-sm-2 form-group" >
297
- <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
298
- <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
299
- v-model="model.endDate3"
300
- :value.sync="model.endDate3"
301
- :format="'yyyy-MM-dd'"
302
- :show-reset-button="true"
303
- condition="f_install_date <= '{} 23:59:59'">
304
- </datepicker>
305
- </div>
306
- <div class="col-sm-2 form-group" >
307
- <label for="endDate4" class="font_normal_body" title="通气时间">通气时间</label>
308
- <datepicker id="endDate4" placeholder="开始日期" style="width:60%"
309
- v-model="model.startDate4"
310
- :value.sync="model.startDate4"
311
- :format="'yyyy-MM-dd'"
312
- :show-reset-button="true"
313
- condition="f_gas_date >= '{} 00:00:00'">
314
- </datepicker>
315
- </div>
316
- <div class="col-sm-2 form-group" >
317
- <label for="endDate4" class="font_normal_body" title="通气时间">通气时间</label>
318
- <datepicker id="endDate4" placeholder="结束日期" style="width:60%"
319
- v-model="model.endDate4"
320
- :value.sync="model.endDate4"
321
- :format="'yyyy-MM-dd'"
322
- :show-reset-button="true"
323
- condition="f_gas_date <= '{} 23:59:59'">
324
- </datepicker>
325
- </div>
326
- <div class="col-sm-2 form-group" >
327
- <label class="font_normal_body">气表表号</label>
328
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
329
- condition="f_meternumber like '%{}%'" placeholder='气表表号'>
330
- </div>
331
- <!--<div class="col-sm-2 form-group">-->
332
- <!--<label class="font_normal_body">使用类型</label>-->
333
- <!--<v-select :value.sync="model.f_usetype" v-model="model.f_usetype"-->
334
- <!--:options='$parent.$parent.useTypes' placeholder='请选择'-->
335
- <!--style="width:60%"-->
336
- <!--close-on-select-->
337
- <!--condition="f_usetype = '{}'"></v-select>-->
338
- <!--</div>-->
339
- <div class="col-sm-2 form-group">
340
- <label class="font_normal_body">表具状态</label>
341
- <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
342
- :options='$parent.$parent.TableStates' placeholder='请选择'
343
- style="width:60%"
344
- close-on-select
345
- condition="f_table_state = '{}'"></v-select>
346
- </div>
347
-
348
- <div class="col-sm-2 form-group">
349
- <label class="font_normal_body">安&ensp;装&ensp;人</label>
350
- <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
351
- style="width:60%"
352
- :multiple="true"
353
- :options='$parent.$parent.person' placeholder='安装人'
354
- condition="f_install_person = '{}'"
355
- close-on-select
356
- v-el:cc></v-select>
357
- </div>
358
- </div>
359
- </div>
360
- </criteria>
361
-
362
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
363
- <template partial='head'>
364
- <tr>
365
- <th><nobr>客户状态</nobr></th>
366
- <th><nobr>客户编号</nobr></th>
367
- <th><nobr>表号</nobr></th>
368
- <th><nobr>是否发卡</nobr></th>
369
- <th><nobr>卡号</nobr></th>
370
- <th><nobr>客户名称</nobr></th>
371
- <th><nobr>小区名称</nobr></th>
372
- <th><nobr>客户地址</nobr></th>
373
- <th><nobr>客户电话</nobr></th>
374
- <th><nobr>气表底数</nobr></th>
375
- <th><nobr>账户余额</nobr></th>
376
- <th><nobr>气表型号</nobr></th>
377
- <th><nobr>表状态</nobr></th>
378
- <th><nobr>初始气表底数</nobr></th>
379
- <th><nobr>累计用气金额</nobr></th>
380
- <th><nobr>表累购气量</nobr></th>
381
- <th><nobr>表累购金额</nobr></th>
382
- <th><nobr>表剩余金额</nobr></th>
383
-
384
- <th><nobr>表册片区</nobr></th>
385
- <!-- 气价类型,单价暂时未处理 -->
386
- <th><nobr>气价类型</nobr></th>
387
- <th><nobr>气价名称</nobr></th>
388
- <th><nobr>单价</nobr></th>
389
-
390
- <th><nobr>安装位置</nobr></th>
391
- <th><nobr>缴费类型</nobr></th>
392
- <th><nobr>气表类型</nobr></th>
393
- <th><nobr>气表品牌</nobr></th>
394
-
395
- <th><nobr>表封号</nobr></th>
396
- <th><nobr>左右表</nobr></th>
397
- <th><nobr>安装人</nobr></th>
398
- <th><nobr>气表安装日期</nobr></th>
399
- <th><nobr>通气人</nobr></th>
400
- <th><nobr>通气日期</nobr></th>
401
- <th><nobr>最后抄表日期</nobr></th>
402
- <!--<th><nobr>最后购气日期</nobr></th>-->
403
- <th><nobr>阀门状态</nobr></th>
404
-
405
- <!-- <th><nobr>旧客户编号</nobr></th> -->
406
- <th><nobr>客户类型</nobr></th>
407
- <th><nobr>用气性质</nobr></th>
408
- <th><nobr>开户时间</nobr></th>
409
- <th><nobr>证件类型</nobr></th>
410
- <th><nobr>证件号码</nobr></th>
411
- <th><nobr>人口数</nobr></th>
412
- <th><nobr>保险结束日期</nobr></th>
413
- <th><nobr>建档日期</nobr></th>
414
- <th><nobr>建档人</nobr></th>
415
- <th><nobr>所属营业厅</nobr></th>
416
- <th><nobr>备注信息</nobr></th>
417
-
418
- <!-- <th><nobr>气价详情</nobr></th>-->
419
- <th><nobr>曾用名</nobr></th>
420
- <th><nobr>备用电话</nobr></th>
421
- <th><nobr>租户姓名</nobr></th>
422
- <th><nobr>租户电话</nobr></th>
423
- <!--<th><nobr>曾用名</nobr></th>-->
424
- <th><nobr>合同ID</nobr></th>
425
- <th><nobr>是否煤改气</nobr></th>
426
- <th><nobr>是否发放天然气使用证</nobr></th>
427
-
428
- <th><nobr>使用类型</nobr></th>
429
-
430
- <!-- <th><nobr>使用状态</nobr></th>-->
431
- <!--<th><nobr>通气时间</nobr></th>-->
432
-
433
-
434
-
435
- <th><nobr>抄表员(表册)</nobr></th>
436
- <th><nobr>抄表员(档案)</nobr></th>
437
- <th><nobr>用气点</nobr></th>
438
-
439
-
440
- <!-- <th><nobr>点火状态</nobr></th>-->
441
- <th><nobr>抄表册编号</nobr></th>
442
-
443
- <th><nobr>抄表册顺序</nobr></th>
444
-
445
- <!-- <th><nobr>首次购气日期</nobr></th>-->
446
- <th><nobr>写卡次数</nobr></th>
447
- <th><nobr>补卡次数</nobr></th>
448
- <!-- <th><nobr>购气次数</nobr></th>-->
449
-
450
- <th><nobr>表同步状态</nobr></th>
451
- <th><nobr>微信绑定</nobr></th>
452
-
453
- <th>
454
- <nobr>银行户名</nobr>
455
- </th>
456
- <th>
457
- <nobr>银行名称</nobr>
458
- </th>
459
- <th>
460
- <nobr>银行账号</nobr>
461
- </th>
462
- <th>
463
- <nobr>银行身份证号</nobr>
464
- </th>
465
- <th>
466
- <nobr>缴费编号</nobr>
467
- </th>
468
- <th>
469
- <nobr>报警器编号</nobr>
470
- </th>
471
- </tr>
472
- </template>
473
- <template partial='body'>
474
- <!--<td style="text-align: center;"><nobr>-->
475
- <!--<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
476
- <!--</nobr> </td>-->
477
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
478
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>
479
- <a style="color:#0b87e2" @click="$parent.$parent.$parent.showmsg(row)">{{row.f_userinfo_code}}</a>
480
- </nobr></td>
481
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
482
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
483
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
484
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
485
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
486
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
487
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
488
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
489
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
490
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
491
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
492
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
493
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
494
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
495
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
496
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
497
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
498
-
499
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_price_type}}</nobr></td>
500
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
501
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.value}}</nobr></td>
502
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
503
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
504
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
505
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
506
-
507
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
508
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
509
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
510
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
511
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
512
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
513
-
514
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
515
- <!--<td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
516
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
517
-
518
- <!--<td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
519
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
520
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
521
-
522
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
523
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
524
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
525
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
526
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
527
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
528
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
529
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
530
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
531
-
532
- <!--<td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
533
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
534
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
535
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
536
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
537
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
538
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
539
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
540
-
541
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
542
- <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
543
- <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
544
-
545
-
546
-
547
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
548
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
549
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
550
- <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
551
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
552
-
553
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
554
-
555
- <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
556
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
557
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
558
- <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
559
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
560
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
561
-
562
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
563
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
564
- </td>
565
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
566
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
567
- </td>
568
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
569
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
570
- </td>
571
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
572
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
573
- </td>
574
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
575
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
576
- </td>
577
- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
578
- </template>
579
- <template partial='foot'>
580
-
581
- </template>
582
- </data-grid>
583
- </criteria-paged>
584
-
585
- <table class="table-hover">
586
- <tr style="position: relative" class="table-bordered">
587
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
588
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">暂无合计字段</td>
589
- </tr>
590
- </table>
591
-
592
- <modal :show.sync="printshow" v-ref:modal backdrop="false">
593
- <header slot="modal-header" class="modal-header text-center">
594
- <h4 class="modal-title">打印列选择</h4>
595
- <input type="checkbox" class="" id="f_generations" v-model="all">
596
- <label for="f_generations" class="font-size">全选</label>
597
- </header>
598
- <article slot="modal-body">
599
- <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
600
- <div class="col-sm-3" v-for="f in fields">
601
- <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
602
- <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
603
- </div>
604
- </div>
605
- </article>
606
- <footer slot="modal-footer" class="modal-footer">
607
- <center>
608
-
609
- <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
610
- <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
611
- <print-table :model='model' v-show="false" v-ref:print
612
- :top='40' :left='60' :right='40' :bottom='60'
613
- :thead="thead" :tfoot='tfoot' :attach="yangsen"
614
- :fields="modelval" :printpage="true">
615
- </print-table>
616
- </center>
617
- </footer>
618
- </modal>
619
- </div>
620
- <div class="flex" v-if="show">
621
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
622
- </div>
623
- </div>
624
- </div>
625
- </div>
626
-
627
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
628
- </template>
629
-
630
- <script>
631
- import {HttpResetClass, PagedList} from 'vue-client'
632
- import defaultPrint from './config/DefaultPrint'
633
- import exportConfig from './config/exportConfig'
634
- let cardBtnGen = async function (self, val) {
635
- self.cardInfo = val.data
636
-
637
- // 判断读卡是否需要卡密码
638
- console.log('读卡上的信息', self.cardInfo)
639
-
640
- if (self.cardInfo.NewParam) {
641
- if (self.cardInfo.NewParam.error) {
642
- if (self.cardInfo.NewParam.error === '0001') {
643
- // 需要重新读卡并传卡密码
644
- if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
645
- self.readCardParam = self.model.rows[0].f_card_password
646
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
647
- } else {
648
- self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
649
- return
650
- }
651
- }
652
- }
653
- }
654
- self.card=self.cardInfo.CardID
655
- self.search()
656
- }
657
- let readySomething = async function (self) {
658
- await self.$MagLoadParams.loadParam()
659
- // await self.$LoadParams.loadParam(self.f_filialeid)
660
- self.initParams()
661
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
662
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
663
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
664
- // await self.$refs.paged.$refs.cri.search()
665
- }
666
- export default {
667
- title: '综合档案信息查询',
668
- data() {
669
- return {
670
- IdCardInfo:'',
671
- card:'',
672
- isSingleUser: null,
673
- other:[],
674
- footer:[],
675
- model: new PagedList('rs/sql/compreQuery', 20),
676
- criteriaShow: false,
677
- orgCondtionStr:'',
678
- residentialArea: [],
679
- gasproperties:[],
680
- meterbrands: [],
681
- modelval: [],
682
- prices: [],
683
- printshow: false,
684
- all: false,
685
- fields: {},
686
- thead: '',
687
- tfoot: '',
688
- defaultfield: [],
689
- config: {
690
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
691
- },
692
- area: [],
693
- inputtouPerson: [],
694
- bookinputtorperson:[],
695
- conditon2:'',
696
- show:false,
697
- rowdata:{},
698
- f_filialeid: this.$login.f.orgid,
699
- // 下拉框参数
700
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
701
- bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
702
- initres: {
703
- org:[this.$login.f.orgid],
704
- dep:[],
705
- user:[],
706
- },
707
- // 合计数据
708
- sumsmodel: {},
709
- //表册片区
710
- bookSlice:[{label: '全部',value: ''}],
711
- dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
712
- }
713
- },
714
- ready(){
715
- this.getaddress()
716
- readySomething(this).then(() => {
717
- this.$emit('ready')
718
- }).catch((error) => {
719
- this.$emit('error', error)
720
- })
721
- },
722
- methods: {
723
- ReadIDCard(){
724
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
725
- console.log('======',msg)
726
- if(msg.err !== 0){ return}
727
- this.IdCardInfo=msg.strID
728
- })
729
- if(this.IdCardInfo) {
730
- this.search()
731
- }else{
732
- alert("读取失败,找不到用户信息")
733
- }
734
- },
735
- cardBtn (val) {
736
- // this.clear()
737
- cardBtnGen(this, val)
738
- },
739
- // getPricenames () {
740
- // let f_filialeid = this.f_filialeid
741
- // let result = []
742
- // this.$GetSaleParam.prices.forEach((item) => {
743
- // if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
744
- // let value = {
745
- // label: item.f_price_name,
746
- // value: item.f_price_name
747
- // }
748
- // result.push(value)
749
- // }
750
- // })
751
- // this.pricenames = [{label:'全部',value:''},...result];
752
- // },
753
- getotherfooter () {
754
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
755
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
756
- this.other = [];
757
- this.footer = [];
758
- let exportdata = this.getCondition;
759
- let otherInData = [];
760
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
761
- // let footerData = [], exportfield = this.getExportField;
762
- // footerData.push("合计");
763
- // let self = this;
764
- // for (var field in self.sumsmodel) {
765
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
766
- // }
767
- // this.footer.push(footerData);
768
- this.other.push(otherInData);
769
- },
770
- initParams() {
771
- // 初始化气表品牌
772
- let brandArr = []
773
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
774
- let temp = {}
775
- temp.label = item.label
776
- temp.value = item.value.f_meter_brand
777
- brandArr.push(temp)
778
- })
779
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
780
- //初始化气表价格
781
- this.prices = this.$MagGetSaleParam.getPrices();
782
- },
783
- async getaddress(){
784
- console.log('开始获取小区')
785
- let HttpReset = new HttpResetClass()
786
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
787
- data: {
788
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
789
- }
790
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
791
- console.log('小区',data)
792
- let house = [{label: '全部', value: ''}]
793
- for (let row of data.data){
794
- console.log('开始保存小区')
795
- house.push({label: row.f_residential_area, value: row.f_residential_area})
796
- }
797
- this.residentialArea = house
798
- },
799
- search(){
800
- this.$refs.paged.$refs.cri.search()
801
- },
802
- cancel() {
803
- this.show = !this.show
804
- },
805
- showmsg(obj){
806
-
807
- this.rowdata=obj
808
- this.show= !this.show
809
- console.log("测试室",obj,this.show)
810
- },
811
- selfSearch (args) {
812
-
813
- //抄表员查询条件
814
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
815
- if(this.inputtouPerson.length !== 0){
816
- let str = JSON.stringify(this.inputtouPerson)
817
- str = str.replace(/"/g,`'`)
818
- str = str.replace(/\[/g,``)
819
- str = str.replace(/\]/g,``)
820
- console.log("=====抄表员model22222222222绑定====",str)
821
- //查询多个抄表员时条件
822
- args.condition += ` and f_inputtor in ( ${str} )`
823
- }
824
- this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
825
- if(this.bookinputtorperson.length !== 0){
826
- let str = JSON.stringify(this.bookinputtorperson)
827
- str = str.replace(/"/g,`'`)
828
- str = str.replace(/\[/g,``)
829
- str = str.replace(/\]/g,``)
830
- console.log("=====抄表员model22222222222绑定====",str)
831
- //查询多个抄表员时条件
832
- args.condition += ` and f_book_inputtor in ( ${str} )`
833
- }
834
- if (!this.orgCondtionStr) {
835
- args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
836
- } else {
837
- args.condition = `${args.condition}` + this.orgCondtionStr
838
- }
839
- this.conditon2 = args.condition
840
- console.log("查看条件",this.conditon2)
841
- if(this.card!=''){
842
- args.condition +=` and f_card_id='${this.card}'`
843
- }
844
- if(this.IdCardInfo!=''){
845
- args.condition+=` and f_idnumber='${this.IdCardInfo}'`
846
- }
847
- this.model.search(args.condition, args.model)
848
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
849
- this.card=''
850
- this.IdCardInfo=''
851
- console.log('合计字段',this.sumsmodel)
852
- },
853
- clear(){
854
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
855
- this.$refs.paged.$refs.cri.model[key] = []
856
- })
857
- },
858
- hidden(){
859
- this.criteriaShow = !this.criteriaShow
860
- },
861
- getRes(obj) {
862
- this.orgCondtionStr = obj
863
- },
864
- stamp () {
865
- this.all = false
866
- //默认选择要打印的列
867
- this.modelval = defaultPrint.config
868
- this.fields = this.getfield
869
- console.log('所有打印字段',this.fields)
870
- this.printshow = true
871
- this.put()
872
- },
873
- put () {
874
- // 对Modelval进行排序
875
- this.sortModelval()
876
- this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
877
- for (let key of this.modelval) {
878
- this.thead += '<th>' + this.fields[key] + '</th>'
879
- }
880
- this.thead += '</tr>'
881
- },
882
- print () {
883
- this.$refs.print.PrintAsFile()
884
- this.printshow = false
885
- },
886
- close () {
887
- this.printshow = false
888
- this.all = false
889
- },
890
- userTypeChange () {
891
- this.gasproperties=[]
892
- if(this.$refs.paged.$refs.cri.model !==null) {
893
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
894
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
895
- // this.gasproperties.push({label: '全部', value: ''})
896
- }
897
- else{
898
- this.gasproperties =[{label: '全部', value: ''}]
899
- }
900
- },
901
- // 对选择的列进行排序
902
- sortModelval () {
903
- let sortModel = []
904
- Object.keys(this.fields).forEach((key) => {
905
- if (this.modelval.includes(key)) {
906
- sortModel.push(key)
907
- }
908
- })
909
- this.modelval = sortModel
910
- console.log('选择的打印的字段', this.modelval)
911
- },
912
- async updateParams() {
913
- await this.$MagLoadParams.loadParam(this.f_filialeid)
914
- this.inputtores = [];
915
- this.inputtores.push({label: "全部", value: ""})
916
- this.initSlice(this.f_filialeid)
917
- if(this.allorgid!=null){
918
- this.allorgid.forEach((res)=>{
919
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
920
- })
921
- }
922
- },
923
- async initSlice (val) {
924
- if (val) {
925
- let getAllArea = await this.$resetpost('/rs/search', {
926
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
927
- userid: this.$login.f.id
928
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
929
- let arr = getAllArea.data.filter((res) => {
930
- return res.parentid == val
931
- })
932
- this.bookSlice = []
933
- console.log('过滤之后的片区-------------------', arr)
934
- arr.forEach((res) => {
935
- this.bookSlice.push({label: res.name, value: res.name})
936
- })
937
- }
938
- },
939
- //表册片区和抄表册关联
940
- async inputtorchange(){
941
- this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
942
- /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
943
- let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
944
- if((val2.length>0)){
945
- let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
946
- /*if (val1[0]){
947
- condition = condition+ ` and f_meter_book = '${val1[0]}' `
948
- }*/
949
- if(val2[0]) {
950
- condition = condition + ` and f_book_slice_area = '${val2}' `
951
- }
952
- let param={
953
- items:'*',
954
- tablename:'t_meter_book',
955
- condition:condition,
956
- orderitem:'id'
957
- }
958
- let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
959
- if (getMeterBooks.data) {
960
- if(getMeterBooks.data.length >0){
961
- let rs = [];
962
- getMeterBooks.data.forEach((item)=>{
963
- let temp = {
964
- label:item.f_book_name,
965
- value:item.id
966
- };
967
- rs.push(temp);
968
-
969
- })
970
- this.meterbooks = [{label: '全部',value: ''}, ...rs];
971
- }else{
972
- this.meterbooks = [{label: '全部',value: ''}];
973
- }
974
- }
975
- }else{
976
- this.meterbooks = [{label: '全部',value: ''}];
977
- this.initmeterbook();
978
- }
979
- },
980
- },
981
- watch:{
982
- 'model.rows.length' () {
983
- this.isSingleUser = this.model.rows
984
- },
985
- 'all' (val) {
986
- if (val) {
987
- this.modelval = this.bodyData
988
- } else {
989
- this.modelval = defaultPrint.config
990
- this.put()
991
- }
992
- },
993
- 'modelval.length' () {
994
- this.put()
995
- },
996
- sumsmodel:{
997
- handler: function(val) {
998
- this.getotherfooter();
999
- },
1000
- deep: true
1001
- },
1002
- 'orgCondtionStr'(val) {
1003
- let res = val.match(/'(.*?)'/)
1004
- console.log('正则提取:',res && res[1])
1005
- if (res) {
1006
- this.f_filialeid = res[1]
1007
- if(res.input !=null){
1008
- let resorgid = res.input.substring(res.input.indexOf("'"));
1009
- if(resorgid!= null && resorgid!=''){
1010
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1011
- // resorgid = resorgid.replaceAll("'","");
1012
- resorgid = resorgid.replace(/'/g,"");
1013
- this.allorgid = resorgid.split(",")
1014
- }
1015
- }
1016
- this.updateParams()
1017
- }
1018
- },
1019
- },
1020
- computed:{
1021
- bandstates () {
1022
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
1023
- },
1024
- TableStates () {
1025
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
1026
- },
1027
- bgl(){
1028
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
1029
- },
1030
- houseTypes(){
1031
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
1032
- },
1033
- gasproperties(){
1034
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1035
- },
1036
- whetherCard(){
1037
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
1038
- },
1039
- usertypes() {
1040
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1041
- },
1042
- useTypes() {
1043
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1044
- },
1045
- positions() {
1046
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
1047
- },
1048
- meterbooks(){
1049
- return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1050
- },
1051
- // gasproperties() {
1052
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1053
- // },
1054
-
1055
- metertypes() {
1056
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
1057
- },
1058
- pricetypes() {
1059
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1060
- },
1061
- person() {
1062
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
1063
- },
1064
- tablestate() {
1065
- return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
1066
- },
1067
-
1068
- getPricenames() {
1069
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1070
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1071
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1072
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1073
- if(this.$refs.paged.$refs.cri.model !==null) {
1074
- let rs = []
1075
- let priceArr = []
1076
- if ( pricetype.length >0) {
1077
- let params = {
1078
- f_price_type: pricetype[0],
1079
- filter: this.f_filialeid,
1080
- prices: this.prices
1081
- }
1082
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1083
- let temp = {}
1084
- temp.label = item.label
1085
- temp.value = item.value.f_price_name
1086
- priceArr.push(temp)
1087
- })
1088
- rs = [{label: '全部', value: ''}, ...priceArr]
1089
- }
1090
- if (rs.length === 0) {
1091
- console.log('rs读出来是空')
1092
- this.$refs.paged.$refs.cri.model.f_price_name = ''
1093
- }
1094
- return rs
1095
- }
1096
- },
1097
- inputtores () {
1098
- // 获取抄表员
1099
- console.log('获取抄表员', this.$login.f)
1100
- let rs = []
1101
- if (this.$login.f.f_gasman.length > 0) {
1102
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1103
- let temp = {
1104
- label: this.$login.f.f_gasman[i].name,
1105
- value: this.$login.f.f_gasman[i].name
1106
- }
1107
- rs.push(temp)
1108
- }
1109
- }
1110
-
1111
- return [{label: '全部', value: ''}, ...rs]
1112
- },
1113
- authArr () {
1114
- return this.$login.r ? this.$login.r : []
1115
- },
1116
- getCondition(){
1117
-
1118
- return {condition:this.conditon2}
1119
- },
1120
- getfield(){
1121
- let data = {}
1122
- this.bodyData.forEach((value, index)=>{
1123
- data[this.bodyData[index]] = this.headData[index]
1124
- })
1125
- //合计字段打印
1126
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1127
- if(this.sumsmodel){
1128
- Object.keys(this.sumsmodel).forEach((key) => {
1129
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1130
- })
1131
- }else{
1132
- this.tfoot += '暂无'
1133
- }
1134
- this.tfoot += '</th></tr>'
1135
- return data
1136
- },
1137
- getExportField() {
1138
- return exportConfig.compreConfig
1139
- }
1140
- }
1141
- }
1142
- </script>
1143
- <style>
1144
- .back-red{ /* 红色背景 */
1145
- background-color: #F6C6CE;
1146
- }
1147
- .back-blue{ /* 蓝色背景 */
1148
-
1149
- }
1150
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
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_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">客户状态</label>
22
+ <v-select :value.sync="model.f_user_state"
23
+ v-model="model.f_user_state"
24
+ :options='$parent.$parent.userstates' placeholder='请选择'
25
+ condition="f_user_state = '{}'"
26
+ close-on-select></v-select>
27
+ </div>
28
+ <div class="col-sm-2 form-group" >
29
+ <label class="font_normal_body">气表表号</label>
30
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
31
+ condition="f_meternumber like '%{}%'" placeholder='气表表号'>
32
+ </div>
33
+ <div class="col-sm-2 form-group">
34
+ <label class="font_normal_body">使用类型</label>
35
+ <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
36
+ :options='$parent.$parent.useTypes' placeholder='请选择'
37
+ style="width:60%"
38
+ close-on-select
39
+ condition="f_usetype = '{}'"></v-select>
40
+ </div>
41
+ <div class="span" style = "float:right;">
42
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
43
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
44
+ <button class="button_search button_spacing" @click="search()">查询</button>
45
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
46
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
47
+
48
+ <export-excel :data="$parent.$parent.getCondition"
49
+ :field="$parent.$parent.getExportField"
50
+ :header="$parent.$parent.other"
51
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
52
+ sqlurl="rs/logic/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
53
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
54
+ :defaultfield="$parent.$parent.defaultfield"
55
+ titletable="综合档案查询"
56
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
+ <div style="float: right" class="button_spacing"
58
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
59
+ @click="$parent.$parent.hidden()"></div>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="row" v-show="$parent.$parent.criteriaShow">
64
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
65
+ <div class="col-sm-2 form-group" >
66
+ <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
67
+ <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
68
+ v-model="model.startDate"
69
+ :value.sync="model.startDate"
70
+ :format="'yyyy-MM-dd'"
71
+ :show-reset-button="true"
72
+ condition="f_createfile_date >= '{} 00:00:00'">
73
+ </datepicker>
74
+ </div>
75
+ <div class="col-sm-2 form-group" >
76
+ <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
77
+ <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
78
+ v-model="model.endDate"
79
+ :value.sync="model.endDate"
80
+ :format="'yyyy-MM-dd'"
81
+ :show-reset-button="true"
82
+ condition="f_createfile_date <= '{} 23:59:59'">
83
+ </datepicker>
84
+ </div>
85
+
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">气表分类</label>
88
+ <v-select :value.sync="model.f_meter_classify"
89
+ v-model="model.f_meter_classify"
90
+ :options='$parent.$parent.metertypes' placeholder='请选择'
91
+ condition="f_meter_classify = '{}'"
92
+ close-on-select></v-select>
93
+ </div>
94
+
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body">气表品牌</label>
97
+ <v-select :value.sync="model.f_meter_brand"
98
+ v-model="model.f_meter_brand"
99
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
100
+ condition="f_meter_brand = '{}'"
101
+ close-on-select></v-select>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
105
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
106
+ condition="f_card_id = '{}'" placeholder='卡号'>
107
+ </div>
108
+ <div class="col-sm-2 form-group">
109
+ <label class="font_normal_body">客户类型</label>
110
+ <v-select :value.sync="model.f_user_type"
111
+ :options='$parent.$parent.usertypes'
112
+ @change="$parent.$parent.userTypeChange()"
113
+ placeholder='请选择' v-model="model.f_user_type"
114
+ condition="f_user_type = '{}'"
115
+ close-on-select></v-select>
116
+ </div>
117
+ <div class="col-sm-2 form-group" >
118
+ <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表开始日期</label>
119
+ <datepicker id="startDate1" placeholder="抄表开始日期" style="width:60%"
120
+ v-model="model.startDate1"
121
+ :value.sync="model.startDate1"
122
+ :format="'yyyy-MM-dd'"
123
+ :show-reset-button="true"
124
+ condition="f_hand_date >= '{} 00:00:00'">
125
+ </datepicker>
126
+ </div>
127
+ <div class="col-sm-2 form-group" >
128
+ <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表结束日期</label>
129
+ <datepicker id="endDate1" placeholder="抄表结束日期" style="width:60%"
130
+ v-model="model.endDate1"
131
+ :value.sync="model.endDate1"
132
+ :format="'yyyy-MM-dd'"
133
+ :show-reset-button="true"
134
+ condition="f_hand_date <= '{} 23:59:59'">
135
+ </datepicker>
136
+ </div>
137
+ <div class="col-sm-2 form-group">
138
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
139
+ <v-select :value.sync="model.f_residential_area"
140
+ class="select_list select"
141
+ enter-push
142
+ multiple
143
+ condition="f_residential_area in {}"
144
+ v-model="model.f_residential_area"
145
+ style="width: 60%"
146
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
147
+ close-on-select>
148
+
149
+ </v-select>
150
+ </div>
151
+ <div class="col-sm-2 form-group" >
152
+ <label class="font_normal_body">客户地址</label>
153
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
154
+ condition="f_address like '%{}%'" placeholder='客户地址'>
155
+ </div>
156
+ <div class="col-sm-2 form-group" >
157
+ <label class="font_normal_body">用气点</label>
158
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
159
+ condition="f_userfiles_address like '%{}%'" placeholder="用气点">
160
+ </div>
161
+ <div class="col-sm-2 form-group">
162
+ <label class="font_normal_body">用气性质</label>
163
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
164
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
165
+ condition="f_gasproperties = '{}'"
166
+ close-on-select></v-select>
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label class="font_normal_body">气价类型</label>
170
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
171
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
172
+ condition="f_price_type = '{}'"
173
+ close-on-select v-ref:type>
174
+ </v-select>
175
+ </div>
176
+ <div class="col-sm-2 form-group">
177
+ <label class="font_normal_body">气价名称</label>
178
+ <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
179
+ :options="$parent.$parent.getPricenames" placeholder='气价名称'
180
+ condition="f_price_name = '{}'"
181
+
182
+ close-on-select ></v-select>
183
+ </div>
184
+ <div class="col-sm-2 form-group" >
185
+ <label class="font_normal_body">微信绑定</label>
186
+ <v-select :value.sync="model.f_isband"
187
+ v-model="model.f_isband"
188
+ :options='$parent.$parent.bandstates' placeholder='请选择'
189
+ condition="f_isband = '{}'"
190
+ close-on-select></v-select>
191
+ </div>
192
+ <div class="col-sm-2 form-group">
193
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
194
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl"
195
+ :options='$parent.$parent.bgl' placeholder='请选择'
196
+ condition="isbgl = '{}'"
197
+ close-on-select></v-select>
198
+ </div>
199
+ <div class="col-sm-2 form-group">
200
+ <label class="font_normal_body">发卡状态</label>
201
+ <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
202
+ :options='$parent.$parent.whetherCard' placeholder='请选择'
203
+ condition="f_whether_hairpin = '{}'"
204
+ close-on-select></v-select>
205
+ </div>
206
+ <div class="col-sm-2 form-group">
207
+ <label class="font_normal_body">安装位置</label>
208
+ <v-select :value.sync="model.f_position" v-model="model.f_position"
209
+ :options='$parent.$parent.positions' placeholder='请选择'
210
+ condition="f_position = '{}'"
211
+ close-on-select></v-select>
212
+ </div>
213
+
214
+ <div class="col-sm-2 form-group">
215
+ <label class="font_normal_body">档案抄表员</label>
216
+ <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
217
+ style="width:60%"
218
+ :multiple="true"
219
+ :options='$parent.$parent.inputtores' placeholder='档案抄表员'
220
+ close-on-select
221
+ v-el:cc></v-select>
222
+ </div>
223
+ <div class="col-sm-2 form-group">
224
+ <label class="font_normal_body">表册抄表员</label>
225
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
226
+ style="width:60%"
227
+ :multiple="true"
228
+ :options='$parent.$parent.inputtores' placeholder='表册抄表员'
229
+ close-on-select
230
+ v-el:cc></v-select>
231
+ </div>
232
+ <!--表册片区-->
233
+ <div class="col-sm-2 form-group">
234
+ <label class="font_normal_body">表册片区</label>
235
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
236
+ @change="$parent.$parent.inputtorchange"
237
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
238
+ style="width:60%"
239
+ close-on-select
240
+ condition="f_book_slice_area = '{}'"></v-select>
241
+ </div>
242
+ <div class="col-sm-2 form-group">
243
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
244
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
245
+ :options='$parent.$parent.meterbooks' placeholder='请选择'
246
+ style="width:60%"
247
+ close-on-select
248
+ condition="f_meter_book_num = '{}'"></v-select>
249
+ </div>
250
+ <div class="col-sm-2 form-group">
251
+ <label class="font_normal_body">房屋类型</label>
252
+ <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
253
+ :options='$parent.$parent.houseTypes' placeholder='请选择'
254
+ style="width:60%"
255
+ close-on-select
256
+ condition="f_house_type = '{}'"></v-select>
257
+ </div>
258
+ <div class="col-sm-2 form-group">
259
+ <label class="font_normal_body" >缴费类型</label>
260
+ <v-select :value.sync="model.f_payment" multiple
261
+ v-model="model.f_payment"
262
+ :options='$parent.$parent.dypayment' placeholder='请选择'
263
+ condition="f_cost_type in {}"
264
+ close-on-select></v-select>
265
+ </div>
266
+ <div class="col-sm-2 form-group" >
267
+ <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
268
+ <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
269
+ v-model="model.startDate2"
270
+ :value.sync="model.startDate2"
271
+ :format="'yyyy-MM-dd'"
272
+ :show-reset-button="true"
273
+ condition="f_open_date >= '{} 00:00:00'">
274
+ </datepicker>
275
+ </div>
276
+ <div class="col-sm-2 form-group" >
277
+ <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
278
+ <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
279
+ v-model="model.endDate2"
280
+ :value.sync="model.endDate2"
281
+ :format="'yyyy-MM-dd'"
282
+ :show-reset-button="true"
283
+ condition="f_open_date <= '{} 23:59:59'">
284
+ </datepicker>
285
+ </div>
286
+ <div class="col-sm-2 form-group" >
287
+ <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
288
+ <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
289
+ v-model="model.startDate3"
290
+ :value.sync="model.startDate3"
291
+ :format="'yyyy-MM-dd'"
292
+ :show-reset-button="true"
293
+ condition="f_install_date >= '{} 00:00:00'">
294
+ </datepicker>
295
+ </div>
296
+ <div class="col-sm-2 form-group" >
297
+ <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
298
+ <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
299
+ v-model="model.endDate3"
300
+ :value.sync="model.endDate3"
301
+ :format="'yyyy-MM-dd'"
302
+ :show-reset-button="true"
303
+ condition="f_install_date <= '{} 23:59:59'">
304
+ </datepicker>
305
+ </div>
306
+ <div class="col-sm-2 form-group" >
307
+ <label for="endDate4" class="font_normal_body" title="通气时间">通气时间</label>
308
+ <datepicker id="endDate4" placeholder="开始日期" style="width:60%"
309
+ v-model="model.startDate4"
310
+ :value.sync="model.startDate4"
311
+ :format="'yyyy-MM-dd'"
312
+ :show-reset-button="true"
313
+ condition="f_gas_date >= '{} 00:00:00'">
314
+ </datepicker>
315
+ </div>
316
+ <div class="col-sm-2 form-group" >
317
+ <label for="endDate4" class="font_normal_body" title="通气时间">通气时间</label>
318
+ <datepicker id="endDate4" placeholder="结束日期" style="width:60%"
319
+ v-model="model.endDate4"
320
+ :value.sync="model.endDate4"
321
+ :format="'yyyy-MM-dd'"
322
+ :show-reset-button="true"
323
+ condition="f_gas_date <= '{} 23:59:59'">
324
+ </datepicker>
325
+ </div>
326
+ <div class="col-sm-2 form-group" >
327
+ <label class="font_normal_body">气表表号</label>
328
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
329
+ condition="f_meternumber like '%{}%'" placeholder='气表表号'>
330
+ </div>
331
+ <!--<div class="col-sm-2 form-group">-->
332
+ <!--<label class="font_normal_body">使用类型</label>-->
333
+ <!--<v-select :value.sync="model.f_usetype" v-model="model.f_usetype"-->
334
+ <!--:options='$parent.$parent.useTypes' placeholder='请选择'-->
335
+ <!--style="width:60%"-->
336
+ <!--close-on-select-->
337
+ <!--condition="f_usetype = '{}'"></v-select>-->
338
+ <!--</div>-->
339
+ <div class="col-sm-2 form-group">
340
+ <label class="font_normal_body">表具状态</label>
341
+ <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
342
+ :options='$parent.$parent.TableStates' placeholder='请选择'
343
+ style="width:60%"
344
+ close-on-select
345
+ condition="f_table_state = '{}'"></v-select>
346
+ </div>
347
+
348
+ <div class="col-sm-2 form-group">
349
+ <label class="font_normal_body">安&ensp;装&ensp;人</label>
350
+ <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
351
+ style="width:60%"
352
+ :multiple="true"
353
+ :options='$parent.$parent.person' placeholder='安装人'
354
+ condition="f_install_person = '{}'"
355
+ close-on-select
356
+ v-el:cc></v-select>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </criteria>
361
+
362
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
363
+ <template partial='head'>
364
+ <tr>
365
+ <th><nobr>客户状态</nobr></th>
366
+ <th><nobr>客户编号</nobr></th>
367
+ <th><nobr>表号</nobr></th>
368
+ <th><nobr>是否发卡</nobr></th>
369
+ <th><nobr>卡号</nobr></th>
370
+ <th><nobr>客户名称</nobr></th>
371
+ <th><nobr>小区名称</nobr></th>
372
+ <th><nobr>客户地址</nobr></th>
373
+ <th><nobr>客户电话</nobr></th>
374
+ <th><nobr>气表底数</nobr></th>
375
+ <th><nobr>账户余额</nobr></th>
376
+ <th><nobr>气表型号</nobr></th>
377
+ <th><nobr>表状态</nobr></th>
378
+ <th><nobr>初始气表底数</nobr></th>
379
+ <th><nobr>累计用气金额</nobr></th>
380
+ <th><nobr>表累购气量</nobr></th>
381
+ <th><nobr>表累购金额</nobr></th>
382
+ <th><nobr>表剩余金额</nobr></th>
383
+
384
+ <th><nobr>表册片区</nobr></th>
385
+ <!-- 气价类型,单价暂时未处理 -->
386
+ <th><nobr>气价类型</nobr></th>
387
+ <th><nobr>气价名称</nobr></th>
388
+ <th><nobr>单价</nobr></th>
389
+
390
+ <th><nobr>安装位置</nobr></th>
391
+ <th><nobr>缴费类型</nobr></th>
392
+ <th><nobr>气表类型</nobr></th>
393
+ <th><nobr>气表品牌</nobr></th>
394
+
395
+ <th><nobr>表封号</nobr></th>
396
+ <th><nobr>左右表</nobr></th>
397
+ <th><nobr>安装人</nobr></th>
398
+ <th><nobr>气表安装日期</nobr></th>
399
+ <th><nobr>通气人</nobr></th>
400
+ <th><nobr>通气日期</nobr></th>
401
+ <th><nobr>最后抄表日期</nobr></th>
402
+ <!--<th><nobr>最后购气日期</nobr></th>-->
403
+ <th><nobr>阀门状态</nobr></th>
404
+
405
+ <!-- <th><nobr>旧客户编号</nobr></th> -->
406
+ <th><nobr>客户类型</nobr></th>
407
+ <th><nobr>用气性质</nobr></th>
408
+ <th><nobr>开户时间</nobr></th>
409
+ <th><nobr>证件类型</nobr></th>
410
+ <th><nobr>证件号码</nobr></th>
411
+ <th><nobr>人口数</nobr></th>
412
+ <th><nobr>保险结束日期</nobr></th>
413
+ <th><nobr>建档日期</nobr></th>
414
+ <th><nobr>建档人</nobr></th>
415
+ <th><nobr>所属营业厅</nobr></th>
416
+ <th><nobr>备注信息</nobr></th>
417
+
418
+ <!-- <th><nobr>气价详情</nobr></th>-->
419
+ <th><nobr>曾用名</nobr></th>
420
+ <th><nobr>备用电话</nobr></th>
421
+ <th><nobr>租户姓名</nobr></th>
422
+ <th><nobr>租户电话</nobr></th>
423
+ <!--<th><nobr>曾用名</nobr></th>-->
424
+ <th><nobr>合同ID</nobr></th>
425
+ <th><nobr>是否煤改气</nobr></th>
426
+ <th><nobr>是否发放天然气使用证</nobr></th>
427
+
428
+ <th><nobr>使用类型</nobr></th>
429
+
430
+ <!-- <th><nobr>使用状态</nobr></th>-->
431
+ <!--<th><nobr>通气时间</nobr></th>-->
432
+
433
+
434
+
435
+ <th><nobr>抄表员(表册)</nobr></th>
436
+ <th><nobr>抄表员(档案)</nobr></th>
437
+ <th><nobr>用气点</nobr></th>
438
+
439
+
440
+ <!-- <th><nobr>点火状态</nobr></th>-->
441
+ <th><nobr>抄表册编号</nobr></th>
442
+
443
+ <th><nobr>抄表册顺序</nobr></th>
444
+
445
+ <!-- <th><nobr>首次购气日期</nobr></th>-->
446
+ <th><nobr>写卡次数</nobr></th>
447
+ <th><nobr>补卡次数</nobr></th>
448
+ <!-- <th><nobr>购气次数</nobr></th>-->
449
+
450
+ <th><nobr>表同步状态</nobr></th>
451
+ <th><nobr>微信绑定</nobr></th>
452
+
453
+ <th>
454
+ <nobr>银行户名</nobr>
455
+ </th>
456
+ <th>
457
+ <nobr>银行名称</nobr>
458
+ </th>
459
+ <th>
460
+ <nobr>银行账号</nobr>
461
+ </th>
462
+ <th>
463
+ <nobr>银行身份证号</nobr>
464
+ </th>
465
+ <th>
466
+ <nobr>缴费编号</nobr>
467
+ </th>
468
+ <th>
469
+ <nobr>报警器编号</nobr>
470
+ </th>
471
+ </tr>
472
+ </template>
473
+ <template partial='body'>
474
+ <!--<td style="text-align: center;"><nobr>-->
475
+ <!--<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
476
+ <!--</nobr> </td>-->
477
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
478
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>
479
+ <a style="color:#0b87e2" @click="$parent.$parent.$parent.showmsg(row)">{{row.f_userinfo_code}}</a>
480
+ </nobr></td>
481
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
482
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
483
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
484
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
485
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
486
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
487
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
488
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
489
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
490
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
491
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
492
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
493
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
494
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
495
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
496
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
497
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
498
+
499
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_price_type}}</nobr></td>
500
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
501
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.value}}</nobr></td>
502
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
503
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
504
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
505
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
506
+
507
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
508
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
509
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
510
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
511
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
512
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
513
+
514
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
515
+ <!--<td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
516
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
517
+
518
+ <!--<td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
519
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
520
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
521
+
522
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
523
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
524
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
525
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
526
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
527
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
528
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
529
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
530
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
531
+
532
+ <!--<td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
533
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
534
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
535
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
536
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
537
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
538
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
539
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
540
+
541
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
542
+ <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
543
+ <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
544
+
545
+
546
+
547
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
548
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
549
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
550
+ <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
551
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
552
+
553
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
554
+
555
+ <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
556
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
557
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
558
+ <!-- <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
559
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
560
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
561
+
562
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
563
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
564
+ </td>
565
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
566
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
567
+ </td>
568
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
569
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
570
+ </td>
571
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
572
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
573
+ </td>
574
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;">
575
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
576
+ </td>
577
+ <td :class="row.f_user_state === '销户'? 'back-red' : 'back-blue'" style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
578
+ </template>
579
+ <template partial='foot'>
580
+
581
+ </template>
582
+ </data-grid>
583
+ </criteria-paged>
584
+
585
+ <table class="table-hover">
586
+ <tr style="position: relative" class="table-bordered">
587
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
588
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">暂无合计字段</td>
589
+ </tr>
590
+ </table>
591
+
592
+ <modal :show.sync="printshow" v-ref:modal backdrop="false">
593
+ <header slot="modal-header" class="modal-header text-center">
594
+ <h4 class="modal-title">打印列选择</h4>
595
+ <input type="checkbox" class="" id="f_generations" v-model="all">
596
+ <label for="f_generations" class="font-size">全选</label>
597
+ </header>
598
+ <article slot="modal-body">
599
+ <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
600
+ <div class="col-sm-3" v-for="f in fields">
601
+ <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
602
+ <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
603
+ </div>
604
+ </div>
605
+ </article>
606
+ <footer slot="modal-footer" class="modal-footer">
607
+ <center>
608
+
609
+ <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
610
+ <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
611
+ <print-table :model='model' v-show="false" v-ref:print
612
+ :top='40' :left='60' :right='40' :bottom='60'
613
+ :thead="thead" :tfoot='tfoot' :attach="yangsen"
614
+ :fields="modelval" :printpage="true">
615
+ </print-table>
616
+ </center>
617
+ </footer>
618
+ </modal>
619
+ </div>
620
+ <div class="flex" v-if="show">
621
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
622
+ </div>
623
+ </div>
624
+ </div>
625
+ </div>
626
+
627
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
628
+ </template>
629
+
630
+ <script>
631
+ import {HttpResetClass, PagedList} from 'vue-client'
632
+ import defaultPrint from './config/DefaultPrint'
633
+ import exportConfig from './config/exportConfig'
634
+ let cardBtnGen = async function (self, val) {
635
+ self.cardInfo = val.data
636
+
637
+ // 判断读卡是否需要卡密码
638
+ console.log('读卡上的信息', self.cardInfo)
639
+
640
+ if (self.cardInfo.NewParam) {
641
+ if (self.cardInfo.NewParam.error) {
642
+ if (self.cardInfo.NewParam.error === '0001') {
643
+ // 需要重新读卡并传卡密码
644
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
645
+ self.readCardParam = self.model.rows[0].f_card_password
646
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
647
+ } else {
648
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
649
+ return
650
+ }
651
+ }
652
+ }
653
+ }
654
+ self.card=self.cardInfo.CardID
655
+ self.search()
656
+ }
657
+ let readySomething = async function (self) {
658
+ await self.$MagLoadParams.loadParam()
659
+ // await self.$LoadParams.loadParam(self.f_filialeid)
660
+ self.initParams()
661
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
662
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
663
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
664
+ // await self.$refs.paged.$refs.cri.search()
665
+ }
666
+ export default {
667
+ title: '综合档案信息查询',
668
+ data() {
669
+ return {
670
+ IdCardInfo:'',
671
+ card:'',
672
+ isSingleUser: null,
673
+ other:[],
674
+ footer:[],
675
+ model: new PagedList('rs/sql/compreQuery', 20),
676
+ criteriaShow: false,
677
+ orgCondtionStr:'',
678
+ residentialArea: [],
679
+ gasproperties:[],
680
+ meterbrands: [],
681
+ modelval: [],
682
+ prices: [],
683
+ printshow: false,
684
+ all: false,
685
+ fields: {},
686
+ thead: '',
687
+ tfoot: '',
688
+ defaultfield: [],
689
+ config: {
690
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
691
+ },
692
+ area: [],
693
+ inputtouPerson: [],
694
+ bookinputtorperson:[],
695
+ conditon2:'',
696
+ show:false,
697
+ rowdata:{},
698
+ f_filialeid: this.$login.f.orgid,
699
+ // 下拉框参数
700
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
701
+ bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
702
+ initres: {
703
+ org:[this.$login.f.orgid],
704
+ dep:[],
705
+ user:[],
706
+ },
707
+ // 合计数据
708
+ sumsmodel: {},
709
+ //表册片区
710
+ bookSlice:[{label: '全部',value: ''}],
711
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
712
+ }
713
+ },
714
+ ready(){
715
+ this.getaddress()
716
+ readySomething(this).then(() => {
717
+ this.$emit('ready')
718
+ }).catch((error) => {
719
+ this.$emit('error', error)
720
+ })
721
+ },
722
+ methods: {
723
+ ReadIDCard(){
724
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
725
+ console.log('======',msg)
726
+ if(msg.err !== 0){ return}
727
+ this.IdCardInfo=msg.strID
728
+ })
729
+ if(this.IdCardInfo) {
730
+ this.search()
731
+ }else{
732
+ alert("读取失败,找不到用户信息")
733
+ }
734
+ },
735
+ cardBtn (val) {
736
+ // this.clear()
737
+ cardBtnGen(this, val)
738
+ },
739
+ // getPricenames () {
740
+ // let f_filialeid = this.f_filialeid
741
+ // let result = []
742
+ // this.$GetSaleParam.prices.forEach((item) => {
743
+ // if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
744
+ // let value = {
745
+ // label: item.f_price_name,
746
+ // value: item.f_price_name
747
+ // }
748
+ // result.push(value)
749
+ // }
750
+ // })
751
+ // this.pricenames = [{label:'全部',value:''},...result];
752
+ // },
753
+ getotherfooter () {
754
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
755
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
756
+ this.other = [];
757
+ this.footer = [];
758
+ let exportdata = this.getCondition;
759
+ let otherInData = [];
760
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
761
+ // let footerData = [], exportfield = this.getExportField;
762
+ // footerData.push("合计");
763
+ // let self = this;
764
+ // for (var field in self.sumsmodel) {
765
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
766
+ // }
767
+ // this.footer.push(footerData);
768
+ this.other.push(otherInData);
769
+ },
770
+ initParams() {
771
+ // 初始化气表品牌
772
+ let brandArr = []
773
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
774
+ let temp = {}
775
+ temp.label = item.label
776
+ temp.value = item.value.f_meter_brand
777
+ brandArr.push(temp)
778
+ })
779
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
780
+ //初始化气表价格
781
+ this.prices = this.$MagGetSaleParam.getPrices();
782
+ },
783
+ async getaddress(){
784
+ console.log('开始获取小区')
785
+ let HttpReset = new HttpResetClass()
786
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
787
+ data: {
788
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
789
+ }
790
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
791
+ console.log('小区',data)
792
+ let house = [{label: '全部', value: ''}]
793
+ for (let row of data.data){
794
+ console.log('开始保存小区')
795
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
796
+ }
797
+ this.residentialArea = house
798
+ },
799
+ search(){
800
+ this.$refs.paged.$refs.cri.search()
801
+ },
802
+ cancel() {
803
+ this.show = !this.show
804
+ },
805
+ showmsg(obj){
806
+
807
+ this.rowdata=obj
808
+ this.show= !this.show
809
+ console.log("测试室",obj,this.show)
810
+ },
811
+ selfSearch (args) {
812
+
813
+ //抄表员查询条件
814
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
815
+ if(this.inputtouPerson.length !== 0){
816
+ let str = JSON.stringify(this.inputtouPerson)
817
+ str = str.replace(/"/g,`'`)
818
+ str = str.replace(/\[/g,``)
819
+ str = str.replace(/\]/g,``)
820
+ console.log("=====抄表员model22222222222绑定====",str)
821
+ //查询多个抄表员时条件
822
+ args.condition += ` and f_inputtor in ( ${str} )`
823
+ }
824
+ this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
825
+ if(this.bookinputtorperson.length !== 0){
826
+ let str = JSON.stringify(this.bookinputtorperson)
827
+ str = str.replace(/"/g,`'`)
828
+ str = str.replace(/\[/g,``)
829
+ str = str.replace(/\]/g,``)
830
+ console.log("=====抄表员model22222222222绑定====",str)
831
+ //查询多个抄表员时条件
832
+ args.condition += ` and f_book_inputtor in ( ${str} )`
833
+ }
834
+ if (!this.orgCondtionStr) {
835
+ args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
836
+ } else {
837
+ args.condition = `${args.condition}` + this.orgCondtionStr
838
+ }
839
+ this.conditon2 = args.condition
840
+ console.log("查看条件",this.conditon2)
841
+ if(this.card!=''){
842
+ args.condition +=` and f_card_id='${this.card}'`
843
+ }
844
+ if(this.IdCardInfo!=''){
845
+ args.condition+=` and f_idnumber='${this.IdCardInfo}'`
846
+ }
847
+ this.model.search(args.condition, args.model)
848
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
849
+ this.card=''
850
+ this.IdCardInfo=''
851
+ console.log('合计字段',this.sumsmodel)
852
+ },
853
+ clear(){
854
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
855
+ this.$refs.paged.$refs.cri.model[key] = []
856
+ })
857
+ },
858
+ hidden(){
859
+ this.criteriaShow = !this.criteriaShow
860
+ },
861
+ getRes(obj) {
862
+ this.orgCondtionStr = obj
863
+ },
864
+ stamp () {
865
+ this.all = false
866
+ //默认选择要打印的列
867
+ this.modelval = defaultPrint.config
868
+ this.fields = this.getfield
869
+ console.log('所有打印字段',this.fields)
870
+ this.printshow = true
871
+ this.put()
872
+ },
873
+ put () {
874
+ // 对Modelval进行排序
875
+ this.sortModelval()
876
+ this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
877
+ for (let key of this.modelval) {
878
+ this.thead += '<th>' + this.fields[key] + '</th>'
879
+ }
880
+ this.thead += '</tr>'
881
+ },
882
+ print () {
883
+ this.$refs.print.PrintAsFile()
884
+ this.printshow = false
885
+ },
886
+ close () {
887
+ this.printshow = false
888
+ this.all = false
889
+ },
890
+ userTypeChange () {
891
+ this.gasproperties=[]
892
+ if(this.$refs.paged.$refs.cri.model !==null) {
893
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
894
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
895
+ // this.gasproperties.push({label: '全部', value: ''})
896
+ }
897
+ else{
898
+ this.gasproperties =[{label: '全部', value: ''}]
899
+ }
900
+ },
901
+ // 对选择的列进行排序
902
+ sortModelval () {
903
+ let sortModel = []
904
+ Object.keys(this.fields).forEach((key) => {
905
+ if (this.modelval.includes(key)) {
906
+ sortModel.push(key)
907
+ }
908
+ })
909
+ this.modelval = sortModel
910
+ console.log('选择的打印的字段', this.modelval)
911
+ },
912
+ async updateParams() {
913
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
914
+ this.inputtores = [];
915
+ this.inputtores.push({label: "全部", value: ""})
916
+ this.initSlice(this.f_filialeid)
917
+ if(this.allorgid!=null){
918
+ this.allorgid.forEach((res)=>{
919
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
920
+ })
921
+ }
922
+ },
923
+ async initSlice (val) {
924
+ if (val) {
925
+ let getAllArea = await this.$resetpost('/rs/search', {
926
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
927
+ userid: this.$login.f.id
928
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
929
+ let arr = getAllArea.data.filter((res) => {
930
+ return res.parentid == val
931
+ })
932
+ this.bookSlice = []
933
+ console.log('过滤之后的片区-------------------', arr)
934
+ arr.forEach((res) => {
935
+ this.bookSlice.push({label: res.name, value: res.name})
936
+ })
937
+ }
938
+ },
939
+ //表册片区和抄表册关联
940
+ async inputtorchange(){
941
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
942
+ /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
943
+ let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
944
+ if((val2.length>0)){
945
+ let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
946
+ /*if (val1[0]){
947
+ condition = condition+ ` and f_meter_book = '${val1[0]}' `
948
+ }*/
949
+ if(val2[0]) {
950
+ condition = condition + ` and f_book_slice_area = '${val2}' `
951
+ }
952
+ let param={
953
+ items:'*',
954
+ tablename:'t_meter_book',
955
+ condition:condition,
956
+ orderitem:'id'
957
+ }
958
+ let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
959
+ if (getMeterBooks.data) {
960
+ if(getMeterBooks.data.length >0){
961
+ let rs = [];
962
+ getMeterBooks.data.forEach((item)=>{
963
+ let temp = {
964
+ label:item.f_book_name,
965
+ value:item.id
966
+ };
967
+ rs.push(temp);
968
+
969
+ })
970
+ this.meterbooks = [{label: '全部',value: ''}, ...rs];
971
+ }else{
972
+ this.meterbooks = [{label: '全部',value: ''}];
973
+ }
974
+ }
975
+ }else{
976
+ this.meterbooks = [{label: '全部',value: ''}];
977
+ this.initmeterbook();
978
+ }
979
+ },
980
+ },
981
+ watch:{
982
+ 'model.rows.length' () {
983
+ this.isSingleUser = this.model.rows
984
+ },
985
+ 'all' (val) {
986
+ if (val) {
987
+ this.modelval = this.bodyData
988
+ } else {
989
+ this.modelval = defaultPrint.config
990
+ this.put()
991
+ }
992
+ },
993
+ 'modelval.length' () {
994
+ this.put()
995
+ },
996
+ sumsmodel:{
997
+ handler: function(val) {
998
+ this.getotherfooter();
999
+ },
1000
+ deep: true
1001
+ },
1002
+ 'orgCondtionStr'(val) {
1003
+ let res = val.match(/'(.*?)'/)
1004
+ console.log('正则提取:',res && res[1])
1005
+ if (res) {
1006
+ this.f_filialeid = res[1]
1007
+ if(res.input !=null){
1008
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1009
+ if(resorgid!= null && resorgid!=''){
1010
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1011
+ // resorgid = resorgid.replaceAll("'","");
1012
+ resorgid = resorgid.replace(/'/g,"");
1013
+ this.allorgid = resorgid.split(",")
1014
+ }
1015
+ }
1016
+ this.updateParams()
1017
+ }
1018
+ },
1019
+ },
1020
+ computed:{
1021
+ bandstates () {
1022
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
1023
+ },
1024
+ TableStates () {
1025
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
1026
+ },
1027
+ bgl(){
1028
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
1029
+ },
1030
+ houseTypes(){
1031
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
1032
+ },
1033
+ gasproperties(){
1034
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1035
+ },
1036
+ whetherCard(){
1037
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
1038
+ },
1039
+ usertypes() {
1040
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1041
+ },
1042
+ useTypes() {
1043
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1044
+ },
1045
+ positions() {
1046
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
1047
+ },
1048
+ meterbooks(){
1049
+ return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1050
+ },
1051
+ // gasproperties() {
1052
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1053
+ // },
1054
+
1055
+ metertypes() {
1056
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
1057
+ },
1058
+ pricetypes() {
1059
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1060
+ },
1061
+ person() {
1062
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
1063
+ },
1064
+ tablestate() {
1065
+ return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
1066
+ },
1067
+
1068
+ getPricenames() {
1069
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1070
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1071
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1072
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1073
+ if(this.$refs.paged.$refs.cri.model !==null) {
1074
+ let rs = []
1075
+ let priceArr = []
1076
+ if ( pricetype.length >0) {
1077
+ let params = {
1078
+ f_price_type: pricetype[0],
1079
+ filter: this.f_filialeid,
1080
+ prices: this.prices
1081
+ }
1082
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1083
+ let temp = {}
1084
+ temp.label = item.label
1085
+ temp.value = item.value.f_price_name
1086
+ priceArr.push(temp)
1087
+ })
1088
+ rs = [{label: '全部', value: ''}, ...priceArr]
1089
+ }
1090
+ if (rs.length === 0) {
1091
+ console.log('rs读出来是空')
1092
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
1093
+ }
1094
+ return rs
1095
+ }
1096
+ },
1097
+ inputtores () {
1098
+ // 获取抄表员
1099
+ console.log('获取抄表员', this.$login.f)
1100
+ let rs = []
1101
+ if (this.$login.f.f_gasman.length > 0) {
1102
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1103
+ let temp = {
1104
+ label: this.$login.f.f_gasman[i].name,
1105
+ value: this.$login.f.f_gasman[i].name
1106
+ }
1107
+ rs.push(temp)
1108
+ }
1109
+ }
1110
+
1111
+ return [{label: '全部', value: ''}, ...rs]
1112
+ },
1113
+ authArr () {
1114
+ return this.$login.r ? this.$login.r : []
1115
+ },
1116
+ getCondition(){
1117
+
1118
+ return {condition:this.conditon2}
1119
+ },
1120
+ getfield(){
1121
+ let data = {}
1122
+ this.bodyData.forEach((value, index)=>{
1123
+ data[this.bodyData[index]] = this.headData[index]
1124
+ })
1125
+ //合计字段打印
1126
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1127
+ if(this.sumsmodel){
1128
+ Object.keys(this.sumsmodel).forEach((key) => {
1129
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1130
+ })
1131
+ }else{
1132
+ this.tfoot += '暂无'
1133
+ }
1134
+ this.tfoot += '</th></tr>'
1135
+ return data
1136
+ },
1137
+ getExportField() {
1138
+ return exportConfig.compreConfig
1139
+ }
1140
+ }
1141
+ }
1142
+ </script>
1143
+ <style>
1144
+ .back-red{ /* 红色背景 */
1145
+ background-color: #F6C6CE;
1146
+ }
1147
+ .back-blue{ /* 蓝色背景 */
1148
+
1149
+ }
1150
+ </style>