manage-client 3.1.55 → 3.1.59
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/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{5.4.1 → 5.2.1}/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/{5.4.1 → 5.2.1}/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +7 -22
- package/package.json +1 -1
- package/src/components/SellReport/OperatorCheckoutTwo.vue +28 -2
- package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +7 -3
- package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +11 -3
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +17 -11
- package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
- package/src/components/sale/report/aode/YearByUserType.vue +272 -272
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +1 -1
- package/src/components/webmeter/newwebmeter/UserGasList.vue +1 -1
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +6 -6
- package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
- package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
- package/src/filiale/WEINAN/config/tableConfig.js +19 -36
- package/src/filiale/WEINAN/sale.js +29 -29
- package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
- package/src/filiale/pingxiang/sale.js +9 -9
- package/src/filiale/qingtongxia/sale.js +13 -13
- package/src/filiale/rongcheng/UserQuery.vue +827 -827
- package/src/filiale/shaoguan/ChargeQuery.vue +1 -1
- package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
- package/src/filiale/shaoguan/TransferQuery.vue +403 -403
- package/src/filiale/shaoguan/config/exportConfig.js +433 -433
- package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
- package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
- package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
- package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
- package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
- package/src/filiale/tongchuan/ReportList.vue +468 -456
- package/src/main.js +66 -66
- package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
- package/src/.idea/misc.xml +0 -9
- package/src/.idea/modules.xml +0 -8
- package/src/.idea/src.iml +0 -9
- package/src/.idea/vcs.xml +0 -6
- package/src/.idea/workspace.xml +0 -93
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -11,25 +11,17 @@ var compiler = webpack(config)
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
13
|
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
|
|
15
|
-
var fuwu='http://119.146.1.106:8300/'
|
|
14
|
+
var shaoguan='http://119.146.1.106:8300/'
|
|
16
15
|
var qtx='http://36.103.222.144:6300/'
|
|
17
|
-
var bendi = 'http://127.0.0.1:
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
// var fuwu='http://192.168.50.4:8400/'
|
|
21
|
-
// var fuwu='http://172.168.1.11:9001/'
|
|
22
|
-
//经纬
|
|
23
|
-
// var fuwu='http://60.222.250.39:8300/'
|
|
16
|
+
var bendi = 'http://127.0.0.1:8084/', fuwu_login = 'http://192.168.50.4:8400'
|
|
17
|
+
var fuwu = 'http://61.134.55.234:8600'
|
|
18
|
+
var system = 'http://192.168.50.4:8400'
|
|
24
19
|
//192.168.
|
|
25
20
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
26
21
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
27
22
|
var proxyTable = {
|
|
28
23
|
'/rs/logic/exportfile': {
|
|
29
|
-
target:
|
|
30
|
-
},
|
|
31
|
-
'/rs/entity':{
|
|
32
|
-
target:'http://127.0.0.1:8080'
|
|
24
|
+
target: fuwu
|
|
33
25
|
},
|
|
34
26
|
'/files': {
|
|
35
27
|
target: fuwu
|
|
@@ -75,7 +67,7 @@ var proxyTable = {
|
|
|
75
67
|
target: fuwu
|
|
76
68
|
},
|
|
77
69
|
'/rs/report': {
|
|
78
|
-
target:
|
|
70
|
+
target: fuwu
|
|
79
71
|
},
|
|
80
72
|
'/rs/vue': {
|
|
81
73
|
target: fuwu
|
|
@@ -86,15 +78,8 @@ var proxyTable = {
|
|
|
86
78
|
'/rs/logic/SumSettleFileImport': {
|
|
87
79
|
target: 'http://127.0.0.1:8080'
|
|
88
80
|
},
|
|
89
|
-
'/rs/logic/getBatchOperaPro':{
|
|
90
|
-
target: 'http://127.0.0.1:8080'
|
|
91
|
-
},
|
|
92
|
-
'/rs/logic/machineChargePay':{
|
|
93
|
-
target: 'http://127.0.0.1:8080'
|
|
94
|
-
},
|
|
95
81
|
'/rs': {
|
|
96
|
-
|
|
97
|
-
target: fuwu
|
|
82
|
+
target: bendi
|
|
98
83
|
}
|
|
99
84
|
}
|
|
100
85
|
|
package/package.json
CHANGED
|
@@ -142,12 +142,25 @@
|
|
|
142
142
|
depid: [],
|
|
143
143
|
orgname: '',
|
|
144
144
|
depname: '',
|
|
145
|
+
qishiDate:'',
|
|
146
|
+
jieshuDate:'',
|
|
147
|
+
startDate:'',
|
|
148
|
+
endDate:'',
|
|
145
149
|
operatorname: '',
|
|
146
150
|
f_inputtor:[],
|
|
147
151
|
f_user_type:'',
|
|
148
152
|
orgCondtionStr: '1=1',
|
|
149
|
-
model: new DataModel('rs/report/checkoutReportTwo',
|
|
150
|
-
|
|
153
|
+
model: new DataModel('rs/report/checkoutReportTwo',
|
|
154
|
+
{startDate: 'this.model.startDate',
|
|
155
|
+
endDate: 'this.model.endDate',
|
|
156
|
+
f_orgid: 'this.model.f_orgid',
|
|
157
|
+
depname:'this.model.depname',
|
|
158
|
+
operatorname:'this.model.operatorname',
|
|
159
|
+
qishiDate:'this.model.startDate.substring(0,10)',
|
|
160
|
+
jieshuDate:'this.model.endDate.substring(0,10)'
|
|
161
|
+
},
|
|
162
|
+
),
|
|
163
|
+
|
|
151
164
|
reportStr: null,
|
|
152
165
|
show: false
|
|
153
166
|
}
|
|
@@ -158,7 +171,9 @@
|
|
|
158
171
|
this.$refs.paged.$refs.criteria.search()
|
|
159
172
|
console.log(this.$login.f)
|
|
160
173
|
},
|
|
174
|
+
|
|
161
175
|
methods: {
|
|
176
|
+
|
|
162
177
|
searchData () {
|
|
163
178
|
this.$refs.paged.$refs.criteria.search()
|
|
164
179
|
},
|
|
@@ -174,6 +189,17 @@
|
|
|
174
189
|
if(this.f_operatorid[0]) {
|
|
175
190
|
orgcondition += ' and f_operatorid in ( ' + this.f_operatorid + ')'
|
|
176
191
|
}
|
|
192
|
+
if(this.depname){
|
|
193
|
+
this.$refs.paged.$refs.criteria.model.depname = this.depname
|
|
194
|
+
}else{
|
|
195
|
+
this.$refs.paged.$refs.criteria.model.depname = '无'
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
if(this.operatorname){
|
|
199
|
+
this.$refs.paged.$refs.criteria.model.operatorname = this.operatorname
|
|
200
|
+
}else{
|
|
201
|
+
this.$refs.paged.$refs.criteria.model.operatorname = '无'
|
|
202
|
+
}
|
|
177
203
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
178
204
|
this.$refs.paged.search(args)
|
|
179
205
|
},
|
|
@@ -296,7 +296,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
296
296
|
defaultPrint: ['f_gy_gas', 'f_sum_gas', 'f_sum_num', 'f_my_gas']
|
|
297
297
|
},
|
|
298
298
|
footer:[],
|
|
299
|
-
model: new PagedList('rs/sql/getExpectGasListExcel', 20,{},{
|
|
299
|
+
model: new PagedList('rs/sql/getExpectGasListExcel', 20,{id: 'this.model.id'},{
|
|
300
300
|
f_gy_num:0,f_my_num:0,f_jt_num:0,f_sy_num:0,f_old_num:0,f_sum_num:0,
|
|
301
301
|
f_gy_gas:0,f_my_gas:0,f_jt_gas:0,f_sy_gas:0,f_old_gas:0,f_sum_gas:0,
|
|
302
302
|
f_gy_account:0,f_my_account:0,f_jt_account:0,f_sy_account:0,f_old_fee:0,f_sum_account:0
|
|
@@ -351,7 +351,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
351
351
|
|
|
352
352
|
selfSearch(args) {
|
|
353
353
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
354
|
-
|
|
354
|
+
args.model.id = this.$login.f.id
|
|
355
|
+
new HttpResetClass().load('POST','rs/logic/getExpectGasListLogic',{condition: args.condition,id: args.model.id}).then(res =>{
|
|
355
356
|
this.model.search(args.condition, args.model)
|
|
356
357
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
357
358
|
})
|
|
@@ -489,7 +490,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
489
490
|
},
|
|
490
491
|
computed: {
|
|
491
492
|
getCondition() {
|
|
492
|
-
return {
|
|
493
|
+
return {
|
|
494
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
495
|
+
id: this.$refs.paged.$refs.cri.model.id
|
|
496
|
+
}
|
|
493
497
|
},
|
|
494
498
|
getfield() {
|
|
495
499
|
return exportConfig.expectgasConfig
|
|
@@ -197,7 +197,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
197
197
|
config: {
|
|
198
198
|
defaultPrint: ['f_wechat_pay', 'f_bank_pay', 'f_pre_deduct_money']
|
|
199
199
|
},
|
|
200
|
-
model: new PagedList('rs/sql/getPreGasListNew', 20,{
|
|
200
|
+
model: new PagedList('rs/sql/getPreGasListNew', 20,{
|
|
201
|
+
startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
202
|
+
id: 'this.model.id'
|
|
203
|
+
},{
|
|
201
204
|
f_last_balance:0,
|
|
202
205
|
f_wechat_pay:0,
|
|
203
206
|
f_money_pay:0,
|
|
@@ -255,11 +258,13 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
255
258
|
|
|
256
259
|
selfSearch(args) {
|
|
257
260
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
261
|
+
args.model.id = this.$login.f.id
|
|
258
262
|
new HttpResetClass().load('POST','rs/logic/getPreGasListNewLogic',
|
|
259
263
|
{
|
|
260
264
|
condition:args.condition,
|
|
261
265
|
startDate:args.model.startDate,
|
|
262
|
-
endDate:args.model.endDate
|
|
266
|
+
endDate:args.model.endDate,
|
|
267
|
+
id: args.model.id
|
|
263
268
|
}).then(res =>{
|
|
264
269
|
this.model.search(args.condition, args.model)
|
|
265
270
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
@@ -352,7 +357,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
352
357
|
return {
|
|
353
358
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
354
359
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
355
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
360
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
361
|
+
id: this.$refs.paged.$refs.cri.model.id
|
|
362
|
+
}
|
|
363
|
+
|
|
356
364
|
},
|
|
357
365
|
getfield() {
|
|
358
366
|
return exportConfig.pregaslistConfig
|
|
@@ -211,7 +211,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
211
211
|
defaultPrint: ['f_account', 'f_pre_pay', 'f_month']
|
|
212
212
|
},
|
|
213
213
|
footer:[],
|
|
214
|
-
model: new PagedList('rs/sql/getSellinggasListNew', 20,
|
|
214
|
+
model: new PagedList('rs/sql/getSellinggasListNew', 20,
|
|
215
|
+
{startDate: 'this.model.startDate', endDate: 'this.model.endDate', temp: 'this.model.temp',id: 'this.model.id'},
|
|
216
|
+
{
|
|
215
217
|
f_last_balance:0,
|
|
216
218
|
f_account:0,
|
|
217
219
|
f_wechat_pay:0,
|
|
@@ -276,23 +278,26 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
276
278
|
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
277
279
|
}
|
|
278
280
|
args.condition = orgcondition
|
|
281
|
+
args.model.id = this.$login.f.id
|
|
279
282
|
let s = new Date(new Date().getFullYear(), new Date().getMonth(), 1)
|
|
280
283
|
let e = new Date(args.model.endDate)
|
|
281
284
|
if (s <= e) {
|
|
282
285
|
args.model.temp = true
|
|
286
|
+
new HttpResetClass().load('POST','rs/logic/getSellinggasListNewLogic',
|
|
287
|
+
{
|
|
288
|
+
condition:args.condition,
|
|
289
|
+
startDate:args.model.startDate,
|
|
290
|
+
endDate:args.model.endDate,
|
|
291
|
+
id: args.model.id
|
|
292
|
+
}).then(res =>{
|
|
293
|
+
this.model.search(args.condition, args.model)
|
|
294
|
+
})
|
|
283
295
|
}else {
|
|
284
296
|
args.model.temp = false
|
|
297
|
+
this.model.search(args.condition, args.model)
|
|
285
298
|
}
|
|
286
|
-
this.model.search(args.condition, args.model)
|
|
287
299
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
288
|
-
|
|
289
|
-
// {
|
|
290
|
-
// condition:args.condition,
|
|
291
|
-
// startDate:args.model.startDate,
|
|
292
|
-
// endDate:args.model.endDate
|
|
293
|
-
// }).then(res =>{
|
|
294
|
-
//
|
|
295
|
-
// })
|
|
300
|
+
|
|
296
301
|
},
|
|
297
302
|
clear() {
|
|
298
303
|
//清空部门和人员
|
|
@@ -386,7 +391,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
386
391
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
387
392
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
388
393
|
condition: this.$refs.paged.model.condition,
|
|
389
|
-
temp: this.$refs.paged.$refs.cri.model.temp
|
|
394
|
+
temp: this.$refs.paged.$refs.cri.model.temp,
|
|
395
|
+
id: this.$refs.paged.$refs.cri.model.id
|
|
390
396
|
}
|
|
391
397
|
},
|
|
392
398
|
getfield() {
|
|
@@ -1,168 +1,168 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
4
|
-
<div class="flex" >
|
|
5
|
-
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2 form-group">
|
|
11
|
-
<label for="startDate" class="font_normal_body" >开始日期</label>
|
|
12
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
-
v-model="model.startDate"
|
|
14
|
-
:value.sync="model.startDate"
|
|
15
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
-
:show-reset-button="true"
|
|
17
|
-
>
|
|
18
|
-
</datepicker>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2 form-group">
|
|
21
|
-
<label for="endDate" class="font_normal_body" >结束日期</label>
|
|
22
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
-
v-model="model.endDate"
|
|
24
|
-
:value.sync="model.endDate"
|
|
25
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
-
:show-reset-button="true"
|
|
27
|
-
>
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="span" style="float:right;">
|
|
31
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
-
|
|
34
|
-
<!-- <export-excel :data="$parent.$parent.getCondition"-->
|
|
35
|
-
<!-- :field="$parent.$parent.getfield"-->
|
|
36
|
-
<!-- :header="$parent.$parent.other"-->
|
|
37
|
-
<!-- sqlurl="rs/logic/exportfile" sql-name="salesgasclassification" template-name='销售量分类'-->
|
|
38
|
-
<!-- :choose-col="true"></export-excel>-->
|
|
39
|
-
<!-- <!– <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>–>-->
|
|
40
|
-
<!-- </div>-->
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</criteria>
|
|
45
|
-
|
|
46
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
47
|
-
<template partial='head'>
|
|
48
|
-
<tr>
|
|
49
|
-
<th>
|
|
50
|
-
<nobr>用气性质</nobr>
|
|
51
|
-
</th>
|
|
52
|
-
<th>
|
|
53
|
-
<nobr>区域</nobr>
|
|
54
|
-
</th>
|
|
55
|
-
<th>
|
|
56
|
-
<nobr>用户类型</nobr>
|
|
57
|
-
</th>
|
|
58
|
-
<th>
|
|
59
|
-
<nobr>本月开户</nobr>
|
|
60
|
-
</th>
|
|
61
|
-
<th>
|
|
62
|
-
<nobr>本年开户</nobr>
|
|
63
|
-
</th>
|
|
64
|
-
<th>
|
|
65
|
-
<nobr>开工累计</nobr>
|
|
66
|
-
</th>
|
|
67
|
-
<th>
|
|
68
|
-
<nobr>本月售气量</nobr>
|
|
69
|
-
</th>
|
|
70
|
-
<th>
|
|
71
|
-
<nobr>本年售气量</nobr>
|
|
72
|
-
</th>
|
|
73
|
-
<th>
|
|
74
|
-
<nobr>本月售气金额</nobr>
|
|
75
|
-
</th>
|
|
76
|
-
<th>
|
|
77
|
-
<nobr>本年售气金额</nobr>
|
|
78
|
-
</th>
|
|
79
|
-
</tr>
|
|
80
|
-
</template>
|
|
81
|
-
<template partial='body'>
|
|
82
|
-
<td style="text-align: center;">
|
|
83
|
-
<nobr>{{row.f_gasproperties}}</nobr>
|
|
84
|
-
</td>
|
|
85
|
-
<td style="text-align: center;">
|
|
86
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
87
|
-
</td>
|
|
88
|
-
<td style="text-align: center;">
|
|
89
|
-
<nobr>{{row.f_usertype}}</nobr>
|
|
90
|
-
</td>
|
|
91
|
-
<td style="text-align: center;">
|
|
92
|
-
<nobr>{{row.yuekaihu}}</nobr>
|
|
93
|
-
</td>
|
|
94
|
-
<td style="text-align: center;">
|
|
95
|
-
<nobr>{{row.niankaihu}}</nobr>
|
|
96
|
-
</td>
|
|
97
|
-
<td style="text-align: center;">
|
|
98
|
-
<nobr>{{row.kgleij}}</nobr>
|
|
99
|
-
</td>
|
|
100
|
-
<td style="text-align: center;">
|
|
101
|
-
<nobr>{{row.f_yuepregas}}</nobr>
|
|
102
|
-
</td>
|
|
103
|
-
<td style="text-align: center;">
|
|
104
|
-
<nobr>{{row.f_yuepreamount}}</nobr>
|
|
105
|
-
</td>
|
|
106
|
-
<td style="text-align: center;">
|
|
107
|
-
<nobr>{{row.f_pregas}}</nobr>
|
|
108
|
-
</td>
|
|
109
|
-
<td style="text-align: center;">
|
|
110
|
-
<nobr>{{row.f_preamount}}</nobr>
|
|
111
|
-
</td>
|
|
112
|
-
</template>
|
|
113
|
-
<template partial='foot'></template>
|
|
114
|
-
</data-grid>
|
|
115
|
-
</criteria-paged>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</template>
|
|
120
|
-
|
|
121
|
-
<script>
|
|
122
|
-
import {PagedList} from 'vue-client'
|
|
123
|
-
import defaultPrint from '../config/DefaultPrint'
|
|
124
|
-
import exportConfig from '../config/exportConfig'
|
|
125
|
-
let readySomething = async function (self) {
|
|
126
|
-
|
|
127
|
-
console.log("self.login",self.$login)
|
|
128
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
129
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
130
|
-
self.search()
|
|
131
|
-
}
|
|
132
|
-
export default {
|
|
133
|
-
title: '销售量分类',
|
|
134
|
-
data() {
|
|
135
|
-
return {
|
|
136
|
-
model: new PagedList('rs/sql/salesgasclassification', 20, {f_start_date: 'this.model.startDate', f_end_date: 'this.model.endDate'}),
|
|
137
|
-
orgCondtionStr: '',
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
ready() {
|
|
141
|
-
readySomething(this).then(() => {
|
|
142
|
-
this.$emit('ready')
|
|
143
|
-
}).catch((error) => {
|
|
144
|
-
this.$emit('error', error)
|
|
145
|
-
})
|
|
146
|
-
},
|
|
147
|
-
methods: {
|
|
148
|
-
search(){
|
|
149
|
-
this.$refs.paged.$refs.cri.search()
|
|
150
|
-
},
|
|
151
|
-
selfSearch(args) {
|
|
152
|
-
debugger
|
|
153
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
154
|
-
this.model.search(args.condition, args.model)
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
watch: {
|
|
158
|
-
},
|
|
159
|
-
computed: {
|
|
160
|
-
// getCondition() {
|
|
161
|
-
// return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
162
|
-
// },
|
|
163
|
-
// getfield() {
|
|
164
|
-
// return exportConfig.exemptquery
|
|
165
|
-
// },
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" >
|
|
5
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label for="startDate" class="font_normal_body" >开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
>
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body" >结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
>
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="span" style="float:right;">
|
|
31
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
|
|
34
|
+
<!-- <export-excel :data="$parent.$parent.getCondition"-->
|
|
35
|
+
<!-- :field="$parent.$parent.getfield"-->
|
|
36
|
+
<!-- :header="$parent.$parent.other"-->
|
|
37
|
+
<!-- sqlurl="rs/logic/exportfile" sql-name="salesgasclassification" template-name='销售量分类'-->
|
|
38
|
+
<!-- :choose-col="true"></export-excel>-->
|
|
39
|
+
<!-- <!– <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>–>-->
|
|
40
|
+
<!-- </div>-->
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</criteria>
|
|
45
|
+
|
|
46
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
47
|
+
<template partial='head'>
|
|
48
|
+
<tr>
|
|
49
|
+
<th>
|
|
50
|
+
<nobr>用气性质</nobr>
|
|
51
|
+
</th>
|
|
52
|
+
<th>
|
|
53
|
+
<nobr>区域</nobr>
|
|
54
|
+
</th>
|
|
55
|
+
<th>
|
|
56
|
+
<nobr>用户类型</nobr>
|
|
57
|
+
</th>
|
|
58
|
+
<th>
|
|
59
|
+
<nobr>本月开户</nobr>
|
|
60
|
+
</th>
|
|
61
|
+
<th>
|
|
62
|
+
<nobr>本年开户</nobr>
|
|
63
|
+
</th>
|
|
64
|
+
<th>
|
|
65
|
+
<nobr>开工累计</nobr>
|
|
66
|
+
</th>
|
|
67
|
+
<th>
|
|
68
|
+
<nobr>本月售气量</nobr>
|
|
69
|
+
</th>
|
|
70
|
+
<th>
|
|
71
|
+
<nobr>本年售气量</nobr>
|
|
72
|
+
</th>
|
|
73
|
+
<th>
|
|
74
|
+
<nobr>本月售气金额</nobr>
|
|
75
|
+
</th>
|
|
76
|
+
<th>
|
|
77
|
+
<nobr>本年售气金额</nobr>
|
|
78
|
+
</th>
|
|
79
|
+
</tr>
|
|
80
|
+
</template>
|
|
81
|
+
<template partial='body'>
|
|
82
|
+
<td style="text-align: center;">
|
|
83
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
84
|
+
</td>
|
|
85
|
+
<td style="text-align: center;">
|
|
86
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
87
|
+
</td>
|
|
88
|
+
<td style="text-align: center;">
|
|
89
|
+
<nobr>{{row.f_usertype}}</nobr>
|
|
90
|
+
</td>
|
|
91
|
+
<td style="text-align: center;">
|
|
92
|
+
<nobr>{{row.yuekaihu}}</nobr>
|
|
93
|
+
</td>
|
|
94
|
+
<td style="text-align: center;">
|
|
95
|
+
<nobr>{{row.niankaihu}}</nobr>
|
|
96
|
+
</td>
|
|
97
|
+
<td style="text-align: center;">
|
|
98
|
+
<nobr>{{row.kgleij}}</nobr>
|
|
99
|
+
</td>
|
|
100
|
+
<td style="text-align: center;">
|
|
101
|
+
<nobr>{{row.f_yuepregas}}</nobr>
|
|
102
|
+
</td>
|
|
103
|
+
<td style="text-align: center;">
|
|
104
|
+
<nobr>{{row.f_yuepreamount}}</nobr>
|
|
105
|
+
</td>
|
|
106
|
+
<td style="text-align: center;">
|
|
107
|
+
<nobr>{{row.f_pregas}}</nobr>
|
|
108
|
+
</td>
|
|
109
|
+
<td style="text-align: center;">
|
|
110
|
+
<nobr>{{row.f_preamount}}</nobr>
|
|
111
|
+
</td>
|
|
112
|
+
</template>
|
|
113
|
+
<template partial='foot'></template>
|
|
114
|
+
</data-grid>
|
|
115
|
+
</criteria-paged>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</template>
|
|
120
|
+
|
|
121
|
+
<script>
|
|
122
|
+
import {PagedList} from 'vue-client'
|
|
123
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
124
|
+
import exportConfig from '../config/exportConfig'
|
|
125
|
+
let readySomething = async function (self) {
|
|
126
|
+
|
|
127
|
+
console.log("self.login",self.$login)
|
|
128
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
129
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
130
|
+
self.search()
|
|
131
|
+
}
|
|
132
|
+
export default {
|
|
133
|
+
title: '销售量分类',
|
|
134
|
+
data() {
|
|
135
|
+
return {
|
|
136
|
+
model: new PagedList('rs/sql/salesgasclassification', 20, {f_start_date: 'this.model.startDate', f_end_date: 'this.model.endDate'}),
|
|
137
|
+
orgCondtionStr: '',
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
ready() {
|
|
141
|
+
readySomething(this).then(() => {
|
|
142
|
+
this.$emit('ready')
|
|
143
|
+
}).catch((error) => {
|
|
144
|
+
this.$emit('error', error)
|
|
145
|
+
})
|
|
146
|
+
},
|
|
147
|
+
methods: {
|
|
148
|
+
search(){
|
|
149
|
+
this.$refs.paged.$refs.cri.search()
|
|
150
|
+
},
|
|
151
|
+
selfSearch(args) {
|
|
152
|
+
debugger
|
|
153
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
154
|
+
this.model.search(args.condition, args.model)
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
watch: {
|
|
158
|
+
},
|
|
159
|
+
computed: {
|
|
160
|
+
// getCondition() {
|
|
161
|
+
// return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
162
|
+
// },
|
|
163
|
+
// getfield() {
|
|
164
|
+
// return exportConfig.exemptquery
|
|
165
|
+
// },
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
</script>
|