manage-client 4.1.83 → 4.1.85-tcls
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +227 -145
- package/package.json +111 -111
- package/src/components/SellReport/shimen/SMSummary.vue +175 -0
- package/src/filiale/shanxian/OtherChargeQuery.vue +0 -4
- package/src/filiale/tongchuan/CancellationQuery.vue +455 -0
- package/src/filiale/tongchuan/ChangeMeterQuery.vue +730 -702
- package/src/filiale/tongchuan/ChargeQuery.vue +1514 -1487
- package/src/filiale/tongchuan/DisableQuery.vue +550 -523
- package/src/filiale/tongchuan/EnableQuery.vue +489 -0
- package/src/filiale/tongchuan/FillCardQuery.vue +598 -573
- package/src/filiale/tongchuan/FillGasQuery.vue +560 -533
- package/src/filiale/tongchuan/HandplanQuery.vue +1358 -1332
- package/src/filiale/tongchuan/OtherChargeDetailQuery.vue +74 -0
- package/src/filiale/tongchuan/OtherChargeQuery.vue +751 -0
- package/src/filiale/tongchuan/PrivilegeQuery.vue +420 -0
- package/src/filiale/tongchuan/RecordInfoQuery.vue +1493 -1493
- package/src/filiale/tongchuan/ResSelectUserGroup.vue +384 -0
- package/src/filiale/tongchuan/ReverseQuery.vue +477 -450
- package/src/filiale/tongchuan/TransferQuery.vue +528 -0
- package/src/filiale/tongchuan/TransferRecordQuery.vue +202 -0
- package/src/filiale/tongchuan/config/exportConfig.js +1102 -918
- package/src/filiale/tongchuan/overDueQuery.vue +497 -0
- package/src/filiale/tongchuan/priceadjustQuery.vue +560 -0
- package/src/filiale/tongchuan/sale.js +36 -0
- package/src/filiale/tongchuan/sellingChargePrice.vue +754 -714
- package/src/main.js +3 -3
- package/src/reportManage.js +4 -0
|
@@ -1,1493 +1,1493 @@
|
|
|
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">客户电话</label>
|
|
22
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
|
-
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
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
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label class="font_normal_body" title="旧客户编号">合同编号</label>
|
|
32
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_contract_id"
|
|
33
|
-
condition="f_contract_id = '{}' " placeholder="合同编号">
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<div class="span" style = "float:right;">
|
|
39
|
-
<button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
|
|
40
|
-
<read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
|
|
41
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
44
|
-
|
|
45
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
46
|
-
:field="$parent.$parent.getExportField" :defaultselect="$parent.$parent.defalutSelect"
|
|
47
|
-
v-if="$parent.$parent.authArr.includes('档案查询导出')"
|
|
48
|
-
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
|
|
49
|
-
<print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
|
|
50
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
51
|
-
titletable="综合档案查询"
|
|
52
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
53
|
-
<div style="float: right" class="button_spacing"
|
|
54
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
55
|
-
@click="$parent.$parent.hidden()"></div>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
60
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
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_idnumber"
|
|
64
|
-
condition="f_idnumber like '%{}%'" placeholder="身份证号">
|
|
65
|
-
</div>
|
|
66
|
-
<div class="col-sm-2 form-group" >
|
|
67
|
-
<label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
|
|
68
|
-
<datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
|
|
69
|
-
v-model="model.startDate"
|
|
70
|
-
:value.sync="model.startDate"
|
|
71
|
-
:format="'yyyy-MM-dd'"
|
|
72
|
-
:show-reset-button="true"
|
|
73
|
-
condition="f_createfile_date >= '{} 00:00:00'">
|
|
74
|
-
</datepicker>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="col-sm-2 form-group" >
|
|
77
|
-
<label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
|
|
78
|
-
<datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
|
|
79
|
-
v-model="model.endDate"
|
|
80
|
-
:value.sync="model.endDate"
|
|
81
|
-
:format="'yyyy-MM-dd'"
|
|
82
|
-
:show-reset-button="true"
|
|
83
|
-
condition="f_createfile_date <= '{} 23:59:59'">
|
|
84
|
-
</datepicker>
|
|
85
|
-
</div>
|
|
86
|
-
|
|
87
|
-
<div class="col-sm-2 form-group" >
|
|
88
|
-
<label class="font_normal_body">客户状态</label>
|
|
89
|
-
<v-select :value.sync="model.f_user_state"
|
|
90
|
-
v-model="model.f_user_state"
|
|
91
|
-
multiple
|
|
92
|
-
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
93
|
-
condition="f_user_state in {}"
|
|
94
|
-
></v-select>
|
|
95
|
-
</div>
|
|
96
|
-
<div class="col-sm-2 form-group">
|
|
97
|
-
<label class="font_normal_body">人  数</label>
|
|
98
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
|
|
99
|
-
condition="f_people_num = '{}'" placeholder="人数">
|
|
100
|
-
</div>
|
|
101
|
-
<div class="col-sm-2 form-group">
|
|
102
|
-
<label class="font_normal_body">客户地址</label>
|
|
103
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
104
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
105
|
-
</div>
|
|
106
|
-
<div class="col-sm-2 form-group">
|
|
107
|
-
<label for="startDate" class="font_normal_body">建档日期</label>
|
|
108
|
-
<datepicker placeholder="建档日期" style="width:60%"
|
|
109
|
-
v-model="model.f_createfile_date"
|
|
110
|
-
:value.sync="model.f_createfile_date"
|
|
111
|
-
:format="'yyyy-MM-dd'"
|
|
112
|
-
:show-reset-button="true"
|
|
113
|
-
condition="f_createfile_date >= '{} 00:00:00'">
|
|
114
|
-
</datepicker>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="col-sm-2 form-group">
|
|
117
|
-
<label class="font_normal_body">建档部门</label>
|
|
118
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
|
|
119
|
-
condition="f_depname like '%{}%'" placeholder='建档部门'>
|
|
120
|
-
</div>
|
|
121
|
-
<div class="col-sm-2 form-group">
|
|
122
|
-
<label class="font_normal_body">报警器编码</label>
|
|
123
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
|
|
124
|
-
condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="col-sm-2 form-group">
|
|
127
|
-
<label class="font_normal_body">发票编码</label>
|
|
128
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
|
|
129
|
-
condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="col-sm-2 form-group">
|
|
132
|
-
<label class="font_normal_body">燃气表号</label>
|
|
133
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
134
|
-
condition="f_meternumber = '{}'" placeholder='燃气表号'>
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
<div class="col-sm-2 form-group">
|
|
138
|
-
<label class="font_normal_body">气表分类</label>
|
|
139
|
-
<v-select :value.sync="model.f_meter_classify"
|
|
140
|
-
v-model="model.f_meter_classify" multiple
|
|
141
|
-
:options='$parent.$parent.metertypes' placeholder='请选择'
|
|
142
|
-
condition="f_meter_classify in {}"
|
|
143
|
-
></v-select>
|
|
144
|
-
</div>
|
|
145
|
-
|
|
146
|
-
<div class="col-sm-2 form-group">
|
|
147
|
-
<label class="font_normal_body">气表品牌</label>
|
|
148
|
-
<v-select :value.sync="model.f_meter_brand"
|
|
149
|
-
v-model="model.f_meter_brand" multiple
|
|
150
|
-
@change="$parent.$parent.getMeterStyle"
|
|
151
|
-
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
152
|
-
condition="f_meter_brand in {}"
|
|
153
|
-
></v-select>
|
|
154
|
-
</div>
|
|
155
|
-
|
|
156
|
-
<div class="col-sm-2 form-group">
|
|
157
|
-
<label class="font_normal_body">气表型号</label>
|
|
158
|
-
<v-select :value.sync="model.f_meter_style"
|
|
159
|
-
v-model="model.f_meter_style" multiple
|
|
160
|
-
:options='$parent.$parent.meterStyle' placeholder='请选择'
|
|
161
|
-
condition="f_meter_style in {}"
|
|
162
|
-
></v-select>
|
|
163
|
-
</div>
|
|
164
|
-
<div class="col-sm-2 form-group">
|
|
165
|
-
<label class="font_normal_body">表  号</label>
|
|
166
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
|
|
167
|
-
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
168
|
-
</div>
|
|
169
|
-
<div class="col-sm-2 form-group">
|
|
170
|
-
<label class="font_normal_body">气表封号</label>
|
|
171
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_metertitles"
|
|
172
|
-
condition="f_metertitles = '{}'" placeholder='气表封号'>
|
|
173
|
-
</div>
|
|
174
|
-
<div class="col-sm-2 form-group">
|
|
175
|
-
<label class="font_normal_body">卡  号</label>
|
|
176
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
177
|
-
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
178
|
-
</div>
|
|
179
|
-
<div class="col-sm-2 form-group">
|
|
180
|
-
<label class="font_normal_body">客户类型</label>
|
|
181
|
-
<v-select :value.sync="model.f_user_type"
|
|
182
|
-
:options='$parent.$parent.usertypes'
|
|
183
|
-
@change="$parent.$parent.userTypeChange()"
|
|
184
|
-
placeholder='请选择' v-model="model.f_user_type"
|
|
185
|
-
condition="f_user_type = '{}'"
|
|
186
|
-
close-on-select></v-select>
|
|
187
|
-
</div>
|
|
188
|
-
<div class="col-sm-2 form-group" >
|
|
189
|
-
<label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表日期</label>
|
|
190
|
-
<datepicker id="startDate1" placeholder="开始日期" style="width:60%"
|
|
191
|
-
v-model="model.startDate1"
|
|
192
|
-
:value.sync="model.startDate1"
|
|
193
|
-
:format="'yyyy-MM-dd'"
|
|
194
|
-
:show-reset-button="true"
|
|
195
|
-
condition="f_hand_date >= '{} 00:00:00'">
|
|
196
|
-
</datepicker>
|
|
197
|
-
</div>
|
|
198
|
-
<div class="col-sm-2 form-group" >
|
|
199
|
-
<label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表日期</label>
|
|
200
|
-
<datepicker id="endDate1" placeholder="结束日期" style="width:60%"
|
|
201
|
-
v-model="model.endDate1"
|
|
202
|
-
:value.sync="model.endDate1"
|
|
203
|
-
:format="'yyyy-MM-dd'"
|
|
204
|
-
:show-reset-button="true"
|
|
205
|
-
condition="f_hand_date <= '{} 23:59:59'">
|
|
206
|
-
</datepicker>
|
|
207
|
-
</div>
|
|
208
|
-
<div class="col-sm-2 form-group">
|
|
209
|
-
<label class="font_normal_body">街    道</label>
|
|
210
|
-
<v-select :value.sync="model.f_street"
|
|
211
|
-
v-model="model.f_street"
|
|
212
|
-
multiple
|
|
213
|
-
:options='$parent.$parent.streetList' placeholder='选择街道'
|
|
214
|
-
condition="f_street in {}"
|
|
215
|
-
style="width:60%"
|
|
216
|
-
close-on-select></v-select>
|
|
217
|
-
</div>
|
|
218
|
-
<div class="col-sm-2 form-group">
|
|
219
|
-
<label class="font_normal_body">小  区</label>
|
|
220
|
-
<v-select :value.sync="model.f_residential_area"
|
|
221
|
-
class="select_list select"
|
|
222
|
-
enter-push
|
|
223
|
-
multiple
|
|
224
|
-
condition="f_residential_area in {}"
|
|
225
|
-
v-model="model.f_residential_area"
|
|
226
|
-
style="width: 60%"
|
|
227
|
-
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
228
|
-
>
|
|
229
|
-
|
|
230
|
-
</v-select>
|
|
231
|
-
</div>
|
|
232
|
-
<div class="col-sm-2 form-group" >
|
|
233
|
-
<label class="font_normal_body">楼 号</label>
|
|
234
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_building"
|
|
235
|
-
condition="f_building = '{}'" placeholder='楼号'>
|
|
236
|
-
</div>
|
|
237
|
-
<div class="col-sm-2 form-group" >
|
|
238
|
-
<label class="font_normal_body">单 元</label>
|
|
239
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
|
|
240
|
-
condition="f_unit = '{}'" placeholder='单元号'>
|
|
241
|
-
</div>
|
|
242
|
-
|
|
243
|
-
<div class="col-sm-2 form-group" >
|
|
244
|
-
<label class="font_normal_body">楼 层</label>
|
|
245
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
|
|
246
|
-
condition="f_floor = '{}'" placeholder='楼层号'>
|
|
247
|
-
</div>
|
|
248
|
-
<div class="col-sm-2 form-group" >
|
|
249
|
-
<label class="font_normal_body">门 牌 号</label>
|
|
250
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_room"
|
|
251
|
-
condition="f_room = '{}'" placeholder='门牌号'>
|
|
252
|
-
</div>
|
|
253
|
-
<div class="col-sm-2 form-group">
|
|
254
|
-
<label class="font_normal_body">余额区间</label>
|
|
255
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
|
|
256
|
-
condition="f_balance >= '{}'" placeholder="最小值">
|
|
257
|
-
</div>
|
|
258
|
-
<div class="col-sm-2 form-group">
|
|
259
|
-
<label class="font_normal_body">   至   </label>
|
|
260
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.balance2"
|
|
261
|
-
condition="f_balance <= '{}'" placeholder="最大值">
|
|
262
|
-
</div>
|
|
263
|
-
<div class="col-sm-2 form-group" >
|
|
264
|
-
<label class="font_normal_body">用 气 点</label>
|
|
265
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
|
|
266
|
-
condition="f_userfiles_address like '%{}%'" placeholder="用气点">
|
|
267
|
-
</div>
|
|
268
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
269
|
-
<!-- <label class="font_normal_body">用气性质</label>-->
|
|
270
|
-
<!-- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
|
|
271
|
-
<!-- :options='$parent.$parent.gasproperties' placeholder='请选择'-->
|
|
272
|
-
<!-- condition="f_gasproperties in {}"-->
|
|
273
|
-
<!-- ></v-select>-->
|
|
274
|
-
<!-- </div>-->
|
|
275
|
-
<div class="col-sm-2 form-group">
|
|
276
|
-
<label class="font_normal_body">用气性质</label>
|
|
277
|
-
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
278
|
-
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
279
|
-
condition="f_gasproperties = '{}'"
|
|
280
|
-
close-on-select></v-select>
|
|
281
|
-
</div>
|
|
282
|
-
<div class="col-sm-2 form-group">
|
|
283
|
-
<label class="font_normal_body">气价类型</label>
|
|
284
|
-
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
285
|
-
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
286
|
-
condition="f_price_type = '{}'" @change="$parent.$parent.pricetypechanged"
|
|
287
|
-
close-on-select v-ref:type>
|
|
288
|
-
</v-select>
|
|
289
|
-
</div>
|
|
290
|
-
<div class="col-sm-2 form-group">
|
|
291
|
-
<label class="font_normal_body">气价名称</label>
|
|
292
|
-
<v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
|
|
293
|
-
multiple
|
|
294
|
-
:options="$parent.$parent.pricenames" placeholder='气价名称'
|
|
295
|
-
condition="f_price_name in {}"
|
|
296
|
-
></v-select>
|
|
297
|
-
</div>
|
|
298
|
-
<div class="col-sm-2 form-group" >
|
|
299
|
-
<label class="font_normal_body">微信绑定</label>
|
|
300
|
-
<v-select :value.sync="model.f_isband"
|
|
301
|
-
v-model="model.f_isband"
|
|
302
|
-
:options='$parent.$parent.bandstates' placeholder='请选择'
|
|
303
|
-
condition="f_isband = '{}'"
|
|
304
|
-
close-on-select></v-select>
|
|
305
|
-
</div>
|
|
306
|
-
<div class="col-sm-2 form-group">
|
|
307
|
-
<label class="font_normal_body">壁 挂 炉</label>
|
|
308
|
-
<v-select :value.sync="model.isbgl" v-model="model.isbgl"
|
|
309
|
-
:options='$parent.$parent.bgl' placeholder='请选择'
|
|
310
|
-
condition="isbgl = '{}'"
|
|
311
|
-
close-on-select></v-select>
|
|
312
|
-
</div>
|
|
313
|
-
<div class="col-sm-2 form-group">
|
|
314
|
-
<label class="font_normal_body">发卡状态</label>
|
|
315
|
-
<v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
|
|
316
|
-
:options='$parent.$parent.whetherCard' placeholder='请选择'
|
|
317
|
-
condition="f_whether_hairpin = '{}'"
|
|
318
|
-
close-on-select></v-select>
|
|
319
|
-
</div>
|
|
320
|
-
<div class="col-sm-2 form-group">
|
|
321
|
-
<label class="font_normal_body">安装位置</label>
|
|
322
|
-
<v-select :value.sync="model.f_position" v-model="model.f_position"
|
|
323
|
-
:options='$parent.$parent.positions' placeholder='请选择'
|
|
324
|
-
condition="f_position = '{}'"
|
|
325
|
-
close-on-select></v-select>
|
|
326
|
-
</div>
|
|
327
|
-
|
|
328
|
-
<!--表册片区-->
|
|
329
|
-
<div class="col-sm-2 form-group">
|
|
330
|
-
<label class="font_normal_body">表册片区</label>
|
|
331
|
-
<v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
|
|
332
|
-
@change="$parent.$parent.inputtorchange"
|
|
333
|
-
:options='$parent.$parent.bookSlice' placeholder='片区/表册'
|
|
334
|
-
style="width:60%"
|
|
335
|
-
close-on-select
|
|
336
|
-
condition="f_book_slice_area = '{}'"></v-select>
|
|
337
|
-
</div>
|
|
338
|
-
<div class="col-sm-2 form-group">
|
|
339
|
-
<label class="font_normal_body">抄 表 册</label>
|
|
340
|
-
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
341
|
-
:options='$parent.$parent.meterbooks' placeholder='请选择'
|
|
342
|
-
style="width:60%"
|
|
343
|
-
close-on-select
|
|
344
|
-
condition="f_meter_book_num = '{}'"></v-select>
|
|
345
|
-
</div>
|
|
346
|
-
<div class="col-sm-2 form-group">
|
|
347
|
-
<label class="font_normal_body">房屋类型</label>
|
|
348
|
-
<v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
|
|
349
|
-
:options='$parent.$parent.houseTypes' placeholder='请选择'
|
|
350
|
-
style="width:60%"
|
|
351
|
-
close-on-select
|
|
352
|
-
condition="f_house_type = '{}'"></v-select>
|
|
353
|
-
</div>
|
|
354
|
-
<div class="col-sm-2 form-group">
|
|
355
|
-
<label class="font_normal_body" >缴费类型</label>
|
|
356
|
-
<v-select :value.sync="model.f_payment" multiple
|
|
357
|
-
v-model="model.f_payment"
|
|
358
|
-
:options='$parent.$parent.dypayment' placeholder='请选择'
|
|
359
|
-
condition="f_cost_type in {}"
|
|
360
|
-
></v-select>
|
|
361
|
-
</div>
|
|
362
|
-
<div class="col-sm-2 form-group" >
|
|
363
|
-
<label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
|
|
364
|
-
<datepicker id="startDate2" placeholder="开始日期" style="width:60%"
|
|
365
|
-
v-model="model.startDate2"
|
|
366
|
-
:value.sync="model.startDate2"
|
|
367
|
-
:format="'yyyy-MM-dd'"
|
|
368
|
-
:show-reset-button="true"
|
|
369
|
-
condition="f_open_date >= '{} 00:00:00'">
|
|
370
|
-
</datepicker>
|
|
371
|
-
</div>
|
|
372
|
-
<div class="col-sm-2 form-group" >
|
|
373
|
-
<label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
|
|
374
|
-
<datepicker id="endDate2" placeholder="结束日期" style="width:60%"
|
|
375
|
-
v-model="model.endDate2"
|
|
376
|
-
:value.sync="model.endDate2"
|
|
377
|
-
:format="'yyyy-MM-dd'"
|
|
378
|
-
:show-reset-button="true"
|
|
379
|
-
condition="f_open_date <= '{} 23:59:59'">
|
|
380
|
-
</datepicker>
|
|
381
|
-
</div>
|
|
382
|
-
<div class="col-sm-2 form-group" >
|
|
383
|
-
<label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
|
|
384
|
-
<datepicker id="startDate3" placeholder="开始日期" style="width:60%"
|
|
385
|
-
v-model="model.startDate3"
|
|
386
|
-
:value.sync="model.startDate3"
|
|
387
|
-
:format="'yyyy-MM-dd'"
|
|
388
|
-
:show-reset-button="true"
|
|
389
|
-
condition="f_install_date >= '{} 00:00:00'">
|
|
390
|
-
</datepicker>
|
|
391
|
-
</div>
|
|
392
|
-
<div class="col-sm-2 form-group" >
|
|
393
|
-
<label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
|
|
394
|
-
<datepicker id="endDate3" placeholder="结束日期" style="width:60%"
|
|
395
|
-
v-model="model.endDate3"
|
|
396
|
-
:value.sync="model.endDate3"
|
|
397
|
-
:format="'yyyy-MM-dd'"
|
|
398
|
-
:show-reset-button="true"
|
|
399
|
-
condition="f_install_date <= '{} 23:59:59'">
|
|
400
|
-
</datepicker>
|
|
401
|
-
</div>
|
|
402
|
-
<div class="col-sm-2 form-group" >
|
|
403
|
-
<label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
|
|
404
|
-
<datepicker id="endDate4" placeholder="开始日期" style="width:60%"
|
|
405
|
-
v-model="model.startDate4"
|
|
406
|
-
:value.sync="model.startDate4"
|
|
407
|
-
:format="'yyyy-MM-dd'"
|
|
408
|
-
:show-reset-button="true"
|
|
409
|
-
condition="f_gas_date >= '{} 00:00:00'">
|
|
410
|
-
</datepicker>
|
|
411
|
-
</div>
|
|
412
|
-
<div class="col-sm-2 form-group" >
|
|
413
|
-
<label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
|
|
414
|
-
<datepicker id="endDate4" placeholder="结束日期" style="width:60%"
|
|
415
|
-
v-model="model.endDate4"
|
|
416
|
-
:value.sync="model.endDate4"
|
|
417
|
-
:format="'yyyy-MM-dd'"
|
|
418
|
-
:show-reset-button="true"
|
|
419
|
-
condition="f_gas_date <= '{} 23:59:59'">
|
|
420
|
-
</datepicker>
|
|
421
|
-
</div>
|
|
422
|
-
<div class="col-sm-2 form-group" >
|
|
423
|
-
<label for="startDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
|
|
424
|
-
<datepicker id="startDate5" placeholder="开始日期" style="width:60%"
|
|
425
|
-
v-model="model.startDate5"
|
|
426
|
-
:value.sync="model.startDate5"
|
|
427
|
-
:format="'yyyy-MM-dd'"
|
|
428
|
-
:show-reset-button="true"
|
|
429
|
-
condition="f_subscribe_date >= '{} 00:00:00'">
|
|
430
|
-
</datepicker>
|
|
431
|
-
</div>
|
|
432
|
-
<div class="col-sm-2 form-group" >
|
|
433
|
-
<label for="endDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
|
|
434
|
-
<datepicker id="endDate5" placeholder="结束日期" style="width:60%"
|
|
435
|
-
v-model="model.endDate5"
|
|
436
|
-
:value.sync="model.endDate5"
|
|
437
|
-
:format="'yyyy-MM-dd'"
|
|
438
|
-
:show-reset-button="true"
|
|
439
|
-
condition="f_subscribe_date <= '{} 23:59:59'">
|
|
440
|
-
</datepicker>
|
|
441
|
-
</div>
|
|
442
|
-
<div class="col-sm-2 form-group" >
|
|
443
|
-
<label class="font_normal_body">气表表号</label>
|
|
444
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
445
|
-
condition="f_meternumber like '%{}%'" placeholder='气表表号'>
|
|
446
|
-
</div>
|
|
447
|
-
<div class="col-sm-2 form-group">
|
|
448
|
-
<label class="font_normal_body">使用类型</label>
|
|
449
|
-
<v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
|
|
450
|
-
:options='$parent.$parent.useTypes' placeholder='请选择'
|
|
451
|
-
style="width:60%"
|
|
452
|
-
close-on-select
|
|
453
|
-
condition="f_usetype = '{}'"></v-select>
|
|
454
|
-
</div>
|
|
455
|
-
<div class="col-sm-2 form-group">
|
|
456
|
-
<label class="font_normal_body">表具状态</label>
|
|
457
|
-
<v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
|
|
458
|
-
multiple
|
|
459
|
-
:options='$parent.$parent.TableStates' placeholder='请选择'
|
|
460
|
-
style="width:60%"
|
|
461
|
-
condition="f_table_state in {}"></v-select>
|
|
462
|
-
</div>
|
|
463
|
-
<div class="col-sm-2 form-group">
|
|
464
|
-
<label class="font_normal_body">表册抄表员</label>
|
|
465
|
-
<v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
|
|
466
|
-
style="width:60%"
|
|
467
|
-
multiple
|
|
468
|
-
:options='$parent.$parent.inputtores' placeholder='表册抄表员'
|
|
469
|
-
v-el:cc></v-select>
|
|
470
|
-
</div>
|
|
471
|
-
<div class="col-sm-2 form-group">
|
|
472
|
-
<label class="font_normal_body">档案抄表员</label>
|
|
473
|
-
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
474
|
-
style="width:60%"
|
|
475
|
-
multiple
|
|
476
|
-
:options='$parent.$parent.inputtores' placeholder='档案抄表员'
|
|
477
|
-
v-el:cc></v-select>
|
|
478
|
-
</div>
|
|
479
|
-
<div class="col-sm-2 form-group">
|
|
480
|
-
<label class="font_normal_body">安 装 人</label>
|
|
481
|
-
<v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
|
|
482
|
-
style="width:60%"
|
|
483
|
-
multiple
|
|
484
|
-
:options='$parent.$parent.person' placeholder='安装人'
|
|
485
|
-
condition="f_install_person in {}"
|
|
486
|
-
v-el:cc></v-select>
|
|
487
|
-
</div>
|
|
488
|
-
<div class="col-sm-2 form-group">
|
|
489
|
-
<label class="font_normal_body">自动阀控</label>
|
|
490
|
-
<v-select
|
|
491
|
-
placeholder='自动阀控'
|
|
492
|
-
|
|
493
|
-
:value.sync="model.f_network_valve"
|
|
494
|
-
style="width:60%"
|
|
495
|
-
v-model="model.f_network_valve"
|
|
496
|
-
:options='$parent.$parent.networkvalves'
|
|
497
|
-
close-on-select
|
|
498
|
-
condition="f_network_valve='{}'">
|
|
499
|
-
</v-select>
|
|
500
|
-
</div>
|
|
501
|
-
<div class="col-sm-2 form-group">
|
|
502
|
-
<label class="font_normal_body">生产日期</label>
|
|
503
|
-
<datepicker id="startDate" placeholder="生产日期"
|
|
504
|
-
v-model="model.f_manufacture_date_start"
|
|
505
|
-
:value.sync="model.f_manufacture_date_start"
|
|
506
|
-
style="width: 60%"
|
|
507
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
508
|
-
condition="f_manufacture_date >= '{}'">
|
|
509
|
-
</datepicker>
|
|
510
|
-
</div>
|
|
511
|
-
<div class="col-sm-2 form-group">
|
|
512
|
-
<label class="font_normal_body">  至 </label>
|
|
513
|
-
<datepicker id="endDate" placeholder="生产日期"
|
|
514
|
-
v-model="model.f_manufacture_date_end"
|
|
515
|
-
:value.sync="model.f_manufacture_date_end"
|
|
516
|
-
style="width: 60%"
|
|
517
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
518
|
-
condition="f_manufacture_date <= '{}'">
|
|
519
|
-
</datepicker>
|
|
520
|
-
</div>
|
|
521
|
-
</div>
|
|
522
|
-
</div>
|
|
523
|
-
</criteria>
|
|
524
|
-
|
|
525
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
526
|
-
<template partial='head'>
|
|
527
|
-
<tr>
|
|
528
|
-
<th rowspan="2">
|
|
529
|
-
<nobr>序号</nobr>
|
|
530
|
-
</th>
|
|
531
|
-
<th colspan="6">
|
|
532
|
-
<nobr>用户信息</nobr>
|
|
533
|
-
</th>
|
|
534
|
-
<th colspan="5">
|
|
535
|
-
<nobr>建档信息</nobr>
|
|
536
|
-
</th>
|
|
537
|
-
<th colspan="6">
|
|
538
|
-
<nobr>燃气表</nobr>
|
|
539
|
-
</th>
|
|
540
|
-
<th colspan="68">
|
|
541
|
-
<nobr>其他</nobr>
|
|
542
|
-
</th>
|
|
543
|
-
</tr>
|
|
544
|
-
<tr>
|
|
545
|
-
<th>
|
|
546
|
-
<!--<nobr>客户编号</nobr>-->
|
|
547
|
-
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
548
|
-
</th>
|
|
549
|
-
<th>
|
|
550
|
-
<nobr>小区名称</nobr>
|
|
551
|
-
</th>
|
|
552
|
-
<th>
|
|
553
|
-
<nobr>户主姓名</nobr>
|
|
554
|
-
</th>
|
|
555
|
-
<th>
|
|
556
|
-
<nobr>身份证号</nobr>
|
|
557
|
-
</th>
|
|
558
|
-
<th>
|
|
559
|
-
<nobr>详细地址</nobr>
|
|
560
|
-
</th>
|
|
561
|
-
<th>
|
|
562
|
-
<nobr>联系电话</nobr>
|
|
563
|
-
</th>
|
|
564
|
-
<th>
|
|
565
|
-
<nobr>建档日期</nobr>
|
|
566
|
-
</th>
|
|
567
|
-
<th>
|
|
568
|
-
<nobr>供气合同编号</nobr>
|
|
569
|
-
</th>
|
|
570
|
-
<th>
|
|
571
|
-
<nobr>通气日期</nobr>
|
|
572
|
-
</th>
|
|
573
|
-
<th>
|
|
574
|
-
<nobr>通气人员</nobr>
|
|
575
|
-
</th>
|
|
576
|
-
<th>
|
|
577
|
-
<nobr>防盗卡号</nobr>
|
|
578
|
-
</th>
|
|
579
|
-
<th>
|
|
580
|
-
<nobr>品牌</nobr>
|
|
581
|
-
</th>
|
|
582
|
-
<th>
|
|
583
|
-
<nobr>表号</nobr>
|
|
584
|
-
</th>
|
|
585
|
-
<th>
|
|
586
|
-
<nobr>类型</nobr>
|
|
587
|
-
</th>
|
|
588
|
-
<th>
|
|
589
|
-
<nobr>型号</nobr>
|
|
590
|
-
</th>
|
|
591
|
-
<th>
|
|
592
|
-
<nobr>表向</nobr>
|
|
593
|
-
</th>
|
|
594
|
-
<th>
|
|
595
|
-
<nobr>生产年月</nobr>
|
|
596
|
-
</th>
|
|
597
|
-
<th><nobr>客户状态</nobr></th>
|
|
598
|
-
|
|
599
|
-
<th><nobr>档案编号</nobr></th>
|
|
600
|
-
<th><nobr>是否发卡</nobr></th>
|
|
601
|
-
<th><nobr>卡号</nobr></th>
|
|
602
|
-
<!-- <th><nobr>客户名称</nobr></th>-->
|
|
603
|
-
<!-- <th><nobr>小区名称</nobr></th>-->
|
|
604
|
-
<th><nobr>楼栋</nobr></th>
|
|
605
|
-
<th><nobr>单元</nobr></th>
|
|
606
|
-
<th><nobr>楼层</nobr></th>
|
|
607
|
-
<th><nobr>门牌号</nobr></th>
|
|
608
|
-
<!-- <th>-->
|
|
609
|
-
<!-- <data-order field="f_userinfo_code" name="客户地址"-->
|
|
610
|
-
<!-- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>-->
|
|
611
|
-
<!-- </th>-->
|
|
612
|
-
<!-- <th><nobr>客户电话</nobr></th>-->
|
|
613
|
-
<th><nobr>表册片区</nobr></th>
|
|
614
|
-
<!-- <th>-->
|
|
615
|
-
<!-- <!–<nobr>通气日期</nobr>–>-->
|
|
616
|
-
<!-- <data-order field="f_gas_date" name="通气日期" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>-->
|
|
617
|
-
<!-- </th>-->
|
|
618
|
-
<!-- 气价类型,单价暂时未处理 -->
|
|
619
|
-
<th><nobr>气价类型</nobr></th>
|
|
620
|
-
<th><nobr>气价名称</nobr></th>
|
|
621
|
-
<th><nobr>单价</nobr></th>
|
|
622
|
-
|
|
623
|
-
<th><nobr>安装位置</nobr></th>
|
|
624
|
-
<th><nobr>缴费类型</nobr></th>
|
|
625
|
-
<!-- <th><nobr>气表类型</nobr></th>-->
|
|
626
|
-
<!-- <th><nobr>气表品牌</nobr></th>-->
|
|
627
|
-
<!-- <th><nobr>表号</nobr></th>-->
|
|
628
|
-
<th><nobr>表封号</nobr></th>
|
|
629
|
-
<!-- <th><nobr>左右表</nobr></th>-->
|
|
630
|
-
<th>
|
|
631
|
-
<!--<nobr>气表安装日期</nobr>-->
|
|
632
|
-
<data-order field="f_install_date" name="气表安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_install_date"></data-order>
|
|
633
|
-
</th>
|
|
634
|
-
<th><nobr>气表底数</nobr></th>
|
|
635
|
-
<th><nobr>账户余额</nobr></th>
|
|
636
|
-
<th>
|
|
637
|
-
<!--<nobr>最后抄表日期</nobr>-->
|
|
638
|
-
<data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
|
|
639
|
-
</th>
|
|
640
|
-
<th><nobr>最后购气量</nobr></th>
|
|
641
|
-
<th><nobr>最后购气金额</nobr></th>
|
|
642
|
-
<th><nobr>最后购气日期</nobr></th>
|
|
643
|
-
|
|
644
|
-
<th><nobr>自动阀控</nobr></th>
|
|
645
|
-
<th><nobr>阀门状态</nobr></th>
|
|
646
|
-
|
|
647
|
-
<!-- <th><nobr>旧客户编号</nobr></th> -->
|
|
648
|
-
<th><nobr>客户类型</nobr></th>
|
|
649
|
-
<th><nobr>用气性质</nobr></th>
|
|
650
|
-
<th>
|
|
651
|
-
<!--<nobr>开户时间</nobr>-->
|
|
652
|
-
<data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
|
|
653
|
-
|
|
654
|
-
</th>
|
|
655
|
-
<th><nobr>证件类型</nobr></th>
|
|
656
|
-
<!-- <th><nobr>证件号码</nobr></th>-->
|
|
657
|
-
<th><nobr>人口数</nobr></th>
|
|
658
|
-
<th>
|
|
659
|
-
<!--<nobr>保险结束日期</nobr>-->
|
|
660
|
-
<data-order field="f_ins_stop_date" name="保险结束日期" :order.sync="$parent.$parent.$parent.orderFields.f_ins_stop_date"></data-order>
|
|
661
|
-
</th>
|
|
662
|
-
<!-- <th>-->
|
|
663
|
-
<!-- <!–<nobr>建档日期</nobr>–>-->
|
|
664
|
-
<!-- <data-order field="f_createfile_date" name="建档日期" :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>-->
|
|
665
|
-
<!-- </th>-->
|
|
666
|
-
<th><nobr>建档人</nobr></th>
|
|
667
|
-
<th><nobr>所属营业厅</nobr></th>
|
|
668
|
-
<!-- <th><nobr>备注信息</nobr></th>-->
|
|
669
|
-
|
|
670
|
-
<!-- <th><nobr>气价详情</nobr></th>-->
|
|
671
|
-
<th><nobr>曾用名</nobr></th>
|
|
672
|
-
<th><nobr>备用电话</nobr></th>
|
|
673
|
-
<th><nobr>租户姓名</nobr></th>
|
|
674
|
-
<th><nobr>租户电话</nobr></th>
|
|
675
|
-
<!--<th><nobr>曾用名</nobr></th>-->
|
|
676
|
-
<!-- <th><nobr>发票编码</nobr></th>-->
|
|
677
|
-
<th><nobr>是否煤改气</nobr></th>
|
|
678
|
-
<th><nobr>是否发放天然气使用证</nobr></th>
|
|
679
|
-
|
|
680
|
-
<th><nobr>使用类型</nobr></th>
|
|
681
|
-
|
|
682
|
-
<!-- <th><nobr>使用状态</nobr></th>-->
|
|
683
|
-
<!--<th><nobr>通气时间</nobr></th>-->
|
|
684
|
-
|
|
685
|
-
<!-- <th><nobr>气表型号</nobr></th>-->
|
|
686
|
-
<th><nobr>预约通气时间</nobr></th>
|
|
687
|
-
<th><nobr>表具状态</nobr></th>
|
|
688
|
-
<th><nobr>初始气表底数</nobr></th>
|
|
689
|
-
<th><nobr>累计用气金额</nobr></th>
|
|
690
|
-
<th><nobr>表累购气量</nobr></th>
|
|
691
|
-
<th><nobr>表累购金额</nobr></th>
|
|
692
|
-
|
|
693
|
-
<th><nobr>用户总购气量</nobr></th>
|
|
694
|
-
<th><nobr>用户总购金额</nobr></th>
|
|
695
|
-
|
|
696
|
-
<th><nobr>抄表员(表册)</nobr></th>
|
|
697
|
-
<th><nobr>抄表员(档案)</nobr></th>
|
|
698
|
-
<th><nobr>用气点</nobr></th>
|
|
699
|
-
<th><nobr>安装人</nobr></th>
|
|
700
|
-
<!-- <th><nobr>通气人</nobr></th>-->
|
|
701
|
-
<!-- <th><nobr>点火状态</nobr></th>-->
|
|
702
|
-
<th><nobr>表册名称</nobr></th>
|
|
703
|
-
<th><nobr>抄表册编号</nobr></th>
|
|
704
|
-
|
|
705
|
-
<th><nobr>抄表册顺序</nobr></th>
|
|
706
|
-
<th><nobr>表剩余金额</nobr></th>
|
|
707
|
-
<!-- <th><nobr>首次购气日期</nobr></th>-->
|
|
708
|
-
<th><nobr>写卡次数</nobr></th>
|
|
709
|
-
<th><nobr>补卡次数</nobr></th>
|
|
710
|
-
<!-- <th><nobr>购气次数</nobr></th>-->
|
|
711
|
-
|
|
712
|
-
<th><nobr>表同步状态</nobr></th>
|
|
713
|
-
<th><nobr>微信绑定</nobr></th>
|
|
714
|
-
|
|
715
|
-
<th>
|
|
716
|
-
<nobr>银行户名</nobr>
|
|
717
|
-
</th>
|
|
718
|
-
<th>
|
|
719
|
-
<nobr>银行名称</nobr>
|
|
720
|
-
</th>
|
|
721
|
-
<th>
|
|
722
|
-
<nobr>银行账号</nobr>
|
|
723
|
-
</th>
|
|
724
|
-
<th>
|
|
725
|
-
<nobr>银行身份证号</nobr>
|
|
726
|
-
</th>
|
|
727
|
-
<th>
|
|
728
|
-
<nobr>缴费编号</nobr>
|
|
729
|
-
</th>
|
|
730
|
-
<th>
|
|
731
|
-
<nobr>报警器编号</nobr>
|
|
732
|
-
</th>
|
|
733
|
-
<th>
|
|
734
|
-
<!--<nobr>换表时间</nobr>-->
|
|
735
|
-
<data-order field="f_maxdate" name="换表时间" :order.sync="$parent.$parent.$parent.orderFields.f_maxdate"></data-order>
|
|
736
|
-
</th>
|
|
737
|
-
<th>
|
|
738
|
-
<nobr>灶具信息</nobr>
|
|
739
|
-
</th>
|
|
740
|
-
<th>
|
|
741
|
-
<nobr>备注</nobr>
|
|
742
|
-
</th>
|
|
743
|
-
</tr>
|
|
744
|
-
</template>
|
|
745
|
-
<template partial='body'>
|
|
746
|
-
<td style="text-align: center;"><nobr>{{$index + 1}}</nobr></td>
|
|
747
|
-
<td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
748
|
-
<td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
749
|
-
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
750
|
-
<td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
|
|
751
|
-
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
752
|
-
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
753
|
-
<td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
|
|
754
|
-
<td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
|
|
755
|
-
<td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
|
|
756
|
-
<td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
|
|
757
|
-
<td style="text-align: center;"><nobr>{{row.f_defendcard}}</nobr></td>
|
|
758
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
759
|
-
<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
760
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
|
|
761
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
|
|
762
|
-
<td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
|
|
763
|
-
<td style="text-align: center;"><nobr>{{row.f_manufacture_date}}</nobr></td>
|
|
764
|
-
<!-- <td style="text-align: center;"><nobr>-->
|
|
765
|
-
<!-- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
|
|
766
|
-
<!-- </nobr> </td>-->
|
|
767
|
-
<td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
|
|
768
|
-
<td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
|
|
769
|
-
<td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
|
|
770
|
-
<td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
|
|
771
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>-->
|
|
772
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>-->
|
|
773
|
-
<td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
|
|
774
|
-
<td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
|
|
775
|
-
<td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
|
|
776
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>-->
|
|
777
|
-
<td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
|
|
778
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>-->
|
|
779
|
-
<td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
|
|
780
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>-->
|
|
781
|
-
<!-- 气价类型,单价暂时未处理 -->
|
|
782
|
-
<td style="text-align: center;"><nobr> </nobr></td>
|
|
783
|
-
<td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
|
|
784
|
-
<td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
|
|
785
|
-
|
|
786
|
-
<td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
|
|
787
|
-
<td style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
|
|
788
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>-->
|
|
789
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>-->
|
|
790
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>-->
|
|
791
|
-
<td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
|
|
792
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>-->
|
|
793
|
-
<td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
|
|
794
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
|
|
795
|
-
<td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
|
|
796
|
-
<td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
797
|
-
<td style="text-align: center;"><nobr>{{row.latest_f_pregas}}</nobr></td>
|
|
798
|
-
<td style="text-align: center;"><nobr>{{row.latest_f_collection}}</nobr></td>
|
|
799
|
-
<td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>
|
|
800
|
-
<td style="text-align: center;"><nobr>{{row.f_network_valve}}</nobr></td>
|
|
801
|
-
<td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
|
|
802
|
-
|
|
803
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
|
|
804
|
-
<td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
|
|
805
|
-
<td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
|
|
806
|
-
|
|
807
|
-
<td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
|
|
808
|
-
<td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
|
|
809
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>-->
|
|
810
|
-
<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
|
|
811
|
-
<td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
|
|
812
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>-->
|
|
813
|
-
<td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
|
|
814
|
-
<td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
|
|
815
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>-->
|
|
816
|
-
|
|
817
|
-
<!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
|
|
818
|
-
<td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
|
|
819
|
-
<td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
|
|
820
|
-
<td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
|
|
821
|
-
<td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
|
|
822
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>-->
|
|
823
|
-
<td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
|
|
824
|
-
<td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
|
|
825
|
-
|
|
826
|
-
<td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
|
|
827
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
|
|
828
|
-
<!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
|
|
829
|
-
|
|
830
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>-->
|
|
831
|
-
<td style="text-align: center;"><nobr>{{row.f_subscribe_date}}</nobr></td>
|
|
832
|
-
<td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
|
|
833
|
-
<td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
|
|
834
|
-
<td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
|
|
835
|
-
<td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
|
|
836
|
-
<td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
|
|
837
|
-
<td style="text-align: center;"><nobr>{{row.f_user_total_gas}}</nobr></td>
|
|
838
|
-
<td style="text-align: center;"><nobr>{{row.f_user_total_fee}}</nobr></td>
|
|
839
|
-
<td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
|
|
840
|
-
<td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
|
|
841
|
-
|
|
842
|
-
<td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
|
|
843
|
-
<td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
|
|
844
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>-->
|
|
845
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
|
|
846
|
-
<td style="text-align: center;"><nobr>{{row.f_book_name}}</nobr></td>
|
|
847
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
|
|
848
|
-
|
|
849
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
|
|
850
|
-
<td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
|
|
851
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
|
|
852
|
-
<td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
|
|
853
|
-
<td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
|
|
854
|
-
<!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
|
|
855
|
-
<td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
|
|
856
|
-
<td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
|
|
857
|
-
|
|
858
|
-
<td style="text-align: center;">
|
|
859
|
-
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
|
|
860
|
-
</td>
|
|
861
|
-
<td style="text-align: center;">
|
|
862
|
-
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
|
|
863
|
-
</td>
|
|
864
|
-
<td style="text-align: center;">
|
|
865
|
-
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
|
|
866
|
-
</td>
|
|
867
|
-
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
868
|
-
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
|
|
869
|
-
</td>
|
|
870
|
-
<td style="text-align: center;">
|
|
871
|
-
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
|
|
872
|
-
</td>
|
|
873
|
-
<td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
|
|
874
|
-
<td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
|
|
875
|
-
<td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
|
|
876
|
-
<td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
|
|
877
|
-
</template>
|
|
878
|
-
<template partial='foot'>
|
|
879
|
-
|
|
880
|
-
</template>
|
|
881
|
-
</data-grid>
|
|
882
|
-
</criteria-paged>
|
|
883
|
-
|
|
884
|
-
<table class="table-hover">
|
|
885
|
-
<tr style="position: relative" class="table-bordered">
|
|
886
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
887
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">已挂表:{{sumsmodel.f_yiguabiao}}</td>
|
|
888
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">未挂表:{{sumsmodel.f_weiguabiao}}</td>
|
|
889
|
-
</tr>
|
|
890
|
-
</table>
|
|
891
|
-
|
|
892
|
-
<modal :show.sync="printshow" v-ref:modal backdrop="false">
|
|
893
|
-
<header slot="modal-header" class="modal-header text-center">
|
|
894
|
-
<h4 class="modal-title">打印列选择</h4>
|
|
895
|
-
<input type="checkbox" class="" id="f_generations" v-model="all">
|
|
896
|
-
<label for="f_generations" class="font-size">全选</label>
|
|
897
|
-
</header>
|
|
898
|
-
<article slot="modal-body">
|
|
899
|
-
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
|
|
900
|
-
<div class="col-sm-3" v-for="f in fields">
|
|
901
|
-
<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
|
|
902
|
-
<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
|
|
903
|
-
</div>
|
|
904
|
-
</div>
|
|
905
|
-
</article>
|
|
906
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
907
|
-
<center>
|
|
908
|
-
|
|
909
|
-
<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
|
|
910
|
-
<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
911
|
-
<print-table :model='model' v-show="false" v-ref:print
|
|
912
|
-
:top='40' :left='60' :right='40' :bottom='60'
|
|
913
|
-
:thead="thead" :tfoot='tfoot' :attach="yangsen"
|
|
914
|
-
:fields="modelval" :printpage="true">
|
|
915
|
-
</print-table>
|
|
916
|
-
</center>
|
|
917
|
-
</footer>
|
|
918
|
-
</modal>
|
|
919
|
-
</div>
|
|
920
|
-
<div class="flex" v-if="show">
|
|
921
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
922
|
-
</div>
|
|
923
|
-
</div></div></div>
|
|
924
|
-
<high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
|
|
925
|
-
</template>
|
|
926
|
-
|
|
927
|
-
<script>
|
|
928
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
929
|
-
import defaultPrint from './config/DefaultPrint'
|
|
930
|
-
import exportConfig from './config/exportConfig'
|
|
931
|
-
import defalutSelect from '../../components/sale/config/DefaultSelect'
|
|
932
|
-
let readySomething = async function (self) {
|
|
933
|
-
await self.$MagLoadParams.loadParam()
|
|
934
|
-
// await self.$LoadParams.loadParam(self.f_filialeid)
|
|
935
|
-
self.initParams()
|
|
936
|
-
self.getPricenames();
|
|
937
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
938
|
-
self.defalutSelect = defalutSelect.compreConfig
|
|
939
|
-
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
940
|
-
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
941
|
-
// await self.$refs.paged.$refs.cri.search()
|
|
942
|
-
}
|
|
943
|
-
export default {
|
|
944
|
-
title: '综合档案信息查询',
|
|
945
|
-
data() {
|
|
946
|
-
return {
|
|
947
|
-
IdCardInfo:'',
|
|
948
|
-
defalutSelect:[],
|
|
949
|
-
card:'',
|
|
950
|
-
isSingleUser: null,
|
|
951
|
-
other:[],
|
|
952
|
-
footer:[],
|
|
953
|
-
model: new PagedList('api/af-revenue/sql/compreQuery', 20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
|
|
954
|
-
criteriaShow: false,
|
|
955
|
-
orgCondtionStr:'',
|
|
956
|
-
residentialArea: [],
|
|
957
|
-
streetList: [],
|
|
958
|
-
gasproperties:[],
|
|
959
|
-
meterbrands: [],
|
|
960
|
-
modelval: [],
|
|
961
|
-
prices: [],
|
|
962
|
-
meterbooks: [],
|
|
963
|
-
printshow: false,
|
|
964
|
-
all: false,
|
|
965
|
-
fields: {},
|
|
966
|
-
thead: '',
|
|
967
|
-
tfoot: '',
|
|
968
|
-
defaultfield: [],
|
|
969
|
-
//排序
|
|
970
|
-
orderitem: 'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc',
|
|
971
|
-
orderFields: {
|
|
972
|
-
f_operate_date: 'no'
|
|
973
|
-
},
|
|
974
|
-
config: {
|
|
975
|
-
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
|
|
976
|
-
},
|
|
977
|
-
area: [],
|
|
978
|
-
inputtouPerson: [],
|
|
979
|
-
bookinputtorperson:[],
|
|
980
|
-
conditon2:'',
|
|
981
|
-
show:false,
|
|
982
|
-
rowdata:{},
|
|
983
|
-
f_filialeid: this.$login.f.orgid,
|
|
984
|
-
// 下拉框参数
|
|
985
|
-
initres: {
|
|
986
|
-
org:[this.$login.f.orgid],
|
|
987
|
-
dep:[],
|
|
988
|
-
user:[],
|
|
989
|
-
},
|
|
990
|
-
// 合计数据
|
|
991
|
-
sumsmodel: {},
|
|
992
|
-
//表册片区
|
|
993
|
-
bookSlice:[{label: '全部',value: ''}],
|
|
994
|
-
meterStyle:[{label: '全部',value: ''}],
|
|
995
|
-
pricenames:[],
|
|
996
|
-
dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
|
|
997
|
-
networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
ready(){
|
|
1001
|
-
this.getaddress()
|
|
1002
|
-
this.$refs.paged.$refs.cri.model.f_user_state=['正常']
|
|
1003
|
-
readySomething(this).then(() => {
|
|
1004
|
-
this.$emit('ready')
|
|
1005
|
-
}).catch((error) => {
|
|
1006
|
-
this.$emit('error', error)
|
|
1007
|
-
})
|
|
1008
|
-
},
|
|
1009
|
-
methods: {
|
|
1010
|
-
recombine (param) {
|
|
1011
|
-
// 条件拼接数据,多用于in ()。将数组转成字符串时加上单引号处理
|
|
1012
|
-
let str = ''
|
|
1013
|
-
if (param && param.length > 0) {
|
|
1014
|
-
param.forEach((p) => {
|
|
1015
|
-
str += `'${p}',`
|
|
1016
|
-
})
|
|
1017
|
-
}
|
|
1018
|
-
return `(${str.substring(0, str.length - 1)})`
|
|
1019
|
-
},
|
|
1020
|
-
async getMeterStyle(val){
|
|
1021
|
-
if (val.length > 0){
|
|
1022
|
-
// 获取气表型号下拉框
|
|
1023
|
-
let HttpReset = new HttpResetClass()
|
|
1024
|
-
let param = {
|
|
1025
|
-
items: 'distinct f_meter_style',
|
|
1026
|
-
tablename: 't_gasmodel gm left join t_gasbrand tg on gm.f_gasbrand_id = tg.id',
|
|
1027
|
-
condition: `tg.f_meter_brand in ${this.recombine(val)}`,
|
|
1028
|
-
orderitem: 'f_meter_style'
|
|
1029
|
-
}
|
|
1030
|
-
let data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
|
|
1031
|
-
for (let row of data.data) {
|
|
1032
|
-
this.meterStyle.push({label: row.f_meter_style, value: row.f_meter_style})
|
|
1033
|
-
}
|
|
1034
|
-
} else {
|
|
1035
|
-
this.meterStyle = [{label: '全部',value: ''}]
|
|
1036
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
ReadIDCard(){
|
|
1039
|
-
this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
|
|
1040
|
-
console.log('======',msg)
|
|
1041
|
-
if(msg.err !== 0){ return}
|
|
1042
|
-
this.IdCardInfo=msg.strID
|
|
1043
|
-
})
|
|
1044
|
-
if(this.IdCardInfo) {
|
|
1045
|
-
this.search()
|
|
1046
|
-
}else{
|
|
1047
|
-
alert("读取失败,找不到用户信息")
|
|
1048
|
-
}
|
|
1049
|
-
},
|
|
1050
|
-
cardBtn (val) {
|
|
1051
|
-
// this.clear()
|
|
1052
|
-
cardBtnGen(this, val)
|
|
1053
|
-
},
|
|
1054
|
-
getPricenames() {
|
|
1055
|
-
this.pricenames = []
|
|
1056
|
-
let priceArr = []
|
|
1057
|
-
this.$MagGetSaleParam.prices.forEach((item) => {
|
|
1058
|
-
let temp = {}
|
|
1059
|
-
temp.label = item.f_price_name
|
|
1060
|
-
temp.value = item.f_price_name
|
|
1061
|
-
priceArr.push(temp)
|
|
1062
|
-
})
|
|
1063
|
-
this.pricenames = [{label: '全部', value: ''}, ...priceArr]
|
|
1064
|
-
},
|
|
1065
|
-
selectPrice(){
|
|
1066
|
-
this.pricesAll=[{label: '全部', value: ''}]
|
|
1067
|
-
this.$refs.paged.$refs.cri.model.f_price=''
|
|
1068
|
-
this.pricesSum.forEach((item)=>{
|
|
1069
|
-
if(this.$refs.paged.$refs.cri.model.f_price_name==item.f_price_name){
|
|
1070
|
-
item.detailprice.forEach((item)=>{
|
|
1071
|
-
let temp={}
|
|
1072
|
-
temp.label=item.f_price
|
|
1073
|
-
temp.value=item.f_price
|
|
1074
|
-
this.pricesAll.push(temp)
|
|
1075
|
-
})
|
|
1076
|
-
}
|
|
1077
|
-
})
|
|
1078
|
-
},
|
|
1079
|
-
pricetypechanged(){
|
|
1080
|
-
this.$refs.paged.$refs.cri.model.f_price_name = []
|
|
1081
|
-
},
|
|
1082
|
-
getotherfooter () {
|
|
1083
|
-
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
1084
|
-
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
1085
|
-
this.other = [];
|
|
1086
|
-
this.footer = [];
|
|
1087
|
-
let exportdata = this.getCondition;
|
|
1088
|
-
let otherInData = [];
|
|
1089
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
1090
|
-
this.other.push(otherInData);
|
|
1091
|
-
},
|
|
1092
|
-
initParams() {
|
|
1093
|
-
// 初始化气表品牌
|
|
1094
|
-
let brandArr = []
|
|
1095
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
1096
|
-
let temp = {}
|
|
1097
|
-
temp.label = item.label
|
|
1098
|
-
temp.value = item.value.f_meter_brand
|
|
1099
|
-
brandArr.push(temp)
|
|
1100
|
-
})
|
|
1101
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
1102
|
-
//初始化气表价格
|
|
1103
|
-
this.prices = this.$MagGetSaleParam.getPrices();
|
|
1104
|
-
},
|
|
1105
|
-
async getaddress(){
|
|
1106
|
-
console.log('开始获取小区')
|
|
1107
|
-
let HttpReset = new HttpResetClass()
|
|
1108
|
-
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
1109
|
-
data: {
|
|
1110
|
-
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
1111
|
-
}
|
|
1112
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
1113
|
-
console.log('小区',data)
|
|
1114
|
-
let house = [{label: '全部', value: ''}]
|
|
1115
|
-
for (let row of data.data){
|
|
1116
|
-
console.log('开始保存小区')
|
|
1117
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
1118
|
-
}
|
|
1119
|
-
this.residentialArea = house
|
|
1120
|
-
// 获取街道列表
|
|
1121
|
-
await this.getStreetList()
|
|
1122
|
-
},
|
|
1123
|
-
// 获取街道列表
|
|
1124
|
-
async getStreetList() {
|
|
1125
|
-
let HttpReset = new HttpResetClass()
|
|
1126
|
-
try {
|
|
1127
|
-
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getstreetlist', {
|
|
1128
|
-
data: {
|
|
1129
|
-
condition: `1=1 and s.f_filialeid = '${this.f_filialeid || this.$login.f.orgid}'`
|
|
1130
|
-
}
|
|
1131
|
-
}, {resolveMsg: null, rejectMsg: '获取街道失败!'})
|
|
1132
|
-
console.log('街道', data)
|
|
1133
|
-
let streetData = [{label: '全部', value: ''}]
|
|
1134
|
-
// 使用 Set 来去重
|
|
1135
|
-
let streetSet = new Set()
|
|
1136
|
-
if (data && data.data) {
|
|
1137
|
-
for (let row of data.data) {
|
|
1138
|
-
if (row.f_street && !streetSet.has(row.f_street)) {
|
|
1139
|
-
streetSet.add(row.f_street)
|
|
1140
|
-
streetData.push({label: row.f_street, value: row.f_street})
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
console.log('获取到的街道列表(已去重):', streetData)
|
|
1145
|
-
this.streetList = streetData
|
|
1146
|
-
} catch (error) {
|
|
1147
|
-
console.error('获取街道列表失败:', error)
|
|
1148
|
-
this.streetList = [{label: '全部', value: ''}]
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
search(){
|
|
1152
|
-
this.$refs.paged.$refs.cri.search()
|
|
1153
|
-
},
|
|
1154
|
-
cancel() {
|
|
1155
|
-
this.show = false
|
|
1156
|
-
},
|
|
1157
|
-
showmsg(obj){
|
|
1158
|
-
this.rowdata=obj
|
|
1159
|
-
this.show=true
|
|
1160
|
-
},
|
|
1161
|
-
selfSearch (args) {
|
|
1162
|
-
|
|
1163
|
-
//抄表员查询条件
|
|
1164
|
-
this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
1165
|
-
if(this.inputtouPerson.length !== 0){
|
|
1166
|
-
let str = JSON.stringify(this.inputtouPerson)
|
|
1167
|
-
str = str.replace(/"/g,`'`)
|
|
1168
|
-
str = str.replace(/\[/g,``)
|
|
1169
|
-
str = str.replace(/\]/g,``)
|
|
1170
|
-
console.log("=====抄表员model22222222222绑定====",str)
|
|
1171
|
-
//查询多个抄表员时条件
|
|
1172
|
-
args.condition += ` and f_inputtor in ( ${str} )`
|
|
1173
|
-
}
|
|
1174
|
-
//debugger
|
|
1175
|
-
this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
|
|
1176
|
-
if(this.bookinputtorperson.length !== 0){
|
|
1177
|
-
let str = JSON.stringify(this.bookinputtorperson)
|
|
1178
|
-
str = str.replace(/"/g,`'`)
|
|
1179
|
-
str = str.replace(/\[/g,``)
|
|
1180
|
-
str = str.replace(/\]/g,``)
|
|
1181
|
-
console.log("=====抄表员model22222222222绑定====",str)
|
|
1182
|
-
//查询多个抄表员时条件
|
|
1183
|
-
args.condition += ` and f_book_inputtor in ( ${str} )`
|
|
1184
|
-
}
|
|
1185
|
-
if (!this.orgCondtionStr) {
|
|
1186
|
-
args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
|
|
1187
|
-
} else {
|
|
1188
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
1189
|
-
}
|
|
1190
|
-
console.log("查看条件",this.conditon2)
|
|
1191
|
-
if(this.card!=''){
|
|
1192
|
-
args.condition +=` and f_card_id='${this.card}'`
|
|
1193
|
-
}
|
|
1194
|
-
if(this.IdCardInfo!=''){
|
|
1195
|
-
args.condition+=` and f_idnumber='${this.IdCardInfo}'`
|
|
1196
|
-
}
|
|
1197
|
-
this.conditon2 = args.condition
|
|
1198
|
-
this.model.search(args.condition, args.model)
|
|
1199
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
1200
|
-
this.card=''
|
|
1201
|
-
this.IdCardInfo=''
|
|
1202
|
-
console.log('合计字段',this.sumsmodel)
|
|
1203
|
-
},
|
|
1204
|
-
clear(){
|
|
1205
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
1206
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
1207
|
-
})
|
|
1208
|
-
},
|
|
1209
|
-
hidden(){
|
|
1210
|
-
this.criteriaShow = !this.criteriaShow
|
|
1211
|
-
},
|
|
1212
|
-
getRes(obj) {
|
|
1213
|
-
this.orgCondtionStr = obj
|
|
1214
|
-
},
|
|
1215
|
-
stamp () {
|
|
1216
|
-
this.all = false
|
|
1217
|
-
//默认选择要打印的列
|
|
1218
|
-
this.modelval = defaultPrint.config
|
|
1219
|
-
this.fields = this.getfield
|
|
1220
|
-
console.log('所有打印字段',this.fields)
|
|
1221
|
-
this.printshow = true
|
|
1222
|
-
this.put()
|
|
1223
|
-
},
|
|
1224
|
-
put () {
|
|
1225
|
-
// 对Modelval进行排序
|
|
1226
|
-
this.sortModelval()
|
|
1227
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
|
|
1228
|
-
for (let key of this.modelval) {
|
|
1229
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
1230
|
-
}
|
|
1231
|
-
this.thead += '</tr>'
|
|
1232
|
-
},
|
|
1233
|
-
print () {
|
|
1234
|
-
this.$refs.print.PrintAsFile()
|
|
1235
|
-
this.printshow = false
|
|
1236
|
-
},
|
|
1237
|
-
close () {
|
|
1238
|
-
this.printshow = false
|
|
1239
|
-
this.all = false
|
|
1240
|
-
},
|
|
1241
|
-
userTypeChange () {
|
|
1242
|
-
this.gasproperties=[]
|
|
1243
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
1244
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
1245
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
1246
|
-
// this.gasproperties.push({label: '全部', value: ''})
|
|
1247
|
-
}
|
|
1248
|
-
else{
|
|
1249
|
-
this.gasproperties =[{label: '全部', value: ''}]
|
|
1250
|
-
}
|
|
1251
|
-
},
|
|
1252
|
-
// 对选择的列进行排序
|
|
1253
|
-
sortModelval () {
|
|
1254
|
-
let sortModel = []
|
|
1255
|
-
Object.keys(this.fields).forEach((key) => {
|
|
1256
|
-
if (this.modelval.includes(key)) {
|
|
1257
|
-
sortModel.push(key)
|
|
1258
|
-
}
|
|
1259
|
-
})
|
|
1260
|
-
this.modelval = sortModel
|
|
1261
|
-
console.log('选择的打印的字段', this.modelval)
|
|
1262
|
-
},
|
|
1263
|
-
async updateParams() {
|
|
1264
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
1265
|
-
this.inputtores = [];
|
|
1266
|
-
this.inputtores.push({label: "全部", value: ""})
|
|
1267
|
-
this.initSlice(this.f_filialeid)
|
|
1268
|
-
if(this.allorgid!=null){
|
|
1269
|
-
this.allorgid.forEach((res)=>{
|
|
1270
|
-
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
1271
|
-
})
|
|
1272
|
-
}
|
|
1273
|
-
// 更新街道列表
|
|
1274
|
-
await this.getStreetList()
|
|
1275
|
-
},
|
|
1276
|
-
async initSlice (val) {
|
|
1277
|
-
if (val) {
|
|
1278
|
-
let getAllArea = await this.$resetpost('/rs/search', {
|
|
1279
|
-
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
1280
|
-
userid: this.$login.f.id
|
|
1281
|
-
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
1282
|
-
let arr = getAllArea.data.filter((res) => {
|
|
1283
|
-
return res.parentid == val
|
|
1284
|
-
})
|
|
1285
|
-
this.bookSlice = []
|
|
1286
|
-
console.log('过滤之后的片区-------------------', arr)
|
|
1287
|
-
arr.forEach((res) => {
|
|
1288
|
-
this.bookSlice.push({label: res.name, value: res.name})
|
|
1289
|
-
})
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
//表册片区和抄表册关联
|
|
1293
|
-
async inputtorchange(){
|
|
1294
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
|
|
1295
|
-
/*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
|
|
1296
|
-
let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
|
|
1297
|
-
if((val2.length>0)){
|
|
1298
|
-
let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
|
|
1299
|
-
/*if (val1[0]){
|
|
1300
|
-
condition = condition+ ` and f_meter_book = '${val1[0]}' `
|
|
1301
|
-
}*/
|
|
1302
|
-
if(val2[0]) {
|
|
1303
|
-
condition = condition + ` and f_book_slice_area = '${val2}' `
|
|
1304
|
-
}
|
|
1305
|
-
let param={
|
|
1306
|
-
items:'*',
|
|
1307
|
-
tablename:'t_meter_book',
|
|
1308
|
-
condition:condition,
|
|
1309
|
-
orderitem:'id'
|
|
1310
|
-
}
|
|
1311
|
-
let getMeterBooks = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
1312
|
-
if (getMeterBooks.data) {
|
|
1313
|
-
if(getMeterBooks.data.length >0){
|
|
1314
|
-
let rs = [];
|
|
1315
|
-
getMeterBooks.data.forEach((item)=>{
|
|
1316
|
-
let temp = {
|
|
1317
|
-
label:item.f_book_name,
|
|
1318
|
-
value:item.id
|
|
1319
|
-
};
|
|
1320
|
-
rs.push(temp);
|
|
1321
|
-
|
|
1322
|
-
})
|
|
1323
|
-
this.meterbooks = [{label: '全部',value: ''}, ...rs];
|
|
1324
|
-
}else{
|
|
1325
|
-
this.meterbooks = [{label: '全部',value: ''}];
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
}else{
|
|
1329
|
-
this.meterbooks = [{label: '全部',value: ''}];
|
|
1330
|
-
this.initmeterbook();
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
async initmeterbook(orgstr){
|
|
1334
|
-
if(orgstr == null ){
|
|
1335
|
-
orgstr = this.f_filialeid;
|
|
1336
|
-
}
|
|
1337
|
-
//获取新的抄表册,先去清理所有的抄表册
|
|
1338
|
-
this.$GetSaleParam.meterbooks = [];
|
|
1339
|
-
//开始加载新的抄表册
|
|
1340
|
-
await this.$LoadParams.loadMeterBook(orgstr)
|
|
1341
|
-
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
1342
|
-
},
|
|
1343
|
-
sort (field, rule) {
|
|
1344
|
-
// 将所有排序方式设为不排序,实现相互排斥
|
|
1345
|
-
for (let key in this.orderFields) {
|
|
1346
|
-
if (key === field) {
|
|
1347
|
-
this.orderFields[key] = rule
|
|
1348
|
-
} else {
|
|
1349
|
-
this.orderFields[key] = 'no'
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
// 如果新规则不排序,还原为默认排序
|
|
1353
|
-
if (rule === 'no') {
|
|
1354
|
-
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
1355
|
-
} else {
|
|
1356
|
-
this.model.paramSource.orderitem = `'${field} ${rule},f_userfiles_id desc'`
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
this.search()
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
watch:{
|
|
1363
|
-
'model.rows.length' () {
|
|
1364
|
-
this.isSingleUser = this.model.rows
|
|
1365
|
-
},
|
|
1366
|
-
'all' (val) {
|
|
1367
|
-
if (val) {
|
|
1368
|
-
this.modelval = this.bodyData
|
|
1369
|
-
} else {
|
|
1370
|
-
this.modelval = defaultPrint.config
|
|
1371
|
-
this.put()
|
|
1372
|
-
}
|
|
1373
|
-
},
|
|
1374
|
-
'modelval.length' () {
|
|
1375
|
-
this.put()
|
|
1376
|
-
},
|
|
1377
|
-
sumsmodel:{
|
|
1378
|
-
handler: function(val) {
|
|
1379
|
-
this.getotherfooter();
|
|
1380
|
-
},
|
|
1381
|
-
deep: true
|
|
1382
|
-
},
|
|
1383
|
-
'orgCondtionStr'(val) {
|
|
1384
|
-
let res = val.match(/'(.*?)'/)
|
|
1385
|
-
console.log('正则提取:',res && res[1])
|
|
1386
|
-
if (res) {
|
|
1387
|
-
this.f_filialeid = res[1]
|
|
1388
|
-
if(res.input !=null){
|
|
1389
|
-
let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
1390
|
-
if(resorgid!= null && resorgid!=''){
|
|
1391
|
-
resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
|
|
1392
|
-
// resorgid = resorgid.replaceAll("'","");
|
|
1393
|
-
resorgid = resorgid.replace(/'/g,"");
|
|
1394
|
-
this.allorgid = resorgid.split(",")
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
this.updateParams()
|
|
1398
|
-
}
|
|
1399
|
-
},
|
|
1400
|
-
},
|
|
1401
|
-
computed:{
|
|
1402
|
-
bandstates () {
|
|
1403
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
|
|
1404
|
-
},
|
|
1405
|
-
TableStates () {
|
|
1406
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
1407
|
-
},
|
|
1408
|
-
bgl(){
|
|
1409
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
|
|
1410
|
-
},
|
|
1411
|
-
houseTypes(){
|
|
1412
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
|
|
1413
|
-
},
|
|
1414
|
-
gasproperties(){
|
|
1415
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
1416
|
-
},
|
|
1417
|
-
whetherCard(){
|
|
1418
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
|
|
1419
|
-
},
|
|
1420
|
-
usertypes() {
|
|
1421
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
1422
|
-
},
|
|
1423
|
-
useTypes() {
|
|
1424
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
1425
|
-
},
|
|
1426
|
-
positions() {
|
|
1427
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
1428
|
-
},
|
|
1429
|
-
meterbooks(){
|
|
1430
|
-
return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
1431
|
-
},
|
|
1432
|
-
userstates() {
|
|
1433
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
1434
|
-
},
|
|
1435
|
-
|
|
1436
|
-
metertypes() {
|
|
1437
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
1438
|
-
},
|
|
1439
|
-
pricetypes() {
|
|
1440
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
1441
|
-
},
|
|
1442
|
-
person() {
|
|
1443
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
|
|
1444
|
-
},
|
|
1445
|
-
tablestate() {
|
|
1446
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
|
|
1447
|
-
},
|
|
1448
|
-
inputtores () {
|
|
1449
|
-
// 获取抄表员
|
|
1450
|
-
console.log('获取抄表员', this.$login.f)
|
|
1451
|
-
let rs = []
|
|
1452
|
-
if (this.$login.f.f_gasman.length > 0) {
|
|
1453
|
-
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
1454
|
-
let temp = {
|
|
1455
|
-
label: this.$login.f.f_gasman[i].name,
|
|
1456
|
-
value: this.$login.f.f_gasman[i].name
|
|
1457
|
-
}
|
|
1458
|
-
rs.push(temp)
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
return [{label: '全部', value: ''}, ...rs]
|
|
1463
|
-
},
|
|
1464
|
-
authArr () {
|
|
1465
|
-
return this.$login.r ? this.$login.r : []
|
|
1466
|
-
},
|
|
1467
|
-
getCondition(){
|
|
1468
|
-
|
|
1469
|
-
return {condition:this.conditon2,orderitem:this.orderitem}
|
|
1470
|
-
},
|
|
1471
|
-
getfield(){
|
|
1472
|
-
let data = {}
|
|
1473
|
-
this.bodyData.forEach((value, index)=>{
|
|
1474
|
-
data[this.bodyData[index]] = this.headData[index]
|
|
1475
|
-
})
|
|
1476
|
-
//合计字段打印
|
|
1477
|
-
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
|
1478
|
-
if(this.sumsmodel){
|
|
1479
|
-
Object.keys(this.sumsmodel).forEach((key) => {
|
|
1480
|
-
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
|
1481
|
-
})
|
|
1482
|
-
}else{
|
|
1483
|
-
this.tfoot += '暂无'
|
|
1484
|
-
}
|
|
1485
|
-
this.tfoot += '</th></tr>'
|
|
1486
|
-
return data
|
|
1487
|
-
},
|
|
1488
|
-
getExportField() {
|
|
1489
|
-
return exportConfig.compreConfig
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
</script>
|
|
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">客户电话</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
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
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body" title="旧客户编号">合同编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_contract_id"
|
|
33
|
+
condition="f_contract_id = '{}' " placeholder="合同编号">
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<div class="span" style = "float:right;">
|
|
39
|
+
<button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
|
|
40
|
+
<read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
44
|
+
|
|
45
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
46
|
+
:field="$parent.$parent.getExportField" :defaultselect="$parent.$parent.defalutSelect"
|
|
47
|
+
v-if="$parent.$parent.authArr.includes('档案查询导出')"
|
|
48
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
|
|
49
|
+
<print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
|
|
50
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
51
|
+
titletable="综合档案查询"
|
|
52
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
53
|
+
<div style="float: right" class="button_spacing"
|
|
54
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
55
|
+
@click="$parent.$parent.hidden()"></div>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
60
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
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_idnumber"
|
|
64
|
+
condition="f_idnumber like '%{}%'" placeholder="身份证号">
|
|
65
|
+
</div>
|
|
66
|
+
<div class="col-sm-2 form-group" >
|
|
67
|
+
<label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
|
|
68
|
+
<datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
|
|
69
|
+
v-model="model.startDate"
|
|
70
|
+
:value.sync="model.startDate"
|
|
71
|
+
:format="'yyyy-MM-dd'"
|
|
72
|
+
:show-reset-button="true"
|
|
73
|
+
condition="f_createfile_date >= '{} 00:00:00'">
|
|
74
|
+
</datepicker>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-sm-2 form-group" >
|
|
77
|
+
<label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
|
|
78
|
+
<datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
|
|
79
|
+
v-model="model.endDate"
|
|
80
|
+
:value.sync="model.endDate"
|
|
81
|
+
:format="'yyyy-MM-dd'"
|
|
82
|
+
:show-reset-button="true"
|
|
83
|
+
condition="f_createfile_date <= '{} 23:59:59'">
|
|
84
|
+
</datepicker>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<div class="col-sm-2 form-group" >
|
|
88
|
+
<label class="font_normal_body">客户状态</label>
|
|
89
|
+
<v-select :value.sync="model.f_user_state"
|
|
90
|
+
v-model="model.f_user_state"
|
|
91
|
+
multiple
|
|
92
|
+
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
93
|
+
condition="f_user_state in {}"
|
|
94
|
+
></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body">人  数</label>
|
|
98
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
|
|
99
|
+
condition="f_people_num = '{}'" placeholder="人数">
|
|
100
|
+
</div>
|
|
101
|
+
<div class="col-sm-2 form-group">
|
|
102
|
+
<label class="font_normal_body">客户地址</label>
|
|
103
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
104
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="col-sm-2 form-group">
|
|
107
|
+
<label for="startDate" class="font_normal_body">建档日期</label>
|
|
108
|
+
<datepicker placeholder="建档日期" style="width:60%"
|
|
109
|
+
v-model="model.f_createfile_date"
|
|
110
|
+
:value.sync="model.f_createfile_date"
|
|
111
|
+
:format="'yyyy-MM-dd'"
|
|
112
|
+
:show-reset-button="true"
|
|
113
|
+
condition="f_createfile_date >= '{} 00:00:00'">
|
|
114
|
+
</datepicker>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="col-sm-2 form-group">
|
|
117
|
+
<label class="font_normal_body">建档部门</label>
|
|
118
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
|
|
119
|
+
condition="f_depname like '%{}%'" placeholder='建档部门'>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="col-sm-2 form-group">
|
|
122
|
+
<label class="font_normal_body">报警器编码</label>
|
|
123
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
|
|
124
|
+
condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="col-sm-2 form-group">
|
|
127
|
+
<label class="font_normal_body">发票编码</label>
|
|
128
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
|
|
129
|
+
condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="col-sm-2 form-group">
|
|
132
|
+
<label class="font_normal_body">燃气表号</label>
|
|
133
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
134
|
+
condition="f_meternumber = '{}'" placeholder='燃气表号'>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="col-sm-2 form-group">
|
|
138
|
+
<label class="font_normal_body">气表分类</label>
|
|
139
|
+
<v-select :value.sync="model.f_meter_classify"
|
|
140
|
+
v-model="model.f_meter_classify" multiple
|
|
141
|
+
:options='$parent.$parent.metertypes' placeholder='请选择'
|
|
142
|
+
condition="f_meter_classify in {}"
|
|
143
|
+
></v-select>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div class="col-sm-2 form-group">
|
|
147
|
+
<label class="font_normal_body">气表品牌</label>
|
|
148
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
149
|
+
v-model="model.f_meter_brand" multiple
|
|
150
|
+
@change="$parent.$parent.getMeterStyle"
|
|
151
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
152
|
+
condition="f_meter_brand in {}"
|
|
153
|
+
></v-select>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div class="col-sm-2 form-group">
|
|
157
|
+
<label class="font_normal_body">气表型号</label>
|
|
158
|
+
<v-select :value.sync="model.f_meter_style"
|
|
159
|
+
v-model="model.f_meter_style" multiple
|
|
160
|
+
:options='$parent.$parent.meterStyle' placeholder='请选择'
|
|
161
|
+
condition="f_meter_style in {}"
|
|
162
|
+
></v-select>
|
|
163
|
+
</div>
|
|
164
|
+
<div class="col-sm-2 form-group">
|
|
165
|
+
<label class="font_normal_body">表  号</label>
|
|
166
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
|
|
167
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="col-sm-2 form-group">
|
|
170
|
+
<label class="font_normal_body">气表封号</label>
|
|
171
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_metertitles"
|
|
172
|
+
condition="f_metertitles = '{}'" placeholder='气表封号'>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="col-sm-2 form-group">
|
|
175
|
+
<label class="font_normal_body">卡  号</label>
|
|
176
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
177
|
+
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="col-sm-2 form-group">
|
|
180
|
+
<label class="font_normal_body">客户类型</label>
|
|
181
|
+
<v-select :value.sync="model.f_user_type"
|
|
182
|
+
:options='$parent.$parent.usertypes'
|
|
183
|
+
@change="$parent.$parent.userTypeChange()"
|
|
184
|
+
placeholder='请选择' v-model="model.f_user_type"
|
|
185
|
+
condition="f_user_type = '{}'"
|
|
186
|
+
close-on-select></v-select>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="col-sm-2 form-group" >
|
|
189
|
+
<label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表日期</label>
|
|
190
|
+
<datepicker id="startDate1" placeholder="开始日期" style="width:60%"
|
|
191
|
+
v-model="model.startDate1"
|
|
192
|
+
:value.sync="model.startDate1"
|
|
193
|
+
:format="'yyyy-MM-dd'"
|
|
194
|
+
:show-reset-button="true"
|
|
195
|
+
condition="f_hand_date >= '{} 00:00:00'">
|
|
196
|
+
</datepicker>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="col-sm-2 form-group" >
|
|
199
|
+
<label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表日期</label>
|
|
200
|
+
<datepicker id="endDate1" placeholder="结束日期" style="width:60%"
|
|
201
|
+
v-model="model.endDate1"
|
|
202
|
+
:value.sync="model.endDate1"
|
|
203
|
+
:format="'yyyy-MM-dd'"
|
|
204
|
+
:show-reset-button="true"
|
|
205
|
+
condition="f_hand_date <= '{} 23:59:59'">
|
|
206
|
+
</datepicker>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="col-sm-2 form-group">
|
|
209
|
+
<label class="font_normal_body">街    道</label>
|
|
210
|
+
<v-select :value.sync="model.f_street"
|
|
211
|
+
v-model="model.f_street"
|
|
212
|
+
multiple
|
|
213
|
+
:options='$parent.$parent.streetList' placeholder='选择街道'
|
|
214
|
+
condition="f_street in {}"
|
|
215
|
+
style="width:60%"
|
|
216
|
+
close-on-select></v-select>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="col-sm-2 form-group">
|
|
219
|
+
<label class="font_normal_body">小  区</label>
|
|
220
|
+
<v-select :value.sync="model.f_residential_area"
|
|
221
|
+
class="select_list select"
|
|
222
|
+
enter-push
|
|
223
|
+
multiple
|
|
224
|
+
condition="f_residential_area in {}"
|
|
225
|
+
v-model="model.f_residential_area"
|
|
226
|
+
style="width: 60%"
|
|
227
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
228
|
+
>
|
|
229
|
+
|
|
230
|
+
</v-select>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="col-sm-2 form-group" >
|
|
233
|
+
<label class="font_normal_body">楼 号</label>
|
|
234
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_building"
|
|
235
|
+
condition="f_building = '{}'" placeholder='楼号'>
|
|
236
|
+
</div>
|
|
237
|
+
<div class="col-sm-2 form-group" >
|
|
238
|
+
<label class="font_normal_body">单 元</label>
|
|
239
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
|
|
240
|
+
condition="f_unit = '{}'" placeholder='单元号'>
|
|
241
|
+
</div>
|
|
242
|
+
|
|
243
|
+
<div class="col-sm-2 form-group" >
|
|
244
|
+
<label class="font_normal_body">楼 层</label>
|
|
245
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
|
|
246
|
+
condition="f_floor = '{}'" placeholder='楼层号'>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="col-sm-2 form-group" >
|
|
249
|
+
<label class="font_normal_body">门 牌 号</label>
|
|
250
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_room"
|
|
251
|
+
condition="f_room = '{}'" placeholder='门牌号'>
|
|
252
|
+
</div>
|
|
253
|
+
<div class="col-sm-2 form-group">
|
|
254
|
+
<label class="font_normal_body">余额区间</label>
|
|
255
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
|
|
256
|
+
condition="f_balance >= '{}'" placeholder="最小值">
|
|
257
|
+
</div>
|
|
258
|
+
<div class="col-sm-2 form-group">
|
|
259
|
+
<label class="font_normal_body">   至   </label>
|
|
260
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.balance2"
|
|
261
|
+
condition="f_balance <= '{}'" placeholder="最大值">
|
|
262
|
+
</div>
|
|
263
|
+
<div class="col-sm-2 form-group" >
|
|
264
|
+
<label class="font_normal_body">用 气 点</label>
|
|
265
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
|
|
266
|
+
condition="f_userfiles_address like '%{}%'" placeholder="用气点">
|
|
267
|
+
</div>
|
|
268
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
269
|
+
<!-- <label class="font_normal_body">用气性质</label>-->
|
|
270
|
+
<!-- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
|
|
271
|
+
<!-- :options='$parent.$parent.gasproperties' placeholder='请选择'-->
|
|
272
|
+
<!-- condition="f_gasproperties in {}"-->
|
|
273
|
+
<!-- ></v-select>-->
|
|
274
|
+
<!-- </div>-->
|
|
275
|
+
<div class="col-sm-2 form-group">
|
|
276
|
+
<label class="font_normal_body">用气性质</label>
|
|
277
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
278
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
279
|
+
condition="f_gasproperties = '{}'"
|
|
280
|
+
close-on-select></v-select>
|
|
281
|
+
</div>
|
|
282
|
+
<div class="col-sm-2 form-group">
|
|
283
|
+
<label class="font_normal_body">气价类型</label>
|
|
284
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
285
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
286
|
+
condition="f_price_type = '{}'" @change="$parent.$parent.pricetypechanged"
|
|
287
|
+
close-on-select v-ref:type>
|
|
288
|
+
</v-select>
|
|
289
|
+
</div>
|
|
290
|
+
<div class="col-sm-2 form-group">
|
|
291
|
+
<label class="font_normal_body">气价名称</label>
|
|
292
|
+
<v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
|
|
293
|
+
multiple
|
|
294
|
+
:options="$parent.$parent.pricenames" placeholder='气价名称'
|
|
295
|
+
condition="f_price_name in {}"
|
|
296
|
+
></v-select>
|
|
297
|
+
</div>
|
|
298
|
+
<div class="col-sm-2 form-group" >
|
|
299
|
+
<label class="font_normal_body">微信绑定</label>
|
|
300
|
+
<v-select :value.sync="model.f_isband"
|
|
301
|
+
v-model="model.f_isband"
|
|
302
|
+
:options='$parent.$parent.bandstates' placeholder='请选择'
|
|
303
|
+
condition="f_isband = '{}'"
|
|
304
|
+
close-on-select></v-select>
|
|
305
|
+
</div>
|
|
306
|
+
<div class="col-sm-2 form-group">
|
|
307
|
+
<label class="font_normal_body">壁 挂 炉</label>
|
|
308
|
+
<v-select :value.sync="model.isbgl" v-model="model.isbgl"
|
|
309
|
+
:options='$parent.$parent.bgl' placeholder='请选择'
|
|
310
|
+
condition="isbgl = '{}'"
|
|
311
|
+
close-on-select></v-select>
|
|
312
|
+
</div>
|
|
313
|
+
<div class="col-sm-2 form-group">
|
|
314
|
+
<label class="font_normal_body">发卡状态</label>
|
|
315
|
+
<v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
|
|
316
|
+
:options='$parent.$parent.whetherCard' placeholder='请选择'
|
|
317
|
+
condition="f_whether_hairpin = '{}'"
|
|
318
|
+
close-on-select></v-select>
|
|
319
|
+
</div>
|
|
320
|
+
<div class="col-sm-2 form-group">
|
|
321
|
+
<label class="font_normal_body">安装位置</label>
|
|
322
|
+
<v-select :value.sync="model.f_position" v-model="model.f_position"
|
|
323
|
+
:options='$parent.$parent.positions' placeholder='请选择'
|
|
324
|
+
condition="f_position = '{}'"
|
|
325
|
+
close-on-select></v-select>
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
<!--表册片区-->
|
|
329
|
+
<div class="col-sm-2 form-group">
|
|
330
|
+
<label class="font_normal_body">表册片区</label>
|
|
331
|
+
<v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
|
|
332
|
+
@change="$parent.$parent.inputtorchange"
|
|
333
|
+
:options='$parent.$parent.bookSlice' placeholder='片区/表册'
|
|
334
|
+
style="width:60%"
|
|
335
|
+
close-on-select
|
|
336
|
+
condition="f_book_slice_area = '{}'"></v-select>
|
|
337
|
+
</div>
|
|
338
|
+
<div class="col-sm-2 form-group">
|
|
339
|
+
<label class="font_normal_body">抄 表 册</label>
|
|
340
|
+
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
341
|
+
:options='$parent.$parent.meterbooks' placeholder='请选择'
|
|
342
|
+
style="width:60%"
|
|
343
|
+
close-on-select
|
|
344
|
+
condition="f_meter_book_num = '{}'"></v-select>
|
|
345
|
+
</div>
|
|
346
|
+
<div class="col-sm-2 form-group">
|
|
347
|
+
<label class="font_normal_body">房屋类型</label>
|
|
348
|
+
<v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
|
|
349
|
+
:options='$parent.$parent.houseTypes' placeholder='请选择'
|
|
350
|
+
style="width:60%"
|
|
351
|
+
close-on-select
|
|
352
|
+
condition="f_house_type = '{}'"></v-select>
|
|
353
|
+
</div>
|
|
354
|
+
<div class="col-sm-2 form-group">
|
|
355
|
+
<label class="font_normal_body" >缴费类型</label>
|
|
356
|
+
<v-select :value.sync="model.f_payment" multiple
|
|
357
|
+
v-model="model.f_payment"
|
|
358
|
+
:options='$parent.$parent.dypayment' placeholder='请选择'
|
|
359
|
+
condition="f_cost_type in {}"
|
|
360
|
+
></v-select>
|
|
361
|
+
</div>
|
|
362
|
+
<div class="col-sm-2 form-group" >
|
|
363
|
+
<label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
|
|
364
|
+
<datepicker id="startDate2" placeholder="开始日期" style="width:60%"
|
|
365
|
+
v-model="model.startDate2"
|
|
366
|
+
:value.sync="model.startDate2"
|
|
367
|
+
:format="'yyyy-MM-dd'"
|
|
368
|
+
:show-reset-button="true"
|
|
369
|
+
condition="f_open_date >= '{} 00:00:00'">
|
|
370
|
+
</datepicker>
|
|
371
|
+
</div>
|
|
372
|
+
<div class="col-sm-2 form-group" >
|
|
373
|
+
<label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
|
|
374
|
+
<datepicker id="endDate2" placeholder="结束日期" style="width:60%"
|
|
375
|
+
v-model="model.endDate2"
|
|
376
|
+
:value.sync="model.endDate2"
|
|
377
|
+
:format="'yyyy-MM-dd'"
|
|
378
|
+
:show-reset-button="true"
|
|
379
|
+
condition="f_open_date <= '{} 23:59:59'">
|
|
380
|
+
</datepicker>
|
|
381
|
+
</div>
|
|
382
|
+
<div class="col-sm-2 form-group" >
|
|
383
|
+
<label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
|
|
384
|
+
<datepicker id="startDate3" placeholder="开始日期" style="width:60%"
|
|
385
|
+
v-model="model.startDate3"
|
|
386
|
+
:value.sync="model.startDate3"
|
|
387
|
+
:format="'yyyy-MM-dd'"
|
|
388
|
+
:show-reset-button="true"
|
|
389
|
+
condition="f_install_date >= '{} 00:00:00'">
|
|
390
|
+
</datepicker>
|
|
391
|
+
</div>
|
|
392
|
+
<div class="col-sm-2 form-group" >
|
|
393
|
+
<label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
|
|
394
|
+
<datepicker id="endDate3" placeholder="结束日期" style="width:60%"
|
|
395
|
+
v-model="model.endDate3"
|
|
396
|
+
:value.sync="model.endDate3"
|
|
397
|
+
:format="'yyyy-MM-dd'"
|
|
398
|
+
:show-reset-button="true"
|
|
399
|
+
condition="f_install_date <= '{} 23:59:59'">
|
|
400
|
+
</datepicker>
|
|
401
|
+
</div>
|
|
402
|
+
<div class="col-sm-2 form-group" >
|
|
403
|
+
<label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
|
|
404
|
+
<datepicker id="endDate4" placeholder="开始日期" style="width:60%"
|
|
405
|
+
v-model="model.startDate4"
|
|
406
|
+
:value.sync="model.startDate4"
|
|
407
|
+
:format="'yyyy-MM-dd'"
|
|
408
|
+
:show-reset-button="true"
|
|
409
|
+
condition="f_gas_date >= '{} 00:00:00'">
|
|
410
|
+
</datepicker>
|
|
411
|
+
</div>
|
|
412
|
+
<div class="col-sm-2 form-group" >
|
|
413
|
+
<label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
|
|
414
|
+
<datepicker id="endDate4" placeholder="结束日期" style="width:60%"
|
|
415
|
+
v-model="model.endDate4"
|
|
416
|
+
:value.sync="model.endDate4"
|
|
417
|
+
:format="'yyyy-MM-dd'"
|
|
418
|
+
:show-reset-button="true"
|
|
419
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
|
420
|
+
</datepicker>
|
|
421
|
+
</div>
|
|
422
|
+
<div class="col-sm-2 form-group" >
|
|
423
|
+
<label for="startDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
|
|
424
|
+
<datepicker id="startDate5" placeholder="开始日期" style="width:60%"
|
|
425
|
+
v-model="model.startDate5"
|
|
426
|
+
:value.sync="model.startDate5"
|
|
427
|
+
:format="'yyyy-MM-dd'"
|
|
428
|
+
:show-reset-button="true"
|
|
429
|
+
condition="f_subscribe_date >= '{} 00:00:00'">
|
|
430
|
+
</datepicker>
|
|
431
|
+
</div>
|
|
432
|
+
<div class="col-sm-2 form-group" >
|
|
433
|
+
<label for="endDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
|
|
434
|
+
<datepicker id="endDate5" placeholder="结束日期" style="width:60%"
|
|
435
|
+
v-model="model.endDate5"
|
|
436
|
+
:value.sync="model.endDate5"
|
|
437
|
+
:format="'yyyy-MM-dd'"
|
|
438
|
+
:show-reset-button="true"
|
|
439
|
+
condition="f_subscribe_date <= '{} 23:59:59'">
|
|
440
|
+
</datepicker>
|
|
441
|
+
</div>
|
|
442
|
+
<div class="col-sm-2 form-group" >
|
|
443
|
+
<label class="font_normal_body">气表表号</label>
|
|
444
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
445
|
+
condition="f_meternumber like '%{}%'" placeholder='气表表号'>
|
|
446
|
+
</div>
|
|
447
|
+
<div class="col-sm-2 form-group">
|
|
448
|
+
<label class="font_normal_body">使用类型</label>
|
|
449
|
+
<v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
|
|
450
|
+
:options='$parent.$parent.useTypes' placeholder='请选择'
|
|
451
|
+
style="width:60%"
|
|
452
|
+
close-on-select
|
|
453
|
+
condition="f_usetype = '{}'"></v-select>
|
|
454
|
+
</div>
|
|
455
|
+
<div class="col-sm-2 form-group">
|
|
456
|
+
<label class="font_normal_body">表具状态</label>
|
|
457
|
+
<v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
|
|
458
|
+
multiple
|
|
459
|
+
:options='$parent.$parent.TableStates' placeholder='请选择'
|
|
460
|
+
style="width:60%"
|
|
461
|
+
condition="f_table_state in {}"></v-select>
|
|
462
|
+
</div>
|
|
463
|
+
<div class="col-sm-2 form-group">
|
|
464
|
+
<label class="font_normal_body">表册抄表员</label>
|
|
465
|
+
<v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
|
|
466
|
+
style="width:60%"
|
|
467
|
+
multiple
|
|
468
|
+
:options='$parent.$parent.inputtores' placeholder='表册抄表员'
|
|
469
|
+
v-el:cc></v-select>
|
|
470
|
+
</div>
|
|
471
|
+
<div class="col-sm-2 form-group">
|
|
472
|
+
<label class="font_normal_body">档案抄表员</label>
|
|
473
|
+
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
474
|
+
style="width:60%"
|
|
475
|
+
multiple
|
|
476
|
+
:options='$parent.$parent.inputtores' placeholder='档案抄表员'
|
|
477
|
+
v-el:cc></v-select>
|
|
478
|
+
</div>
|
|
479
|
+
<div class="col-sm-2 form-group">
|
|
480
|
+
<label class="font_normal_body">安 装 人</label>
|
|
481
|
+
<v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
|
|
482
|
+
style="width:60%"
|
|
483
|
+
multiple
|
|
484
|
+
:options='$parent.$parent.person' placeholder='安装人'
|
|
485
|
+
condition="f_install_person in {}"
|
|
486
|
+
v-el:cc></v-select>
|
|
487
|
+
</div>
|
|
488
|
+
<div class="col-sm-2 form-group">
|
|
489
|
+
<label class="font_normal_body">自动阀控</label>
|
|
490
|
+
<v-select
|
|
491
|
+
placeholder='自动阀控'
|
|
492
|
+
|
|
493
|
+
:value.sync="model.f_network_valve"
|
|
494
|
+
style="width:60%"
|
|
495
|
+
v-model="model.f_network_valve"
|
|
496
|
+
:options='$parent.$parent.networkvalves'
|
|
497
|
+
close-on-select
|
|
498
|
+
condition="f_network_valve='{}'">
|
|
499
|
+
</v-select>
|
|
500
|
+
</div>
|
|
501
|
+
<div class="col-sm-2 form-group">
|
|
502
|
+
<label class="font_normal_body">生产日期</label>
|
|
503
|
+
<datepicker id="startDate" placeholder="生产日期"
|
|
504
|
+
v-model="model.f_manufacture_date_start"
|
|
505
|
+
:value.sync="model.f_manufacture_date_start"
|
|
506
|
+
style="width: 60%"
|
|
507
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
508
|
+
condition="f_manufacture_date >= '{}'">
|
|
509
|
+
</datepicker>
|
|
510
|
+
</div>
|
|
511
|
+
<div class="col-sm-2 form-group">
|
|
512
|
+
<label class="font_normal_body">  至 </label>
|
|
513
|
+
<datepicker id="endDate" placeholder="生产日期"
|
|
514
|
+
v-model="model.f_manufacture_date_end"
|
|
515
|
+
:value.sync="model.f_manufacture_date_end"
|
|
516
|
+
style="width: 60%"
|
|
517
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
518
|
+
condition="f_manufacture_date <= '{}'">
|
|
519
|
+
</datepicker>
|
|
520
|
+
</div>
|
|
521
|
+
</div>
|
|
522
|
+
</div>
|
|
523
|
+
</criteria>
|
|
524
|
+
|
|
525
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
526
|
+
<template partial='head'>
|
|
527
|
+
<tr>
|
|
528
|
+
<th rowspan="2">
|
|
529
|
+
<nobr>序号</nobr>
|
|
530
|
+
</th>
|
|
531
|
+
<th colspan="6">
|
|
532
|
+
<nobr>用户信息</nobr>
|
|
533
|
+
</th>
|
|
534
|
+
<th colspan="5">
|
|
535
|
+
<nobr>建档信息</nobr>
|
|
536
|
+
</th>
|
|
537
|
+
<th colspan="6">
|
|
538
|
+
<nobr>燃气表</nobr>
|
|
539
|
+
</th>
|
|
540
|
+
<th colspan="68">
|
|
541
|
+
<nobr>其他</nobr>
|
|
542
|
+
</th>
|
|
543
|
+
</tr>
|
|
544
|
+
<tr>
|
|
545
|
+
<th>
|
|
546
|
+
<!--<nobr>客户编号</nobr>-->
|
|
547
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
548
|
+
</th>
|
|
549
|
+
<th>
|
|
550
|
+
<nobr>小区名称</nobr>
|
|
551
|
+
</th>
|
|
552
|
+
<th>
|
|
553
|
+
<nobr>户主姓名</nobr>
|
|
554
|
+
</th>
|
|
555
|
+
<th>
|
|
556
|
+
<nobr>身份证号</nobr>
|
|
557
|
+
</th>
|
|
558
|
+
<th>
|
|
559
|
+
<nobr>详细地址</nobr>
|
|
560
|
+
</th>
|
|
561
|
+
<th>
|
|
562
|
+
<nobr>联系电话</nobr>
|
|
563
|
+
</th>
|
|
564
|
+
<th>
|
|
565
|
+
<nobr>建档日期</nobr>
|
|
566
|
+
</th>
|
|
567
|
+
<th>
|
|
568
|
+
<nobr>供气合同编号</nobr>
|
|
569
|
+
</th>
|
|
570
|
+
<th>
|
|
571
|
+
<nobr>通气日期</nobr>
|
|
572
|
+
</th>
|
|
573
|
+
<th>
|
|
574
|
+
<nobr>通气人员</nobr>
|
|
575
|
+
</th>
|
|
576
|
+
<th>
|
|
577
|
+
<nobr>防盗卡号</nobr>
|
|
578
|
+
</th>
|
|
579
|
+
<th>
|
|
580
|
+
<nobr>品牌</nobr>
|
|
581
|
+
</th>
|
|
582
|
+
<th>
|
|
583
|
+
<nobr>表号</nobr>
|
|
584
|
+
</th>
|
|
585
|
+
<th>
|
|
586
|
+
<nobr>类型</nobr>
|
|
587
|
+
</th>
|
|
588
|
+
<th>
|
|
589
|
+
<nobr>型号</nobr>
|
|
590
|
+
</th>
|
|
591
|
+
<th>
|
|
592
|
+
<nobr>表向</nobr>
|
|
593
|
+
</th>
|
|
594
|
+
<th>
|
|
595
|
+
<nobr>生产年月</nobr>
|
|
596
|
+
</th>
|
|
597
|
+
<th><nobr>客户状态</nobr></th>
|
|
598
|
+
|
|
599
|
+
<th><nobr>档案编号</nobr></th>
|
|
600
|
+
<th><nobr>是否发卡</nobr></th>
|
|
601
|
+
<th><nobr>卡号</nobr></th>
|
|
602
|
+
<!-- <th><nobr>客户名称</nobr></th>-->
|
|
603
|
+
<!-- <th><nobr>小区名称</nobr></th>-->
|
|
604
|
+
<th><nobr>楼栋</nobr></th>
|
|
605
|
+
<th><nobr>单元</nobr></th>
|
|
606
|
+
<th><nobr>楼层</nobr></th>
|
|
607
|
+
<th><nobr>门牌号</nobr></th>
|
|
608
|
+
<!-- <th>-->
|
|
609
|
+
<!-- <data-order field="f_userinfo_code" name="客户地址"-->
|
|
610
|
+
<!-- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>-->
|
|
611
|
+
<!-- </th>-->
|
|
612
|
+
<!-- <th><nobr>客户电话</nobr></th>-->
|
|
613
|
+
<th><nobr>表册片区</nobr></th>
|
|
614
|
+
<!-- <th>-->
|
|
615
|
+
<!-- <!–<nobr>通气日期</nobr>–>-->
|
|
616
|
+
<!-- <data-order field="f_gas_date" name="通气日期" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>-->
|
|
617
|
+
<!-- </th>-->
|
|
618
|
+
<!-- 气价类型,单价暂时未处理 -->
|
|
619
|
+
<th><nobr>气价类型</nobr></th>
|
|
620
|
+
<th><nobr>气价名称</nobr></th>
|
|
621
|
+
<th><nobr>单价</nobr></th>
|
|
622
|
+
|
|
623
|
+
<th><nobr>安装位置</nobr></th>
|
|
624
|
+
<th><nobr>缴费类型</nobr></th>
|
|
625
|
+
<!-- <th><nobr>气表类型</nobr></th>-->
|
|
626
|
+
<!-- <th><nobr>气表品牌</nobr></th>-->
|
|
627
|
+
<!-- <th><nobr>表号</nobr></th>-->
|
|
628
|
+
<th><nobr>表封号</nobr></th>
|
|
629
|
+
<!-- <th><nobr>左右表</nobr></th>-->
|
|
630
|
+
<th>
|
|
631
|
+
<!--<nobr>气表安装日期</nobr>-->
|
|
632
|
+
<data-order field="f_install_date" name="气表安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_install_date"></data-order>
|
|
633
|
+
</th>
|
|
634
|
+
<th><nobr>气表底数</nobr></th>
|
|
635
|
+
<th><nobr>账户余额</nobr></th>
|
|
636
|
+
<th>
|
|
637
|
+
<!--<nobr>最后抄表日期</nobr>-->
|
|
638
|
+
<data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
|
|
639
|
+
</th>
|
|
640
|
+
<th><nobr>最后购气量</nobr></th>
|
|
641
|
+
<th><nobr>最后购气金额</nobr></th>
|
|
642
|
+
<th><nobr>最后购气日期</nobr></th>
|
|
643
|
+
|
|
644
|
+
<th><nobr>自动阀控</nobr></th>
|
|
645
|
+
<th><nobr>阀门状态</nobr></th>
|
|
646
|
+
|
|
647
|
+
<!-- <th><nobr>旧客户编号</nobr></th> -->
|
|
648
|
+
<th><nobr>客户类型</nobr></th>
|
|
649
|
+
<th><nobr>用气性质</nobr></th>
|
|
650
|
+
<th>
|
|
651
|
+
<!--<nobr>开户时间</nobr>-->
|
|
652
|
+
<data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
|
|
653
|
+
|
|
654
|
+
</th>
|
|
655
|
+
<th><nobr>证件类型</nobr></th>
|
|
656
|
+
<!-- <th><nobr>证件号码</nobr></th>-->
|
|
657
|
+
<th><nobr>人口数</nobr></th>
|
|
658
|
+
<th>
|
|
659
|
+
<!--<nobr>保险结束日期</nobr>-->
|
|
660
|
+
<data-order field="f_ins_stop_date" name="保险结束日期" :order.sync="$parent.$parent.$parent.orderFields.f_ins_stop_date"></data-order>
|
|
661
|
+
</th>
|
|
662
|
+
<!-- <th>-->
|
|
663
|
+
<!-- <!–<nobr>建档日期</nobr>–>-->
|
|
664
|
+
<!-- <data-order field="f_createfile_date" name="建档日期" :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>-->
|
|
665
|
+
<!-- </th>-->
|
|
666
|
+
<th><nobr>建档人</nobr></th>
|
|
667
|
+
<th><nobr>所属营业厅</nobr></th>
|
|
668
|
+
<!-- <th><nobr>备注信息</nobr></th>-->
|
|
669
|
+
|
|
670
|
+
<!-- <th><nobr>气价详情</nobr></th>-->
|
|
671
|
+
<th><nobr>曾用名</nobr></th>
|
|
672
|
+
<th><nobr>备用电话</nobr></th>
|
|
673
|
+
<th><nobr>租户姓名</nobr></th>
|
|
674
|
+
<th><nobr>租户电话</nobr></th>
|
|
675
|
+
<!--<th><nobr>曾用名</nobr></th>-->
|
|
676
|
+
<!-- <th><nobr>发票编码</nobr></th>-->
|
|
677
|
+
<th><nobr>是否煤改气</nobr></th>
|
|
678
|
+
<th><nobr>是否发放天然气使用证</nobr></th>
|
|
679
|
+
|
|
680
|
+
<th><nobr>使用类型</nobr></th>
|
|
681
|
+
|
|
682
|
+
<!-- <th><nobr>使用状态</nobr></th>-->
|
|
683
|
+
<!--<th><nobr>通气时间</nobr></th>-->
|
|
684
|
+
|
|
685
|
+
<!-- <th><nobr>气表型号</nobr></th>-->
|
|
686
|
+
<th><nobr>预约通气时间</nobr></th>
|
|
687
|
+
<th><nobr>表具状态</nobr></th>
|
|
688
|
+
<th><nobr>初始气表底数</nobr></th>
|
|
689
|
+
<th><nobr>累计用气金额</nobr></th>
|
|
690
|
+
<th><nobr>表累购气量</nobr></th>
|
|
691
|
+
<th><nobr>表累购金额</nobr></th>
|
|
692
|
+
|
|
693
|
+
<th><nobr>用户总购气量</nobr></th>
|
|
694
|
+
<th><nobr>用户总购金额</nobr></th>
|
|
695
|
+
|
|
696
|
+
<th><nobr>抄表员(表册)</nobr></th>
|
|
697
|
+
<th><nobr>抄表员(档案)</nobr></th>
|
|
698
|
+
<th><nobr>用气点</nobr></th>
|
|
699
|
+
<th><nobr>安装人</nobr></th>
|
|
700
|
+
<!-- <th><nobr>通气人</nobr></th>-->
|
|
701
|
+
<!-- <th><nobr>点火状态</nobr></th>-->
|
|
702
|
+
<th><nobr>表册名称</nobr></th>
|
|
703
|
+
<th><nobr>抄表册编号</nobr></th>
|
|
704
|
+
|
|
705
|
+
<th><nobr>抄表册顺序</nobr></th>
|
|
706
|
+
<th><nobr>表剩余金额</nobr></th>
|
|
707
|
+
<!-- <th><nobr>首次购气日期</nobr></th>-->
|
|
708
|
+
<th><nobr>写卡次数</nobr></th>
|
|
709
|
+
<th><nobr>补卡次数</nobr></th>
|
|
710
|
+
<!-- <th><nobr>购气次数</nobr></th>-->
|
|
711
|
+
|
|
712
|
+
<th><nobr>表同步状态</nobr></th>
|
|
713
|
+
<th><nobr>微信绑定</nobr></th>
|
|
714
|
+
|
|
715
|
+
<th>
|
|
716
|
+
<nobr>银行户名</nobr>
|
|
717
|
+
</th>
|
|
718
|
+
<th>
|
|
719
|
+
<nobr>银行名称</nobr>
|
|
720
|
+
</th>
|
|
721
|
+
<th>
|
|
722
|
+
<nobr>银行账号</nobr>
|
|
723
|
+
</th>
|
|
724
|
+
<th>
|
|
725
|
+
<nobr>银行身份证号</nobr>
|
|
726
|
+
</th>
|
|
727
|
+
<th>
|
|
728
|
+
<nobr>缴费编号</nobr>
|
|
729
|
+
</th>
|
|
730
|
+
<th>
|
|
731
|
+
<nobr>报警器编号</nobr>
|
|
732
|
+
</th>
|
|
733
|
+
<th>
|
|
734
|
+
<!--<nobr>换表时间</nobr>-->
|
|
735
|
+
<data-order field="f_maxdate" name="换表时间" :order.sync="$parent.$parent.$parent.orderFields.f_maxdate"></data-order>
|
|
736
|
+
</th>
|
|
737
|
+
<th>
|
|
738
|
+
<nobr>灶具信息</nobr>
|
|
739
|
+
</th>
|
|
740
|
+
<th>
|
|
741
|
+
<nobr>备注</nobr>
|
|
742
|
+
</th>
|
|
743
|
+
</tr>
|
|
744
|
+
</template>
|
|
745
|
+
<template partial='body'>
|
|
746
|
+
<td style="text-align: center;"><nobr>{{$index + 1}}</nobr></td>
|
|
747
|
+
<td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
748
|
+
<td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
749
|
+
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
750
|
+
<td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
|
|
751
|
+
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
752
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
753
|
+
<td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
|
|
754
|
+
<td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
|
|
755
|
+
<td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
|
|
756
|
+
<td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
|
|
757
|
+
<td style="text-align: center;"><nobr>{{row.f_defendcard}}</nobr></td>
|
|
758
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
759
|
+
<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
760
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
|
|
761
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
|
|
762
|
+
<td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
|
|
763
|
+
<td style="text-align: center;"><nobr>{{row.f_manufacture_date}}</nobr></td>
|
|
764
|
+
<!-- <td style="text-align: center;"><nobr>-->
|
|
765
|
+
<!-- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
|
|
766
|
+
<!-- </nobr> </td>-->
|
|
767
|
+
<td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
|
|
768
|
+
<td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
|
|
769
|
+
<td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
|
|
770
|
+
<td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
|
|
771
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>-->
|
|
772
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>-->
|
|
773
|
+
<td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
|
|
774
|
+
<td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
|
|
775
|
+
<td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
|
|
776
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>-->
|
|
777
|
+
<td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
|
|
778
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>-->
|
|
779
|
+
<td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
|
|
780
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>-->
|
|
781
|
+
<!-- 气价类型,单价暂时未处理 -->
|
|
782
|
+
<td style="text-align: center;"><nobr> </nobr></td>
|
|
783
|
+
<td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
|
|
784
|
+
<td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
|
|
785
|
+
|
|
786
|
+
<td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
|
|
787
|
+
<td style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
|
|
788
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>-->
|
|
789
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>-->
|
|
790
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>-->
|
|
791
|
+
<td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
|
|
792
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>-->
|
|
793
|
+
<td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
|
|
794
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
|
|
795
|
+
<td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
|
|
796
|
+
<td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
797
|
+
<td style="text-align: center;"><nobr>{{row.latest_f_pregas}}</nobr></td>
|
|
798
|
+
<td style="text-align: center;"><nobr>{{row.latest_f_collection}}</nobr></td>
|
|
799
|
+
<td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>
|
|
800
|
+
<td style="text-align: center;"><nobr>{{row.f_network_valve}}</nobr></td>
|
|
801
|
+
<td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
|
|
802
|
+
|
|
803
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
|
|
804
|
+
<td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
|
|
805
|
+
<td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
|
|
806
|
+
|
|
807
|
+
<td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
|
|
808
|
+
<td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
|
|
809
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>-->
|
|
810
|
+
<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
|
|
811
|
+
<td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
|
|
812
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>-->
|
|
813
|
+
<td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
|
|
814
|
+
<td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
|
|
815
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>-->
|
|
816
|
+
|
|
817
|
+
<!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
|
|
818
|
+
<td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
|
|
819
|
+
<td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
|
|
820
|
+
<td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
|
|
821
|
+
<td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
|
|
822
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>-->
|
|
823
|
+
<td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
|
|
824
|
+
<td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
|
|
825
|
+
|
|
826
|
+
<td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
|
|
827
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
|
|
828
|
+
<!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
|
|
829
|
+
|
|
830
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>-->
|
|
831
|
+
<td style="text-align: center;"><nobr>{{row.f_subscribe_date}}</nobr></td>
|
|
832
|
+
<td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
|
|
833
|
+
<td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
|
|
834
|
+
<td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
|
|
835
|
+
<td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
|
|
836
|
+
<td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
|
|
837
|
+
<td style="text-align: center;"><nobr>{{row.f_user_total_gas}}</nobr></td>
|
|
838
|
+
<td style="text-align: center;"><nobr>{{row.f_user_total_fee}}</nobr></td>
|
|
839
|
+
<td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
|
|
840
|
+
<td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
|
|
841
|
+
|
|
842
|
+
<td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
|
|
843
|
+
<td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
|
|
844
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>-->
|
|
845
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
|
|
846
|
+
<td style="text-align: center;"><nobr>{{row.f_book_name}}</nobr></td>
|
|
847
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
|
|
848
|
+
|
|
849
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
|
|
850
|
+
<td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
|
|
851
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
|
|
852
|
+
<td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
|
|
853
|
+
<td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
|
|
854
|
+
<!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
|
|
855
|
+
<td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
|
|
856
|
+
<td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
|
|
857
|
+
|
|
858
|
+
<td style="text-align: center;">
|
|
859
|
+
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
|
|
860
|
+
</td>
|
|
861
|
+
<td style="text-align: center;">
|
|
862
|
+
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
|
|
863
|
+
</td>
|
|
864
|
+
<td style="text-align: center;">
|
|
865
|
+
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
|
|
866
|
+
</td>
|
|
867
|
+
<td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
|
|
868
|
+
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
|
|
869
|
+
</td>
|
|
870
|
+
<td style="text-align: center;">
|
|
871
|
+
<nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
|
|
872
|
+
</td>
|
|
873
|
+
<td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
|
|
874
|
+
<td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
|
|
875
|
+
<td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
|
|
876
|
+
<td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
|
|
877
|
+
</template>
|
|
878
|
+
<template partial='foot'>
|
|
879
|
+
|
|
880
|
+
</template>
|
|
881
|
+
</data-grid>
|
|
882
|
+
</criteria-paged>
|
|
883
|
+
|
|
884
|
+
<table class="table-hover">
|
|
885
|
+
<tr style="position: relative" class="table-bordered">
|
|
886
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
887
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">已挂表:{{sumsmodel.f_yiguabiao}}</td>
|
|
888
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">未挂表:{{sumsmodel.f_weiguabiao}}</td>
|
|
889
|
+
</tr>
|
|
890
|
+
</table>
|
|
891
|
+
|
|
892
|
+
<modal :show.sync="printshow" v-ref:modal backdrop="false">
|
|
893
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
894
|
+
<h4 class="modal-title">打印列选择</h4>
|
|
895
|
+
<input type="checkbox" class="" id="f_generations" v-model="all">
|
|
896
|
+
<label for="f_generations" class="font-size">全选</label>
|
|
897
|
+
</header>
|
|
898
|
+
<article slot="modal-body">
|
|
899
|
+
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
|
|
900
|
+
<div class="col-sm-3" v-for="f in fields">
|
|
901
|
+
<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
|
|
902
|
+
<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
|
|
903
|
+
</div>
|
|
904
|
+
</div>
|
|
905
|
+
</article>
|
|
906
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
907
|
+
<center>
|
|
908
|
+
|
|
909
|
+
<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
|
|
910
|
+
<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
911
|
+
<print-table :model='model' v-show="false" v-ref:print
|
|
912
|
+
:top='40' :left='60' :right='40' :bottom='60'
|
|
913
|
+
:thead="thead" :tfoot='tfoot' :attach="yangsen"
|
|
914
|
+
:fields="modelval" :printpage="true">
|
|
915
|
+
</print-table>
|
|
916
|
+
</center>
|
|
917
|
+
</footer>
|
|
918
|
+
</modal>
|
|
919
|
+
</div>
|
|
920
|
+
<div class="flex" v-if="show">
|
|
921
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
922
|
+
</div>
|
|
923
|
+
</div></div></div>
|
|
924
|
+
<high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
|
|
925
|
+
</template>
|
|
926
|
+
|
|
927
|
+
<script>
|
|
928
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
929
|
+
import defaultPrint from './config/DefaultPrint'
|
|
930
|
+
import exportConfig from './config/exportConfig'
|
|
931
|
+
import defalutSelect from '../../components/sale/config/DefaultSelect'
|
|
932
|
+
let readySomething = async function (self) {
|
|
933
|
+
await self.$MagLoadParams.loadParam()
|
|
934
|
+
// await self.$LoadParams.loadParam(self.f_filialeid)
|
|
935
|
+
self.initParams()
|
|
936
|
+
self.getPricenames();
|
|
937
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
938
|
+
self.defalutSelect = defalutSelect.compreConfig
|
|
939
|
+
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
940
|
+
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
941
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
942
|
+
}
|
|
943
|
+
export default {
|
|
944
|
+
title: '综合档案信息查询',
|
|
945
|
+
data() {
|
|
946
|
+
return {
|
|
947
|
+
IdCardInfo:'',
|
|
948
|
+
defalutSelect:[],
|
|
949
|
+
card:'',
|
|
950
|
+
isSingleUser: null,
|
|
951
|
+
other:[],
|
|
952
|
+
footer:[],
|
|
953
|
+
model: new PagedList('api/af-revenue/sql/compreQuery', 20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
|
|
954
|
+
criteriaShow: false,
|
|
955
|
+
orgCondtionStr:'',
|
|
956
|
+
residentialArea: [],
|
|
957
|
+
streetList: [],
|
|
958
|
+
gasproperties:[],
|
|
959
|
+
meterbrands: [],
|
|
960
|
+
modelval: [],
|
|
961
|
+
prices: [],
|
|
962
|
+
meterbooks: [],
|
|
963
|
+
printshow: false,
|
|
964
|
+
all: false,
|
|
965
|
+
fields: {},
|
|
966
|
+
thead: '',
|
|
967
|
+
tfoot: '',
|
|
968
|
+
defaultfield: [],
|
|
969
|
+
//排序
|
|
970
|
+
orderitem: 'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc',
|
|
971
|
+
orderFields: {
|
|
972
|
+
f_operate_date: 'no'
|
|
973
|
+
},
|
|
974
|
+
config: {
|
|
975
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
|
|
976
|
+
},
|
|
977
|
+
area: [],
|
|
978
|
+
inputtouPerson: [],
|
|
979
|
+
bookinputtorperson:[],
|
|
980
|
+
conditon2:'',
|
|
981
|
+
show:false,
|
|
982
|
+
rowdata:{},
|
|
983
|
+
f_filialeid: this.$login.f.orgid,
|
|
984
|
+
// 下拉框参数
|
|
985
|
+
initres: {
|
|
986
|
+
org:[this.$login.f.orgid],
|
|
987
|
+
dep:[],
|
|
988
|
+
user:[],
|
|
989
|
+
},
|
|
990
|
+
// 合计数据
|
|
991
|
+
sumsmodel: {},
|
|
992
|
+
//表册片区
|
|
993
|
+
bookSlice:[{label: '全部',value: ''}],
|
|
994
|
+
meterStyle:[{label: '全部',value: ''}],
|
|
995
|
+
pricenames:[],
|
|
996
|
+
dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
|
|
997
|
+
networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
ready(){
|
|
1001
|
+
this.getaddress()
|
|
1002
|
+
this.$refs.paged.$refs.cri.model.f_user_state=['正常']
|
|
1003
|
+
readySomething(this).then(() => {
|
|
1004
|
+
this.$emit('ready')
|
|
1005
|
+
}).catch((error) => {
|
|
1006
|
+
this.$emit('error', error)
|
|
1007
|
+
})
|
|
1008
|
+
},
|
|
1009
|
+
methods: {
|
|
1010
|
+
recombine (param) {
|
|
1011
|
+
// 条件拼接数据,多用于in ()。将数组转成字符串时加上单引号处理
|
|
1012
|
+
let str = ''
|
|
1013
|
+
if (param && param.length > 0) {
|
|
1014
|
+
param.forEach((p) => {
|
|
1015
|
+
str += `'${p}',`
|
|
1016
|
+
})
|
|
1017
|
+
}
|
|
1018
|
+
return `(${str.substring(0, str.length - 1)})`
|
|
1019
|
+
},
|
|
1020
|
+
async getMeterStyle(val){
|
|
1021
|
+
if (val.length > 0){
|
|
1022
|
+
// 获取气表型号下拉框
|
|
1023
|
+
let HttpReset = new HttpResetClass()
|
|
1024
|
+
let param = {
|
|
1025
|
+
items: 'distinct f_meter_style',
|
|
1026
|
+
tablename: 't_gasmodel gm left join t_gasbrand tg on gm.f_gasbrand_id = tg.id',
|
|
1027
|
+
condition: `tg.f_meter_brand in ${this.recombine(val)}`,
|
|
1028
|
+
orderitem: 'f_meter_style'
|
|
1029
|
+
}
|
|
1030
|
+
let data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
|
|
1031
|
+
for (let row of data.data) {
|
|
1032
|
+
this.meterStyle.push({label: row.f_meter_style, value: row.f_meter_style})
|
|
1033
|
+
}
|
|
1034
|
+
} else {
|
|
1035
|
+
this.meterStyle = [{label: '全部',value: ''}]
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
ReadIDCard(){
|
|
1039
|
+
this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
|
|
1040
|
+
console.log('======',msg)
|
|
1041
|
+
if(msg.err !== 0){ return}
|
|
1042
|
+
this.IdCardInfo=msg.strID
|
|
1043
|
+
})
|
|
1044
|
+
if(this.IdCardInfo) {
|
|
1045
|
+
this.search()
|
|
1046
|
+
}else{
|
|
1047
|
+
alert("读取失败,找不到用户信息")
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
cardBtn (val) {
|
|
1051
|
+
// this.clear()
|
|
1052
|
+
cardBtnGen(this, val)
|
|
1053
|
+
},
|
|
1054
|
+
getPricenames() {
|
|
1055
|
+
this.pricenames = []
|
|
1056
|
+
let priceArr = []
|
|
1057
|
+
this.$MagGetSaleParam.prices.forEach((item) => {
|
|
1058
|
+
let temp = {}
|
|
1059
|
+
temp.label = item.f_price_name
|
|
1060
|
+
temp.value = item.f_price_name
|
|
1061
|
+
priceArr.push(temp)
|
|
1062
|
+
})
|
|
1063
|
+
this.pricenames = [{label: '全部', value: ''}, ...priceArr]
|
|
1064
|
+
},
|
|
1065
|
+
selectPrice(){
|
|
1066
|
+
this.pricesAll=[{label: '全部', value: ''}]
|
|
1067
|
+
this.$refs.paged.$refs.cri.model.f_price=''
|
|
1068
|
+
this.pricesSum.forEach((item)=>{
|
|
1069
|
+
if(this.$refs.paged.$refs.cri.model.f_price_name==item.f_price_name){
|
|
1070
|
+
item.detailprice.forEach((item)=>{
|
|
1071
|
+
let temp={}
|
|
1072
|
+
temp.label=item.f_price
|
|
1073
|
+
temp.value=item.f_price
|
|
1074
|
+
this.pricesAll.push(temp)
|
|
1075
|
+
})
|
|
1076
|
+
}
|
|
1077
|
+
})
|
|
1078
|
+
},
|
|
1079
|
+
pricetypechanged(){
|
|
1080
|
+
this.$refs.paged.$refs.cri.model.f_price_name = []
|
|
1081
|
+
},
|
|
1082
|
+
getotherfooter () {
|
|
1083
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
1084
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
1085
|
+
this.other = [];
|
|
1086
|
+
this.footer = [];
|
|
1087
|
+
let exportdata = this.getCondition;
|
|
1088
|
+
let otherInData = [];
|
|
1089
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
1090
|
+
this.other.push(otherInData);
|
|
1091
|
+
},
|
|
1092
|
+
initParams() {
|
|
1093
|
+
// 初始化气表品牌
|
|
1094
|
+
let brandArr = []
|
|
1095
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
1096
|
+
let temp = {}
|
|
1097
|
+
temp.label = item.label
|
|
1098
|
+
temp.value = item.value.f_meter_brand
|
|
1099
|
+
brandArr.push(temp)
|
|
1100
|
+
})
|
|
1101
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
1102
|
+
//初始化气表价格
|
|
1103
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
1104
|
+
},
|
|
1105
|
+
async getaddress(){
|
|
1106
|
+
console.log('开始获取小区')
|
|
1107
|
+
let HttpReset = new HttpResetClass()
|
|
1108
|
+
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
1109
|
+
data: {
|
|
1110
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
1111
|
+
}
|
|
1112
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
1113
|
+
console.log('小区',data)
|
|
1114
|
+
let house = [{label: '全部', value: ''}]
|
|
1115
|
+
for (let row of data.data){
|
|
1116
|
+
console.log('开始保存小区')
|
|
1117
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
1118
|
+
}
|
|
1119
|
+
this.residentialArea = house
|
|
1120
|
+
// 获取街道列表
|
|
1121
|
+
await this.getStreetList()
|
|
1122
|
+
},
|
|
1123
|
+
// 获取街道列表
|
|
1124
|
+
async getStreetList() {
|
|
1125
|
+
let HttpReset = new HttpResetClass()
|
|
1126
|
+
try {
|
|
1127
|
+
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getstreetlist', {
|
|
1128
|
+
data: {
|
|
1129
|
+
condition: `1=1 and s.f_filialeid = '${this.f_filialeid || this.$login.f.orgid}'`
|
|
1130
|
+
}
|
|
1131
|
+
}, {resolveMsg: null, rejectMsg: '获取街道失败!'})
|
|
1132
|
+
console.log('街道', data)
|
|
1133
|
+
let streetData = [{label: '全部', value: ''}]
|
|
1134
|
+
// 使用 Set 来去重
|
|
1135
|
+
let streetSet = new Set()
|
|
1136
|
+
if (data && data.data) {
|
|
1137
|
+
for (let row of data.data) {
|
|
1138
|
+
if (row.f_street && !streetSet.has(row.f_street)) {
|
|
1139
|
+
streetSet.add(row.f_street)
|
|
1140
|
+
streetData.push({label: row.f_street, value: row.f_street})
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
console.log('获取到的街道列表(已去重):', streetData)
|
|
1145
|
+
this.streetList = streetData
|
|
1146
|
+
} catch (error) {
|
|
1147
|
+
console.error('获取街道列表失败:', error)
|
|
1148
|
+
this.streetList = [{label: '全部', value: ''}]
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
search(){
|
|
1152
|
+
this.$refs.paged.$refs.cri.search()
|
|
1153
|
+
},
|
|
1154
|
+
cancel() {
|
|
1155
|
+
this.show = false
|
|
1156
|
+
},
|
|
1157
|
+
showmsg(obj){
|
|
1158
|
+
this.rowdata=obj
|
|
1159
|
+
this.show=true
|
|
1160
|
+
},
|
|
1161
|
+
selfSearch (args) {
|
|
1162
|
+
|
|
1163
|
+
//抄表员查询条件
|
|
1164
|
+
this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
1165
|
+
if(this.inputtouPerson.length !== 0){
|
|
1166
|
+
let str = JSON.stringify(this.inputtouPerson)
|
|
1167
|
+
str = str.replace(/"/g,`'`)
|
|
1168
|
+
str = str.replace(/\[/g,``)
|
|
1169
|
+
str = str.replace(/\]/g,``)
|
|
1170
|
+
console.log("=====抄表员model22222222222绑定====",str)
|
|
1171
|
+
//查询多个抄表员时条件
|
|
1172
|
+
args.condition += ` and f_inputtor in ( ${str} )`
|
|
1173
|
+
}
|
|
1174
|
+
//debugger
|
|
1175
|
+
this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
|
|
1176
|
+
if(this.bookinputtorperson.length !== 0){
|
|
1177
|
+
let str = JSON.stringify(this.bookinputtorperson)
|
|
1178
|
+
str = str.replace(/"/g,`'`)
|
|
1179
|
+
str = str.replace(/\[/g,``)
|
|
1180
|
+
str = str.replace(/\]/g,``)
|
|
1181
|
+
console.log("=====抄表员model22222222222绑定====",str)
|
|
1182
|
+
//查询多个抄表员时条件
|
|
1183
|
+
args.condition += ` and f_book_inputtor in ( ${str} )`
|
|
1184
|
+
}
|
|
1185
|
+
if (!this.orgCondtionStr) {
|
|
1186
|
+
args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
|
|
1187
|
+
} else {
|
|
1188
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
1189
|
+
}
|
|
1190
|
+
console.log("查看条件",this.conditon2)
|
|
1191
|
+
if(this.card!=''){
|
|
1192
|
+
args.condition +=` and f_card_id='${this.card}'`
|
|
1193
|
+
}
|
|
1194
|
+
if(this.IdCardInfo!=''){
|
|
1195
|
+
args.condition+=` and f_idnumber='${this.IdCardInfo}'`
|
|
1196
|
+
}
|
|
1197
|
+
this.conditon2 = args.condition
|
|
1198
|
+
this.model.search(args.condition, args.model)
|
|
1199
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
|
|
1200
|
+
this.card=''
|
|
1201
|
+
this.IdCardInfo=''
|
|
1202
|
+
console.log('合计字段',this.sumsmodel)
|
|
1203
|
+
},
|
|
1204
|
+
clear(){
|
|
1205
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
1206
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
1207
|
+
})
|
|
1208
|
+
},
|
|
1209
|
+
hidden(){
|
|
1210
|
+
this.criteriaShow = !this.criteriaShow
|
|
1211
|
+
},
|
|
1212
|
+
getRes(obj) {
|
|
1213
|
+
this.orgCondtionStr = obj
|
|
1214
|
+
},
|
|
1215
|
+
stamp () {
|
|
1216
|
+
this.all = false
|
|
1217
|
+
//默认选择要打印的列
|
|
1218
|
+
this.modelval = defaultPrint.config
|
|
1219
|
+
this.fields = this.getfield
|
|
1220
|
+
console.log('所有打印字段',this.fields)
|
|
1221
|
+
this.printshow = true
|
|
1222
|
+
this.put()
|
|
1223
|
+
},
|
|
1224
|
+
put () {
|
|
1225
|
+
// 对Modelval进行排序
|
|
1226
|
+
this.sortModelval()
|
|
1227
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
|
|
1228
|
+
for (let key of this.modelval) {
|
|
1229
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
1230
|
+
}
|
|
1231
|
+
this.thead += '</tr>'
|
|
1232
|
+
},
|
|
1233
|
+
print () {
|
|
1234
|
+
this.$refs.print.PrintAsFile()
|
|
1235
|
+
this.printshow = false
|
|
1236
|
+
},
|
|
1237
|
+
close () {
|
|
1238
|
+
this.printshow = false
|
|
1239
|
+
this.all = false
|
|
1240
|
+
},
|
|
1241
|
+
userTypeChange () {
|
|
1242
|
+
this.gasproperties=[]
|
|
1243
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
1244
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
1245
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
1246
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
1247
|
+
}
|
|
1248
|
+
else{
|
|
1249
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
// 对选择的列进行排序
|
|
1253
|
+
sortModelval () {
|
|
1254
|
+
let sortModel = []
|
|
1255
|
+
Object.keys(this.fields).forEach((key) => {
|
|
1256
|
+
if (this.modelval.includes(key)) {
|
|
1257
|
+
sortModel.push(key)
|
|
1258
|
+
}
|
|
1259
|
+
})
|
|
1260
|
+
this.modelval = sortModel
|
|
1261
|
+
console.log('选择的打印的字段', this.modelval)
|
|
1262
|
+
},
|
|
1263
|
+
async updateParams() {
|
|
1264
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
1265
|
+
this.inputtores = [];
|
|
1266
|
+
this.inputtores.push({label: "全部", value: ""})
|
|
1267
|
+
this.initSlice(this.f_filialeid)
|
|
1268
|
+
if(this.allorgid!=null){
|
|
1269
|
+
this.allorgid.forEach((res)=>{
|
|
1270
|
+
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
1271
|
+
})
|
|
1272
|
+
}
|
|
1273
|
+
// 更新街道列表
|
|
1274
|
+
await this.getStreetList()
|
|
1275
|
+
},
|
|
1276
|
+
async initSlice (val) {
|
|
1277
|
+
if (val) {
|
|
1278
|
+
let getAllArea = await this.$resetpost('/rs/search', {
|
|
1279
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
1280
|
+
userid: this.$login.f.id
|
|
1281
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
1282
|
+
let arr = getAllArea.data.filter((res) => {
|
|
1283
|
+
return res.parentid == val
|
|
1284
|
+
})
|
|
1285
|
+
this.bookSlice = []
|
|
1286
|
+
console.log('过滤之后的片区-------------------', arr)
|
|
1287
|
+
arr.forEach((res) => {
|
|
1288
|
+
this.bookSlice.push({label: res.name, value: res.name})
|
|
1289
|
+
})
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
//表册片区和抄表册关联
|
|
1293
|
+
async inputtorchange(){
|
|
1294
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
|
|
1295
|
+
/*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
|
|
1296
|
+
let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
|
|
1297
|
+
if((val2.length>0)){
|
|
1298
|
+
let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
|
|
1299
|
+
/*if (val1[0]){
|
|
1300
|
+
condition = condition+ ` and f_meter_book = '${val1[0]}' `
|
|
1301
|
+
}*/
|
|
1302
|
+
if(val2[0]) {
|
|
1303
|
+
condition = condition + ` and f_book_slice_area = '${val2}' `
|
|
1304
|
+
}
|
|
1305
|
+
let param={
|
|
1306
|
+
items:'*',
|
|
1307
|
+
tablename:'t_meter_book',
|
|
1308
|
+
condition:condition,
|
|
1309
|
+
orderitem:'id'
|
|
1310
|
+
}
|
|
1311
|
+
let getMeterBooks = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
1312
|
+
if (getMeterBooks.data) {
|
|
1313
|
+
if(getMeterBooks.data.length >0){
|
|
1314
|
+
let rs = [];
|
|
1315
|
+
getMeterBooks.data.forEach((item)=>{
|
|
1316
|
+
let temp = {
|
|
1317
|
+
label:item.f_book_name,
|
|
1318
|
+
value:item.id
|
|
1319
|
+
};
|
|
1320
|
+
rs.push(temp);
|
|
1321
|
+
|
|
1322
|
+
})
|
|
1323
|
+
this.meterbooks = [{label: '全部',value: ''}, ...rs];
|
|
1324
|
+
}else{
|
|
1325
|
+
this.meterbooks = [{label: '全部',value: ''}];
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
}else{
|
|
1329
|
+
this.meterbooks = [{label: '全部',value: ''}];
|
|
1330
|
+
this.initmeterbook();
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
async initmeterbook(orgstr){
|
|
1334
|
+
if(orgstr == null ){
|
|
1335
|
+
orgstr = this.f_filialeid;
|
|
1336
|
+
}
|
|
1337
|
+
//获取新的抄表册,先去清理所有的抄表册
|
|
1338
|
+
this.$GetSaleParam.meterbooks = [];
|
|
1339
|
+
//开始加载新的抄表册
|
|
1340
|
+
await this.$LoadParams.loadMeterBook(orgstr)
|
|
1341
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
1342
|
+
},
|
|
1343
|
+
sort (field, rule) {
|
|
1344
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
1345
|
+
for (let key in this.orderFields) {
|
|
1346
|
+
if (key === field) {
|
|
1347
|
+
this.orderFields[key] = rule
|
|
1348
|
+
} else {
|
|
1349
|
+
this.orderFields[key] = 'no'
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
// 如果新规则不排序,还原为默认排序
|
|
1353
|
+
if (rule === 'no') {
|
|
1354
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
1355
|
+
} else {
|
|
1356
|
+
this.model.paramSource.orderitem = `'${field} ${rule},f_userfiles_id desc'`
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
this.search()
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
watch:{
|
|
1363
|
+
'model.rows.length' () {
|
|
1364
|
+
this.isSingleUser = this.model.rows
|
|
1365
|
+
},
|
|
1366
|
+
'all' (val) {
|
|
1367
|
+
if (val) {
|
|
1368
|
+
this.modelval = this.bodyData
|
|
1369
|
+
} else {
|
|
1370
|
+
this.modelval = defaultPrint.config
|
|
1371
|
+
this.put()
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
'modelval.length' () {
|
|
1375
|
+
this.put()
|
|
1376
|
+
},
|
|
1377
|
+
sumsmodel:{
|
|
1378
|
+
handler: function(val) {
|
|
1379
|
+
this.getotherfooter();
|
|
1380
|
+
},
|
|
1381
|
+
deep: true
|
|
1382
|
+
},
|
|
1383
|
+
'orgCondtionStr'(val) {
|
|
1384
|
+
let res = val.match(/'(.*?)'/)
|
|
1385
|
+
console.log('正则提取:',res && res[1])
|
|
1386
|
+
if (res) {
|
|
1387
|
+
this.f_filialeid = res[1]
|
|
1388
|
+
if(res.input !=null){
|
|
1389
|
+
let resorgid = res.input.substring(res.input.indexOf("'"));
|
|
1390
|
+
if(resorgid!= null && resorgid!=''){
|
|
1391
|
+
resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
|
|
1392
|
+
// resorgid = resorgid.replaceAll("'","");
|
|
1393
|
+
resorgid = resorgid.replace(/'/g,"");
|
|
1394
|
+
this.allorgid = resorgid.split(",")
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
this.updateParams()
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
},
|
|
1401
|
+
computed:{
|
|
1402
|
+
bandstates () {
|
|
1403
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
|
|
1404
|
+
},
|
|
1405
|
+
TableStates () {
|
|
1406
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
1407
|
+
},
|
|
1408
|
+
bgl(){
|
|
1409
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
|
|
1410
|
+
},
|
|
1411
|
+
houseTypes(){
|
|
1412
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
|
|
1413
|
+
},
|
|
1414
|
+
gasproperties(){
|
|
1415
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
1416
|
+
},
|
|
1417
|
+
whetherCard(){
|
|
1418
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
|
|
1419
|
+
},
|
|
1420
|
+
usertypes() {
|
|
1421
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
1422
|
+
},
|
|
1423
|
+
useTypes() {
|
|
1424
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
1425
|
+
},
|
|
1426
|
+
positions() {
|
|
1427
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
1428
|
+
},
|
|
1429
|
+
meterbooks(){
|
|
1430
|
+
return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
1431
|
+
},
|
|
1432
|
+
userstates() {
|
|
1433
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
1434
|
+
},
|
|
1435
|
+
|
|
1436
|
+
metertypes() {
|
|
1437
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
1438
|
+
},
|
|
1439
|
+
pricetypes() {
|
|
1440
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
1441
|
+
},
|
|
1442
|
+
person() {
|
|
1443
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
|
|
1444
|
+
},
|
|
1445
|
+
tablestate() {
|
|
1446
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
|
|
1447
|
+
},
|
|
1448
|
+
inputtores () {
|
|
1449
|
+
// 获取抄表员
|
|
1450
|
+
console.log('获取抄表员', this.$login.f)
|
|
1451
|
+
let rs = []
|
|
1452
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
1453
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
1454
|
+
let temp = {
|
|
1455
|
+
label: this.$login.f.f_gasman[i].name,
|
|
1456
|
+
value: this.$login.f.f_gasman[i].name
|
|
1457
|
+
}
|
|
1458
|
+
rs.push(temp)
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
1463
|
+
},
|
|
1464
|
+
authArr () {
|
|
1465
|
+
return this.$login.r ? this.$login.r : []
|
|
1466
|
+
},
|
|
1467
|
+
getCondition(){
|
|
1468
|
+
|
|
1469
|
+
return {condition:this.conditon2,orderitem:this.orderitem}
|
|
1470
|
+
},
|
|
1471
|
+
getfield(){
|
|
1472
|
+
let data = {}
|
|
1473
|
+
this.bodyData.forEach((value, index)=>{
|
|
1474
|
+
data[this.bodyData[index]] = this.headData[index]
|
|
1475
|
+
})
|
|
1476
|
+
//合计字段打印
|
|
1477
|
+
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
|
1478
|
+
if(this.sumsmodel){
|
|
1479
|
+
Object.keys(this.sumsmodel).forEach((key) => {
|
|
1480
|
+
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
|
1481
|
+
})
|
|
1482
|
+
}else{
|
|
1483
|
+
this.tfoot += '暂无'
|
|
1484
|
+
}
|
|
1485
|
+
this.tfoot += '</th></tr>'
|
|
1486
|
+
return data
|
|
1487
|
+
},
|
|
1488
|
+
getExportField() {
|
|
1489
|
+
return exportConfig.compreConfig
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
</script>
|