manage-client 3.2.297 → 3.2.299
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 +180 -180
- package/package.json +1 -1
- package/src/filiale/qianneng/WebHandplanQuery.vue +2 -2
- package/src/filiale/qianneng/exportConfig.js +5 -3
- package/src/filiale/shanxian/ChangeMeterQuery.vue +8 -2
- package/src/filiale/shanxian/ChargeQuery.vue +6 -2
- package/src/filiale/shanxian/GasDeviceQuery.vue +67 -58
- package/src/filiale/shanxian/config/exportConfig.js +1 -1
- package/src/filiale/tongchuan/ChargeQuery.vue +6 -0
- package/src/filiale/tongchuan/HandplanQuery.vue +6 -10
- package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -0
- package/src/filiale/wenxi/ChangeUserQuery.vue +371 -0
- package/src/filiale/wenxi/ChargeQuery.vue +1 -1
- package/src/filiale/wenxi/FmyGasDeviceQuery.vue +96 -32
- package/src/filiale/wenxi/GasDeviceQuery.vue +68 -14
- package/src/filiale/wenxi/GasStatistics.vue +3 -3
- package/src/filiale/wenxi/GetNoMetereadData.vue +374 -0
- package/src/filiale/wenxi/HandplanQuery.vue +1370 -0
- package/src/filiale/wenxi/MeterQuery.vue +964 -0
- package/src/filiale/wenxi/RecordInfoQuery.vue +65 -48
- package/src/filiale/wenxi/config/exportConfig.js +27 -20
- package/src/filiale/wenxi/sale.js +8 -0
- package/src/filiale/wenxi/webmeterManage.js +2 -0
- package/src/main.js +66 -70
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
+
:show-reset-button="true"
|
|
16
|
+
condition="f_operate_date >= '{}'">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label class="font_normal_body">结束日期</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
+
:show-reset-button="true"
|
|
26
|
+
condition="f_operate_date <= '{}'">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group ">
|
|
30
|
+
<label class="font_normal_body">客户编号</label>
|
|
31
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<div class="span" style="float:right;">
|
|
37
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
38
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
39
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
40
|
+
|
|
41
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
42
|
+
:field="$parent.$parent.getfield"
|
|
43
|
+
:header="$parent.$parent.other"
|
|
44
|
+
v-if="$parent.$parent.authArr.includes('档案查询导出')"
|
|
45
|
+
sqlurl="rs/logic/exportfile" sql-name="changeuserquery" template-name='档案变更导出'
|
|
46
|
+
:choose-col="true"></export-excel>
|
|
47
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
48
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
49
|
+
titletable="档案变更"
|
|
50
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
51
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
56
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','department','operator']" v-ref:sel></res-select-group>
|
|
57
|
+
<div class="col-sm-2 form-group">
|
|
58
|
+
<label class="font_normal_body">客户名称</label>
|
|
59
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
60
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">客户电话</label>
|
|
64
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
65
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</criteria>
|
|
70
|
+
|
|
71
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>
|
|
75
|
+
<!--<nobr>客户编号</nobr>-->
|
|
76
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
77
|
+
</th>
|
|
78
|
+
<th>
|
|
79
|
+
<nobr>客户名称</nobr>
|
|
80
|
+
</th>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>档案编号</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>客户电话</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>更改内容</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>更改前</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>更改后</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>操作人</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
<th>
|
|
100
|
+
<!--<nobr>操作日期</nobr>-->
|
|
101
|
+
<data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
102
|
+
</th>
|
|
103
|
+
<th>
|
|
104
|
+
<nobr>部门</nobr>
|
|
105
|
+
</th>
|
|
106
|
+
<th>
|
|
107
|
+
<nobr>公司</nobr>
|
|
108
|
+
</th>
|
|
109
|
+
<th>
|
|
110
|
+
<nobr>修改原因</nobr>
|
|
111
|
+
</th>
|
|
112
|
+
</tr>
|
|
113
|
+
</template>
|
|
114
|
+
<template partial='body'>
|
|
115
|
+
<td style="text-align: center;"><nobr>
|
|
116
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
117
|
+
</nobr> </td>
|
|
118
|
+
<td style="text-align: center;">
|
|
119
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align: center;">
|
|
122
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align: center;">
|
|
125
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td style="text-align: center;">
|
|
128
|
+
<nobr>{{row.f_field_name}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_used_content}}</nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td style="text-align: center;">
|
|
134
|
+
<nobr>{{row.f_new_content}}</nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td style="text-align: center;">
|
|
137
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td style="text-align: center;">
|
|
140
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<td style="text-align: center;">
|
|
146
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td style="text-align: center;">
|
|
149
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
150
|
+
</td>
|
|
151
|
+
</template>
|
|
152
|
+
<template partial='foot'></template>
|
|
153
|
+
</data-grid>
|
|
154
|
+
</criteria-paged>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="flex" v-if="show">
|
|
157
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
</template>
|
|
162
|
+
|
|
163
|
+
<script>
|
|
164
|
+
import {PagedList} from 'vue-client'
|
|
165
|
+
import defaultPrint from './config/DefaultPrint'
|
|
166
|
+
import exportConfig from './config/exportConfig'
|
|
167
|
+
|
|
168
|
+
let readySomething = async function (self) {
|
|
169
|
+
|
|
170
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
171
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
172
|
+
// self.$refs.paged.$refs.cri.search()
|
|
173
|
+
await self.$MagLoadParams.loadParam()
|
|
174
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
175
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
176
|
+
}
|
|
177
|
+
export default {
|
|
178
|
+
title: '档案变更记录',
|
|
179
|
+
data() {
|
|
180
|
+
return {
|
|
181
|
+
data: {},
|
|
182
|
+
other:[],
|
|
183
|
+
footer:[],
|
|
184
|
+
meterbrands: [],
|
|
185
|
+
pricenames: [],
|
|
186
|
+
model: new PagedList('rs/sql/changeuserquery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
187
|
+
criteriaShow: false,
|
|
188
|
+
orgCondtionStr: '',
|
|
189
|
+
modelval: [],
|
|
190
|
+
printshow: false,
|
|
191
|
+
all: false,
|
|
192
|
+
fields: {},
|
|
193
|
+
//排序
|
|
194
|
+
orderitem:'f_operate_date desc',
|
|
195
|
+
orderFields: {
|
|
196
|
+
f_operate_date: 'no'
|
|
197
|
+
},
|
|
198
|
+
initres: {
|
|
199
|
+
org:[this.$login.f.orgid],
|
|
200
|
+
dep:[],
|
|
201
|
+
user:[],
|
|
202
|
+
},
|
|
203
|
+
defaultfield: [],
|
|
204
|
+
config: {
|
|
205
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
|
|
206
|
+
},
|
|
207
|
+
show:false,
|
|
208
|
+
rowdata:{},
|
|
209
|
+
thead: '',
|
|
210
|
+
tfoot: '',
|
|
211
|
+
|
|
212
|
+
// tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
//合计数据
|
|
216
|
+
sumsmodel: {}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
ready() {
|
|
220
|
+
readySomething(this)
|
|
221
|
+
},
|
|
222
|
+
methods: {
|
|
223
|
+
getotherfooter () {
|
|
224
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
225
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
226
|
+
this.other = [];
|
|
227
|
+
this.footer = [];
|
|
228
|
+
let exportdata = this.getCondition;
|
|
229
|
+
let otherInData = [];
|
|
230
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
231
|
+
// let footerData = [], exportfield = this.getfield;
|
|
232
|
+
// footerData.push("合计");
|
|
233
|
+
// let self = this;
|
|
234
|
+
// for (var field in self.sumsmodel) {
|
|
235
|
+
// footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
236
|
+
// }
|
|
237
|
+
// this.footer.push(footerData);
|
|
238
|
+
this.other.push(otherInData);
|
|
239
|
+
},
|
|
240
|
+
search(){
|
|
241
|
+
this.$refs.paged.$refs.cri.search()
|
|
242
|
+
},
|
|
243
|
+
cancel() {
|
|
244
|
+
this.show = false
|
|
245
|
+
},
|
|
246
|
+
showmsg(obj){
|
|
247
|
+
this.rowdata=obj
|
|
248
|
+
this.show=true
|
|
249
|
+
},
|
|
250
|
+
|
|
251
|
+
selfSearch(args) {
|
|
252
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
253
|
+
this.model.search(args.condition, args.model)
|
|
254
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
255
|
+
},
|
|
256
|
+
clear() {
|
|
257
|
+
//清空部门和人员
|
|
258
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
259
|
+
//部门和人员变为全选
|
|
260
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
261
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
262
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
263
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
264
|
+
})
|
|
265
|
+
},
|
|
266
|
+
show() {
|
|
267
|
+
this.criteriaShow = true
|
|
268
|
+
},
|
|
269
|
+
hidden() {
|
|
270
|
+
this.criteriaShow = !this.criteriaShow
|
|
271
|
+
},
|
|
272
|
+
getRes(obj) {
|
|
273
|
+
console.log(obj,"========")
|
|
274
|
+
this.orgCondtionStr = obj
|
|
275
|
+
},
|
|
276
|
+
stamp() {
|
|
277
|
+
this.all = false
|
|
278
|
+
//默认选择要打印的列
|
|
279
|
+
this.modelval = defaultPrint.config
|
|
280
|
+
this.fields = this.getfield
|
|
281
|
+
console.log('所有打印字段', this.fields)
|
|
282
|
+
this.printshow = true
|
|
283
|
+
this.put()
|
|
284
|
+
},
|
|
285
|
+
dealmsg(val) {
|
|
286
|
+
console.log('---------------dealmsg')
|
|
287
|
+
val.model = this.model.model
|
|
288
|
+
this.$dispatch('deal-msg', val)
|
|
289
|
+
},
|
|
290
|
+
put() {
|
|
291
|
+
// 对Modelval进行排序
|
|
292
|
+
this.sortModelval()
|
|
293
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
|
|
294
|
+
for (let key of this.modelval) {
|
|
295
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
296
|
+
}
|
|
297
|
+
this.thead += '</tr>'
|
|
298
|
+
},
|
|
299
|
+
print() {
|
|
300
|
+
this.$refs.print.PrintAsFile()
|
|
301
|
+
this.printshow = false
|
|
302
|
+
},
|
|
303
|
+
close() {
|
|
304
|
+
this.printshow = false
|
|
305
|
+
this.all = false
|
|
306
|
+
},
|
|
307
|
+
// 对选择的列进行排序
|
|
308
|
+
sortModelval() {
|
|
309
|
+
let sortModel = []
|
|
310
|
+
Object.keys(this.fields).forEach((key) => {
|
|
311
|
+
if (this.modelval.includes(key)) {
|
|
312
|
+
sortModel.push(key)
|
|
313
|
+
}
|
|
314
|
+
})
|
|
315
|
+
this.modelval = sortModel
|
|
316
|
+
console.log('选择的打印的字段', this.modelval)
|
|
317
|
+
},
|
|
318
|
+
sort (field, rule) {
|
|
319
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
320
|
+
for (let key in this.orderFields) {
|
|
321
|
+
if (key === field) {
|
|
322
|
+
this.orderFields[key] = rule
|
|
323
|
+
} else {
|
|
324
|
+
this.orderFields[key] = 'no'
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
// 如果新规则不排序,还原为默认排序
|
|
328
|
+
if (rule === 'no') {
|
|
329
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
330
|
+
} else {
|
|
331
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
this.search()
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
watch: {
|
|
338
|
+
'all'(val) {
|
|
339
|
+
if (val) {
|
|
340
|
+
this.modelval = this.bodyData
|
|
341
|
+
} else {
|
|
342
|
+
this.modelval = defaultPrint.config
|
|
343
|
+
this.put()
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
'modelval.length'() {
|
|
347
|
+
this.put()
|
|
348
|
+
},
|
|
349
|
+
sumsmodel:{
|
|
350
|
+
handler: function(val) {
|
|
351
|
+
this.getotherfooter();
|
|
352
|
+
},
|
|
353
|
+
deep: true
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
computed: {
|
|
357
|
+
authArr () {
|
|
358
|
+
return this.$login.r ? this.$login.r : []
|
|
359
|
+
},
|
|
360
|
+
getCondition() {
|
|
361
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
362
|
+
},
|
|
363
|
+
getfield() {
|
|
364
|
+
return exportConfig.changUserConfig
|
|
365
|
+
},
|
|
366
|
+
field_name() {
|
|
367
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('更改内容')]
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
</script>
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
|
|
743
743
|
<script>
|
|
744
744
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
745
|
-
import exportConfig from '
|
|
745
|
+
import exportConfig from './config/exportConfig'
|
|
746
746
|
let cardBtnGen = async function (self, val) {
|
|
747
747
|
self.cardInfo = val.data
|
|
748
748
|
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
14
14
|
</div>
|
|
15
15
|
<div class="col-sm-2 form-group">
|
|
16
|
-
<label class="font_normal_body"
|
|
16
|
+
<label class="font_normal_body">客户名称</label>
|
|
17
17
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
18
|
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
19
19
|
</div>
|
|
20
20
|
<div class="col-sm-2 form-group">
|
|
21
|
-
<label class="font_normal_body"
|
|
21
|
+
<label class="font_normal_body">客户电话</label>
|
|
22
22
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
23
|
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
24
24
|
</div>
|
|
@@ -51,26 +51,24 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
54
|
-
<div class="col-sm-2 form-group">
|
|
55
|
-
<label class="font_normal_body">气表品牌</label>
|
|
56
|
-
<v-select :value.sync="model.f_meter_brand" multiple
|
|
57
|
-
v-model="model.f_meter_brand"
|
|
58
|
-
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
59
|
-
condition="f_meter_brand in {}"
|
|
60
|
-
close-on-select></v-select>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="col-sm-2 form-group" >
|
|
63
|
-
<label class="font_normal_body">设备类型</label>
|
|
64
|
-
<v-select :value.sync="model.f_devices_type"
|
|
65
|
-
v-model="model.f_devices_type"
|
|
66
|
-
:options='$parent.$parent.deviceTypes' placeholder='请选择'
|
|
67
|
-
condition="f_devices_type = '{}'"
|
|
68
|
-
close-on-select></v-select>
|
|
69
|
-
</div>
|
|
70
54
|
<div class="col-sm-2 form-group">
|
|
71
|
-
<label class="font_normal_body"
|
|
55
|
+
<label class="font_normal_body">客户地址</label>
|
|
72
56
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
73
|
-
condition="f_address like '%{}%'" placeholder='
|
|
57
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="col-sm-2 form-group">
|
|
60
|
+
<label class="font_normal_body" title="气表状态">气表状态</label>
|
|
61
|
+
<v-select :value.sync="model.f_table_state"
|
|
62
|
+
:search="false"
|
|
63
|
+
v-model="model.f_table_state"
|
|
64
|
+
:options='$parent.$parent.TableStates' placeholder='请选择'
|
|
65
|
+
condition="f_table_state in {}"
|
|
66
|
+
></v-select>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-2 form-group">
|
|
69
|
+
<label class="font_normal_body">燃气表号</label>
|
|
70
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
71
|
+
condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
|
|
74
72
|
</div>
|
|
75
73
|
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
76
74
|
<div class="col-sm-2 form-group">
|
|
@@ -93,16 +91,16 @@
|
|
|
93
91
|
condition="f_createfile_date <= '{}'">
|
|
94
92
|
</datepicker>
|
|
95
93
|
</div>
|
|
96
|
-
<div class="col-sm-2 form-group"
|
|
97
|
-
<label class="font_normal_body">通气年限</label
|
|
98
|
-
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear1"
|
|
99
|
-
condition="diffAllyear >= {}" placeholder="最小值"
|
|
100
|
-
</div
|
|
101
|
-
<div class="col-sm-2 form-group"
|
|
102
|
-
<label class="font_normal_body"> 至 </label
|
|
103
|
-
<input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear2"
|
|
104
|
-
condition="diffAllyear <= {}" placeholder="最大值"
|
|
105
|
-
</div
|
|
94
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
95
|
+
<!-- <label class="font_normal_body">通气年限</label>-->
|
|
96
|
+
<!-- <input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear1"-->
|
|
97
|
+
<!-- condition="diffAllyear >= {}" placeholder="最小值">-->
|
|
98
|
+
<!-- </div>-->
|
|
99
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
100
|
+
<!-- <label class="font_normal_body"> 至 </label>-->
|
|
101
|
+
<!-- <input type="number" style="width:60%" class="input_search" v-model="model.diffAllyear2"-->
|
|
102
|
+
<!-- condition="diffAllyear <= {}" placeholder="最大值">-->
|
|
103
|
+
<!-- </div>-->
|
|
106
104
|
<div class="col-sm-2 form-group">
|
|
107
105
|
<label class="font_normal_body"> 小区 </label>
|
|
108
106
|
<v-select :value.sync="model.f_residential_area"
|
|
@@ -113,9 +111,69 @@
|
|
|
113
111
|
style="width: 60%"
|
|
114
112
|
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
115
113
|
close-on-select>
|
|
116
|
-
|
|
117
114
|
</v-select>
|
|
118
115
|
</div>
|
|
116
|
+
<div class="col-sm-2 form-group">
|
|
117
|
+
<label class="font_normal_body">气表品牌</label>
|
|
118
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
119
|
+
v-model="model.f_meter_brand"
|
|
120
|
+
:options="$parent.$parent.meterbrands"
|
|
121
|
+
condition="f_meter_brand = '{}'"
|
|
122
|
+
close-on-select></v-select>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="col-sm-2 form-group" >
|
|
125
|
+
<label class="font_normal_body">客户状态</label>
|
|
126
|
+
<v-select :value.sync="model.f_user_state"
|
|
127
|
+
v-model="model.f_user_state"
|
|
128
|
+
multiple
|
|
129
|
+
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
130
|
+
condition="f_user_state in {}"
|
|
131
|
+
></v-select>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="col-sm-2 form-group" >
|
|
134
|
+
<label class="font_normal_body">设备类型</label>
|
|
135
|
+
<v-select :value.sync="model.f_devices_type"
|
|
136
|
+
v-model="model.f_devices_type"
|
|
137
|
+
:options='$parent.$parent.deviceTypes' placeholder='请选择'
|
|
138
|
+
condition="f_devices_type = '{}'"
|
|
139
|
+
close-on-select></v-select>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="col-sm-2 form-group">
|
|
142
|
+
<label for="startDate" class="font_normal_body">开户日期</label>
|
|
143
|
+
<datepicker id="startDate2" placeholder="开始日期" style="width:60%"
|
|
144
|
+
v-model="model.startDate2"
|
|
145
|
+
:value.sync="model.startDate2"
|
|
146
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
147
|
+
:show-reset-button="true"
|
|
148
|
+
condition="f_open_date >= '{}'">
|
|
149
|
+
</datepicker>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="col-sm-2 form-group">
|
|
152
|
+
<label for="endDate" class="font_normal_body">开户日期</label>
|
|
153
|
+
<datepicker id="endDate2" placeholder="结束日期" style="width:60%"
|
|
154
|
+
v-model="model.endDate2"
|
|
155
|
+
:value.sync="model.endDate2"
|
|
156
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
157
|
+
:show-reset-button="true"
|
|
158
|
+
condition="f_open_date <= '{}'">
|
|
159
|
+
</datepicker>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="col-sm-2 form-group" >
|
|
162
|
+
<label class="font_normal_body">有无波纹管</label>
|
|
163
|
+
<v-select :value.sync="model.f_has_pepe"
|
|
164
|
+
v-model="model.f_has_pepe"
|
|
165
|
+
:options='$parent.$parent.haspipe' placeholder='请选择'
|
|
166
|
+
condition="f_has_pepe {}" close-on-select
|
|
167
|
+
></v-select>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="col-sm-2 form-group" >
|
|
170
|
+
<label class="font_normal_body">有无自闭阀</label>
|
|
171
|
+
<v-select :value.sync="model.f_is_zibifa"
|
|
172
|
+
v-model="model.f_is_zibifa"
|
|
173
|
+
:options='$parent.$parent.iszbf' placeholder='请选择'
|
|
174
|
+
condition="f_is_zibifa {}" close-on-select
|
|
175
|
+
></v-select>
|
|
176
|
+
</div>
|
|
119
177
|
</div>
|
|
120
178
|
</div>
|
|
121
179
|
</criteria>
|
|
@@ -148,6 +206,7 @@
|
|
|
148
206
|
<th><nobr>表品牌</nobr></th>
|
|
149
207
|
<th><nobr>表号</nobr></th>
|
|
150
208
|
<th><nobr>类型</nobr></th>
|
|
209
|
+
<th><nobr>气表状态</nobr></th>
|
|
151
210
|
<th><nobr>型号</nobr></th>
|
|
152
211
|
<th><nobr>左右表</nobr></th>
|
|
153
212
|
<th><nobr>安装位置</nobr></th>
|
|
@@ -246,6 +305,9 @@
|
|
|
246
305
|
<td style="text-align: center;">
|
|
247
306
|
<nobr>{{row.f_meter_type}}</nobr>
|
|
248
307
|
</td>
|
|
308
|
+
<td style="text-align: center;">
|
|
309
|
+
<nobr>{{row.f_table_state}}</nobr>
|
|
310
|
+
</td>
|
|
249
311
|
<td style="text-align: center;">
|
|
250
312
|
<nobr>{{row.f_meter_style}}</nobr>
|
|
251
313
|
</td>
|
|
@@ -313,7 +375,7 @@
|
|
|
313
375
|
|
|
314
376
|
<!--燃气管连接-->
|
|
315
377
|
<td style="text-align: center;">
|
|
316
|
-
<nobr>{{row.
|
|
378
|
+
<nobr>{{row.f_has_pipe}}</nobr>
|
|
317
379
|
</td>
|
|
318
380
|
<td style="text-align: center;">
|
|
319
381
|
<nobr>{{row.f_pipe_num}}</nobr>
|
|
@@ -529,6 +591,8 @@ export default {
|
|
|
529
591
|
residentialArea: [],
|
|
530
592
|
allorgid:[],
|
|
531
593
|
f_filialeid: this.$login.f.f_orgid,
|
|
594
|
+
haspipe: [{label: '有', value: ` = '有'`},{label: '无', value: `!= '有'`}],
|
|
595
|
+
iszbf: [{label: '有', value: ` = '有'`},{label: '无', value: `!= '有'`}]
|
|
532
596
|
}
|
|
533
597
|
},
|
|
534
598
|
ready() {
|