manage-client 3.2.80 → 3.2.83-1
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 +6 -6
- package/package.json +1 -1
- package/src/components/SellReport/NonResidentGas.vue +13 -0
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +36 -30
- package/src/components/SellReport/SellDepReport.vue +269 -266
- package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +35 -40
- package/src/components/sale/businessquery/BalanceTable.vue +29 -31
- package/src/components/sale/businessquery/BusinesQuery.vue +57 -18
- package/src/components/sale/businessquery/BusinessManage.vue +3 -1
- package/src/components/sale/businessquery/CancellationQuery.vue +37 -6
- package/src/components/sale/businessquery/CardHandplanQuery.vue +34 -6
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +38 -7
- package/src/components/sale/businessquery/CollectManage.vue +9 -3
- package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
- package/src/components/sale/businessquery/DepositDetail.vue +16 -17
- package/src/components/sale/businessquery/DisableQuery.vue +40 -9
- package/src/components/sale/businessquery/EnableQuery.vue +66 -34
- package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
- package/src/components/sale/businessquery/FillCardQuery.vue +38 -6
- package/src/components/sale/businessquery/FillGasQuery.vue +45 -7
- package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
- package/src/components/sale/businessquery/HandBookQuery.vue +37 -38
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +38 -37
- package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
- package/src/components/sale/businessquery/Handgasquery.vue +30 -33
- package/src/components/sale/businessquery/HandplanQuery.vue +1372 -1327
- package/src/components/sale/businessquery/InfoOperateRecord.vue +13 -1
- package/src/components/sale/businessquery/MonthGasQuery.vue +2 -1
- package/src/components/sale/businessquery/MoveMeterQuery.vue +43 -9
- package/src/components/sale/businessquery/NoBusinessQuery.vue +23 -26
- package/src/components/sale/businessquery/OtherChargeQuery.vue +37 -6
- package/src/components/sale/businessquery/PlotSummaryQuery.vue +22 -21
- package/src/components/sale/businessquery/PrickBillQuery.vue +15 -13
- package/src/components/sale/businessquery/PrivilegeQuery.vue +37 -7
- package/src/components/sale/businessquery/ProceedsOper.vue +4 -10
- package/src/components/sale/businessquery/ReceiptQuery.vue +9 -6
- package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +23 -24
- package/src/components/sale/businessquery/ResidentialQuery.vue +21 -28
- package/src/components/sale/businessquery/ReverseQuery.vue +37 -6
- package/src/components/sale/businessquery/SellOrgnameQuery.vue +29 -27
- package/src/components/sale/businessquery/SellPeopleQuery.vue +29 -30
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +27 -26
- package/src/components/sale/businessquery/TransferQuery.vue +55 -23
- package/src/components/sale/businessquery/UnhandBusiness.vue +324 -0
- package/src/components/sale/businessquery/UserSellHeadDetail.vue +30 -33
- package/src/components/sale/businessquery/YingShouMingXi.vue +10 -15
- package/src/components/sale/businessquery/YonghuJieyu.vue +4 -2
- package/src/components/sale/businessquery/gasPriceQuery.vue +1 -2
- package/src/components/sale/businessquery/handplan-info.vue +405 -0
- package/src/components/sale/businessquery/overDueQuery.vue +39 -29
- package/src/components/sale/businessquery/priceadjustQuery.vue +36 -6
- package/src/components/sale/businessquery/sellingChargePrice.vue +667 -0
- package/src/components/sale/config/exportConfig.js +20 -1
- package/src/filiale/qianneng/ChargeQuery.vue +1289 -0
- package/src/filiale/qianneng/HandplanQuery.vue +1352 -0
- package/src/filiale/qianneng/OtherChargeQuery.vue +13 -1
- package/src/filiale/qianneng/exportConfig.js +69 -35
- package/src/filiale/qianneng/sale.js +3 -1
- package/src/saleManage.js +10 -2
|
@@ -39,6 +39,18 @@
|
|
|
39
39
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
40
40
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
41
41
|
|
|
42
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
43
|
+
:field="$parent.$parent.getfield"
|
|
44
|
+
:footer="$parent.$parent.footer"
|
|
45
|
+
:header="$parent.$parent.other"
|
|
46
|
+
sqlurl="rs/logic/exportfile"
|
|
47
|
+
sql-name="infoOperateRecordQuery"
|
|
48
|
+
template-name='维护记录导出'
|
|
49
|
+
:choose-col="true"></export-excel>
|
|
50
|
+
<print-data :model="$parent.model"
|
|
51
|
+
:field="$parent.$parent.getfield"
|
|
52
|
+
titletable="维护记录导出"></print-data>
|
|
53
|
+
|
|
42
54
|
<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>
|
|
43
55
|
</div>
|
|
44
56
|
</div>
|
|
@@ -278,7 +290,7 @@
|
|
|
278
290
|
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
279
291
|
},
|
|
280
292
|
getfield() {
|
|
281
|
-
return exportConfig.
|
|
293
|
+
return exportConfig.InfoOperateRecordConfig
|
|
282
294
|
},
|
|
283
295
|
metertypes() {
|
|
284
296
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
@@ -94,7 +94,6 @@
|
|
|
94
94
|
condition="f_state in {} "
|
|
95
95
|
close-on-select></v-select>
|
|
96
96
|
</div>
|
|
97
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
98
97
|
<div class="col-sm-2 form-group">
|
|
99
98
|
<label class="font_normal_body" title="参数名称:气表类型">气表类型</label>
|
|
100
99
|
<v-select :value.sync="model.f_meter_style"
|
|
@@ -102,6 +101,8 @@
|
|
|
102
101
|
condition="f_meter_style = '{}'"
|
|
103
102
|
close-on-select></v-select>
|
|
104
103
|
</div>
|
|
104
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
105
|
+
|
|
105
106
|
</div>
|
|
106
107
|
</div>
|
|
107
108
|
</criteria>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
|
|
59
59
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
60
|
-
|
|
60
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
61
61
|
<div class="col-sm-2 form-group">
|
|
62
62
|
<label class="font_normal_body">客户名称</label>
|
|
63
63
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
@@ -74,19 +74,27 @@
|
|
|
74
74
|
<template partial='head'>
|
|
75
75
|
<tr>
|
|
76
76
|
<th>
|
|
77
|
-
<nobr>客户编号</nobr
|
|
77
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
78
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
79
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
78
80
|
</th>
|
|
79
81
|
<th>
|
|
80
82
|
<nobr>客户名称</nobr>
|
|
81
83
|
</th>
|
|
82
84
|
<th>
|
|
83
|
-
<nobr>档案编号</nobr
|
|
85
|
+
<!-- <nobr>档案编号</nobr>-->
|
|
86
|
+
<data-order field="f_userinfo_code" name="档案编号"
|
|
87
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
84
88
|
</th>
|
|
85
89
|
<th>
|
|
86
|
-
<nobr>旧地址</nobr
|
|
90
|
+
<!-- <nobr>旧地址</nobr>-->
|
|
91
|
+
<data-order field="f_address" name="旧地址"
|
|
92
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
87
93
|
</th>
|
|
88
94
|
<th>
|
|
89
|
-
<nobr>新地址</nobr
|
|
95
|
+
<!-- <nobr>新地址</nobr>-->
|
|
96
|
+
<data-order field="f_address_new" name="新地址"
|
|
97
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
90
98
|
</th>
|
|
91
99
|
<th>
|
|
92
100
|
<nobr>旧表箱号</nobr>
|
|
@@ -95,7 +103,9 @@
|
|
|
95
103
|
<nobr>新表箱号</nobr>
|
|
96
104
|
</th>
|
|
97
105
|
<th>
|
|
98
|
-
<nobr>操作日期</nobr
|
|
106
|
+
<!-- <nobr>操作日期</nobr>-->
|
|
107
|
+
<data-order field="f_operate_date" name="操作日期"
|
|
108
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
99
109
|
</th>
|
|
100
110
|
<th>
|
|
101
111
|
<nobr>人员</nobr>
|
|
@@ -196,7 +206,12 @@
|
|
|
196
206
|
data: {},
|
|
197
207
|
other: [],
|
|
198
208
|
footer: [],
|
|
199
|
-
|
|
209
|
+
//排序
|
|
210
|
+
orderitem:'f_operate_date desc',
|
|
211
|
+
orderFields: {
|
|
212
|
+
f_operate_date: 'no'
|
|
213
|
+
},
|
|
214
|
+
model: new PagedList('rs/sql/movemeterQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}),
|
|
200
215
|
criteriaShow: false,
|
|
201
216
|
// headData: ["客户编号", "客户名称", "操作人", "操作日期", "启用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
202
217
|
// bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
@@ -330,7 +345,25 @@
|
|
|
330
345
|
})
|
|
331
346
|
this.modelval = sortModel
|
|
332
347
|
console.log('选择的打印的字段', this.modelval)
|
|
348
|
+
},
|
|
349
|
+
sort (field, rule) {
|
|
350
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
351
|
+
for (let key in this.orderFields) {
|
|
352
|
+
if (key === field) {
|
|
353
|
+
this.orderFields[key] = rule
|
|
354
|
+
} else {
|
|
355
|
+
this.orderFields[key] = 'no'
|
|
356
|
+
}
|
|
333
357
|
}
|
|
358
|
+
// 如果新规则不排序,还原为默认排序
|
|
359
|
+
if (rule === 'no') {
|
|
360
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
361
|
+
} else {
|
|
362
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
this.search()
|
|
366
|
+
}
|
|
334
367
|
},
|
|
335
368
|
watch: {
|
|
336
369
|
'all'(val) {
|
|
@@ -353,7 +386,8 @@
|
|
|
353
386
|
},
|
|
354
387
|
computed: {
|
|
355
388
|
getCondition() {
|
|
356
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr
|
|
389
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr,
|
|
390
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
357
391
|
},
|
|
358
392
|
getfield() {
|
|
359
393
|
return exportConfig.movemeterConfig
|
|
@@ -6,32 +6,6 @@
|
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
9
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
10
|
-
|
|
11
|
-
<div class="span" style="float:right;">
|
|
12
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
13
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
14
|
-
|
|
15
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
16
|
-
:field="$parent.$parent.getfield"
|
|
17
|
-
:footer="$parent.$parent.footer"
|
|
18
|
-
:header="$parent.$parent.other"
|
|
19
|
-
sqlurl="rs/logic/exportfile"
|
|
20
|
-
sql-name="noBusinessQuery"
|
|
21
|
-
template-name='非收费业务查询导出'
|
|
22
|
-
:choose-col="true"></export-excel>
|
|
23
|
-
|
|
24
|
-
<print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
|
|
25
|
-
:defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
|
|
26
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
27
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
28
|
-
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
29
|
-
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
34
|
-
|
|
35
9
|
<div class="col-sm-2 form-group">
|
|
36
10
|
|
|
37
11
|
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
@@ -58,6 +32,29 @@
|
|
|
58
32
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
59
33
|
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
60
34
|
</div>
|
|
35
|
+
<div class="span" style="float:right;">
|
|
36
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
37
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
38
|
+
|
|
39
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
40
|
+
:field="$parent.$parent.getfield"
|
|
41
|
+
:footer="$parent.$parent.footer"
|
|
42
|
+
:header="$parent.$parent.other"
|
|
43
|
+
sqlurl="rs/logic/exportfile"
|
|
44
|
+
sql-name="noBusinessQuery"
|
|
45
|
+
template-name='非收费业务查询导出'
|
|
46
|
+
:choose-col="true"></export-excel>
|
|
47
|
+
|
|
48
|
+
<print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
|
|
49
|
+
:defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
|
|
50
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
51
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
52
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
53
|
+
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
57
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
61
58
|
<div class="col-sm-2 form-group">
|
|
62
59
|
<label class="font_normal_body">客户名称</label>
|
|
63
60
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -188,7 +188,9 @@
|
|
|
188
188
|
<template partial='head'>
|
|
189
189
|
<tr>
|
|
190
190
|
<th>
|
|
191
|
-
<nobr>客户编号</nobr
|
|
191
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
192
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
193
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
192
194
|
</th>
|
|
193
195
|
<th>
|
|
194
196
|
<nobr>档案编号</nobr>
|
|
@@ -200,7 +202,9 @@
|
|
|
200
202
|
<nobr>客户名称</nobr>
|
|
201
203
|
</th>
|
|
202
204
|
<th>
|
|
203
|
-
<nobr>客户地址</nobr
|
|
205
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
206
|
+
<data-order field="f_address" name="客户地址"
|
|
207
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
204
208
|
</th>
|
|
205
209
|
<th>
|
|
206
210
|
<nobr>客户电话</nobr>
|
|
@@ -243,7 +247,9 @@
|
|
|
243
247
|
<nobr>状态</nobr>
|
|
244
248
|
</th>
|
|
245
249
|
<th>
|
|
246
|
-
<nobr>收费日期</nobr
|
|
250
|
+
<!-- <nobr>收费日期</nobr>-->
|
|
251
|
+
<data-order field="f_operate_date" name="收费日期"
|
|
252
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
247
253
|
</th>
|
|
248
254
|
<th>
|
|
249
255
|
<nobr>服务人员</nobr>
|
|
@@ -419,7 +425,7 @@
|
|
|
419
425
|
data: {},
|
|
420
426
|
other:[],
|
|
421
427
|
footer:[],
|
|
422
|
-
model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0,hushu:0}),
|
|
428
|
+
model: new PagedList('rs/sql/otherChargeQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}, {f_money: 0,hushu:0}),
|
|
423
429
|
criteriaShow: false,
|
|
424
430
|
orgCondtionStr: '',
|
|
425
431
|
modelval: [],
|
|
@@ -429,6 +435,11 @@
|
|
|
429
435
|
config: {
|
|
430
436
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_brand_spec', 'f_typename', 'f_typenumber', 'f_unitprice', 'f_number', 'f_money','f_operate_date', 'f_operator']
|
|
431
437
|
},
|
|
438
|
+
//排序
|
|
439
|
+
orderitem:'f_operate_date desc',
|
|
440
|
+
orderFields: {
|
|
441
|
+
f_operate_date: 'no'
|
|
442
|
+
},
|
|
432
443
|
//默认打印列
|
|
433
444
|
defaultfield: [],
|
|
434
445
|
thead: '',
|
|
@@ -594,6 +605,24 @@
|
|
|
594
605
|
},
|
|
595
606
|
setTypenumber (val) {
|
|
596
607
|
this.typenumberList = this.$appdata.getParam(val)
|
|
608
|
+
},
|
|
609
|
+
sort (field, rule) {
|
|
610
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
611
|
+
for (let key in this.orderFields) {
|
|
612
|
+
if (key === field) {
|
|
613
|
+
this.orderFields[key] = rule
|
|
614
|
+
} else {
|
|
615
|
+
this.orderFields[key] = 'no'
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
// 如果新规则不排序,还原为默认排序
|
|
619
|
+
if (rule === 'no') {
|
|
620
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
621
|
+
} else {
|
|
622
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
this.search()
|
|
597
626
|
}
|
|
598
627
|
},
|
|
599
628
|
watch: {
|
|
@@ -617,7 +646,9 @@
|
|
|
617
646
|
},
|
|
618
647
|
computed: {
|
|
619
648
|
getCondition() {
|
|
620
|
-
return {
|
|
649
|
+
return {
|
|
650
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
651
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
621
652
|
},
|
|
622
653
|
service_person() {
|
|
623
654
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
|
|
@@ -5,27 +5,6 @@
|
|
|
5
5
|
<criteria-paged :model="model" v-ref:paged>
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
-
<div class="row">
|
|
9
|
-
<res-select-group :style="'col-sm-2 form-group'" :show-component="$parent.$parent.showComponent" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
10
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
11
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
12
|
-
titletable="小区用户分布统计"
|
|
13
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
14
|
-
<div class="span" style="float:right;">
|
|
15
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
16
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
17
|
-
|
|
18
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
19
|
-
:field="$parent.$parent.getfield"
|
|
20
|
-
:footer="$parent.$parent.footer"
|
|
21
|
-
:header="$parent.$parent.other"
|
|
22
|
-
sqlurl="rs/logic/exportfile"
|
|
23
|
-
sql-name="plotSummaryQuery"
|
|
24
|
-
template-name='小区用户分布统计'
|
|
25
|
-
:choose-col="true"></export-excel>
|
|
26
|
-
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
8
|
<div class="row">
|
|
30
9
|
<div class="col-sm-2 form-group">
|
|
31
10
|
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
@@ -60,6 +39,28 @@
|
|
|
60
39
|
|
|
61
40
|
</v-select>
|
|
62
41
|
</div>
|
|
42
|
+
|
|
43
|
+
<div class="span" style="float:right;">
|
|
44
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
45
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
46
|
+
|
|
47
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
48
|
+
:field="$parent.$parent.getfield"
|
|
49
|
+
:footer="$parent.$parent.footer"
|
|
50
|
+
:header="$parent.$parent.other"
|
|
51
|
+
sqlurl="rs/logic/exportfile"
|
|
52
|
+
sql-name="plotSummaryQuery"
|
|
53
|
+
template-name='小区用户分布统计'
|
|
54
|
+
:choose-col="true"></export-excel>
|
|
55
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
56
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
57
|
+
titletable="小区用户分布统计"
|
|
58
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
59
|
+
<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>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="row " v-show="$parent.$parent.criteriaShow">
|
|
63
|
+
<res-select-group :style="'col-sm-2 form-group'" :show-component="$parent.$parent.showComponent" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
63
64
|
</div>
|
|
64
65
|
|
|
65
66
|
</div>
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
10
|
-
|
|
11
|
-
:initres="$parent.$parent.initres"
|
|
12
|
-
@re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
10
|
+
|
|
13
11
|
<div class="col-sm-2 form-group">
|
|
14
12
|
<label class="font_normal_body">扎帐归属日期</label>
|
|
15
13
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
@@ -52,17 +50,9 @@
|
|
|
52
50
|
</div>
|
|
53
51
|
</div>
|
|
54
52
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
53
|
+
|
|
55
54
|
<div class="col-sm-2 form-group">
|
|
56
|
-
<label class="font_normal_body"
|
|
57
|
-
<v-select :value.sync="model.f_state" multiple
|
|
58
|
-
title="参数: 扎帐状态查询"
|
|
59
|
-
v-model="model.f_state"
|
|
60
|
-
:options='$parent.$parent.state' placeholder='请选择'
|
|
61
|
-
condition=" f_state in {}"
|
|
62
|
-
close-on-select></v-select>
|
|
63
|
-
</div>
|
|
64
|
-
<div class="col-sm-2 form-group">
|
|
65
|
-
<label class="font_normal_body">操作日期</label>
|
|
55
|
+
<label class="font_normal_body">操作  日期</label>
|
|
66
56
|
<datepicker id="startOperDate" placeholder="开始日期" style="width:60%"
|
|
67
57
|
v-model="model.startOperDate"
|
|
68
58
|
:value.sync="model.startOperDate"
|
|
@@ -83,6 +73,18 @@
|
|
|
83
73
|
>
|
|
84
74
|
</datepicker>
|
|
85
75
|
</div>
|
|
76
|
+
<div class="col-sm-2 form-group">
|
|
77
|
+
<label class="font_normal_body">扎帐状态</label>
|
|
78
|
+
<v-select :value.sync="model.f_state" multiple
|
|
79
|
+
title="参数: 扎帐状态查询"
|
|
80
|
+
v-model="model.f_state"
|
|
81
|
+
:options='$parent.$parent.state' placeholder='请选择'
|
|
82
|
+
condition=" f_state in {}"
|
|
83
|
+
close-on-select></v-select>
|
|
84
|
+
</div>
|
|
85
|
+
<res-select-group :show-component="['company', 'department', 'operator']"
|
|
86
|
+
:initres="$parent.$parent.initres"
|
|
87
|
+
@re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
86
88
|
</div>
|
|
87
89
|
</div>
|
|
88
90
|
</criteria>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
:show-component="['company','department','operator']"
|
|
64
64
|
:initres="$parent.$parent.initres"
|
|
65
65
|
@re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
66
|
-
<div class="col-sm-2 ">
|
|
66
|
+
<div class="col-sm-2 form-group">
|
|
67
67
|
<label class="font_normal_body">用户类型</label>
|
|
68
68
|
<v-select :value.sync="model.f_user_type"
|
|
69
69
|
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
@@ -84,7 +84,9 @@
|
|
|
84
84
|
<template partial='head'>
|
|
85
85
|
<tr>
|
|
86
86
|
<th>
|
|
87
|
-
<nobr>用户编号</nobr
|
|
87
|
+
<!-- <nobr>用户编号</nobr>-->
|
|
88
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
89
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
88
90
|
</th>
|
|
89
91
|
<th>
|
|
90
92
|
<nobr>用户姓名</nobr>
|
|
@@ -93,7 +95,9 @@
|
|
|
93
95
|
<nobr>用户类型</nobr>
|
|
94
96
|
</th>
|
|
95
97
|
<th>
|
|
96
|
-
<nobr>用气地址</nobr
|
|
98
|
+
<!-- <nobr>用气地址</nobr>-->
|
|
99
|
+
<data-order field="f_address" name="用气地址"
|
|
100
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
97
101
|
</th>
|
|
98
102
|
<th>
|
|
99
103
|
<nobr>气表类型</nobr>
|
|
@@ -108,7 +112,9 @@
|
|
|
108
112
|
<nobr>操作员</nobr>
|
|
109
113
|
</th>
|
|
110
114
|
<th>
|
|
111
|
-
<nobr>时间</nobr
|
|
115
|
+
<!-- <nobr>时间</nobr>-->
|
|
116
|
+
<data-order field="f_operate_date" name="时间"
|
|
117
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
112
118
|
</th>
|
|
113
119
|
</tr>
|
|
114
120
|
|
|
@@ -185,7 +191,7 @@
|
|
|
185
191
|
data: {},
|
|
186
192
|
other:[],
|
|
187
193
|
footer:[],
|
|
188
|
-
model: new PagedList('rs/sql/privilegeQuery', 20,{startDate: 'this.model.startDate', endDate: 'this.model.endDate'},{
|
|
194
|
+
model: new PagedList('rs/sql/privilegeQuery', 20,{startDate: 'this.model.startDate', endDate: 'this.model.endDate',orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"},{
|
|
189
195
|
f_privilege_gas:0,
|
|
190
196
|
f_privilege_money:0
|
|
191
197
|
}),
|
|
@@ -206,6 +212,11 @@
|
|
|
206
212
|
'f_operator',
|
|
207
213
|
'f_operate_date']
|
|
208
214
|
},
|
|
215
|
+
//排序
|
|
216
|
+
orderitem:'f_operate_date desc',
|
|
217
|
+
orderFields: {
|
|
218
|
+
f_operate_date: 'no'
|
|
219
|
+
},
|
|
209
220
|
//默认打印列
|
|
210
221
|
defaultfield: [],
|
|
211
222
|
initres: {
|
|
@@ -311,6 +322,24 @@
|
|
|
311
322
|
})
|
|
312
323
|
this.modelval = sortModel
|
|
313
324
|
console.log('选择的打印的字段', this.modelval)
|
|
325
|
+
},
|
|
326
|
+
sort (field, rule) {
|
|
327
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
328
|
+
for (let key in this.orderFields) {
|
|
329
|
+
if (key === field) {
|
|
330
|
+
this.orderFields[key] = rule
|
|
331
|
+
} else {
|
|
332
|
+
this.orderFields[key] = 'no'
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
// 如果新规则不排序,还原为默认排序
|
|
336
|
+
if (rule === 'no') {
|
|
337
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
338
|
+
} else {
|
|
339
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
this.search()
|
|
314
343
|
}
|
|
315
344
|
},
|
|
316
345
|
watch: {
|
|
@@ -337,7 +366,8 @@
|
|
|
337
366
|
return {
|
|
338
367
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
339
368
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
340
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
369
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
370
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
341
371
|
},
|
|
342
372
|
getfield() {
|
|
343
373
|
return exportConfig.PrivilegeQuery
|
|
@@ -32,14 +32,9 @@
|
|
|
32
32
|
condition="f_payment in {}"
|
|
33
33
|
close-on-select></v-select>
|
|
34
34
|
</div>
|
|
35
|
-
<res-select-group :initres="$parent.$parent.initres"
|
|
36
|
-
@re-res="$parent.$parent.getRes"
|
|
37
|
-
:show-component="['company','operator']"
|
|
38
|
-
v-ref:sel></res-select-group>
|
|
39
35
|
<div class="span" style="float:right;">
|
|
40
36
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
41
37
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
42
|
-
|
|
43
38
|
<export-excel :data="$parent.$parent.getCondition"
|
|
44
39
|
:field="$parent.$parent.getfield"
|
|
45
40
|
:footer="$parent.$parent.footer"
|
|
@@ -53,13 +48,12 @@
|
|
|
53
48
|
:sum-field="$parent.$parent.getfield"
|
|
54
49
|
titletable="操作员日结列表"
|
|
55
50
|
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
56
|
-
|
|
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>
|
|
57
52
|
</div>
|
|
58
53
|
</div>
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<!-- </div>-->
|
|
54
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','operator']" v-ref:sel></res-select-group>
|
|
56
|
+
</div>
|
|
63
57
|
</div>
|
|
64
58
|
</criteria>
|
|
65
59
|
|
|
@@ -195,11 +195,10 @@
|
|
|
195
195
|
<tr>
|
|
196
196
|
<th>
|
|
197
197
|
<nobr>用户编号</nobr>
|
|
198
|
-
|
|
198
|
+
<!-- <data-order field="f_userinfo_code" name="用户编号">-->
|
|
199
|
+
<!-- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>-->
|
|
200
|
+
</th>
|
|
199
201
|
<th>
|
|
200
|
-
<!-- <nobr>客户编号</nobr>-->
|
|
201
|
-
<!-- <data-order field="f_userinfo_code" name=""-->
|
|
202
|
-
<!-- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>-->
|
|
203
202
|
<nobr>客户名称</nobr>
|
|
204
203
|
</th>
|
|
205
204
|
<th>
|
|
@@ -221,7 +220,9 @@
|
|
|
221
220
|
<nobr>收票人</nobr>
|
|
222
221
|
</th>
|
|
223
222
|
<th>
|
|
224
|
-
<nobr>操作日期</nobr
|
|
223
|
+
<!-- <nobr>操作日期</nobr>-->
|
|
224
|
+
<data-order field="f_operate_date" name="操作日期"
|
|
225
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
225
226
|
</th>
|
|
226
227
|
<th>
|
|
227
228
|
<nobr>收费类型</nobr>
|
|
@@ -230,7 +231,9 @@
|
|
|
230
231
|
<nobr>客户名称</nobr>
|
|
231
232
|
</th>
|
|
232
233
|
<th>
|
|
233
|
-
<nobr>客户地址</nobr
|
|
234
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
235
|
+
<data-order field="f_address" name="客户地址"
|
|
236
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
234
237
|
</th>
|
|
235
238
|
<th>
|
|
236
239
|
<nobr>客户电话</nobr>
|