manage-client 3.2.87 → 3.2.88-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/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/package.json +1 -1
- package/src/components/SellReport/NonResidentGas.vue +216 -216
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
- package/src/components/SellReport/ReportItems.vue +56 -49
- package/src/components/sale/businessquery/ArrearsQuery.vue +934 -924
- package/src/components/sale/businessquery/BusinesQuery.vue +32 -6
- package/src/components/sale/businessquery/ChangeUserQuery.vue +375 -350
- package/src/components/sale/businessquery/ChargeQuery.vue +1277 -1277
- package/src/components/sale/businessquery/GasLossQuery.vue +30 -4
- package/src/components/sale/businessquery/GroupChargeQuery.vue +5 -3
- package/src/components/sale/businessquery/InspectListGas.vue +552 -535
- package/src/components/sale/businessquery/InspectListUser.vue +449 -419
- package/src/components/sale/businessquery/PriceChange.vue +44 -8
- package/src/components/sale/businessquery/PrickBillQuery.vue +31 -5
- package/src/components/sale/businessquery/SendbookQuery.vue +33 -7
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +36 -8
- package/src/components/sale/businessquery/gasPriceQuery.vue +39 -8
- package/src/components/sale/businessquery/pricechangeRecordQuery.vue +37 -8
- package/src/components/sale/businessquery/sellingChargePrice.vue +1 -1
- package/src/components/sale/businessquery/yucunDetails.vue +30 -4
- package/src/components/sale/config/exportConfig.js +944 -944
- package/src/components/sale/filesquery/DeviceQuery.vue +50 -9
- package/src/components/sale/filesquery/FireQuery.vue +42 -7
- package/src/components/sale/filesquery/MeterQuery.vue +35 -8
- package/src/components/sale/filesquery/PriceChangeQuery.vue +34 -9
- package/src/components/sale/filesquery/RecordInfoQuery.vue +48 -31
- package/src/components/sale/filesquery/UserDeviceQuery.vue +35 -6
- package/src/components/sale/filesquery/UserQuery.vue +6 -2
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +469 -467
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
- package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
- package/src/filiale/liaoyuan/ReportList.vue +421 -421
- package/src/filiale/macheng/FxGasTable.vue +236 -236
- package/src/filiale/macheng/ManageDayGas.vue +248 -248
- package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
- package/src/filiale/macheng/ManageMonthGas.vue +250 -250
- package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
- package/src/filiale/macheng/ManageSellType.vue +287 -287
- package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
- package/src/filiale/macheng/SellingTable.vue +219 -219
- package/src/filiale/macheng/UserBalanceReport.vue +178 -178
- package/src/filiale/macheng/config/exportConfig.js +67 -67
- package/src/filiale/macheng/reportManage.js +19 -19
- package/src/filiale/macheng/sale.js +11 -11
- package/src/filiale/meihekou/HandplanQuery.vue +1234 -1229
- package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
- package/src/filiale/qianneng/SellDepReport.vue +269 -0
- package/src/filiale/qianneng/reportManage.js +10 -0
- package/src/filiale/qianneng/sale.js +12 -12
- package/src/filiale/tongchuan/ChargeQuery.vue +1 -1
- package/src/main.js +65 -66
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged >
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-inline auto" partial>
|
|
8
8
|
<div class="row">
|
|
@@ -107,18 +107,30 @@
|
|
|
107
107
|
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
108
108
|
<template partial='head'>
|
|
109
109
|
<tr>
|
|
110
|
-
<th
|
|
110
|
+
<th>
|
|
111
|
+
<!--<nobr>客户编号</nobr>-->
|
|
112
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
113
|
+
</th>
|
|
111
114
|
<th><nobr>客户名称</nobr></th>
|
|
112
115
|
<th><nobr>档案编号</nobr></th>
|
|
113
116
|
<th><nobr>客户类型</nobr></th>
|
|
114
|
-
<th
|
|
117
|
+
<th>
|
|
118
|
+
<!--<nobr>客户地址</nobr>-->
|
|
119
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
120
|
+
</th>
|
|
115
121
|
<th><nobr>客户电话</nobr></th>
|
|
116
122
|
<th><nobr>气表类型</nobr></th>
|
|
117
123
|
<th><nobr>旧气价名称</nobr></th>
|
|
118
124
|
<th><nobr>新气价名称</nobr></th>
|
|
119
125
|
<th><nobr>变更类型</nobr></th>
|
|
120
|
-
<th
|
|
121
|
-
|
|
126
|
+
<th>
|
|
127
|
+
<!--<nobr>变更时间</nobr>-->
|
|
128
|
+
<data-order field="f_operate_date" name="变更时间" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<!--<nobr>执行时间</nobr>-->
|
|
132
|
+
<data-order field="f_perform_date" name="执行时间" :order.sync="$parent.$parent.$parent.orderFields.f_perform_date"></data-order>
|
|
133
|
+
</th>
|
|
122
134
|
<th><nobr>变更操作员</nobr></th>
|
|
123
135
|
<th><nobr>是否同步成功</nobr></th>
|
|
124
136
|
<th><nobr>附件</nobr></th>
|
|
@@ -213,7 +225,7 @@ export default {
|
|
|
213
225
|
title: '气价变更查询',
|
|
214
226
|
data() {
|
|
215
227
|
return {
|
|
216
|
-
model: new PagedList('rs/sql/priceDetailQuery', 30, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
|
|
228
|
+
model: new PagedList('rs/sql/priceDetailQuery', 30, {startDate: 'this.model.startDate', endDate: 'this.model.endDate',orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}),
|
|
217
229
|
data: {},
|
|
218
230
|
other:[],
|
|
219
231
|
footer:[],
|
|
@@ -225,6 +237,11 @@ export default {
|
|
|
225
237
|
printshow: false,
|
|
226
238
|
all: false,
|
|
227
239
|
fields: {},
|
|
240
|
+
//排序
|
|
241
|
+
orderitem:'f_userinfo_code desc',
|
|
242
|
+
orderFields: {
|
|
243
|
+
f_userinfo_code: 'no'
|
|
244
|
+
},
|
|
228
245
|
initres: {
|
|
229
246
|
org:[this.$login.f.orgid],
|
|
230
247
|
dep:[],
|
|
@@ -260,7 +277,7 @@ export default {
|
|
|
260
277
|
getPricenames() {
|
|
261
278
|
this.price = []
|
|
262
279
|
let priceArr = []
|
|
263
|
-
debugger
|
|
280
|
+
//debugger
|
|
264
281
|
this.$MagGetSaleParam.prices.forEach((item) => {
|
|
265
282
|
let temp = {}
|
|
266
283
|
temp.label = item.f_price_name
|
|
@@ -363,6 +380,24 @@ export default {
|
|
|
363
380
|
})
|
|
364
381
|
this.modelval = sortModel
|
|
365
382
|
console.log('选择的打印的字段', this.modelval)
|
|
383
|
+
},
|
|
384
|
+
sort (field, rule) {
|
|
385
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
386
|
+
for (let key in this.orderFields) {
|
|
387
|
+
if (key === field) {
|
|
388
|
+
this.orderFields[key] = rule
|
|
389
|
+
} else {
|
|
390
|
+
this.orderFields[key] = 'no'
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
// 如果新规则不排序,还原为默认排序
|
|
394
|
+
if (rule === 'no') {
|
|
395
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
396
|
+
} else {
|
|
397
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
this.search()
|
|
366
401
|
}
|
|
367
402
|
},
|
|
368
403
|
watch: {
|
|
@@ -392,7 +427,8 @@ export default {
|
|
|
392
427
|
return {
|
|
393
428
|
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
394
429
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
395
|
-
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
430
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
431
|
+
orderitem:this.orderitem
|
|
396
432
|
}
|
|
397
433
|
},
|
|
398
434
|
getfield() {
|
|
@@ -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">
|
|
@@ -101,10 +101,12 @@
|
|
|
101
101
|
<nobr>系统金额</nobr>
|
|
102
102
|
</th>
|
|
103
103
|
<th>
|
|
104
|
-
|
|
104
|
+
<!--<nobr>扎帐归属时间</nobr>-->
|
|
105
|
+
<data-order field="f_end_date" name="扎帐归属时间" :order.sync="$parent.$parent.$parent.orderFields.f_end_date"></data-order>
|
|
105
106
|
</th>
|
|
106
107
|
<th>
|
|
107
|
-
|
|
108
|
+
<!--<nobr>操作时间</nobr>-->
|
|
109
|
+
<data-order field="f_operate_date" name="操作时间" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
108
110
|
</th>
|
|
109
111
|
<th>
|
|
110
112
|
<nobr>状态</nobr>
|
|
@@ -201,12 +203,17 @@
|
|
|
201
203
|
data: {},
|
|
202
204
|
other: [],
|
|
203
205
|
footer: [],
|
|
204
|
-
model: new PagedList('rs/sql/PrickBillQuery', 20),
|
|
206
|
+
model: new PagedList('rs/sql/PrickBillQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_end_date desc'`}),
|
|
205
207
|
criteriaShow: false,
|
|
206
208
|
orgCondtionStr: '',
|
|
207
209
|
modelval: [],
|
|
208
210
|
printshow: false,
|
|
209
211
|
all: false,
|
|
212
|
+
//排序
|
|
213
|
+
orderitem:'f_end_date desc',
|
|
214
|
+
orderFields: {
|
|
215
|
+
f_end_date: 'no'
|
|
216
|
+
},
|
|
210
217
|
fields: {},
|
|
211
218
|
config: {
|
|
212
219
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_charge_money', 'f_pre_deduct_money', 'f_balance']
|
|
@@ -296,6 +303,24 @@
|
|
|
296
303
|
})
|
|
297
304
|
this.modelval = sortModel
|
|
298
305
|
console.log('选择的打印的字段', this.modelval)
|
|
306
|
+
},
|
|
307
|
+
sort (field, rule) {
|
|
308
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
309
|
+
for (let key in this.orderFields) {
|
|
310
|
+
if (key === field) {
|
|
311
|
+
this.orderFields[key] = rule
|
|
312
|
+
} else {
|
|
313
|
+
this.orderFields[key] = 'no'
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
// 如果新规则不排序,还原为默认排序
|
|
317
|
+
if (rule === 'no') {
|
|
318
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
319
|
+
} else {
|
|
320
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
this.search()
|
|
299
324
|
}
|
|
300
325
|
},
|
|
301
326
|
watch: {
|
|
@@ -320,7 +345,8 @@
|
|
|
320
345
|
computed: {
|
|
321
346
|
getCondition () {
|
|
322
347
|
return {
|
|
323
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
348
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
349
|
+
orderitem:this.orderitem
|
|
324
350
|
}
|
|
325
351
|
},
|
|
326
352
|
state () {
|
|
@@ -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">
|
|
@@ -76,7 +76,8 @@
|
|
|
76
76
|
<template partial='head'>
|
|
77
77
|
<tr>
|
|
78
78
|
<th>
|
|
79
|
-
|
|
79
|
+
<!--<nobr>客户编号</nobr>-->
|
|
80
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
80
81
|
</th>
|
|
81
82
|
<th>
|
|
82
83
|
<nobr>客户名称</nobr>
|
|
@@ -91,10 +92,12 @@
|
|
|
91
92
|
<nobr>联系电话</nobr>
|
|
92
93
|
</th>
|
|
93
94
|
<th>
|
|
94
|
-
|
|
95
|
+
<!--<nobr>客户地址</nobr>-->
|
|
96
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
95
97
|
</th>
|
|
96
98
|
<th>
|
|
97
|
-
|
|
99
|
+
<!--<nobr>发折日期</nobr>-->
|
|
100
|
+
<data-order field="f_send_date" name="发折日期" :order.sync="$parent.$parent.$parent.orderFields.f_send_date"></data-order>
|
|
98
101
|
</th>
|
|
99
102
|
<th>
|
|
100
103
|
<nobr>人员</nobr>
|
|
@@ -185,13 +188,13 @@
|
|
|
185
188
|
}
|
|
186
189
|
export default {
|
|
187
190
|
props:['data'],
|
|
188
|
-
title: '
|
|
191
|
+
title: '发折查询',
|
|
189
192
|
data() {
|
|
190
193
|
return {
|
|
191
194
|
data: {},
|
|
192
195
|
other: [],
|
|
193
196
|
footer: [],
|
|
194
|
-
model: new PagedList('rs/sql/sendbookQuery', 20, {}),
|
|
197
|
+
model: new PagedList('rs/sql/sendbookQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}),
|
|
195
198
|
criteriaShow: false,
|
|
196
199
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "停用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
197
200
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
@@ -202,6 +205,11 @@
|
|
|
202
205
|
printshow: false,
|
|
203
206
|
all: false,
|
|
204
207
|
fields: {},
|
|
208
|
+
//排序
|
|
209
|
+
orderitem:'f_userinfo_code desc',
|
|
210
|
+
orderFields: {
|
|
211
|
+
f_userinfo_code: 'no'
|
|
212
|
+
},
|
|
205
213
|
config: {
|
|
206
214
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_othereason', 'f_state', 'f_operate_date', 'f_operat_type', 'f_operator']
|
|
207
215
|
},
|
|
@@ -327,6 +335,24 @@
|
|
|
327
335
|
})
|
|
328
336
|
this.modelval = sortModel
|
|
329
337
|
console.log('选择的打印的字段', this.modelval)
|
|
338
|
+
},
|
|
339
|
+
sort (field, rule) {
|
|
340
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
341
|
+
for (let key in this.orderFields) {
|
|
342
|
+
if (key === field) {
|
|
343
|
+
this.orderFields[key] = rule
|
|
344
|
+
} else {
|
|
345
|
+
this.orderFields[key] = 'no'
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
// 如果新规则不排序,还原为默认排序
|
|
349
|
+
if (rule === 'no') {
|
|
350
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
351
|
+
} else {
|
|
352
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
this.search()
|
|
330
356
|
}
|
|
331
357
|
},
|
|
332
358
|
watch: {
|
|
@@ -350,7 +376,7 @@
|
|
|
350
376
|
},
|
|
351
377
|
computed: {
|
|
352
378
|
getCondition() {
|
|
353
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
379
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
354
380
|
},
|
|
355
381
|
getfield() {
|
|
356
382
|
return exportConfig.sendbookConfig
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
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">
|
|
@@ -110,7 +110,8 @@
|
|
|
110
110
|
<nobr>序号</nobr>
|
|
111
111
|
</th>
|
|
112
112
|
<th>
|
|
113
|
-
|
|
113
|
+
<!--<nobr>用户编号</nobr>-->
|
|
114
|
+
<data-order field="f_userinfo_code" name="用户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
114
115
|
</th>
|
|
115
116
|
<th>
|
|
116
117
|
<nobr>用户名称</nobr>
|
|
@@ -128,7 +129,8 @@
|
|
|
128
129
|
<nobr>气表型号</nobr>
|
|
129
130
|
</th>
|
|
130
131
|
<th>
|
|
131
|
-
|
|
132
|
+
<!--<nobr>地址</nobr>-->
|
|
133
|
+
<data-order field="f_address" name="用户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
132
134
|
</th>
|
|
133
135
|
<th>
|
|
134
136
|
<nobr>小区名称</nobr>
|
|
@@ -146,13 +148,15 @@
|
|
|
146
148
|
<nobr>当前表购气量</nobr>
|
|
147
149
|
</th>
|
|
148
150
|
<th>
|
|
149
|
-
|
|
151
|
+
<!--<nobr>开户时间</nobr>-->
|
|
152
|
+
<data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
|
|
150
153
|
</th>
|
|
151
154
|
<th>
|
|
152
155
|
<nobr>最后购气量</nobr>
|
|
153
156
|
</th>
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
<th>
|
|
158
|
+
<!--<nobr>最后购气日期</nobr>-->
|
|
159
|
+
<data-order field="f_operate_date" name="最后购气日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
156
160
|
</th>
|
|
157
161
|
</tr>
|
|
158
162
|
</template>
|
|
@@ -230,9 +234,14 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
230
234
|
other: [],
|
|
231
235
|
footer: [],
|
|
232
236
|
criteriaShow: false,
|
|
233
|
-
model: new PagedList('rs/sql/suspiciousUserQuery', 50, {}),
|
|
237
|
+
model: new PagedList('rs/sql/suspiciousUserQuery', 50, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}),
|
|
234
238
|
orgCondtionStr: '',
|
|
235
239
|
getfield: '',
|
|
240
|
+
//排序
|
|
241
|
+
orderitem:'f_userinfo_code desc',
|
|
242
|
+
orderFields: {
|
|
243
|
+
f_userinfo_code: 'no'
|
|
244
|
+
},
|
|
236
245
|
show:false,
|
|
237
246
|
rowdata:{},
|
|
238
247
|
residentialArea: '',
|
|
@@ -380,6 +389,24 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
380
389
|
})
|
|
381
390
|
this.modelval = sortModel
|
|
382
391
|
console.log('选择的打印的字段', this.modelval)
|
|
392
|
+
},
|
|
393
|
+
sort (field, rule) {
|
|
394
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
395
|
+
for (let key in this.orderFields) {
|
|
396
|
+
if (key === field) {
|
|
397
|
+
this.orderFields[key] = rule
|
|
398
|
+
} else {
|
|
399
|
+
this.orderFields[key] = 'no'
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
// 如果新规则不排序,还原为默认排序
|
|
403
|
+
if (rule === 'no') {
|
|
404
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
405
|
+
} else {
|
|
406
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
this.search()
|
|
383
410
|
}
|
|
384
411
|
},
|
|
385
412
|
watch: {
|
|
@@ -404,7 +431,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
404
431
|
computed: {
|
|
405
432
|
getCondition() {
|
|
406
433
|
let result = {
|
|
407
|
-
condition: ''
|
|
434
|
+
condition: '',
|
|
435
|
+
orderitem:this.orderitem
|
|
408
436
|
}
|
|
409
437
|
result.condition = this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
|
|
410
438
|
return result
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" >
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
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">
|
|
@@ -80,17 +80,25 @@
|
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
82
|
</criteria>
|
|
83
|
-
|
|
84
|
-
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid :optional="true">
|
|
83
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid>
|
|
85
84
|
<template partial='head'>
|
|
86
|
-
<th
|
|
85
|
+
<th>
|
|
86
|
+
<!--<nobr>气价编号</nobr>-->
|
|
87
|
+
<data-order field="f_price_id" name="气价编号" :order.sync="$parent.$parent.$parent.orderFields.f_price_id"></data-order>
|
|
88
|
+
</th>
|
|
87
89
|
<th><nobr>气价类型</nobr></th>
|
|
88
90
|
<th><nobr>气价名称</nobr></th>
|
|
89
91
|
<th><nobr>用户类型</nobr></th>
|
|
90
92
|
<th><nobr>用气性质</nobr></th>
|
|
91
93
|
<th><nobr>阶段月数</nobr></th>
|
|
92
|
-
<th
|
|
93
|
-
|
|
94
|
+
<th>
|
|
95
|
+
<!--<nobr>执行日期</nobr>-->
|
|
96
|
+
<data-order field="f_perform_date" name="执行日期" :order.sync="$parent.$parent.$parent.orderFields.f_perform_date"></data-order>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<!--<nobr>截止日期</nobr>-->
|
|
100
|
+
<data-order field="f_end_date" name="截止日期" :order.sync="$parent.$parent.$parent.orderFields.f_end_date"></data-order>
|
|
101
|
+
</th>
|
|
94
102
|
<th><nobr>版本号</nobr></th>
|
|
95
103
|
<th><nobr>状态</nobr></th>
|
|
96
104
|
<th><nobr>气价信息</nobr></th>
|
|
@@ -145,7 +153,7 @@
|
|
|
145
153
|
data: {},
|
|
146
154
|
other: [],
|
|
147
155
|
footer: [],
|
|
148
|
-
model: new PagedList('rs/sql/gasPriceQuery', 20, {}
|
|
156
|
+
model: new PagedList('rs/sql/gasPriceQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_price_id desc'`} ),
|
|
149
157
|
criteriaShow: false,
|
|
150
158
|
bodyData: ["f_userinfo_code", "f_user_name", "f_orgname", "f_depname", "f_operator"],
|
|
151
159
|
orgCondtionStr: '',
|
|
@@ -155,6 +163,11 @@
|
|
|
155
163
|
printshow: false,
|
|
156
164
|
all: false,
|
|
157
165
|
fields: {},
|
|
166
|
+
//排序
|
|
167
|
+
orderitem:'f_price_id desc',
|
|
168
|
+
orderFields: {
|
|
169
|
+
f_price_id: 'no'
|
|
170
|
+
},
|
|
158
171
|
thead: '',
|
|
159
172
|
tfoot: '',
|
|
160
173
|
defaultfield: [],
|
|
@@ -310,6 +323,24 @@
|
|
|
310
323
|
})
|
|
311
324
|
this.modelval = sortModel
|
|
312
325
|
console.log('选择的打印的字段', this.modelval)
|
|
326
|
+
},
|
|
327
|
+
sort (field, rule) {
|
|
328
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
329
|
+
for (let key in this.orderFields) {
|
|
330
|
+
if (key === field) {
|
|
331
|
+
this.orderFields[key] = rule
|
|
332
|
+
} else {
|
|
333
|
+
this.orderFields[key] = 'no'
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
// 如果新规则不排序,还原为默认排序
|
|
337
|
+
if (rule === 'no') {
|
|
338
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
339
|
+
} else {
|
|
340
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
this.search()
|
|
313
344
|
}
|
|
314
345
|
},
|
|
315
346
|
watch: {
|
|
@@ -333,7 +364,7 @@
|
|
|
333
364
|
},
|
|
334
365
|
computed: {
|
|
335
366
|
getCondition() {
|
|
336
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
367
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
337
368
|
},
|
|
338
369
|
getfield() {
|
|
339
370
|
console.log('export',exportConfig.gasPriceConfig)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
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">
|
|
@@ -116,7 +116,8 @@
|
|
|
116
116
|
<template partial='head'>
|
|
117
117
|
<tr>
|
|
118
118
|
<th>
|
|
119
|
-
|
|
119
|
+
<!--<nobr>客户编号</nobr>-->
|
|
120
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
120
121
|
</th>
|
|
121
122
|
<th>
|
|
122
123
|
<nobr>客户姓名</nobr>
|
|
@@ -125,7 +126,8 @@
|
|
|
125
126
|
<nobr>档案编号</nobr>
|
|
126
127
|
</th>
|
|
127
128
|
<th>
|
|
128
|
-
|
|
129
|
+
<!--<nobr>客户地址</nobr>-->
|
|
130
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
129
131
|
</th>
|
|
130
132
|
<th>
|
|
131
133
|
<nobr>用户类型</nobr>
|
|
@@ -140,10 +142,12 @@
|
|
|
140
142
|
<nobr>新价格</nobr>
|
|
141
143
|
</th>
|
|
142
144
|
<th>
|
|
143
|
-
|
|
145
|
+
<!--<nobr>原价执行日期</nobr>-->
|
|
146
|
+
<data-order field="oldprice_performdate" name="原价执行日期" :order.sync="$parent.$parent.$parent.orderFields.oldprice_performdate"></data-order>
|
|
144
147
|
</th>
|
|
145
148
|
<th>
|
|
146
|
-
|
|
149
|
+
<!--<nobr>新价执行日期</nobr>-->
|
|
150
|
+
<data-order field="newprice_performdate" name="新价执行日期" :order.sync="$parent.$parent.$parent.orderFields.newprice_performdate"></data-order>
|
|
147
151
|
</th>
|
|
148
152
|
<th>
|
|
149
153
|
<nobr>片区</nobr>
|
|
@@ -167,7 +171,8 @@
|
|
|
167
171
|
<nobr>部门</nobr>
|
|
168
172
|
</th>
|
|
169
173
|
<th>
|
|
170
|
-
|
|
174
|
+
<!--<nobr>操作日期</nobr>-->
|
|
175
|
+
<data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
171
176
|
</th>
|
|
172
177
|
<th><nobr>附件</nobr></th>
|
|
173
178
|
</tr>
|
|
@@ -275,12 +280,17 @@
|
|
|
275
280
|
//f_price_name:[],
|
|
276
281
|
gasproperties:[],
|
|
277
282
|
data: {},
|
|
283
|
+
//排序
|
|
284
|
+
orderitem:'f_operate_date desc',
|
|
285
|
+
orderFields: {
|
|
286
|
+
f_operate_date: 'no'
|
|
287
|
+
},
|
|
278
288
|
initres: {
|
|
279
289
|
org:[this.$login.f.orgid],
|
|
280
290
|
dep:[],
|
|
281
291
|
user:[]
|
|
282
292
|
},
|
|
283
|
-
model: new PagedList('rs/sql/pricechangeRecordQuery', 20, {}
|
|
293
|
+
model: new PagedList('rs/sql/pricechangeRecordQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`} ),
|
|
284
294
|
criteriaShow: false,
|
|
285
295
|
orgCondtionStr: '',
|
|
286
296
|
// 下拉框
|
|
@@ -290,7 +300,7 @@
|
|
|
290
300
|
sumsmodel: {},
|
|
291
301
|
showupload:false,
|
|
292
302
|
selected:{},
|
|
293
|
-
f_filialeid: this.$login.f.f_orgid
|
|
303
|
+
f_filialeid: this.$login.f.f_orgid
|
|
294
304
|
}
|
|
295
305
|
},
|
|
296
306
|
ready() {
|
|
@@ -372,6 +382,24 @@
|
|
|
372
382
|
this.gasproperties =[{label: '全部', value: ''}]
|
|
373
383
|
}
|
|
374
384
|
},
|
|
385
|
+
sort (field, rule) {
|
|
386
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
387
|
+
for (let key in this.orderFields) {
|
|
388
|
+
if (key === field) {
|
|
389
|
+
this.orderFields[key] = rule
|
|
390
|
+
} else {
|
|
391
|
+
this.orderFields[key] = 'no'
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
// 如果新规则不排序,还原为默认排序
|
|
395
|
+
if (rule === 'no') {
|
|
396
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
397
|
+
} else {
|
|
398
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
this.search()
|
|
402
|
+
}
|
|
375
403
|
|
|
376
404
|
},
|
|
377
405
|
events:{
|
|
@@ -393,6 +421,7 @@
|
|
|
393
421
|
return {
|
|
394
422
|
operateDate: this.$refs.paged.$refs.cri.model.operateDate,
|
|
395
423
|
performDate: this.$refs.paged.$refs.cri.model.performDate,
|
|
424
|
+
orderitem:this.orderitem,
|
|
396
425
|
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
397
426
|
},
|
|
398
427
|
getfield() {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
</template>
|
|
131
131
|
<template partial='body'>
|
|
132
132
|
<td style="text-align: center;">
|
|
133
|
-
<nobr>{{row.
|
|
133
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
134
134
|
</td>
|
|
135
135
|
<td style="text-align: center;"><nobr>
|
|
136
136
|
<nobr>{{row.f_user_name}}</nobr>
|