manage-client 4.1.127 → 4.1.130

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