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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
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">
|
|
@@ -233,11 +233,17 @@
|
|
|
233
233
|
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
234
234
|
<template partial='head'>
|
|
235
235
|
<tr>
|
|
236
|
-
<th
|
|
236
|
+
<th>
|
|
237
|
+
<!--<nobr>客户编号</nobr>-->
|
|
238
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
239
|
+
</th>
|
|
237
240
|
<th><nobr>客户名称</nobr></th>
|
|
238
241
|
<th><nobr>档案编号</nobr></th>
|
|
239
242
|
<th><nobr>客户电话</nobr></th>
|
|
240
|
-
<th
|
|
243
|
+
<th>
|
|
244
|
+
<!--<nobr>客户地址</nobr>-->
|
|
245
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
246
|
+
</th>
|
|
241
247
|
<th><nobr>客户状态</nobr></th>
|
|
242
248
|
<th><nobr>所属表具(表号)</nobr></th>
|
|
243
249
|
<th><nobr>购买方式</nobr></th>
|
|
@@ -248,13 +254,25 @@
|
|
|
248
254
|
<th><nobr>设备数量</nobr></th>
|
|
249
255
|
<th><nobr>设备状态</nobr></th>
|
|
250
256
|
<th><nobr>管道类型</nobr></th>
|
|
251
|
-
<th
|
|
257
|
+
<th>
|
|
258
|
+
<!--<nobr>生产日期</nobr>-->
|
|
259
|
+
<data-order field="f_make_date" name="生产日期" :order.sync="$parent.$parent.$parent.orderFields.f_make_date"></data-order>
|
|
260
|
+
</th>
|
|
252
261
|
<th><nobr>使用年限</nobr></th>
|
|
253
262
|
<th><nobr>安装人</nobr></th>
|
|
254
|
-
<th
|
|
255
|
-
|
|
263
|
+
<th>
|
|
264
|
+
<!--<nobr>安装日期</nobr>-->
|
|
265
|
+
<data-order field="f_input_date" name="安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
266
|
+
</th>
|
|
267
|
+
<th>
|
|
268
|
+
<!--<nobr>到期日期</nobr>-->
|
|
269
|
+
<data-order field="f_expire_date" name="到期日期" :order.sync="$parent.$parent.$parent.orderFields.f_expire_date"></data-order>
|
|
270
|
+
</th>
|
|
256
271
|
<th><nobr>操作人</nobr></th>
|
|
257
|
-
<th
|
|
272
|
+
<th>
|
|
273
|
+
<!--<nobr>操作时间</nobr>-->
|
|
274
|
+
<data-order field="f_operate_date" name="操作时间" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
275
|
+
</th>
|
|
258
276
|
<th><nobr>备注</nobr></th>
|
|
259
277
|
</tr>
|
|
260
278
|
</template>
|
|
@@ -350,13 +368,18 @@
|
|
|
350
368
|
return {
|
|
351
369
|
other:[],
|
|
352
370
|
footer:[],
|
|
353
|
-
model: new PagedList('rs/sql/deviceQuery', 20),
|
|
371
|
+
model: new PagedList('rs/sql/deviceQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}),
|
|
354
372
|
criteriaShow: false,
|
|
355
373
|
orgCondtionStr: '',
|
|
356
374
|
modelval: [],
|
|
357
375
|
printshow: false,
|
|
358
376
|
all: false,
|
|
359
377
|
fields: {},
|
|
378
|
+
//排序
|
|
379
|
+
orderitem:'f_userinfo_code desc',
|
|
380
|
+
orderFields: {
|
|
381
|
+
f_userinfo_id: 'no'
|
|
382
|
+
},
|
|
360
383
|
thead: '',
|
|
361
384
|
tfoot: '',
|
|
362
385
|
defaultfield: [],
|
|
@@ -489,6 +512,24 @@
|
|
|
489
512
|
})
|
|
490
513
|
this.modelval = sortModel
|
|
491
514
|
console.log('选择的打印的字段', this.modelval)
|
|
515
|
+
},
|
|
516
|
+
sort (field, rule) {
|
|
517
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
518
|
+
for (let key in this.orderFields) {
|
|
519
|
+
if (key === field) {
|
|
520
|
+
this.orderFields[key] = rule
|
|
521
|
+
} else {
|
|
522
|
+
this.orderFields[key] = 'no'
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
// 如果新规则不排序,还原为默认排序
|
|
526
|
+
if (rule === 'no') {
|
|
527
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
528
|
+
} else {
|
|
529
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
this.search()
|
|
492
533
|
}
|
|
493
534
|
},
|
|
494
535
|
watch:{
|
|
@@ -515,7 +556,7 @@
|
|
|
515
556
|
return this.$login.r ? this.$login.r : []
|
|
516
557
|
},
|
|
517
558
|
getCondition(){
|
|
518
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr}
|
|
559
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,orderitem:this.orderitem}
|
|
519
560
|
},
|
|
520
561
|
getfield(){
|
|
521
562
|
let data = {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
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">
|
|
@@ -115,11 +115,17 @@
|
|
|
115
115
|
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
116
116
|
<template partial='head'>
|
|
117
117
|
<tr>
|
|
118
|
-
<th
|
|
118
|
+
<th>
|
|
119
|
+
<!--<nobr>客户编号</nobr>-->
|
|
120
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
121
|
+
</th>
|
|
119
122
|
<th><nobr>客户名称</nobr></th>
|
|
120
123
|
<th><nobr>档案编号</nobr></th>
|
|
121
124
|
<th><nobr>客户电话</nobr></th>
|
|
122
|
-
<th
|
|
125
|
+
<th>
|
|
126
|
+
<!--<nobr>客户地址</nobr>-->
|
|
127
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
128
|
+
</th>
|
|
123
129
|
<th><nobr>客户状态</nobr></th>
|
|
124
130
|
|
|
125
131
|
<th><nobr>表号</nobr></th>
|
|
@@ -163,9 +169,15 @@
|
|
|
163
169
|
<th v-if="$parent.$parent.$parent.usertype!='民用'"><nobr>探测器数量</nobr></th>
|
|
164
170
|
<!--公共-->
|
|
165
171
|
<th><nobr>设施检验结论</nobr></th>
|
|
166
|
-
<th
|
|
172
|
+
<th>
|
|
173
|
+
<!--<nobr>交付日期</nobr>-->
|
|
174
|
+
<data-order field="f_deliver_date" name="交付日期" :order.sync="$parent.$parent.$parent.orderFields.f_deliver_date"></data-order>
|
|
175
|
+
</th>
|
|
167
176
|
<th><nobr>操作人</nobr></th>
|
|
168
|
-
<th
|
|
177
|
+
<th>
|
|
178
|
+
<!--<nobr>操作日期</nobr>-->
|
|
179
|
+
<data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
180
|
+
</th>
|
|
169
181
|
</tr>
|
|
170
182
|
</template>
|
|
171
183
|
<template partial='body'>
|
|
@@ -288,13 +300,18 @@
|
|
|
288
300
|
return {
|
|
289
301
|
other:[],
|
|
290
302
|
footer:[],
|
|
291
|
-
model: new PagedList('rs/sql/fireQuery', 20),
|
|
303
|
+
model: new PagedList('rs/sql/fireQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'id desc'`}),
|
|
292
304
|
criteriaShow: false,
|
|
293
305
|
orgCondtionStr: '',
|
|
294
306
|
modelval: [],
|
|
295
307
|
printshow: false,
|
|
296
308
|
all: false,
|
|
297
309
|
fields: {},
|
|
310
|
+
//排序
|
|
311
|
+
orderitem:'id desc',
|
|
312
|
+
orderFields: {
|
|
313
|
+
f_userinfo_id: 'no'
|
|
314
|
+
},
|
|
298
315
|
thead: '',
|
|
299
316
|
tfoot: '',
|
|
300
317
|
defaultfield: [],
|
|
@@ -432,6 +449,24 @@
|
|
|
432
449
|
})
|
|
433
450
|
this.modelval = sortModel
|
|
434
451
|
console.log('选择的打印的字段', this.modelval)
|
|
452
|
+
},
|
|
453
|
+
sort (field, rule) {
|
|
454
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
455
|
+
for (let key in this.orderFields) {
|
|
456
|
+
if (key === field) {
|
|
457
|
+
this.orderFields[key] = rule
|
|
458
|
+
} else {
|
|
459
|
+
this.orderFields[key] = 'no'
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
// 如果新规则不排序,还原为默认排序
|
|
463
|
+
if (rule === 'no') {
|
|
464
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
465
|
+
} else {
|
|
466
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
this.search()
|
|
435
470
|
}
|
|
436
471
|
},
|
|
437
472
|
watch:{
|
|
@@ -458,7 +493,7 @@
|
|
|
458
493
|
return this.$login.r ? this.$login.r : []
|
|
459
494
|
},
|
|
460
495
|
getCondition(){
|
|
461
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr}
|
|
496
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,orderitem:this.orderitem}
|
|
462
497
|
},
|
|
463
498
|
getfield(){
|
|
464
499
|
let data = {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
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">
|
|
@@ -253,7 +253,8 @@
|
|
|
253
253
|
<template partial='head'>
|
|
254
254
|
<tr>
|
|
255
255
|
<th>
|
|
256
|
-
|
|
256
|
+
<!--<nobr>客户编号</nobr>-->
|
|
257
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
257
258
|
</th>
|
|
258
259
|
<th>
|
|
259
260
|
<nobr>客户名称</nobr>
|
|
@@ -271,7 +272,8 @@
|
|
|
271
272
|
<nobr>身份证号</nobr>
|
|
272
273
|
</th>
|
|
273
274
|
<th>
|
|
274
|
-
|
|
275
|
+
<!--<nobr>客户地址</nobr>-->
|
|
276
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
275
277
|
</th>
|
|
276
278
|
<th>
|
|
277
279
|
<nobr>表册片区</nobr>
|
|
@@ -315,10 +317,12 @@
|
|
|
315
317
|
<nobr>通气人</nobr>
|
|
316
318
|
</th>
|
|
317
319
|
<th>
|
|
318
|
-
|
|
320
|
+
<!--<nobr>通气时间</nobr>-->
|
|
321
|
+
<data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
319
322
|
</th>
|
|
320
323
|
<th>
|
|
321
|
-
|
|
324
|
+
<!--<nobr>建表时间</nobr>-->
|
|
325
|
+
<data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
322
326
|
</th>
|
|
323
327
|
<th>
|
|
324
328
|
<nobr>气表状态</nobr>
|
|
@@ -506,7 +510,7 @@
|
|
|
506
510
|
isSingleUser: null,
|
|
507
511
|
other:[],
|
|
508
512
|
footer:[],
|
|
509
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
513
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
510
514
|
criteriaShow: false,
|
|
511
515
|
orgCondtionStr: '',
|
|
512
516
|
|
|
@@ -514,6 +518,11 @@
|
|
|
514
518
|
printshow: false,
|
|
515
519
|
all: false,
|
|
516
520
|
fields: {},
|
|
521
|
+
//排序
|
|
522
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
523
|
+
orderFields: {
|
|
524
|
+
f_userinfo_id: 'no'
|
|
525
|
+
},
|
|
517
526
|
thead: '',
|
|
518
527
|
tfoot: '',
|
|
519
528
|
initres: {
|
|
@@ -760,6 +769,24 @@
|
|
|
760
769
|
})
|
|
761
770
|
}
|
|
762
771
|
},
|
|
772
|
+
sort (field, rule) {
|
|
773
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
774
|
+
for (let key in this.orderFields) {
|
|
775
|
+
if (key === field) {
|
|
776
|
+
this.orderFields[key] = rule
|
|
777
|
+
} else {
|
|
778
|
+
this.orderFields[key] = 'no'
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
// 如果新规则不排序,还原为默认排序
|
|
782
|
+
if (rule === 'no') {
|
|
783
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
784
|
+
} else {
|
|
785
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
this.search()
|
|
789
|
+
}
|
|
763
790
|
},
|
|
764
791
|
watch: {
|
|
765
792
|
'model.rows.length' () {
|
|
@@ -809,7 +836,7 @@
|
|
|
809
836
|
}
|
|
810
837
|
this.updateParams()
|
|
811
838
|
}
|
|
812
|
-
}
|
|
839
|
+
}
|
|
813
840
|
},
|
|
814
841
|
computed: {
|
|
815
842
|
authArr () {
|
|
@@ -845,7 +872,7 @@
|
|
|
845
872
|
}
|
|
846
873
|
},
|
|
847
874
|
getCondition() {
|
|
848
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
875
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
849
876
|
},
|
|
850
877
|
getfield() {
|
|
851
878
|
let data = {}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
|
|
3
3
|
<div class="basic-main">
|
|
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">
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
<export-excel :data="$parent.$parent.getCondition"
|
|
47
47
|
:field="$parent.$parent.getfield"
|
|
48
48
|
:header="$parent.$parent.other"
|
|
49
|
-
v-if="$parent.$parent.authArr.includes('
|
|
50
|
-
sqlurl="rs/logic/exportfile" sql-name="
|
|
49
|
+
v-if="$parent.$parent.authArr.includes('调价记录查询导出')"
|
|
50
|
+
sqlurl="rs/logic/exportfile" sql-name="pricechangequery" template-name='调价记录查询导出'
|
|
51
51
|
:choose-col="true"></export-excel>
|
|
52
52
|
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
53
53
|
:defaultfield="$parent.$parent.defaultfield"
|
|
54
|
-
titletable="
|
|
54
|
+
titletable="调价记录查询"
|
|
55
55
|
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
56
56
|
<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
57
|
</div>
|
|
@@ -94,7 +94,8 @@
|
|
|
94
94
|
<template partial='head'>
|
|
95
95
|
<tr>
|
|
96
96
|
<th>
|
|
97
|
-
|
|
97
|
+
<!--<nobr>客户编号</nobr>-->
|
|
98
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
98
99
|
</th>
|
|
99
100
|
<th>
|
|
100
101
|
<nobr>客户名称</nobr>
|
|
@@ -115,7 +116,8 @@
|
|
|
115
116
|
<nobr>操作人</nobr>
|
|
116
117
|
</th>
|
|
117
118
|
<th>
|
|
118
|
-
|
|
119
|
+
<!--<nobr>操作日期</nobr>-->
|
|
120
|
+
<data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
119
121
|
</th>
|
|
120
122
|
<th>
|
|
121
123
|
<nobr>部门</nobr>
|
|
@@ -192,13 +194,18 @@
|
|
|
192
194
|
footer:[],
|
|
193
195
|
meterbrands: [],
|
|
194
196
|
pricenames: [],
|
|
195
|
-
model: new PagedList('rs/sql/pricechangequery', 20),
|
|
197
|
+
model: new PagedList('rs/sql/pricechangequery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
196
198
|
criteriaShow: false,
|
|
197
199
|
orgCondtionStr: '',
|
|
198
200
|
modelval: [],
|
|
199
201
|
printshow: false,
|
|
200
202
|
all: false,
|
|
201
203
|
fields: {},
|
|
204
|
+
//排序
|
|
205
|
+
orderitem:'f_operate_date desc',
|
|
206
|
+
orderFields: {
|
|
207
|
+
f_operate_date: 'no'
|
|
208
|
+
},
|
|
202
209
|
initres: {
|
|
203
210
|
org:[this.$login.f.orgid],
|
|
204
211
|
dep:[],
|
|
@@ -227,7 +234,7 @@
|
|
|
227
234
|
getPricenames() {
|
|
228
235
|
this.price = []
|
|
229
236
|
let priceArr = []
|
|
230
|
-
debugger
|
|
237
|
+
//debugger
|
|
231
238
|
this.$MagGetSaleParam.prices.forEach((item) => {
|
|
232
239
|
let temp = {}
|
|
233
240
|
temp.label = item.f_price_name
|
|
@@ -330,6 +337,24 @@
|
|
|
330
337
|
})
|
|
331
338
|
this.modelval = sortModel
|
|
332
339
|
console.log('选择的打印的字段', this.modelval)
|
|
340
|
+
},
|
|
341
|
+
sort (field, rule) {
|
|
342
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
343
|
+
for (let key in this.orderFields) {
|
|
344
|
+
if (key === field) {
|
|
345
|
+
this.orderFields[key] = rule
|
|
346
|
+
} else {
|
|
347
|
+
this.orderFields[key] = 'no'
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
// 如果新规则不排序,还原为默认排序
|
|
351
|
+
if (rule === 'no') {
|
|
352
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
353
|
+
} else {
|
|
354
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
this.search()
|
|
333
358
|
}
|
|
334
359
|
},
|
|
335
360
|
watch: {
|
|
@@ -356,7 +381,7 @@
|
|
|
356
381
|
return this.$login.r ? this.$login.r : []
|
|
357
382
|
},
|
|
358
383
|
getCondition() {
|
|
359
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
384
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
360
385
|
},
|
|
361
386
|
getfield() {
|
|
362
387
|
return exportConfig.changUserConfig
|
|
@@ -444,7 +444,10 @@
|
|
|
444
444
|
<template partial='head'>
|
|
445
445
|
<tr>
|
|
446
446
|
<th><nobr>客户状态</nobr></th>
|
|
447
|
-
<th
|
|
447
|
+
<th>
|
|
448
|
+
<!--<nobr>客户编号</nobr>-->
|
|
449
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
450
|
+
</th>
|
|
448
451
|
<th><nobr>档案编号</nobr></th>
|
|
449
452
|
<th><nobr>是否发卡</nobr></th>
|
|
450
453
|
<th><nobr>卡号</nobr></th>
|
|
@@ -460,7 +463,10 @@
|
|
|
460
463
|
</th>
|
|
461
464
|
<th><nobr>客户电话</nobr></th>
|
|
462
465
|
<th><nobr>表册片区</nobr></th>
|
|
463
|
-
<th
|
|
466
|
+
<th>
|
|
467
|
+
<!--<nobr>通气日期</nobr>-->
|
|
468
|
+
<data-order field="f_gas_date" name="通气日期" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
469
|
+
</th>
|
|
464
470
|
<!-- 气价类型,单价暂时未处理 -->
|
|
465
471
|
<th><nobr>气价类型</nobr></th>
|
|
466
472
|
<th><nobr>气价名称</nobr></th>
|
|
@@ -473,10 +479,16 @@
|
|
|
473
479
|
<th><nobr>表号</nobr></th>
|
|
474
480
|
<th><nobr>表封号</nobr></th>
|
|
475
481
|
<th><nobr>左右表</nobr></th>
|
|
476
|
-
<th
|
|
482
|
+
<th>
|
|
483
|
+
<!--<nobr>气表安装日期</nobr>-->
|
|
484
|
+
<data-order field="f_install_date" name="气表安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_install_date"></data-order>
|
|
485
|
+
</th>
|
|
477
486
|
<th><nobr>气表底数</nobr></th>
|
|
478
487
|
<th><nobr>账户余额</nobr></th>
|
|
479
|
-
<th
|
|
488
|
+
<th>
|
|
489
|
+
<!--<nobr>最后抄表日期</nobr>-->
|
|
490
|
+
<data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
|
|
491
|
+
</th>
|
|
480
492
|
<!--<th><nobr>最后购气日期</nobr></th>-->
|
|
481
493
|
|
|
482
494
|
<th><nobr>阀门状态</nobr></th>
|
|
@@ -484,12 +496,22 @@
|
|
|
484
496
|
<!-- <th><nobr>旧客户编号</nobr></th> -->
|
|
485
497
|
<th><nobr>客户类型</nobr></th>
|
|
486
498
|
<th><nobr>用气性质</nobr></th>
|
|
487
|
-
<th
|
|
499
|
+
<th>
|
|
500
|
+
<!--<nobr>开户时间</nobr>-->
|
|
501
|
+
<data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
|
|
502
|
+
|
|
503
|
+
</th>
|
|
488
504
|
<th><nobr>证件类型</nobr></th>
|
|
489
505
|
<th><nobr>证件号码</nobr></th>
|
|
490
506
|
<th><nobr>人口数</nobr></th>
|
|
491
|
-
<th
|
|
492
|
-
|
|
507
|
+
<th>
|
|
508
|
+
<!--<nobr>保险结束日期</nobr>-->
|
|
509
|
+
<data-order field="f_ins_stop_date" name="保险结束日期" :order.sync="$parent.$parent.$parent.orderFields.f_ins_stop_date"></data-order>
|
|
510
|
+
</th>
|
|
511
|
+
<th>
|
|
512
|
+
<!--<nobr>建档日期</nobr>-->
|
|
513
|
+
<data-order field="f_createfile_date" name="建档日期" :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>
|
|
514
|
+
</th>
|
|
493
515
|
<th><nobr>建档人</nobr></th>
|
|
494
516
|
<th><nobr>所属营业厅</nobr></th>
|
|
495
517
|
<th><nobr>备注信息</nobr></th>
|
|
@@ -553,7 +575,8 @@
|
|
|
553
575
|
<nobr>报警器编号</nobr>
|
|
554
576
|
</th>
|
|
555
577
|
<th>
|
|
556
|
-
|
|
578
|
+
<!--<nobr>换表时间</nobr>-->
|
|
579
|
+
<data-order field="f_maxdate" name="换表时间" :order.sync="$parent.$parent.$parent.orderFields.f_maxdate"></data-order>
|
|
557
580
|
</th>
|
|
558
581
|
<th>
|
|
559
582
|
<nobr>灶具信息</nobr>
|
|
@@ -574,10 +597,10 @@
|
|
|
574
597
|
<td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
|
|
575
598
|
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
576
599
|
<td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
577
|
-
<td style="text-align: center;"><nobr>{{row.
|
|
600
|
+
<td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
|
|
578
601
|
<td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
|
|
579
602
|
<td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
|
|
580
|
-
<td style="text-align: center;"><nobr>{{row.
|
|
603
|
+
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
581
604
|
<td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
|
|
582
605
|
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
583
606
|
<td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
|
|
@@ -767,7 +790,7 @@
|
|
|
767
790
|
isSingleUser: null,
|
|
768
791
|
other:[],
|
|
769
792
|
footer:[],
|
|
770
|
-
model: new PagedList('rs/sql/compreQuery', 20,{
|
|
793
|
+
model: new PagedList('rs/sql/compreQuery', 20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
|
|
771
794
|
criteriaShow: false,
|
|
772
795
|
orgCondtionStr:'',
|
|
773
796
|
residentialArea: [],
|
|
@@ -782,12 +805,7 @@
|
|
|
782
805
|
tfoot: '',
|
|
783
806
|
defaultfield: [],
|
|
784
807
|
//排序
|
|
785
|
-
orderitem: 'f_residential_area',
|
|
786
|
-
orderitem1: 'f_unit',
|
|
787
|
-
orderitem2: 'f_building',
|
|
788
|
-
orderitem3: 'f_floor',
|
|
789
|
-
orderitem4: 'f_room',
|
|
790
|
-
|
|
808
|
+
orderitem: 'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc',
|
|
791
809
|
orderFields: {
|
|
792
810
|
f_operate_date: 'no'
|
|
793
811
|
},
|
|
@@ -924,8 +942,7 @@
|
|
|
924
942
|
//查询多个抄表员时条件
|
|
925
943
|
args.condition += ` and f_inputtor in ( ${str} )`
|
|
926
944
|
}
|
|
927
|
-
//
|
|
928
|
-
debugger
|
|
945
|
+
//debugger
|
|
929
946
|
this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
|
|
930
947
|
if(this.bookinputtorperson.length !== 0){
|
|
931
948
|
let str = JSON.stringify(this.bookinputtorperson)
|
|
@@ -1082,20 +1099,20 @@
|
|
|
1082
1099
|
this.initmeterbook();
|
|
1083
1100
|
}
|
|
1084
1101
|
},
|
|
1085
|
-
|
|
1102
|
+
sort (field, rule) {
|
|
1086
1103
|
// 将所有排序方式设为不排序,实现相互排斥
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1104
|
+
for (let key in this.orderFields) {
|
|
1105
|
+
if (key === field) {
|
|
1106
|
+
this.orderFields[key] = rule
|
|
1107
|
+
} else {
|
|
1108
|
+
this.orderFields[key] = 'no'
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1094
1111
|
// 如果新规则不排序,还原为默认排序
|
|
1095
|
-
if (rule === 'no'
|
|
1096
|
-
this.model.paramSource.
|
|
1112
|
+
if (rule === 'no') {
|
|
1113
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
1097
1114
|
} else {
|
|
1098
|
-
this.model.paramSource.
|
|
1115
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
1099
1116
|
}
|
|
1100
1117
|
|
|
1101
1118
|
this.search()
|
|
@@ -1243,7 +1260,7 @@
|
|
|
1243
1260
|
},
|
|
1244
1261
|
getCondition(){
|
|
1245
1262
|
|
|
1246
|
-
return {condition:this.conditon2}
|
|
1263
|
+
return {condition:this.conditon2,orderitem:this.orderitem}
|
|
1247
1264
|
},
|
|
1248
1265
|
getfield(){
|
|
1249
1266
|
let data = {}
|