manage-client 3.3.2 → 3.3.5

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 (63) hide show
  1. package/build/dev-server.js +180 -180
  2. package/package.json +1 -1
  3. package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
  4. package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
  5. package/src/components/webmeter/recharge/RechargeList.vue +346 -346
  6. package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
  7. package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
  8. package/src/filiale/macheng/config/exportConfig.js +1 -1
  9. package/src/filiale/rongcheng/AreaBuildingDetailInfo.vue +281 -281
  10. package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +301 -301
  11. package/src/filiale/rongcheng/exportConfig.js +536 -536
  12. package/src/filiale/rongcheng/sale.js +22 -22
  13. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  14. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  15. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  16. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  17. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  18. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  19. package/src/filiale/shanxian/FillCardQuery.vue +569 -569
  20. package/src/filiale/shanxian/FillGasQuery.vue +588 -588
  21. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  22. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  23. package/src/filiale/shanxian/LostContactAnalysisList.vue +633 -632
  24. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  25. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  26. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  27. package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
  28. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  29. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  30. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  31. package/src/filiale/shanxian/UserLostContactAnalysis.vue +584 -583
  32. package/src/filiale/shanxian/UserQuery.vue +960 -959
  33. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  34. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  35. package/src/filiale/shanxian/sale.js +46 -26
  36. package/src/filiale/shanxian/webmeterManage.js +4 -0
  37. package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
  38. package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
  39. package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
  40. package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
  41. package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
  42. package/src/filiale/wenxi/GasStatistics.vue +515 -515
  43. package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
  44. package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
  45. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  46. package/src/filiale/wenxi/MeterQuery.vue +937 -964
  47. package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
  48. package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
  49. package/src/filiale/wenxi/WebHandQuery.vue +475 -475
  50. package/src/filiale/wenxi/config/exportConfig.js +916 -916
  51. package/src/filiale/wenxi/sale.js +24 -24
  52. package/src/filiale/wenxi/webmeterManage.js +13 -13
  53. package/src/filiale/xinkang/EchartsBox.vue +139 -139
  54. package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
  55. package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
  56. package/src/filiale/xinkang/exportConfig.js +1998 -1998
  57. package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
  58. package/src/filiale/xinkang/reportManage.js +15 -15
  59. package/src/filiale/xinkang/sale.js +13 -13
  60. package/src/filiale/xinkang/webmeterManage.js +9 -9
  61. package/src/filiale/zhongyi/GasStatistics.vue +521 -521
  62. package/src/main.js +66 -72
  63. package/lib/package_2022-12-01-14-30-50.json +0 -109
