manage-client 4.1.94 → 4.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/SellReport/UserGasFillCard.vue +17 -3
- package/src/filiale/tongchuan/GasInspection.vue +36 -0
- package/src/filiale/tongchuan/InspectListGas.vue +35 -4
- package/src/filiale/tongchuan/InspectListUser.vue +773 -0
- package/src/filiale/tongchuan/sale.js +4 -0
- package/src/filiale/wuhai/UserGasList.vue +18 -132
- package/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileChanges/last-build.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
package/package.json
CHANGED
|
@@ -308,13 +308,27 @@
|
|
|
308
308
|
search(){
|
|
309
309
|
this.$refs.paged.$refs.cri.search()
|
|
310
310
|
},
|
|
311
|
+
appendCondition (data) {
|
|
312
|
+
console.log('data=====>',data)
|
|
313
|
+
let stringValue = ''
|
|
314
|
+
for (var i = 0; i < data.length; i++) {
|
|
315
|
+
if (data[i]) {
|
|
316
|
+
if (i === data.length - 1) {
|
|
317
|
+
stringValue = stringValue + "'" + data[i] + "'"
|
|
318
|
+
} else {
|
|
319
|
+
stringValue = stringValue + "'" + data[i] + "',"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
return stringValue
|
|
324
|
+
},
|
|
311
325
|
selfSearch(args) {
|
|
312
|
-
let orgcondition = ' s.f_orgid in (' + this.f_orgid + ')'
|
|
326
|
+
let orgcondition = ' s.f_orgid in (' + this.appendCondition(this.f_orgid) + ')'
|
|
313
327
|
if (this.f_depid[0]) {
|
|
314
|
-
orgcondition += " and s.f_depid in("+this.f_depid
|
|
328
|
+
orgcondition += " and s.f_depid in(" + this.appendCondition(this.f_depid) + ')'
|
|
315
329
|
}
|
|
316
330
|
if(this.f_operatorid[0]) {
|
|
317
|
-
orgcondition += ' and s.f_operatorid in (' + this.f_operatorid + ')'
|
|
331
|
+
orgcondition += ' and s.f_operatorid in (' + this.appendCondition(this.f_operatorid) + ')'
|
|
318
332
|
}
|
|
319
333
|
this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
|
|
320
334
|
this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
|
|
@@ -139,6 +139,20 @@
|
|
|
139
139
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
140
140
|
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
141
141
|
</div>
|
|
142
|
+
<div class="col-sm-2 form-group">
|
|
143
|
+
<label class="font_normal_body"> 街道 </label>
|
|
144
|
+
<v-select :value.sync="model.f_street"
|
|
145
|
+
class="select_list select"
|
|
146
|
+
enter-push
|
|
147
|
+
multiple = "true"
|
|
148
|
+
v-model="model.f_street"
|
|
149
|
+
style="width: 60%"
|
|
150
|
+
:options='$parent.$parent.street' placeholder='选择街道'
|
|
151
|
+
condition="f_street = '{}'"
|
|
152
|
+
close-on-select>
|
|
153
|
+
|
|
154
|
+
</v-select>
|
|
155
|
+
</div>
|
|
142
156
|
<div class="col-sm-2 form-group">
|
|
143
157
|
<label class="font_normal_body">客户电话 </label>
|
|
144
158
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
@@ -261,6 +275,7 @@
|
|
|
261
275
|
<th><nobr>表号</nobr></th>
|
|
262
276
|
<th><nobr>客户名称</nobr></th>
|
|
263
277
|
<th><nobr>地址</nobr></th>
|
|
278
|
+
<th><nobr>街道</nobr></th>
|
|
264
279
|
<th><nobr>表箱号</nobr></th>
|
|
265
280
|
<th><nobr>用户类型</nobr></th>
|
|
266
281
|
<th><nobr>用气性质</nobr></th>
|
|
@@ -374,6 +389,8 @@
|
|
|
374
389
|
return {
|
|
375
390
|
other:[],
|
|
376
391
|
footer:[],
|
|
392
|
+
//街道
|
|
393
|
+
street: [],
|
|
377
394
|
org:[this.$login.f.orgid],
|
|
378
395
|
criteriaShow: false,
|
|
379
396
|
filialeNameStr: null,
|
|
@@ -443,6 +460,7 @@
|
|
|
443
460
|
},
|
|
444
461
|
ready () {
|
|
445
462
|
this.getAreaList('')
|
|
463
|
+
this.getStreet()
|
|
446
464
|
readySomething(this).then(() => {
|
|
447
465
|
this.$emit('ready')
|
|
448
466
|
}).catch((error) => {
|
|
@@ -474,6 +492,23 @@
|
|
|
474
492
|
this.areaList = [{label: '全部', value: ''}, ...reData]
|
|
475
493
|
})
|
|
476
494
|
},
|
|
495
|
+
async getStreet() {
|
|
496
|
+
let HttpReset = new HttpResetClass()
|
|
497
|
+
console.log('开始获取街道')
|
|
498
|
+
HttpReset.load('POST', 'api/af-revenue/sql/manage_getstreetlist', {
|
|
499
|
+
data: {
|
|
500
|
+
condition: `1=1 `
|
|
501
|
+
}
|
|
502
|
+
},{resolveMsg: null, rejectMsg: '获取街道失败!'}).then( streets => {
|
|
503
|
+
console.log('街道',streets)
|
|
504
|
+
let streetValue = []
|
|
505
|
+
for (let row of streets.data){
|
|
506
|
+
console.log('开始保存街道')
|
|
507
|
+
streetValue.push({label: row.f_street, value: row.f_street})
|
|
508
|
+
}
|
|
509
|
+
this.street = streetValue
|
|
510
|
+
})
|
|
511
|
+
},
|
|
477
512
|
// 初始化抄表册片区
|
|
478
513
|
async initSlice (val) {
|
|
479
514
|
if (val) {
|
|
@@ -677,6 +712,7 @@
|
|
|
677
712
|
'f_meternumber': '表号',
|
|
678
713
|
'f_user_name': '客户名称',
|
|
679
714
|
'f_address': '地址',
|
|
715
|
+
'f_street': '街道',
|
|
680
716
|
'f_metertitles': '表箱号',
|
|
681
717
|
'f_user_type': '用户类型',
|
|
682
718
|
'f_gasproperties': '用气性质',
|
|
@@ -195,6 +195,20 @@
|
|
|
195
195
|
|
|
196
196
|
</v-select>
|
|
197
197
|
</div>
|
|
198
|
+
<div class="col-sm-2 form-group">
|
|
199
|
+
<label class="font_normal_body"> 街道 </label>
|
|
200
|
+
<v-select :value.sync="model.f_street"
|
|
201
|
+
class="select_list select"
|
|
202
|
+
enter-push
|
|
203
|
+
multiple = "true"
|
|
204
|
+
v-model="model.f_street"
|
|
205
|
+
style="width: 60%"
|
|
206
|
+
:options='$parent.$parent.street' placeholder='选择街道'
|
|
207
|
+
condition="f_street = '{}'"
|
|
208
|
+
close-on-select>
|
|
209
|
+
|
|
210
|
+
</v-select>
|
|
211
|
+
</div>
|
|
198
212
|
|
|
199
213
|
<div class="col-sm-2 form-group">
|
|
200
214
|
<label class="font_normal_body"> 客户地址</label>
|
|
@@ -292,6 +306,7 @@
|
|
|
292
306
|
<th><nobr>客户名称</nobr></th>
|
|
293
307
|
<th><nobr>客户状态</nobr></th>
|
|
294
308
|
<th><nobr>小区</nobr></th>
|
|
309
|
+
<th><nobr>街道</nobr></th>
|
|
295
310
|
<th><nobr>地址</nobr></th>
|
|
296
311
|
<th><nobr>用户类型</nobr></th>
|
|
297
312
|
<th><nobr>用气性质</nobr></th>
|
|
@@ -394,6 +409,8 @@
|
|
|
394
409
|
footer:[],
|
|
395
410
|
//小区
|
|
396
411
|
residentialArea: [],
|
|
412
|
+
//街道
|
|
413
|
+
street: [],
|
|
397
414
|
pcdslist:[],
|
|
398
415
|
org:[this.$login.f.orgid],
|
|
399
416
|
criteriaShow: false,
|
|
@@ -406,7 +423,7 @@
|
|
|
406
423
|
prices:[],
|
|
407
424
|
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
408
425
|
getfield:{"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
|
|
409
|
-
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_address":"地址","f_user_type":"用户类型",
|
|
426
|
+
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_street":"街道","f_address":"地址","f_user_type":"用户类型",
|
|
410
427
|
"f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
|
|
411
428
|
"delivery_date":"最后购气日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
412
429
|
"f_changemeter_date":"最后一次换表时间","sellcishu":"期间购气次数","sellpregas":"期间购气量","f_orgname":"组织机构"},
|
|
@@ -441,7 +458,7 @@
|
|
|
441
458
|
this.url = 'api/af-revenue/sql/inspectList_sellinggas'
|
|
442
459
|
this.sqlName = 'inspectList_sellinggas'
|
|
443
460
|
this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
|
|
444
|
-
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_address":"地址","f_user_type":"用户类型",
|
|
461
|
+
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_street":"街道","f_address":"地址","f_user_type":"用户类型",
|
|
445
462
|
"f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
|
|
446
463
|
"delivery_date":"最后购气日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
447
464
|
"f_changemeter_date":"最后一次换表时间",
|
|
@@ -450,7 +467,7 @@
|
|
|
450
467
|
this.url = 'api/af-revenue/sql/getwulw_listgas'
|
|
451
468
|
this.sqlName = 'getwulw_listgas'
|
|
452
469
|
this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
|
|
453
|
-
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_address":"地址","f_user_type":"用户类型",
|
|
470
|
+
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_street":"街道","f_address":"地址","f_user_type":"用户类型",
|
|
454
471
|
"f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
|
|
455
472
|
"delivery_date":"最后购气日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
456
473
|
"f_changemeter_date":"最后一次换表时间",
|
|
@@ -460,7 +477,7 @@
|
|
|
460
477
|
this.url = 'api/af-revenue/sql/handinspectList_sellinggas'
|
|
461
478
|
this.sqlName = 'handinspectList_sellinggas'
|
|
462
479
|
this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
|
|
463
|
-
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_address":"地址","f_user_type":"用户类型",
|
|
480
|
+
"f_user_name":"客户名称","f_user_state":"客户状态","f_residential_area":"小区","f_street":"街道","f_address":"地址","f_user_type":"用户类型",
|
|
464
481
|
"f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
|
|
465
482
|
"delivery_date":"最后抄表日期","f_meter_style":"气表类型","f_open_date":"开户日期","f_pcd":"区域","f_gasproperties2":"二级用气性质",
|
|
466
483
|
"f_changemeter_date":"最后一次换表时间",
|
|
@@ -547,6 +564,20 @@
|
|
|
547
564
|
}
|
|
548
565
|
this.residentialArea = house
|
|
549
566
|
|
|
567
|
+
console.log('开始获取街道')
|
|
568
|
+
let streets= await HttpReset.load('POST', 'api/af-revenue/sql/manage_getstreetlist', {
|
|
569
|
+
data: {
|
|
570
|
+
condition: `1=1 `
|
|
571
|
+
}
|
|
572
|
+
},{resolveMsg: null, rejectMsg: '获取街道失败!'})
|
|
573
|
+
console.log('街道',streets)
|
|
574
|
+
let streetValue = []
|
|
575
|
+
for (let row of streets.data){
|
|
576
|
+
console.log('开始保存街道')
|
|
577
|
+
streetValue.push({label: row.f_street, value: row.f_street})
|
|
578
|
+
}
|
|
579
|
+
this.street = streetValue
|
|
580
|
+
|
|
550
581
|
console.log('开始获取区域')
|
|
551
582
|
var req = await HttpReset.load('POST','api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
552
583
|
data: {
|
|
@@ -0,0 +1,773 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial @keyup.enter="search()">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2">
|
|
10
|
+
<label class="font_normal_body">  公司</label>
|
|
11
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
12
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2 ">
|
|
15
|
+
<label for="f_gasproperties"class="font_normal_body">用气性质</label>
|
|
16
|
+
<v-select id="f_gasproperties"
|
|
17
|
+
style="width:60%"
|
|
18
|
+
v-model="model.f_gasproperties"
|
|
19
|
+
placeholder='用气性质'
|
|
20
|
+
:value.sync="model.f_gasproperties"
|
|
21
|
+
:options='$parent.$parent.gasproperties'
|
|
22
|
+
condition="f_gasproperties = '{}'"
|
|
23
|
+
close-on-select >
|
|
24
|
+
</v-select>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-2" >
|
|
27
|
+
<label for="f_user_state" class="font_normal_body">客户状态</label>
|
|
28
|
+
<v-select :value.sync="model.f_user_state"
|
|
29
|
+
v-model="model.f_user_state"
|
|
30
|
+
:options='$parent.$parent.userstate' placeholder='请选择'
|
|
31
|
+
condition="f_user_state = '{}'"
|
|
32
|
+
close-on-select></v-select>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-2 flex-row" style="white-space: nowrap">
|
|
35
|
+
<label class="font_normal_body" v-if="$parent.$parent.meter_classify.includes('卡表') || $parent.$parent.meter_classify.includes('物联网表')" >未购天数</label>
|
|
36
|
+
<label class="font_normal_body" v-else>未抄天数</label>
|
|
37
|
+
<div class="row">
|
|
38
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
|
|
39
|
+
condition="diffday >= {} " placeholder="">
|
|
40
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
41
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
|
|
42
|
+
condition="diffday <= {} " placeholder="">
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="span" style="float:right;">
|
|
48
|
+
<button class="btn button_search" @click="search()">查询</button>
|
|
49
|
+
<button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
|
|
50
|
+
<button class="btn button_clear" @click="$parent.$parent.batchQuota()">批量限购</button>
|
|
51
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
52
|
+
:field="$parent.$parent.getfield"
|
|
53
|
+
:footer="$parent.$parent.footer"
|
|
54
|
+
:header="$parent.$parent.other"
|
|
55
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile"
|
|
56
|
+
:sql-name="$parent.$parent.sqlName"
|
|
57
|
+
template-name='用户稽查导出' :choose-col="true"></export-excel>
|
|
58
|
+
<print-data
|
|
59
|
+
:sum-field="$parent.$parent.getfield"
|
|
60
|
+
:model="$parent.model"
|
|
61
|
+
:field="$parent.$parent.getfield"
|
|
62
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
63
|
+
print-name="稽查查询打印"
|
|
64
|
+
:sumsmodel="$parent.$parent.sumsmodel" ></print-data>
|
|
65
|
+
<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>
|
|
66
|
+
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
70
|
+
<div class="col-sm-2 ">
|
|
71
|
+
<label class="font_normal_body">起始时间</label>
|
|
72
|
+
<datepicker id="startDate" placeholder="起始时间"
|
|
73
|
+
v-model="model.startDate"
|
|
74
|
+
style="width:60%"
|
|
75
|
+
:value.sync="model.startDate"
|
|
76
|
+
:disabled-days-of-Week="[]"
|
|
77
|
+
:format="'yyyy-MM-dd'"
|
|
78
|
+
:show-reset-button="reset">
|
|
79
|
+
</datepicker>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-2 ">
|
|
82
|
+
<label class="font_normal_body">截止时间</label>
|
|
83
|
+
<datepicker id="endDate" placeholder="截止时间"
|
|
84
|
+
v-model="model.endDate"
|
|
85
|
+
style="width:60%"
|
|
86
|
+
:value.sync="model.endDate"
|
|
87
|
+
:disabled-days-of-Week="[]"
|
|
88
|
+
:format="'yyyy-MM-dd'"
|
|
89
|
+
:show-reset-button="reset">
|
|
90
|
+
</datepicker>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="col-sm-2 ">
|
|
93
|
+
<label for="f_meter_classify"class="font_normal_body" title="参数名称:气表类型">气表类型</label>
|
|
94
|
+
<v-select id="f_meter_classify"
|
|
95
|
+
v-model="$parent.$parent.meter_classify"
|
|
96
|
+
placeholder='气表类型'
|
|
97
|
+
style="width:70%"
|
|
98
|
+
:value.sync="$parent.$parent.meter_classify"
|
|
99
|
+
:options='$parent.$parent.f_meter_classify'
|
|
100
|
+
:value-single="true"
|
|
101
|
+
close-on-select >
|
|
102
|
+
</v-select>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="col-sm-2 ">
|
|
105
|
+
<label for="f_table_state" class="font_normal_body"> 表状态</label>
|
|
106
|
+
<v-select id="f_table_state"
|
|
107
|
+
style="width:60%"
|
|
108
|
+
v-model="model.f_table_state"
|
|
109
|
+
placeholder='表状态'
|
|
110
|
+
:value.sync="model.f_table_state"
|
|
111
|
+
:options='$parent.$parent.tablestate'
|
|
112
|
+
condition="f_table_state = '{}'"
|
|
113
|
+
close-on-select >
|
|
114
|
+
</v-select>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="col-sm-2" >
|
|
117
|
+
<label class="font_normal_body" v-if="$parent.$parent.meter_classify.includes('卡表') || $parent.$parent.meter_classify.includes('物联网表')">购气次数</label>
|
|
118
|
+
<label class="font_normal_body" v-else>抄表次数</label>
|
|
119
|
+
<input type="text" style="width:25%" class="input_search" v-model="model.cishumin"
|
|
120
|
+
condition="cishu >= {} " placeholder="">
|
|
121
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
122
|
+
<input type="text" style="width:25%" class="input_search" v-model="model.cishumax"
|
|
123
|
+
condition="cishu <= {} " placeholder="">
|
|
124
|
+
</div>
|
|
125
|
+
<div class="col-sm-2">
|
|
126
|
+
<label class="font_normal_body" v-if="$parent.$parent.meter_classify.includes('卡表')"> 购气量</label>
|
|
127
|
+
<label class="font_normal_body" v-if="$parent.$parent.meter_classify === '机表'"> 用气量</label>
|
|
128
|
+
<label class="font_normal_body" v-if="$parent.$parent.meter_classify === '物联网表'">购气金额</label>
|
|
129
|
+
<input type="text" style="width:25%" class="input_search" v-model="model.pregasmin"
|
|
130
|
+
condition="pregas >= {} " placeholder="">
|
|
131
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
132
|
+
<input type="text" style="width:25%" class="input_search" v-model="model.pregasmax"
|
|
133
|
+
condition="pregas <= {} " placeholder="">
|
|
134
|
+
</div>
|
|
135
|
+
<div class="col-sm-2" v-if="$parent.$parent.meter_classify.includes('卡表')">
|
|
136
|
+
<label class="font_normal_body">购气金额</label>
|
|
137
|
+
<input type="text" style="width:25%" class="input_search" v-model="model.collectionmin"
|
|
138
|
+
condition="collection >= {} " placeholder="">
|
|
139
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
140
|
+
<input type="text" style="width:25%" class="input_search" v-model="model.collectionmax"
|
|
141
|
+
condition="collection <= {} " placeholder="">
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<div class="col-sm-2">
|
|
145
|
+
<label class="font_normal_body">  表号</label>
|
|
146
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
147
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
148
|
+
</div>
|
|
149
|
+
<div class="col-sm-2 ">
|
|
150
|
+
<label class="font_normal_body">用户类型</label>
|
|
151
|
+
<v-select :value.sync="model.f_user_type"
|
|
152
|
+
@change="$parent.$parent.userTypeChange()"
|
|
153
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
154
|
+
condition="f_user_type = '{}'"
|
|
155
|
+
close-on-select></v-select>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<div class="col-sm-2">
|
|
159
|
+
<label class="font_normal_body">客户名称</label>
|
|
160
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
161
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
162
|
+
</div>
|
|
163
|
+
<div class="col-sm-2">
|
|
164
|
+
<label class="font_normal_body">客户编号</label>
|
|
165
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
166
|
+
condition="f_userinfo_code like '%{}%' " placeholder="客户编号">
|
|
167
|
+
</div>
|
|
168
|
+
<div class="col-sm-2 form-group">
|
|
169
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
170
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
171
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
172
|
+
</div>
|
|
173
|
+
<div class="col-sm-2 form-group">
|
|
174
|
+
<label class="font_normal_body">客户地址</label>
|
|
175
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
176
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="col-sm-2 form-group">
|
|
179
|
+
<label class="font_normal_body"> 街道 </label>
|
|
180
|
+
<v-select :value.sync="model.f_street"
|
|
181
|
+
class="select_list select"
|
|
182
|
+
enter-push
|
|
183
|
+
multiple = "true"
|
|
184
|
+
v-model="model.f_street"
|
|
185
|
+
style="width: 60%"
|
|
186
|
+
condition="f_street = '{}'"
|
|
187
|
+
:options='$parent.$parent.street' placeholder='选择街道'
|
|
188
|
+
close-on-select>
|
|
189
|
+
|
|
190
|
+
</v-select>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="col-sm-2 form-group">
|
|
193
|
+
<label class="font_normal_body">客户电话</label>
|
|
194
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
195
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
196
|
+
</div>
|
|
197
|
+
<div class="col-sm-2 form-group">
|
|
198
|
+
<label class="font_normal_body">是否安检</label>
|
|
199
|
+
<v-select :value.sync="model.f_ischeck"
|
|
200
|
+
:options='$parent.$parent.ischecks'
|
|
201
|
+
placeholder='请选择'
|
|
202
|
+
v-model="model.f_ischeck"
|
|
203
|
+
condition="f_ischeck = '{}'"
|
|
204
|
+
close-on-select></v-select>
|
|
205
|
+
</div>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
</div>
|
|
209
|
+
|
|
210
|
+
</div>
|
|
211
|
+
</criteria>
|
|
212
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" :optional="true" v-ref:grid>
|
|
213
|
+
<template partial='head'>
|
|
214
|
+
<tr>
|
|
215
|
+
<th><nobr>序号</nobr></th>
|
|
216
|
+
<th><nobr>客户编号</nobr></th>
|
|
217
|
+
<th><nobr>客户电话</nobr></th>
|
|
218
|
+
<th><nobr>档案编号</nobr></th>
|
|
219
|
+
<th><nobr>表号</nobr></th>
|
|
220
|
+
<th><nobr>客户名称</nobr></th>
|
|
221
|
+
<th><nobr>客户状态</nobr></th>
|
|
222
|
+
<th><nobr>客户地址</nobr></th>
|
|
223
|
+
<th><nobr>街道</nobr></th>
|
|
224
|
+
<th><nobr>建档日期</nobr></th>
|
|
225
|
+
<th><nobr>客户类型</nobr></th>
|
|
226
|
+
<th><nobr>用气性质</nobr></th>
|
|
227
|
+
<th><nobr>表具状态</nobr></th>
|
|
228
|
+
<th><nobr>气表品牌</nobr></th>
|
|
229
|
+
<th><nobr>气价名称</nobr></th>
|
|
230
|
+
<th v-show="$parent.$parent.$parent.meter_classify.includes('卡表') || $parent.$parent.$parent.meter_classify.includes('物联网表')"><nobr>区间内最后购气日期</nobr></th>
|
|
231
|
+
<th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>区间内最后抄表日期</nobr></th>
|
|
232
|
+
<th v-show="$parent.$parent.$parent.meter_classify.includes('卡表') || $parent.$parent.$parent.meter_classify.includes('物联网表')"><nobr>区间内购气次数</nobr></th>
|
|
233
|
+
<th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>区间内抄表次数</nobr></th>
|
|
234
|
+
|
|
235
|
+
<th v-show="$parent.$parent.$parent.meter_classify.includes('卡表')"><nobr>区间内购气量</nobr></th>
|
|
236
|
+
<th v-show="$parent.$parent.$parent.meter_classify.includes('卡表') || $parent.$parent.$parent.meter_classify.includes('物联网表')"><nobr>区间内购气金额</nobr></th>
|
|
237
|
+
<th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>区间内用气量</nobr></th>
|
|
238
|
+
|
|
239
|
+
<th v-show="$parent.$parent.$parent.meter_classify.includes('卡表') || $parent.$parent.$parent.meter_classify.includes('物联网表')"><nobr>区间内未购气天数</nobr></th>
|
|
240
|
+
<th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>区间内未抄表天数</nobr></th>
|
|
241
|
+
<th><nobr>组织机构</nobr></th>
|
|
242
|
+
<th><nobr>安检次数</nobr></th>
|
|
243
|
+
<th><nobr>最后安检时间</nobr></th>
|
|
244
|
+
</tr>
|
|
245
|
+
</template>
|
|
246
|
+
<template partial='body'>
|
|
247
|
+
<td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
|
|
248
|
+
<td style="text-align: center;"><nobr>
|
|
249
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
250
|
+
</nobr> </td>
|
|
251
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
252
|
+
<td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
|
|
253
|
+
<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
254
|
+
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
255
|
+
<td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
|
|
256
|
+
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
257
|
+
<td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
|
|
258
|
+
<td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
|
|
259
|
+
<td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
|
|
260
|
+
<td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
|
|
261
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
262
|
+
<td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
|
|
263
|
+
<td style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></td>
|
|
264
|
+
|
|
265
|
+
<td style="text-align: center;"><nobr>{{row.cishu}}</nobr></td>
|
|
266
|
+
<td style="text-align: center;"><nobr>{{row.pregas}}</nobr></td>
|
|
267
|
+
<td style="text-align: center;" v-show="$parent.$parent.$parent.meter_classify.includes('卡表')"><nobr>{{row.collection}}</nobr></td>
|
|
268
|
+
<td style="text-align: center;"><nobr>{{row.diffday}}</nobr></td>
|
|
269
|
+
<td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
|
|
270
|
+
<td style="text-align: center;"><nobr>{{row.f_checknum}}</nobr></td>
|
|
271
|
+
<td style="text-align: center;"><nobr>{{row.f_last_check_date}}</nobr></td>
|
|
272
|
+
</template>
|
|
273
|
+
</data-grid>
|
|
274
|
+
</criteria-paged>
|
|
275
|
+
<table class="table-hover">
|
|
276
|
+
<tr style="position: relative" class="table-bordered">
|
|
277
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
278
|
+
<td v-if="meter_classify.includes('卡表')" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">购气量合计:  {{sumsmodel.pregas}}</td>
|
|
279
|
+
<td v-if="meter_classify === '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">抄表气量合计:  {{sumsmodel.pregas}}</td>
|
|
280
|
+
<td v-if="meter_classify === '物联网表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">购气金额合计:  {{sumsmodel.pregas}}</td>
|
|
281
|
+
</tr>
|
|
282
|
+
</table>
|
|
283
|
+
</div>
|
|
284
|
+
<div class="flex" v-if="show">
|
|
285
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
<modal :show.sync="batchQuotaModalShow" v-ref:secureQuotaModalShow
|
|
289
|
+
backdrop="false" class="secureQuotaModalShow" @modal-close="batchQuotaModalClose">
|
|
290
|
+
<header slot="modal-header" class="modal-header" style="text-align: center">
|
|
291
|
+
</header>
|
|
292
|
+
<article slot="modal-body" class="modal-body">
|
|
293
|
+
<validator name='v'>
|
|
294
|
+
<form class="form-horizontal select-overspread">
|
|
295
|
+
<div class="row">
|
|
296
|
+
<div class="col-sm-6 form-input-group" :class="[$v.third.required ? 'has-error' : '']">
|
|
297
|
+
<label class="font_normal_body col-sm-3">第三方缴费</label>
|
|
298
|
+
<input type="text" v-show="false" v-model="$refs.third.selectedItems"
|
|
299
|
+
v-validate:third='{required: true }'>
|
|
300
|
+
<v-select
|
|
301
|
+
:value.sync="quotaData.f_third_pay"
|
|
302
|
+
v-model="quotaData.f_third_pay"
|
|
303
|
+
:options='thirdPays'
|
|
304
|
+
:value-single="true"
|
|
305
|
+
close-on-select v-ref:third></v-select>
|
|
306
|
+
</div>
|
|
307
|
+
<div class="col-sm-6 form-input-group" :class="[$v.style.required ? 'has-error' : '']">
|
|
308
|
+
<label class="font_normal_body col-sm-3">限制类型</label>
|
|
309
|
+
<input type="text" v-show="false" v-model="$refs.style.selectedItems"
|
|
310
|
+
v-validate:style='{required: true }'>
|
|
311
|
+
<v-select
|
|
312
|
+
:value.sync="quotaData.f_limit_style"
|
|
313
|
+
v-model="quotaData.f_limit_style"
|
|
314
|
+
:options='limitstyle'
|
|
315
|
+
:value-single="true"
|
|
316
|
+
close-on-select v-ref:style></v-select>
|
|
317
|
+
</div>
|
|
318
|
+
</div>
|
|
319
|
+
<div class="row" style="margin-top:10px;" >
|
|
320
|
+
<div class="col-sm-6 form-input-group" :class="[$v.timetypes.required ? 'has-error' : '']">
|
|
321
|
+
<label class="font_normal_body col-sm-3">周期类型</label>
|
|
322
|
+
<input type="text" v-show="false" v-model="$refs.timetypes.selectedItems"
|
|
323
|
+
v-validate:timetypes='{required: true }'>
|
|
324
|
+
<v-select
|
|
325
|
+
:value.sync="quotaData.f_time_type"
|
|
326
|
+
v-model="quotaData.f_time_type"
|
|
327
|
+
:options='timeTypes'
|
|
328
|
+
:value-single="true"
|
|
329
|
+
close-on-select v-ref:timetypes></v-select>
|
|
330
|
+
</div>
|
|
331
|
+
<div class="col-sm-6 form-input-group" :class="[$v.f_time_value.required ? 'has-error' : '']">
|
|
332
|
+
<label class="font_normal_body col-sm-3">周期时长</label>
|
|
333
|
+
<input type="text" v-model="quotaData.f_time_value"
|
|
334
|
+
placeholder="周期时长"
|
|
335
|
+
style="vertical-align:middle"
|
|
336
|
+
v-validate:f_time_value='{required: true }'>
|
|
337
|
+
</div>
|
|
338
|
+
</div>
|
|
339
|
+
|
|
340
|
+
<div class="row" style="margin-top:10px;" v-if="quotaData.f_limit_style !=='按总量'">
|
|
341
|
+
<div class="col-sm-6 form-input-group" :class="[$v.f_limit_times.required ? 'has-error' : '']">
|
|
342
|
+
<label class="font_normal_body col-sm-3">限制次数</label>
|
|
343
|
+
<input type="text" style="width: 70%;display: inline-block" v-model="quotaData.f_limit_times" placeholder="限制次数" v-validate:f_limit_times='{required: true }'>
|
|
344
|
+
</div>
|
|
345
|
+
<div class="col-sm-6 form-input-group" v-if="quotaData.f_limit_type ==='气量'" :class="[$v.f_limit_value.required ? 'has-error' : '']">
|
|
346
|
+
<label class="font_normal_body col-sm-3">单次限购</label>
|
|
347
|
+
<input type="text" v-model="quotaData.f_limit_value" placeholder="单次限购" v-validate:f_limit_value='{required: true }'>
|
|
348
|
+
</div>
|
|
349
|
+
<div class="col-sm-6 form-input-group" v-if="quotaData.f_limit_type ==='金额'" :class="[$v.f_limit_amount.required ? 'has-error' : '']">
|
|
350
|
+
<label class="font_normal_body col-sm-3">单次限购</label>
|
|
351
|
+
<input type="text" v-model="quotaData.f_limit_amount" placeholder="单次限购" v-validate:f_limit_amount='{required: true }'>
|
|
352
|
+
</div>
|
|
353
|
+
</div>
|
|
354
|
+
<div class="row" style="margin-top:10px;" v-if="quotaData.f_limit_style ==='按总量'">
|
|
355
|
+
<div class="col-sm-6 form-input-group" v-if="quotaData.f_limit_type ==='气量'" :class="[$v.f_limit_value.required ? 'has-error' : '']">
|
|
356
|
+
<label class="font_normal_body col-sm-3">总限购量</label>
|
|
357
|
+
<input type="text" v-model="quotaData.f_limit_value" placeholder="单次限购" v-validate:f_limit_value='{required: true }'>
|
|
358
|
+
</div>
|
|
359
|
+
<div class="col-sm-6 form-input-group" v-if="quotaData.f_limit_type ==='金额'" :class="[$v.f_limit_amount.required ? 'has-error' : '']">
|
|
360
|
+
<label class="font_normal_body col-sm-3">总限购量</label>
|
|
361
|
+
<input type="text" v-model="quotaData.f_limit_amount" placeholder="单次限购" v-validate:f_limit_amount='{required: true }'>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="row" style="margin-top:10px;">
|
|
365
|
+
<div class="col-sm-6 form-input-group" :class="[$v.limittype.required ? 'has-error' : '']">
|
|
366
|
+
<label class="font_normal_body col-sm-3">支付限制</label>
|
|
367
|
+
<input type="text" v-show="false" v-model="$refs.limittype.selectedItems"
|
|
368
|
+
v-validate:limittype='{required: true }'>
|
|
369
|
+
<v-select
|
|
370
|
+
:value.sync="quotaData.f_limit_type"
|
|
371
|
+
v-model="quotaData.f_limit_type"
|
|
372
|
+
:options='limitTypes'
|
|
373
|
+
:value-single="true"
|
|
374
|
+
close-on-select v-ref:limittype></v-select>
|
|
375
|
+
</div>
|
|
376
|
+
<div class="col-sm-6 form-input-group">
|
|
377
|
+
<label class="font_normal_body col-sm-3">执行时间</label>
|
|
378
|
+
<datepicker placeholder="执行时间"
|
|
379
|
+
v-model="quotaData.f_start_date"
|
|
380
|
+
:value.sync="quotaData.f_start_date"
|
|
381
|
+
:format="'yyyy-MM-dd'">
|
|
382
|
+
</datepicker>
|
|
383
|
+
</div>
|
|
384
|
+
<div class="row auto">
|
|
385
|
+
<div class="col-sm-12 form-group form-input-group" :class="[$v.f_operate_reason.required ? 'has-error' : '']">
|
|
386
|
+
<label class="control-label">限购原因</label>
|
|
387
|
+
<div class="col-sm-4">
|
|
388
|
+
<textarea class="form-control col-sm-4"
|
|
389
|
+
v-model="quotaData.f_operate_reason"
|
|
390
|
+
v-validate:f_operate_reason='{required: true }'
|
|
391
|
+
placeholder="限购原因">
|
|
392
|
+
</textarea>
|
|
393
|
+
</div>
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
</form>
|
|
398
|
+
</validator>
|
|
399
|
+
</article>
|
|
400
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
401
|
+
<div class="modal-footer">
|
|
402
|
+
<button type="button" class="btn btn-default" :disabled="!$v.valid"
|
|
403
|
+
@click='batchQuotaConfirm'>确定
|
|
404
|
+
</button>
|
|
405
|
+
<button type="button" class="btn btn-default" @click='batchQuotaModalClose'>取消</button>
|
|
406
|
+
</div>
|
|
407
|
+
</footer>
|
|
408
|
+
</modal>
|
|
409
|
+
</div>
|
|
410
|
+
</template>
|
|
411
|
+
<script>
|
|
412
|
+
/**
|
|
413
|
+
*用户档案查询列表以及添加操作组件
|
|
414
|
+
*/
|
|
415
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
416
|
+
import Vue from 'vue'
|
|
417
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
418
|
+
|
|
419
|
+
let readySomething = async function (self) {
|
|
420
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
|
|
421
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
422
|
+
|
|
423
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
424
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
let HttpReset = new HttpResetClass()
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
console.log('开始获取街道')
|
|
431
|
+
let streets= await HttpReset.load('POST', 'api/af-revenue/sql/manage_getstreetlist', {
|
|
432
|
+
data: {
|
|
433
|
+
condition: `1=1 `
|
|
434
|
+
}
|
|
435
|
+
},{resolveMsg: null, rejectMsg: '获取街道失败!'})
|
|
436
|
+
console.log('街道',streets)
|
|
437
|
+
let streetValue = []
|
|
438
|
+
for (let row of streets.data){
|
|
439
|
+
console.log('开始保存街道')
|
|
440
|
+
streetValue.push({label: row.f_street, value: row.f_street})
|
|
441
|
+
}
|
|
442
|
+
self.street = streetValue
|
|
443
|
+
console.log('街道', self.street)
|
|
444
|
+
|
|
445
|
+
}
|
|
446
|
+
export default {
|
|
447
|
+
title: '用户稽查',
|
|
448
|
+
data () {
|
|
449
|
+
return {
|
|
450
|
+
other:[],
|
|
451
|
+
footer:[],
|
|
452
|
+
//街道
|
|
453
|
+
street: [],
|
|
454
|
+
org:[this.$login.f.orgid],
|
|
455
|
+
criteriaShow: false,
|
|
456
|
+
meter_classify:'气量卡表',
|
|
457
|
+
filialeNameStr: null,
|
|
458
|
+
filialeCodeStr: `and f_orgid = '${this.$login.f.orgid}'`,
|
|
459
|
+
userid: this.$login.f.id,
|
|
460
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
461
|
+
getfield:{"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号","f_user_name":"客户名称",
|
|
462
|
+
"f_user_state":"客户状态","f_user_phone":"客户电话","f_address":"地址","f_street":"街道","f_createfile_date":"建档日期","f_user_type":"用户类型",
|
|
463
|
+
"f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
|
|
464
|
+
"delivery_date":"区间内最后购气日期","cishu":"区间内购气次数","pregas":"区间内购气量","collection":"区间内购气金额",
|
|
465
|
+
"diffday":"区间内未购气天数","f_checknum":"安检次数","f_last_check_date":"最后安检日期"},
|
|
466
|
+
model: new PagedList('api/af-revenue/sql/inspectList', 50,{startDate:'this.model.startDate',endDate:'this.model.endDate'},{pregas: 0}),
|
|
467
|
+
rows: null,
|
|
468
|
+
//orgid:'',
|
|
469
|
+
show:false,
|
|
470
|
+
sqlName:'inspectList',
|
|
471
|
+
rowdata:{},
|
|
472
|
+
sumsmodel: {},
|
|
473
|
+
config: {
|
|
474
|
+
defaultPrint: ['f_userinfo_code','f_user_id']
|
|
475
|
+
},
|
|
476
|
+
thirdPays: [{label: '支持', value: '1'},{label: '不支持', value: '0'}],
|
|
477
|
+
timeTypes: [{label: '按月', value: '按月'},{label: '按日', value: '按日'}],
|
|
478
|
+
limitTypes: [{label: '气量', value: '气量'},{label: '金额', value: '金额'}],
|
|
479
|
+
limitstyle: [{label: '按次数', value: '按次数'},{label: '按总量', value: '按总量'}],
|
|
480
|
+
batchRowList: [],
|
|
481
|
+
quotaData: {
|
|
482
|
+
f_third_pay: '0',
|
|
483
|
+
f_time_type: '按月',
|
|
484
|
+
f_limit_times: '',
|
|
485
|
+
f_time_value: '',
|
|
486
|
+
f_limit_type: '气量',
|
|
487
|
+
f_limit_style:'',
|
|
488
|
+
f_limit_value: 0,
|
|
489
|
+
f_limit_amount: 0,
|
|
490
|
+
f_start_date: this.$login.toStandardDateString(),
|
|
491
|
+
f_operate_reason: '',
|
|
492
|
+
f_limit_source: '营收批量限购'
|
|
493
|
+
},
|
|
494
|
+
ischecks: [{label: '全部', value: ''},{label: '已安检', value: '已安检'},{label: '未安检', value: '未安检'}],
|
|
495
|
+
batchQuotaModalShow: false,
|
|
496
|
+
defaultfield: [],
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
watch:{
|
|
500
|
+
meter_classify(val){
|
|
501
|
+
if (val.includes('卡表')) {
|
|
502
|
+
this.model.url = this.url = 'api/af-revenue/sql/inspectList'
|
|
503
|
+
this.sqlName = 'inspectList'
|
|
504
|
+
this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号",
|
|
505
|
+
"f_meternumber": "表号",
|
|
506
|
+
"f_user_name": "客户名称",
|
|
507
|
+
"f_user_state": "客户状态",
|
|
508
|
+
"f_user_phone": "客户电话",
|
|
509
|
+
"f_address": "地址",
|
|
510
|
+
"f_street": "街道",
|
|
511
|
+
"f_createfile_date": "建档日期",
|
|
512
|
+
"f_user_type": "用户类型",
|
|
513
|
+
"f_gasproperties": "用气性质",
|
|
514
|
+
"f_table_state": "表具状态",
|
|
515
|
+
"f_meter_brand": "气表品牌",
|
|
516
|
+
"f_price_name": "气价名称",
|
|
517
|
+
"delivery_date": "区间内最后购气日期",
|
|
518
|
+
"cishu": "区间内购气次数",
|
|
519
|
+
"pregas": "区间内购气量",
|
|
520
|
+
"collection": "区间内购气金额",
|
|
521
|
+
"diffday": "区间内未购气天数",
|
|
522
|
+
"f_checknum": "安检次数",
|
|
523
|
+
"f_last_check_date": "最后安检日期"
|
|
524
|
+
}
|
|
525
|
+
} else if (val === '机表') {
|
|
526
|
+
this.model.url = this.url = 'api/af-revenue/sql/handinspectList'
|
|
527
|
+
this.sqlName = 'handinspectList'
|
|
528
|
+
this.getfield = {
|
|
529
|
+
"f_userinfo_code": "客户编号",
|
|
530
|
+
"f_olduserinfo_code": "档案编号",
|
|
531
|
+
"f_meternumber": "表号",
|
|
532
|
+
"f_user_name": "客户名称",
|
|
533
|
+
"f_user_state": "客户状态",
|
|
534
|
+
"f_user_phone": "客户电话",
|
|
535
|
+
"f_address": "地址",
|
|
536
|
+
"f_street": "街道",
|
|
537
|
+
"f_createfile_date": "建档日期",
|
|
538
|
+
"f_user_type": "用户类型",
|
|
539
|
+
"f_gasproperties": "用气性质",
|
|
540
|
+
"f_table_state": "表具状态",
|
|
541
|
+
"f_meter_brand": "气表品牌",
|
|
542
|
+
"f_price_name": "气价名称",
|
|
543
|
+
"delivery_date": "区间内最后抄表日期",
|
|
544
|
+
"cishu": "区间内抄表次数",
|
|
545
|
+
"pregas": "区间内抄表气量",
|
|
546
|
+
"diffday": "区间内未抄表天数",
|
|
547
|
+
"f_checknum": "安检次数",
|
|
548
|
+
"f_last_check_date": "最后安检日期"
|
|
549
|
+
}
|
|
550
|
+
} else if (val === '物联网表') {
|
|
551
|
+
this.model.url = this.url = 'api/af-revenue/sql/getWebMeterList'
|
|
552
|
+
this.sqlName = 'getWebMeterList'
|
|
553
|
+
this.getfield = {
|
|
554
|
+
"f_userinfo_code": "客户编号",
|
|
555
|
+
"f_olduserinfo_code": "档案编号",
|
|
556
|
+
"f_meternumber": "表号",
|
|
557
|
+
"f_user_name": "客户名称",
|
|
558
|
+
"f_user_state": "客户状态",
|
|
559
|
+
"f_user_phone": "客户电话",
|
|
560
|
+
"f_address": "地址",
|
|
561
|
+
"f_street": "街道",
|
|
562
|
+
"f_createfile_date": "建档日期",
|
|
563
|
+
"f_user_type": "用户类型",
|
|
564
|
+
"f_gasproperties": "用气性质",
|
|
565
|
+
"f_table_state": "表具状态",
|
|
566
|
+
"f_meter_brand": "气表品牌",
|
|
567
|
+
"f_price_name": "气价名称",
|
|
568
|
+
"delivery_date": "区间内最后购气日期",
|
|
569
|
+
"cishu": "区间内购气次数",
|
|
570
|
+
"pregas": "区间内购气金额",
|
|
571
|
+
"diffday": "区间内未购气天数",
|
|
572
|
+
"f_checknum": "安检次数",
|
|
573
|
+
"f_last_check_date": "最后安检日期"
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
this.clear()
|
|
577
|
+
this.model.rows = []
|
|
578
|
+
for (let key in this.model.sums) {
|
|
579
|
+
this.model.sums[key] = 0
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
},
|
|
583
|
+
sumsmodel: {
|
|
584
|
+
handler: function (val) {
|
|
585
|
+
this.getotherfooter();
|
|
586
|
+
},
|
|
587
|
+
deep: true
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
ready() {
|
|
591
|
+
|
|
592
|
+
readySomething(this).then(() => {
|
|
593
|
+
this.$emit('ready')
|
|
594
|
+
}).catch((error) => {
|
|
595
|
+
this.$emit('error', error)
|
|
596
|
+
})
|
|
597
|
+
|
|
598
|
+
// 添加回车键监听
|
|
599
|
+
document.addEventListener('keyup', this.handleKeyUp)
|
|
600
|
+
|
|
601
|
+
},
|
|
602
|
+
methods: {
|
|
603
|
+
// 添加处理回车键的方法
|
|
604
|
+
handleKeyUp(e) {
|
|
605
|
+
if (e.key === 'Enter') {
|
|
606
|
+
this.search()
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
batchQuotaConfirm() {
|
|
610
|
+
let selectRow = this.$refs.paged.$refs.grid.getRowData()
|
|
611
|
+
let selectRowLen = selectRow.length
|
|
612
|
+
let msg = {
|
|
613
|
+
resolveMsg: `您已成功限购${selectRowLen}位用户!`,
|
|
614
|
+
rejectMsg: '批量作废限购失败!'
|
|
615
|
+
}
|
|
616
|
+
this.batchRowList = []
|
|
617
|
+
selectRow.forEach(row => {
|
|
618
|
+
this.batchRowList.push({"f_userinfo_id": row.f_userinfo_id, "f_priceid": row.f_priceid})
|
|
619
|
+
})
|
|
620
|
+
this.$showMessage(`您确定要将您你选中的${selectRowLen}位用户进行批量限购吗?`, ['confirm', 'cancel']).then(async (res) => {
|
|
621
|
+
if (res === 'confirm') {
|
|
622
|
+
console.log('所选中的用户:=======' + JSON.stringify(this.batchRowList))
|
|
623
|
+
let data = {
|
|
624
|
+
limitUserList: this.batchRowList,
|
|
625
|
+
f_operate_people: this.$login.f.name,
|
|
626
|
+
f_operate_peopleid: this.$login.f.id,
|
|
627
|
+
model: this.quotaData,
|
|
628
|
+
f_operate_type: '0'
|
|
629
|
+
}
|
|
630
|
+
await this.$resetpost('api/af-revenue/logic/sale_operateQuotaRecord', {data: data}, msg)
|
|
631
|
+
this.batchQuotaModalClose()
|
|
632
|
+
this.search()
|
|
633
|
+
}
|
|
634
|
+
})
|
|
635
|
+
},
|
|
636
|
+
batchQuotaModalClose() {
|
|
637
|
+
this.quotaData = {
|
|
638
|
+
f_third_pay: '0',
|
|
639
|
+
f_time_type: '按月',
|
|
640
|
+
f_limit_times: '',
|
|
641
|
+
f_time_value: '',
|
|
642
|
+
f_limit_type: '气量',
|
|
643
|
+
f_limit_style: '',
|
|
644
|
+
f_limit_value: 0,
|
|
645
|
+
f_limit_amount: 0,
|
|
646
|
+
f_start_date: this.$login.toStandardDateString(),
|
|
647
|
+
f_operate_reason: '',
|
|
648
|
+
f_limit_source: '营收批量限购'
|
|
649
|
+
}
|
|
650
|
+
this.batchQuotaModalShow = false
|
|
651
|
+
},
|
|
652
|
+
batchQuota() {
|
|
653
|
+
if (!this.$login.r.find(value => value == '稽查批量限购')) {
|
|
654
|
+
this.$showAlert('您没有权限操作此功能!!!', 'warning', 2000)
|
|
655
|
+
return
|
|
656
|
+
}
|
|
657
|
+
if (this.$refs.paged.$refs.grid.getRowData().length === 0) {
|
|
658
|
+
this.$showAlert('请至少选择一项!', 'warning', 2000)
|
|
659
|
+
return
|
|
660
|
+
}
|
|
661
|
+
this.batchQuotaModalShow = true
|
|
662
|
+
},
|
|
663
|
+
getotherfooter() {
|
|
664
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
665
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
666
|
+
this.other = [];
|
|
667
|
+
this.footer = [];
|
|
668
|
+
let exportdata = this.getCondition;
|
|
669
|
+
let otherInData = [];
|
|
670
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
671
|
+
let footerData = [], exportfield = this.getfield;
|
|
672
|
+
footerData.push("合计");
|
|
673
|
+
let self = this;
|
|
674
|
+
for (var field in self.sumsmodel) {
|
|
675
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
676
|
+
}
|
|
677
|
+
this.footer.push(footerData);
|
|
678
|
+
this.other.push(otherInData);
|
|
679
|
+
},
|
|
680
|
+
getorg(obj) {
|
|
681
|
+
if (obj.resids.length > 0) {
|
|
682
|
+
this.filialeCodeStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
|
|
683
|
+
} else {
|
|
684
|
+
this.filialeCodeStr = " and f_orgid = " + this.$login.f.orgid
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
userTypeChange() {
|
|
688
|
+
this.gasproperties = []
|
|
689
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
690
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
691
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
692
|
+
} else {
|
|
693
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
|
|
697
|
+
cancel() {
|
|
698
|
+
this.show = false
|
|
699
|
+
},
|
|
700
|
+
showmsg(obj) {
|
|
701
|
+
this.rowdata = obj
|
|
702
|
+
this.show = true
|
|
703
|
+
},
|
|
704
|
+
search() {
|
|
705
|
+
this.$refs.paged.$refs.cri.search()
|
|
706
|
+
},
|
|
707
|
+
selfSearch(args) {
|
|
708
|
+
if (!this.meter_classify) {
|
|
709
|
+
this.$showMessage('请选择气表类型。。。')
|
|
710
|
+
return
|
|
711
|
+
}
|
|
712
|
+
this.model.params.meter_classify = this.meter_classify
|
|
713
|
+
args.condition = args.condition + ` ${this.filialeCodeStr}`
|
|
714
|
+
this.model.search(args.condition, args.model)
|
|
715
|
+
},
|
|
716
|
+
hidden() {
|
|
717
|
+
this.criteriaShow = !this.criteriaShow
|
|
718
|
+
},
|
|
719
|
+
clear() {
|
|
720
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
721
|
+
if (key != 'startDate' && key != 'endDate')
|
|
722
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
723
|
+
})
|
|
724
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStartAndEndDateString()[0]
|
|
725
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
computed: {
|
|
729
|
+
gasproperties() {
|
|
730
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
731
|
+
},
|
|
732
|
+
usertypes() {
|
|
733
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
734
|
+
},
|
|
735
|
+
userstate() {
|
|
736
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
737
|
+
},
|
|
738
|
+
tablestate() {
|
|
739
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
740
|
+
},
|
|
741
|
+
f_meter_classify() {
|
|
742
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
743
|
+
// return [{label: '机表', value: '机表'},{label: '卡表', value: '卡表'},{label: '物联网表', value: '物联网表'}]
|
|
744
|
+
// return [{label: '卡表', value: '卡表'}]
|
|
745
|
+
},
|
|
746
|
+
|
|
747
|
+
getCondition() {
|
|
748
|
+
let result = {
|
|
749
|
+
condition: '',
|
|
750
|
+
diffDay: ' 1=1 ',
|
|
751
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
752
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
753
|
+
}
|
|
754
|
+
result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
|
|
755
|
+
|
|
756
|
+
return result
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
beforeDestroy() {
|
|
760
|
+
// 组件销毁前移除事件监听
|
|
761
|
+
document.removeEventListener('keyup', this.handleKeyUp)
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
</script>
|
|
765
|
+
<style media="screen">
|
|
766
|
+
.divtext {
|
|
767
|
+
min-width: 50px;
|
|
768
|
+
max-width: 200px;
|
|
769
|
+
border: 1px solid green;
|
|
770
|
+
display: inline-block;
|
|
771
|
+
}
|
|
772
|
+
</style>
|
|
773
|
+
|
|
@@ -25,6 +25,10 @@ export default function () {
|
|
|
25
25
|
})
|
|
26
26
|
// 用气稽查
|
|
27
27
|
Vue.component('gas-inspection', (resolve) => { require(['./GasInspection'], resolve) })
|
|
28
|
+
// 用户稽查查询
|
|
29
|
+
Vue.component('inspect-list-user', (resolve) => {
|
|
30
|
+
require(['./InspectListUser'], resolve)
|
|
31
|
+
})
|
|
28
32
|
// 换表查询
|
|
29
33
|
Vue.component('change-meter-query', (resolve) => {
|
|
30
34
|
require(['./ChangeMeterQuery'], resolve)
|
|
@@ -5,60 +5,17 @@
|
|
|
5
5
|
<criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
|
|
6
6
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
7
|
<div class="row">
|
|
8
|
-
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
<label class="font_normal_body">客户编号</label>
|
|
11
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
12
|
-
v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
13
|
-
condition="u.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
|
|
14
|
-
>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-2 form-group">
|
|
17
|
-
<label class="font_normal_body">客户名称</label>
|
|
18
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
19
|
-
v-model="model.f_username" placeholder='客户名称'
|
|
20
|
-
condition="u.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-2 form-group">
|
|
23
|
-
<label class="font_normal_body">客户地址</label>
|
|
24
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
25
|
-
v-model="model.f_address" placeholder='地址'
|
|
26
|
-
condition="a.f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
|
|
27
|
-
>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-2 form-group">
|
|
30
|
-
<label class="font_normal_body">表  号</label>
|
|
31
|
-
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
32
|
-
v-model="model.f_meternumber" placeholder='表钢号'
|
|
33
|
-
condition="uf.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
|
|
34
|
-
>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="span" style="float:right;margin-top:10px">
|
|
37
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
38
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
39
|
-
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
40
|
-
:field="$parent.$parent.getfield"
|
|
41
|
-
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeter_getNewHandChanceList" template-name='抄表分析'
|
|
42
|
-
:choose-col="true"></export-excel>
|
|
43
|
-
<button class="button_export button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
44
|
-
<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>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
8
|
<div class="col-sm-2 form-group">
|
|
49
9
|
<label class="font_normal_body">公  司</label>
|
|
50
10
|
<right-tree @re-res="$parent.$parent.getRes"
|
|
51
11
|
:initresid='$parent.$parent.orgid'></right-tree>
|
|
52
|
-
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
53
|
-
<!-- <res-select :initresid="$parent.$parent.orgid"-->
|
|
54
|
-
<!-- style="width:60%"-->
|
|
55
|
-
<!-- @res-select="$parent.$parent.getRes"-->
|
|
56
|
-
<!-- restype='organization'>-->
|
|
57
|
-
<!-- </res-select>-->
|
|
12
|
+
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
13
|
+
<!-- <res-select :initresid="$parent.$parent.orgid"-->
|
|
14
|
+
<!-- style="width:60%"-->
|
|
15
|
+
<!-- @res-select="$parent.$parent.getRes"-->
|
|
16
|
+
<!-- restype='organization'>-->
|
|
17
|
+
<!-- </res-select>-->
|
|
58
18
|
</div>
|
|
59
|
-
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
60
|
-
|
|
61
|
-
<!-- <res-select-group :initres="$parent.$parent.initres" :show-component="['company']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
62
19
|
<div class="col-sm-2 form-group">
|
|
63
20
|
<label class="font_normal_body">用户类型</label>
|
|
64
21
|
<v-select style="width:60%" id="f_user_type"
|
|
@@ -71,17 +28,6 @@
|
|
|
71
28
|
close-on-select>
|
|
72
29
|
</v-select>
|
|
73
30
|
</div>
|
|
74
|
-
<div class="col-sm-2 form-group">
|
|
75
|
-
<label class="font_normal_body">用气性质</label>
|
|
76
|
-
<v-select style="width:60%" id="f_gasproperties"
|
|
77
|
-
v-model="model.f_gasproperties"
|
|
78
|
-
placeholder='用气性质'
|
|
79
|
-
:value.sync="model.f_gasproperties"
|
|
80
|
-
:options='$parent.$parent.gasproperties'
|
|
81
|
-
condition="uf.f_gasproperties = '{}'"
|
|
82
|
-
close-on-select>
|
|
83
|
-
</v-select>
|
|
84
|
-
</div>
|
|
85
31
|
<div class="col-sm-2 form-group">
|
|
86
32
|
<label class="font_normal_body">气表品牌</label>
|
|
87
33
|
<v-select
|
|
@@ -95,37 +41,19 @@
|
|
|
95
41
|
v-model="model.f_meter_brand">
|
|
96
42
|
</v-select>
|
|
97
43
|
</div>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<!-- </v-select>-->
|
|
109
|
-
<!-- </div>-->
|
|
110
|
-
<div class="col-sm-2 form-group" >
|
|
111
|
-
<label class="font_normal_body">气表型号</label>
|
|
112
|
-
<v-select
|
|
113
|
-
placeholder='气表型号'
|
|
114
|
-
:value.sync="model.f_meter_style"
|
|
115
|
-
v-model="model.f_meter_style"
|
|
116
|
-
:options='$parent.$parent.meterstyle[model.f_meter_brand]'
|
|
117
|
-
close-on-select
|
|
118
|
-
condition="gm.f_meter_style='{}'">
|
|
119
|
-
</v-select>
|
|
120
|
-
<!-- <v-select v-if="!$parent.$parent.styles"-->
|
|
121
|
-
<!-- placeholder='气表型号'-->
|
|
122
|
-
<!-- :value.sync="model.f_meter_style"-->
|
|
123
|
-
<!-- v-model="model.f_meter_style"-->
|
|
124
|
-
<!-- :options='$parent.$parent.Warningstyles'-->
|
|
125
|
-
<!-- close-on-select-->
|
|
126
|
-
<!-- condition="f_meter_style='{}'">-->
|
|
127
|
-
<!-- </v-select>-->
|
|
44
|
+
|
|
45
|
+
<div class="span" style="float:right;margin-top:10px">
|
|
46
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
47
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
48
|
+
<export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
|
|
49
|
+
:field="$parent.$parent.getfield"
|
|
50
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeter_getNewHandChanceList" template-name='抄表分析'
|
|
51
|
+
:choose-col="true"></export-excel>
|
|
52
|
+
<button class="button_export button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
|
|
53
|
+
<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>
|
|
128
54
|
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
129
57
|
<div class="col-sm-2 form-group">
|
|
130
58
|
<label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
|
|
131
59
|
<datepicker style="width:60%" placeholder="起始时间"
|
|
@@ -142,48 +70,6 @@
|
|
|
142
70
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
143
71
|
></datepicker>
|
|
144
72
|
</div>
|
|
145
|
-
<div class="col-sm-2 form-group">
|
|
146
|
-
<label class="font_normal_body">气价类型</label>
|
|
147
|
-
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
148
|
-
@change="$parent.$parent.pricetypechanged"
|
|
149
|
-
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
150
|
-
close-on-select v-ref:type>
|
|
151
|
-
</v-select>
|
|
152
|
-
</div>
|
|
153
|
-
<div class="col-sm-2 form-group">
|
|
154
|
-
<label class="font_normal_body">气价名称</label>
|
|
155
|
-
<v-select :value.sync="model.f_price_id"
|
|
156
|
-
v-model="model.f_price_id"
|
|
157
|
-
:multiple="true"
|
|
158
|
-
:options="$parent.$parent.getPricenames"
|
|
159
|
-
condition="uf.f_price_id in {}"
|
|
160
|
-
></v-select>
|
|
161
|
-
</div>
|
|
162
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
163
|
-
<!-- <label class="font_normal_body">壁 挂 炉</label>-->
|
|
164
|
-
<!-- <v-select id="f_meter_brand"-->
|
|
165
|
-
<!-- v-model="model.f_usetype"-->
|
|
166
|
-
<!-- placeholder='壁挂炉'-->
|
|
167
|
-
<!-- :value.sync="model.f_usetype"-->
|
|
168
|
-
<!-- :options='$parent.$parent.usetypes'-->
|
|
169
|
-
<!-- condition="" :search="false"-->
|
|
170
|
-
<!-- close-on-select style="width: 60%">-->
|
|
171
|
-
<!-- </v-select>-->
|
|
172
|
-
<!-- </div>-->
|
|
173
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
174
|
-
<!-- <label class="font_normal_body">房屋类型</label>-->
|
|
175
|
-
<!-- <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"-->
|
|
176
|
-
<!-- :options='$parent.$parent.houseTypes' placeholder='请选择'-->
|
|
177
|
-
<!-- close-on-select-->
|
|
178
|
-
<!-- condition=""></v-select>-->
|
|
179
|
-
<!-- </div>-->
|
|
180
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
181
|
-
<!-- <label class="font_normal_body">安装位置</label>-->
|
|
182
|
-
<!-- <v-select :value.sync="model.f_position" v-model="model.f_position"-->
|
|
183
|
-
<!-- :options='$parent.$parent.positions' placeholder='请选择'-->
|
|
184
|
-
<!-- condition=""-->
|
|
185
|
-
<!-- close-on-select></v-select>-->
|
|
186
|
-
<!-- </div>-->
|
|
187
73
|
</div>
|
|
188
74
|
</div>
|
|
189
75
|
</criteria>
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|