@@ -0,0 +1,968 @@
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 @sort="sort">
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}编号</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="f_userinfo_code = '{}' " placeholder={{$parent.$parent.usertitle}}编号>
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}名称</label>
17
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
+ condition="f_user_name like '%{}%'" placeholder={{$parent.$parent.usertitle}}名称>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}地址</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
23
+ condition="f_address like '%{}%'" placeholder={{$parent.$parent.usertitle}}地址>
24
+ </div>
25
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
28
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
29
+ </div>
30
+
31
+ <div class="span" style="float:right;">
32
+ <button class="button_search button_spacing" v-show="false"
33
+ @click="$parent.$parent.ReadIDCard()">读取身份证
34
+ </button>
35
+ <read-card v-if="!$filialeInfo || $filialeInfo !== 'rongcheng'"
36
+ :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn"
37
+ v-ref:readcard></read-card>
38
+ <button class="button_search button_spacing" @click="search()">查询</button>
39
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
41
+
42
+ <export-excel :data="$parent.$parent.getCondition" :field="$parent.$parent.getExportField"
43
+ :footer="$parent.$parent.footer" :header="$parent.$parent.other"
44
+ v-if="$parent.$parent.authArr.includes('档案查询导出')" sqlurl="rs/logic/exportfile"
45
+ sql-name="meterQuery"
46
+ template-name='表具查询导出' :choose-col="true"></export-excel>
47
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model"
48
+ :field="$parent.$parent.getExportField" :defaultfield="$parent.$parent.defaultfield"
49
+ titletable="客户查询" :sumsmodel="$parent.$parent.sumsmodel"></print-data>
50
+
51
+
52
+ <div style="float: right" class="button_spacing"
53
+ :class="{ 'button_shrink_top': $parent.$parent.criteriaShow, 'button_shrink_bottom': !$parent.$parent.criteriaShow }"
54
+ @click="$parent.$parent.hidden()"></div>
55
+ </div>
56
+ </div>
57
+ <div class="row" v-show="$parent.$parent.criteriaShow">
58
+ <res-select-group :initres="$parent.$parent.initres"
59
+ @re-res="$parent.$parent.getRes"></res-select-group>
60
+
61
+
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}电话</label>
64
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
65
+ condition="f_user_phone like '%{}%'" placeholder={{$parent.$parent.usertitle}}电话>
66
+ </div>
67
+
68
+ <div class="col-sm-2 form-group" v-if="!$filialeInfo || $filialeInfo !== 'rongcheng'">
69
+ <label class="font_normal_body">用气点</label>
70
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
71
+ condition="f_userfiles_address like '%{}%'" placeholder='用气点'>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
75
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
76
+ condition="f_meternumber like '%{}%'" placeholder='表号'>
77
+ </div>
78
+
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;卡号&nbsp;&nbsp;&nbsp;</label>
81
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
82
+ condition="f_card_id like '%{}%'" placeholder='卡号'>
83
+ </div>
84
+
85
+ <div class="col-sm-2 form-group">
86
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}类型</label>
87
+ <v-select :value.sync="model.f_user_type" :options='$parent.$parent.usertypes'
88
+ @change="$parent.$parent.userTypeChange()" placeholder='请选择' v-model="model.f_user_type"
89
+ condition="f_user_type = '{}'" close-on-select></v-select>
90
+ </div>
91
+ <div class="col-sm-2 form-group">
92
+ <label for="f_usetype" class="font_normal_body">二次挂表</label>
93
+ <v-select :value.sync="model.issecondtype" v-model="model.issecondtype" condition="f_usetype {}"
94
+ :options='$parent.$parent.issecond' placeholder='请选择' close-on-select></v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group" v-if="titleShow">
97
+ <label for="f_usetype" class="font_normal_body" title="参数:使用类型">使用类型</label>
98
+ <v-select :value.sync="model.f_usetype" v-model="model.f_usetype" condition="f_usetype = '{}'"
99
+ :options='$parent.$parent.usetype' placeholder='请选择' close-on-select></v-select>
100
+ </div>
101
+ <div class="col-sm-2 form-group" v-if="titleShow">
102
+ <label class="font_normal_body">用气性质</label>
103
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
104
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
105
+ condition="f_gasproperties = '{}'"
106
+ close-on-select></v-select>
107
+ </div>
108
+ <div class="col-sm-2 form-group">
109
+ <label class="font_normal_body">气价类型</label>
110
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype" placeholder='气价类型'
111
+ :options="$parent.$parent.pricetypes" condition="f_price_type = '{}'" close-on-select
112
+ v-ref:type>
113
+ </v-select>
114
+ </div>
115
+ <div class="col-sm-2 form-group">
116
+ <label class="font_normal_body">气价名称</label>
117
+ <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
118
+ :options="$parent.$parent.getPricenames" placeholder='请选择' condition="f_price_name = '{}'"
119
+ close-on-select></v-select>
120
+ </div>
121
+ <div class="col-sm-2 form-group">
122
+ <label class="font_normal_body">气表分类</label>
123
+ <v-select :value.sync="model.f_meter_classify" v-model="model.f_meter_classify"
124
+ :options='$parent.$parent.metertypes' placeholder='请选择'
125
+ condition="f_meter_classify = '{}'"
126
+ close-on-select></v-select>
127
+ </div>
128
+ <div class="col-sm-2 form-group">
129
+ <label class="font_normal_body">气表品牌</label>
130
+ <v-select :value.sync="model.f_meter_brand" v-model="model.f_meter_brand"
131
+ :options='$parent.$parent.meterbrands' placeholder='请选择' condition="f_meter_brand = '{}'"
132
+ close-on-select></v-select>
133
+ </div>
134
+ <div class="col-sm-2 form-group">
135
+ <label class="font_normal_body">气表型号</label>
136
+ <v-select :value.sync="model.f_meter_style" v-model="model.f_meter_style"
137
+ :options='$parent.$parent.meterstyle[model.f_meter_brand]' placeholder='请选择'
138
+ condition="f_meter_style = '{}'" close-on-select></v-select>
139
+ </div>
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">气表状态</label>
142
+ <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
143
+ :options='$parent.$parent.tablestate' placeholder='请选择' condition="f_table_state = '{}'"
144
+ close-on-select></v-select>
145
+ </div>
146
+ <div class="col-sm-2 form-group">
147
+ <label class="font_normal_body">使用状态</label>
148
+ <v-select :value.sync="model.f_usestate" v-model="model.f_usestate"
149
+ :options='$parent.$parent.usestate' placeholder='请选择' condition="f_usestate = '{}'"
150
+ close-on-select></v-select>
151
+ </div>
152
+ <div class="col-sm-2 form-group">
153
+ <label for="startDate" class="font_normal_body">建表日期</label>
154
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%" v-model="model.startDate"
155
+ :value.sync="model.startDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
156
+ condition="f_input_date >= '{} 00:00:00'">
157
+ </datepicker>
158
+ </div>
159
+ <div class="col-sm-2 form-group">
160
+ <label for="endDate" class="font_normal_body">建表日期</label>
161
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%" v-model="model.endDate"
162
+ :value.sync="model.endDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
163
+ condition="f_input_date <= '{} 23:59:59'">
164
+ </datepicker>
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label for="startDate" class="font_normal_body">通气日期</label>
168
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%" v-model="model.startTQDate"
169
+ :value.sync="model.startTQDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
170
+ condition="f_gas_date >= '{} 00:00:00'">
171
+ </datepicker>
172
+ </div>
173
+ <div class="col-sm-2 form-group">
174
+ <label for="endDate" class="font_normal_body">通气日期</label>
175
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%" v-model="model.endTQDate"
176
+ :value.sync="model.endTQDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
177
+ condition="f_gas_date <= '{} 23:59:59'">
178
+ </datepicker>
179
+ </div>
180
+ <div class="col-sm-2 form-group">
181
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
182
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl" :options='$parent.$parent.bgl'
183
+ placeholder='请选择' condition="isbgl = '{}'" close-on-select></v-select>
184
+ </div>
185
+ <div class="col-sm-2 form-group" v-if="titleShow">
186
+ <label class="font_normal_body">用户等级</label>
187
+ <v-select :value.sync="model.f_user_grade" v-model="model.f_user_grade"
188
+ :options='$parent.$parent.usergrade' placeholder='请选择' condition="f_user_grade = '{}'"
189
+ close-on-select></v-select>
190
+ </div>
191
+ <!--表册片区-->
192
+ <div class="col-sm-2 form-group">
193
+ <label class="font_normal_body">表册片区</label>
194
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
195
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册' style="width:60%" close-on-select
196
+ condition="f_book_slice_area = '{}'"></v-select>
197
+ </div>
198
+ <div class="col-sm-2 form-group">
199
+ <label class="font_normal_body">抄&nbsp;&nbsp;表&nbsp;员</label>
200
+ <v-select :value.sync="model.f_inputtor" v-model="model.f_inputtor"
201
+ :options='$parent.$parent.inputtores' placeholder='请选择' condition="f_inputtor = '{}'"
202
+ close-on-select :value-single="true" :search="false">
203
+ </v-select>
204
+ </div>
205
+ <div class="col-sm-2 form-group">
206
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
207
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
208
+ :options='$parent.$parent.meterbooks' placeholder='抄表册' style="width:60%" close-on-select
209
+ condition="f_meter_book_num = '{}'"></v-select>
210
+ </div>
211
+ <div class="col-sm-2 form-group">
212
+ <label class="font_normal_body">自动阀控</label>
213
+ <v-select placeholder='自动阀控' :value.sync="model.f_network_valve" style="width:60%"
214
+ v-model="model.f_network_valve" :options='$parent.$parent.networkvalves' close-on-select
215
+ condition="f_networkvalve='{}'">
216
+ </v-select>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ </criteria>
221
+
222
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy"
223
+ :classname="$parent.classname">
224
+ <template partial='head'>
225
+ <tr>
226
+ <th>
227
+ <!--<nobr>客户编号</nobr>-->
228
+ <data-order field="f_userinfo_code" :name=`${$parent.$parent.$parent.usertitle}编号`
229
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
230
+ </th>
231
+ <th>
232
+ <nobr>{{$parent.$parent.$parent.usertitle}}名称</nobr>
233
+ </th>
234
+ <th>
235
+ <nobr>档案编号</nobr>
236
+ </th>
237
+ <th>
238
+ <nobr>{{$parent.$parent.$parent.usertitle}}电话</nobr>
239
+ </th>
240
+ <th>
241
+ <nobr>备用电话</nobr>
242
+ </th>
243
+ <th>
244
+ <nobr>身份证号</nobr>
245
+ </th>
246
+ <th>
247
+ <!--<nobr>客户地址</nobr>-->
248
+ <data-order field="f_address" :name.sync=`${$parent.$parent.$parent.usertitle}地址`
249
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
250
+ </th>
251
+ <th>
252
+ <nobr>表册片区</nobr>
253
+ </th>
254
+ <th>
255
+ <nobr>累购气量</nobr>
256
+ </th>
257
+ <th>
258
+ <nobr>表上余额</nobr>
259
+ </th>
260
+ <th>
261
+ <nobr>{{$parent.$parent.$parent.usertitle}}类型</nobr>
262
+ </th>
263
+ <th v-if="titleShow">
264
+ <nobr>使用类型</nobr>
265
+ </th>
266
+ <th v-if="titleShow">
267
+ <nobr>用气性质</nobr>
268
+ </th>
269
+ <th>
270
+ <nobr>表号</nobr>
271
+ </th>
272
+ <th>
273
+ <nobr>卡号</nobr>
274
+ </th>
275
+
276
+
277
+ <th>
278
+ <nobr>气价名称</nobr>
279
+ </th>
280
+ <th>
281
+ <nobr>气价详情</nobr>
282
+ </th>
283
+ <th>
284
+ <nobr>气表品牌</nobr>
285
+ </th>
286
+ <th>
287
+ <nobr>气表型号</nobr>
288
+ </th>
289
+ <th>
290
+ <nobr>户管员</nobr>
291
+ </th>
292
+ <th>
293
+ <nobr>通气人</nobr>
294
+ </th>
295
+ <th>
296
+ <!--<nobr>通气时间</nobr>-->
297
+ <data-order field="f_gas_date" name="通气时间"
298
+ :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
299
+ </th>
300
+ <th>
301
+ <!--<nobr>建表时间</nobr>-->
302
+ <data-order field="f_input_date" name="建表时间"
303
+ :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
304
+ </th>
305
+ <th>
306
+ <nobr>气表状态</nobr>
307
+ </th>
308
+ <th>
309
+ <nobr>是否壁挂炉</nobr>
310
+ </th>
311
+ <th>
312
+ <nobr>自动阀控</nobr>
313
+ </th>
314
+ </tr>
315
+ </template>
316
+ <template partial='body'>
317
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
318
+ <nobr>
319
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
320
+ </nobr>
321
+ </td>
322
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
323
+ <nobr>{{ row.f_user_name }}</nobr>
324
+ </td>
325
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
326
+ <nobr>{{ row.f_olduserinfo_code }}</nobr>
327
+ </td>
328
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
329
+ <nobr>{{ row.f_user_phone }}</nobr>
330
+ </td>
331
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
332
+ <nobr>{{ row.f_rent_phone }}</nobr>
333
+ </td>
334
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
335
+ <nobr>{{ row.idnumber }}</nobr>
336
+ </td>
337
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
338
+ <nobr>{{ row.f_address }}</nobr>
339
+ </td>
340
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
341
+ <nobr>{{ row.f_book_slice_area }}</nobr>
342
+ </td>
343
+ <td :class="row.f_total_gas!== '正常' ? 'back-red' : 'back-blue'" style="...">
344
+ <nobr>{{ row.f_total_gas }}</nobr>
345
+ </td>
346
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
347
+ <nobr>{{ row.f_balance_amount }}</nobr>
348
+ </td>
349
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
350
+ <nobr>{{ row.f_user_type }}</nobr>
351
+ </td>
352
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;"
353
+ v-if="titleShow">
354
+ <nobr>{{ row.f_usetype }}</nobr>
355
+ </td>
356
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;"
357
+ v-if="titleShow">
358
+ <nobr>{{ row.f_gasproperties }}</nobr>
359
+ </td>
360
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
361
+ <nobr>{{ row.f_meternumber }}</nobr>
362
+ </td>
363
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
364
+ <nobr>{{ row.f_card_id }}</nobr>
365
+ </td>
366
+
367
+
368
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
369
+ <nobr>{{ row.f_price_name }}</nobr>
370
+ </td>
371
+ <th :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
372
+ <nobr>{{ row.value }}</nobr>
373
+ </th>
374
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
375
+ <nobr>{{ row.f_meter_brand }}</nobr>
376
+ </td>
377
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
378
+ <nobr>{{ row.f_meter_style }}</nobr>
379
+ </td>
380
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
381
+ <nobr>{{ row.f_inputtor }}</nobr>
382
+ </td>
383
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
384
+ <nobr>{{ row.f_gas_person }}</nobr>
385
+ </td>
386
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
387
+ <nobr>{{ row.f_gas_date }}</nobr>
388
+ </td>
389
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
390
+ <nobr>{{ row.f_input_date }}</nobr>
391
+ </td>
392
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
393
+ <nobr>{{ row.f_table_state }}</nobr>
394
+ </td>
395
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
396
+ <nobr>{{ row.isbgl }}</nobr>
397
+ </td>
398
+ <td :class="row.f_table_state !== '正常' ? 'back-red' : 'back-blue'" style="text-align: center;">
399
+ <nobr>{{ row.f_networkvalve }}</nobr>
400
+ </td>
401
+ </template>
402
+ <template partial='foot'>
403
+ </template>
404
+ </data-grid>
405
+ </criteria-paged>
406
+
407
+ <table class="table-hover">
408
+ <tr style="position: relative" class="table-bordered">
409
+ <td
410
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
411
+ 汇总信息
412
+ </td>
413
+ <td
414
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
415
+ 表上余额合计&emsp;{{ sumsmodel.f_balance_amount }}
416
+ </td>
417
+ </tr>
418
+ </table>
419
+
420
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
421
+ <!--<header slot="modal-header" class="modal-header text-center">-->
422
+ <!--<h4 class="modal-title">打印列选择</h4>-->
423
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
424
+ <!--<label for="f_generations" class="font-size">全选</label>-->
425
+ <!--</header>-->
426
+ <!--<article slot="modal-body">-->
427
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
428
+ <!--<div class="col-sm-3" v-for="f in fields">-->
429
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
430
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
431
+ <!--</div>-->
432
+ <!--</div>-->
433
+ <!--</article>-->
434
+ <!--<footer slot="modal-footer" class="modal-footer">-->
435
+ <!--<center>-->
436
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
437
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
438
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
439
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
440
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
441
+ <!--:fields="modelval" :printpage="true">-->
442
+ <!--</print-table>-->
443
+ <!--</center>-->
444
+ <!--</footer>-->
445
+ <!--</modal>-->
446
+ </div>
447
+ <div class="flex" v-if="show">
448
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
449
+ @cancel-main="cancel"></user-info-detail-manage-new>
450
+ </div>
451
+ </div>
452
+ </div>
453
+ </div>
454
+ <high-meter-idcard :show.sync="false" v-ref:highcard></high-meter-idcard>
455
+ </template>
456
+
457
+ <script>
458
+ import {PagedList} from 'vue-client'
459
+ import exportConfig from './config/exportConfig'
460
+
461
+ let cardBtnGen = async function (self, val) {
462
+ self.cardInfo = val.data
463
+
464
+ // 判断读卡是否需要卡密码
465
+ console.log('读卡上的信息', self.cardInfo)
466
+
467
+ if (self.cardInfo.NewParam) {
468
+ if (self.cardInfo.NewParam.error) {
469
+ if (self.cardInfo.NewParam.error === '0001') {
470
+ // 需要重新读卡并传卡密码
471
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
472
+ self.readCardParam = self.model.rows[0].f_card_password
473
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
474
+ } else {
475
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
476
+ return
477
+ }
478
+ }
479
+ }
480
+ }
481
+ self.card = self.cardInfo.CardID
482
+ self.search()
483
+ }
484
+
485
+ let readySomething = async function (self) {
486
+ self.$MagGetSaleParam.initinputtor();
487
+ self.getinputtores();
488
+ self.initmeterbook();
489
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
490
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
491
+ // await self.$refs.paged.$refs.cri.search()
492
+ await self.$MagLoadParams.loadParam()
493
+ self.initParams()
494
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
495
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
496
+ }
497
+
498
+ export default {
499
+ title: '表具查询',
500
+ data() {
501
+ return {
502
+ IdCardInfo: '',
503
+ titleShow: true,
504
+ card: '',
505
+ isSingleUser: null,
506
+ other: [],
507
+ footer: [],
508
+ model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem ? '"' + this.orderitem + ' "' : `'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
509
+ criteriaShow: false,
510
+ orgCondtionStr: '',
511
+
512
+ modelval: [],
513
+ printshow: false,
514
+ all: false,
515
+ fields: {},
516
+ //排序
517
+ orderitem: 'f_user_id,f_table_state desc',
518
+ orderFields: {
519
+ f_userinfo_id: 'no'
520
+ },
521
+ thead: '',
522
+ tfoot: '',
523
+ initres: {
524
+ org: [this.$login.f.orgid],
525
+ dep: [],
526
+ user: [],
527
+ },
528
+ show: false,
529
+ rowdata: {},
530
+ meterbrands: [],
531
+ // 气表型号
532
+ meterstyle: {},
533
+ //默认打印列
534
+ defaultfield: [],
535
+ config: {
536
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
537
+ },
538
+ pricenames: [],
539
+ gasproperties: [],
540
+ inputtouPerson: [],
541
+ meterbooks: [{label: '全部', value: ''}], //抄表册
542
+ prices: [],
543
+ //合计数据
544
+ sumsmodel: {},
545
+ //表册片区
546
+ bookSlice: [{label: '全部', value: ''}],
547
+ inputtores: [{label: '全部', value: ''}], //抄表员
548
+ f_filialeid: this.$login.f.f_orgid,
549
+ allorgid: [],
550
+ tempfalg: false,
551
+ lastorgstr: '',
552
+ usertitle: this.$appdata.getSingleValue('用户名称前缀') ? this.$appdata.getSingleValue('用户名称前缀') : '客户',
553
+ issecond: [{label: '是', value: " = '二次挂表'"}, {label: '否', value: " <> '二次挂表'"}],
554
+ usetype: this.$appdata.getParam('使用类型'),
555
+ networkvalves: this.$appdata.getParam('自动阀控') ? [{
556
+ label: '全部',
557
+ value: ''
558
+ }, ...this.$appdata.getParam('自动阀控')] : [],
559
+ }
560
+ },
561
+ ready() {
562
+ console.log("===========", this.$filialeInfo)
563
+ this.titleShow = this.$appdata.getSingleValue('是否显示筛选框') == null ? true : this.$appdata.getSingleValue('是否显示筛选框')
564
+ readySomething(this).then(() => {
565
+ this.$emit('ready')
566
+ }).catch((error) => {
567
+ this.$emit('error', error)
568
+ })
569
+ },
570
+ methods: {
571
+ ReadIDCard() {
572
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
573
+ console.log('======', msg)
574
+ if (msg.err !== 0) {
575
+ return
576
+ }
577
+ this.IdCardInfo = msg.strID
578
+ })
579
+ console.log(this.IdCardInfo)
580
+ if (this.IdCardInfo) {
581
+ this.search()
582
+ } else {
583
+ alert("读取失败,找不到用户信息")
584
+ }
585
+ },
586
+ cardBtn(val) {
587
+ // this.clear()
588
+ cardBtnGen(this, val)
589
+ },
590
+ async initmeterbook(orgstr) {
591
+ if (orgstr == null) {
592
+ orgstr = this.f_filialeid;
593
+ }
594
+ //获取新的抄表册,先去清理所有的抄表册
595
+ this.$GetSaleParam.meterbooks = [];
596
+ //开始加载新的抄表册
597
+ await this.$LoadParams.loadMeterBook(orgstr)
598
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
599
+ },
600
+ async getinputtores() {
601
+ // 获取抄表员
602
+ let rs = []
603
+ if (this.$login.f.f_gasman.length > 0) {
604
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
605
+ let temp = {
606
+ label: this.$login.f.f_gasman[i].name,
607
+ value: this.$login.f.f_gasman[i].name
608
+ }
609
+ rs.push(temp)
610
+ }
611
+ }
612
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
613
+ },
614
+ getotherfooter() {
615
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
616
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
617
+ this.other = [];
618
+ this.footer = [];
619
+ let exportdata = this.getCondition;
620
+ let otherInData = [];
621
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
622
+ let footerData = [], exportfield = this.getExportField;
623
+ footerData.push("合计");
624
+ let self = this;
625
+ for (var field in self.sumsmodel) {
626
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
627
+ }
628
+ this.footer.push(footerData);
629
+ this.other.push(otherInData);
630
+ },
631
+ search() {
632
+ this.$refs.paged.$refs.cri.search()
633
+ },
634
+ cancel() {
635
+ this.show = false
636
+ },
637
+ showmsg(obj) {
638
+ this.rowdata = obj
639
+ this.show = true
640
+ },
641
+ selfSearch(args) {
642
+ //抄表员查询条件
643
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
644
+ if (this.inputtouPerson.length !== 0) {
645
+ let str = JSON.stringify(this.inputtouPerson)
646
+ str = str.replace(/"/g, `'`)
647
+ str = str.replace(/\[/g, ``)
648
+ str = str.replace(/\]/g, ``)
649
+ console.log("=====抄表员model22222222222绑定====", str)
650
+ //查询多个抄表员时条件
651
+ args.condition += ` and f_inputtor in ( ${str} )`
652
+ }
653
+ if (!this.orgCondtionStr) {
654
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
655
+ } else {
656
+ args.condition = `${args.condition}` + this.orgCondtionStr
657
+ }
658
+ if (this.card != '') {
659
+ args.condition += ` and f_card_id='${this.card}'`
660
+ }
661
+ if (this.IdCardInfo != '') {
662
+ args.condition += ` and f_idnumber='${this.IdCardInfo}'`
663
+ }
664
+ this.model.search(args.condition, args.model)
665
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
666
+ this.card = ''
667
+ this.IdCardInfo = ''
668
+ },
669
+ clear() {
670
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
671
+ this.$refs.paged.$refs.cri.model[key] = []
672
+ })
673
+ },
674
+ hidden() {
675
+ this.criteriaShow = !this.criteriaShow
676
+ },
677
+ async getRes(condition) {
678
+ this.orgCondtionStr = condition
679
+
680
+ },
681
+ stamp() {
682
+ this.all = false
683
+ //默认选择要打印的列
684
+ this.modelval = defaultPrint.config
685
+ this.fields = this.getfield
686
+ console.log('所有打印字段', this.fields)
687
+ this.printshow = true
688
+ this.put()
689
+ },
690
+ put() {
691
+ // 对Modelval进行排序
692
+ this.sortModelval()
693
+ this.thead = `<tr><th colspan=${this.modelval.length}>表具查询统计报表</th></tr><tr>`
694
+ for (let key of this.modelval) {
695
+ this.thead += '<th>' + this.fields[key] + '</th>'
696
+ }
697
+ this.thead += '</tr>'
698
+ },
699
+ print() {
700
+ this.$refs.print.PrintAsFile()
701
+ this.printshow = false
702
+ },
703
+ close() {
704
+ this.printshow = false
705
+ this.all = false
706
+ },
707
+ userTypeChange() {
708
+ this.gasproperties = []
709
+ if (this.$refs.paged.$refs.cri.model !== null) {
710
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
711
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
712
+ } else {
713
+ this.gasproperties = [{label: '全部', value: ''}]
714
+ }
715
+ },
716
+ initParams() {
717
+ // 初始化气表品牌
718
+ let brandArr = []
719
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
720
+ let temp = {}
721
+ temp.label = item.label
722
+ temp.value = item.value.f_meter_brand
723
+ brandArr.push(temp)
724
+ // 取出对应气表型号
725
+ let styleArr = []
726
+ for (let row of item.value.gasmodel) {
727
+ styleArr.push({label: row.label, value: row.value.f_meter_style})
728
+ }
729
+ this.meterstyle[temp.value] = styleArr
730
+ })
731
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
732
+ //初始化气表价格
733
+ this.prices = this.$MagGetSaleParam.getPrices();
734
+ },
735
+ // 对选择的列进行排序
736
+ sortModelval() {
737
+ let sortModel = []
738
+ Object.keys(this.fields).forEach((key) => {
739
+ if (this.modelval.includes(key)) {
740
+ sortModel.push(key)
741
+ }
742
+ })
743
+ this.modelval = sortModel
744
+ console.log('选择的打印的字段', this.modelval)
745
+ },
746
+ async updateParams() {
747
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
748
+ this.inputtores = [];
749
+ this.inputtores.push({label: "全部", value: ""})
750
+ this.initSlice(this.f_filialeid)
751
+ if (this.allorgid != null) {
752
+ this.allorgid.forEach((res) => {
753
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
754
+ })
755
+ }
756
+ },
757
+ async initSlice(val) {
758
+ if (val) {
759
+ let getAllArea = await this.$resetpost('/rs/search', {
760
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
761
+ userid: this.$login.f.id
762
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
763
+ let arr = getAllArea.data.filter((res) => {
764
+ return res.parentid == val
765
+ })
766
+ this.bookSlice = []
767
+ console.log('过滤之后的片区-------------------', arr)
768
+ arr.forEach((res) => {
769
+ this.bookSlice.push({label: res.name, value: res.name})
770
+ })
771
+ }
772
+ },
773
+ sort(field, rule) {
774
+ // 将所有排序方式设为不排序,实现相互排斥
775
+ for (let key in this.orderFields) {
776
+ if (key === field) {
777
+ this.orderFields[key] = rule
778
+ } else {
779
+ this.orderFields[key] = 'no'
780
+ }
781
+ }
782
+ // 如果新规则不排序,还原为默认排序
783
+ if (rule === 'no') {
784
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
785
+ } else {
786
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
787
+ }
788
+
789
+ this.search()
790
+ }
791
+ },
792
+ watch: {
793
+ 'model.rows.length'() {
794
+ this.isSingleUser = this.model.rows
795
+ },
796
+ 'all'(val) {
797
+ if (val) {
798
+ this.modelval = this.bodyData
799
+ } else {
800
+ this.modelval = defaultPrint.config
801
+ this.put()
802
+ }
803
+ },
804
+ sumsmodel: {
805
+ handler: function (val) {
806
+ this.getotherfooter();
807
+ },
808
+ deep: true
809
+ },
810
+ 'modelval.length'() {
811
+ this.put()
812
+ },
813
+ async 'orgCondtionStr'(val) {
814
+ //更新抄表册
815
+ this.meterbooks = [{label: '全部', value: ''}];
816
+ if (this.lastorgstr != val) {
817
+ this.tempfalg = true;
818
+ this.lastorgstr = val;
819
+ }
820
+ if (this.tempfalg && val != null && val != '' && val.indexOf("(") > -1) {
821
+ this.tempfalg = false;
822
+ let a = val.substring(val.indexOf("(") + 2)
823
+ await this.initmeterbook(a.substring(0, a.indexOf(")") - 1));
824
+ }
825
+ let res = val.match(/'(.*?)'/)
826
+ console.log('正则提取:', res && res[1])
827
+ if (res) {
828
+ this.f_filialeid = res[1]
829
+ if (res.input != null) {
830
+ let resorgid = res.input.substring(res.input.indexOf("'"));
831
+ if (resorgid != null && resorgid != '') {
832
+ resorgid = resorgid.substring(0, resorgid.lastIndexOf("'") + 1);
833
+ // resorgid = resorgid.replaceAll("'","");
834
+ resorgid = resorgid.replace(/'/g, "");
835
+ this.allorgid = resorgid.split(",")
836
+ }
837
+ }
838
+ this.updateParams()
839
+ }
840
+ }
841
+ },
842
+ computed: {
843
+ authArr() {
844
+ return this.$login.r ? this.$login.r : []
845
+ },
846
+ getPricenames() {
847
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
848
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
849
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
850
+ // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
851
+ if (this.$refs.paged.$refs.cri.model !== null) {
852
+ let rs = []
853
+ let priceArr = []
854
+ if (pricetype.length > 0) {
855
+ let params = {
856
+ f_price_type: pricetype[0],
857
+ filter: this.f_filialeid,
858
+ prices: this.prices
859
+ }
860
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
861
+ let temp = {}
862
+ temp.label = item.label
863
+ temp.value = item.value.f_price_name
864
+ priceArr.push(temp)
865
+ })
866
+ rs = [{label: '全部', value: ''}, ...priceArr]
867
+ }
868
+ if (rs.length === 0) {
869
+ console.log('rs读出来是空')
870
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
871
+ }
872
+ return rs
873
+ }
874
+ },
875
+ getCondition() {
876
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr, orderitem: this.orderitem}
877
+ },
878
+ getfield() {
879
+ let data = {}
880
+ this.bodyData.forEach((value, index) => {
881
+ data[this.bodyData[index]] = this.headData[index]
882
+ })
883
+ //合计字段打印
884
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
885
+ if (this.sumsmodel) {
886
+ Object.keys(this.sumsmodel).forEach((key) => {
887
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
888
+ })
889
+ } else {
890
+ this.tfoot += '暂无'
891
+ }
892
+ this.tfoot += '</th></tr>'
893
+ return data
894
+ },
895
+ getExportField() {
896
+ return exportConfig.meterConfig
897
+ },
898
+ areas() {
899
+ let rs = []
900
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
901
+ let temp = {
902
+ label: this.$login.f.f_allArea[i].label,
903
+ value: this.$login.f.f_allArea[i].label
904
+ }
905
+ rs.push(temp)
906
+ }
907
+ return [{label: '全部', value: ''}, ...rs]
908
+ },
909
+ sliceArea() {
910
+ let rs = []
911
+ if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
912
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
913
+ if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
914
+ rs = this.$login.f.f_allArea[i].value
915
+ }
916
+ }
917
+ }
918
+ return [{label: '全部', value: ''}, ...rs]
919
+ },
920
+ usertypes() {
921
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
922
+ },
923
+ // gasproperties() {
924
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
925
+ // },
926
+
927
+ metertypes() {
928
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
929
+ },
930
+ // meterbrands() {
931
+ // let arr = []
932
+ // this.$MagGetSaleParam.getGasbrand().forEach((item) => {
933
+ // let temp = {}
934
+ // temp.label = item.label
935
+ // temp.value = item.value.f_meter_brand
936
+ // arr.push(temp)
937
+ // })
938
+ // return [{label: '全部', value: ''}, ...arr]
939
+ // },
940
+ pricetypes() {
941
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
942
+ },
943
+ tablestate() {
944
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
945
+ },
946
+ bgl() {
947
+ return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
948
+ },
949
+ usergrade() {
950
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
951
+ },
952
+ usestate() {
953
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用状态')]
954
+ }
955
+ }
956
+ }
957
+ </script>
958
+ <style>
959
+ .back-red {
960
+ /* 红色背景 */
961
+ background-color: #F6C6CE;
962
+ }
963
+
964
+ .back-blue {
965
+ /* 蓝色背景 */
966
+
967
+ }
968
+ </style>