manage-client 3.2.121 → 3.2.124
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 +176 -176
- package/package.json +1 -1
- package/src/components/SellReport/ManageBusSummarynopay.vue +237 -0
- package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
- package/src/components/sale/businessquery/MonthGasQuery.vue +2 -2
- package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +71 -25
- package/src/components/sale/config/exportConfig.js +4 -5
- package/src/components/sale/filesquery/MeterQuery.vue +0 -1
- package/src/filiale/meihekou/UserQuery.vue +4 -4
- package/src/filiale/qianneng/HandplanQuery.vue +38 -0
- package/src/filiale/qianneng/exportConfig.js +2 -1
- package/src/filiale/qingtongxia/MonthGasQuery.vue +480 -0
- package/src/filiale/qingtongxia/sale.js +2 -0
- package/src/filiale/shaoguan/config/exportConfig.js +1 -1
- package/src/filiale/tongchuan/ChargeQuery.vue +3 -3
- package/src/filiale/tongchuan/MeterQuery.vue +8 -31
- package/src/filiale/zhongyi/MeterExceptionList.vue +599 -0
- package/src/filiale/zhongyi/sale.js +4 -1
- package/src/main.js +1 -1
- package/src/reportManage.js +4 -0
- package/.gradle/6.1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
7
|
-
var app = express()
|
|
8
|
-
var compiler = webpack(config)
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
10
|
-
|
|
11
|
-
// Define HTTP proxies to your custom API backend
|
|
12
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
var shaoguan='http://119.146.1.106:8300/'
|
|
15
|
-
var qtx='http://36.103.222.144:6300/'
|
|
16
|
-
var bendi = 'http://127.0.0.1:8090'
|
|
17
|
-
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = 'http://121.36.106.17:8400'
|
|
19
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
|
-
var system = 'http://192.168.50.4:8400'
|
|
21
|
-
//192.168.
|
|
22
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
|
-
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
24
|
-
var proxyTable = {
|
|
25
|
-
'/rs/logic/exportfile': {
|
|
26
|
-
target: fuwu
|
|
27
|
-
},
|
|
28
|
-
'/files': {
|
|
29
|
-
target: fuwu
|
|
30
|
-
},
|
|
31
|
-
// 查找资源服务数据
|
|
32
|
-
'/rs/search': {
|
|
33
|
-
target: fuwu
|
|
34
|
-
},
|
|
35
|
-
// 查找资源服务数据
|
|
36
|
-
'/rs/logic/getLogin': {
|
|
37
|
-
target: fuwu
|
|
38
|
-
},
|
|
39
|
-
// 查找资源服务数据
|
|
40
|
-
'/rs/logic/getInitData': {
|
|
41
|
-
target: fuwu
|
|
42
|
-
},
|
|
43
|
-
'/rs/logic/getSaleInitData':{
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
// 用户登录服务地址
|
|
47
|
-
'/rs/user': {
|
|
48
|
-
target: fuwu
|
|
49
|
-
},
|
|
50
|
-
'/rs/path/getParams': {
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/data': {
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/rs/license': {
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
'/rs/db': {
|
|
60
|
-
target: fuwu
|
|
61
|
-
},
|
|
62
|
-
'/excel': {
|
|
63
|
-
target: fuwu
|
|
64
|
-
},
|
|
65
|
-
'/rs/config': {
|
|
66
|
-
target: fuwu
|
|
67
|
-
},
|
|
68
|
-
'/rs/sql/getLicenseById': {
|
|
69
|
-
target: fuwu
|
|
70
|
-
},
|
|
71
|
-
'/rs/report': {
|
|
72
|
-
target: bendi
|
|
73
|
-
},
|
|
74
|
-
'/rs/vue': {
|
|
75
|
-
target: fuwu
|
|
76
|
-
},
|
|
77
|
-
'/rs/file': {
|
|
78
|
-
target: bendi
|
|
79
|
-
},
|
|
80
|
-
'/rs/logic/SumSettleFileImport': {
|
|
81
|
-
target: 'http://127.0.0.1:8080'
|
|
82
|
-
},
|
|
83
|
-
'/rs': {
|
|
84
|
-
target: bendi
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
89
|
-
publicPath: config.output.publicPath,
|
|
90
|
-
stats: {
|
|
91
|
-
colors: true,
|
|
92
|
-
chunks: false
|
|
93
|
-
}
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
97
|
-
// force page reload when html-webpack-plugin template changes
|
|
98
|
-
compiler.plugin('compilation', function (compilation) {
|
|
99
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
100
|
-
hotMiddleware.publish({action: 'reload'})
|
|
101
|
-
cb()
|
|
102
|
-
})
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
// proxy api requests
|
|
106
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
107
|
-
var options = proxyTable[context]
|
|
108
|
-
if (typeof options === 'string') {
|
|
109
|
-
options = {target: options}
|
|
110
|
-
}
|
|
111
|
-
app.use(proxyMiddleware(context, options))
|
|
112
|
-
})
|
|
113
|
-
|
|
114
|
-
// handle fallback for HTML5 history API
|
|
115
|
-
app.use(require('connect-history-api-fallback')())
|
|
116
|
-
// app.use(function (req, res, next) {
|
|
117
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
118
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
119
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
120
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
121
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
122
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
123
|
-
// next()
|
|
124
|
-
// })
|
|
125
|
-
|
|
126
|
-
// serve webpack bundle output
|
|
127
|
-
app.use(devMiddleware)
|
|
128
|
-
|
|
129
|
-
// enable hot-reload and state-preserving
|
|
130
|
-
// compilation error display
|
|
131
|
-
app.use(hotMiddleware)
|
|
132
|
-
|
|
133
|
-
// serve pure static assets
|
|
134
|
-
app.use('/static', express.static('./static'))
|
|
135
|
-
|
|
136
|
-
// app.all('/rs/*', function (req, res) {
|
|
137
|
-
// proxy.web(req, res, {
|
|
138
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
139
|
-
// })
|
|
140
|
-
// })
|
|
141
|
-
|
|
142
|
-
// app.all('/rs/*', function (req, res) {
|
|
143
|
-
// proxy.web(req, res, {
|
|
144
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
145
|
-
// })
|
|
146
|
-
// })
|
|
147
|
-
// app.all('/excel/*', function (req, res) {
|
|
148
|
-
// proxy.web(req, res, {
|
|
149
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
150
|
-
// })
|
|
151
|
-
// })
|
|
152
|
-
|
|
153
|
-
// app.all('/rs/*', function (req, res) {
|
|
154
|
-
// proxy.web(req, res, {
|
|
155
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
156
|
-
// })
|
|
157
|
-
// })
|
|
158
|
-
|
|
159
|
-
// app.all('/*', function (req, res) {
|
|
160
|
-
// proxy.web(req, res, {
|
|
161
|
-
// target: 'http://127.0.0.1:82'
|
|
162
|
-
// })
|
|
163
|
-
// })
|
|
164
|
-
// app.all('/rs/user', function (req, res) {
|
|
165
|
-
// proxy.web(req, res, {
|
|
166
|
-
// target: 'http://127.0.0.1:82'
|
|
167
|
-
// })
|
|
168
|
-
// })
|
|
169
|
-
|
|
170
|
-
module.exports = app.listen(8085, function (err) {
|
|
171
|
-
if (err) {
|
|
172
|
-
console.log(err)
|
|
173
|
-
return
|
|
174
|
-
}
|
|
175
|
-
console.log('Listening at http://localhost:8085')
|
|
176
|
-
})
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
|
|
7
|
+
var app = express()
|
|
8
|
+
var compiler = webpack(config)
|
|
9
|
+
// var proxy = httpProxy.createProxyServer()
|
|
10
|
+
|
|
11
|
+
// Define HTTP proxies to your custom API backend
|
|
12
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
+
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
+
var shaoguan='http://119.146.1.106:8300/'
|
|
15
|
+
var qtx='http://36.103.222.144:6300/'
|
|
16
|
+
var bendi = 'http://127.0.0.1:8090'
|
|
17
|
+
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
+
var fuwu = 'http://121.36.106.17:8400'
|
|
19
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
|
+
var system = 'http://192.168.50.4:8400'
|
|
21
|
+
//192.168.
|
|
22
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
|
+
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
24
|
+
var proxyTable = {
|
|
25
|
+
'/rs/logic/exportfile': {
|
|
26
|
+
target: fuwu
|
|
27
|
+
},
|
|
28
|
+
'/files': {
|
|
29
|
+
target: fuwu
|
|
30
|
+
},
|
|
31
|
+
// 查找资源服务数据
|
|
32
|
+
'/rs/search': {
|
|
33
|
+
target: fuwu
|
|
34
|
+
},
|
|
35
|
+
// 查找资源服务数据
|
|
36
|
+
'/rs/logic/getLogin': {
|
|
37
|
+
target: fuwu
|
|
38
|
+
},
|
|
39
|
+
// 查找资源服务数据
|
|
40
|
+
'/rs/logic/getInitData': {
|
|
41
|
+
target: fuwu
|
|
42
|
+
},
|
|
43
|
+
'/rs/logic/getSaleInitData':{
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
// 用户登录服务地址
|
|
47
|
+
'/rs/user': {
|
|
48
|
+
target: fuwu
|
|
49
|
+
},
|
|
50
|
+
'/rs/path/getParams': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/data': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/rs/license': {
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
'/rs/db': {
|
|
60
|
+
target: fuwu
|
|
61
|
+
},
|
|
62
|
+
'/excel': {
|
|
63
|
+
target: fuwu
|
|
64
|
+
},
|
|
65
|
+
'/rs/config': {
|
|
66
|
+
target: fuwu
|
|
67
|
+
},
|
|
68
|
+
'/rs/sql/getLicenseById': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/rs/report': {
|
|
72
|
+
target: bendi
|
|
73
|
+
},
|
|
74
|
+
'/rs/vue': {
|
|
75
|
+
target: fuwu
|
|
76
|
+
},
|
|
77
|
+
'/rs/file': {
|
|
78
|
+
target: bendi
|
|
79
|
+
},
|
|
80
|
+
'/rs/logic/SumSettleFileImport': {
|
|
81
|
+
target: 'http://127.0.0.1:8080'
|
|
82
|
+
},
|
|
83
|
+
'/rs': {
|
|
84
|
+
target: bendi
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
89
|
+
publicPath: config.output.publicPath,
|
|
90
|
+
stats: {
|
|
91
|
+
colors: true,
|
|
92
|
+
chunks: false
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
97
|
+
// force page reload when html-webpack-plugin template changes
|
|
98
|
+
compiler.plugin('compilation', function (compilation) {
|
|
99
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
100
|
+
hotMiddleware.publish({action: 'reload'})
|
|
101
|
+
cb()
|
|
102
|
+
})
|
|
103
|
+
})
|
|
104
|
+
|
|
105
|
+
// proxy api requests
|
|
106
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
107
|
+
var options = proxyTable[context]
|
|
108
|
+
if (typeof options === 'string') {
|
|
109
|
+
options = {target: options}
|
|
110
|
+
}
|
|
111
|
+
app.use(proxyMiddleware(context, options))
|
|
112
|
+
})
|
|
113
|
+
|
|
114
|
+
// handle fallback for HTML5 history API
|
|
115
|
+
app.use(require('connect-history-api-fallback')())
|
|
116
|
+
// app.use(function (req, res, next) {
|
|
117
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
118
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
119
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
120
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
121
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
122
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
123
|
+
// next()
|
|
124
|
+
// })
|
|
125
|
+
|
|
126
|
+
// serve webpack bundle output
|
|
127
|
+
app.use(devMiddleware)
|
|
128
|
+
|
|
129
|
+
// enable hot-reload and state-preserving
|
|
130
|
+
// compilation error display
|
|
131
|
+
app.use(hotMiddleware)
|
|
132
|
+
|
|
133
|
+
// serve pure static assets
|
|
134
|
+
app.use('/static', express.static('./static'))
|
|
135
|
+
|
|
136
|
+
// app.all('/rs/*', function (req, res) {
|
|
137
|
+
// proxy.web(req, res, {
|
|
138
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
139
|
+
// })
|
|
140
|
+
// })
|
|
141
|
+
|
|
142
|
+
// app.all('/rs/*', function (req, res) {
|
|
143
|
+
// proxy.web(req, res, {
|
|
144
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
145
|
+
// })
|
|
146
|
+
// })
|
|
147
|
+
// app.all('/excel/*', function (req, res) {
|
|
148
|
+
// proxy.web(req, res, {
|
|
149
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
150
|
+
// })
|
|
151
|
+
// })
|
|
152
|
+
|
|
153
|
+
// app.all('/rs/*', function (req, res) {
|
|
154
|
+
// proxy.web(req, res, {
|
|
155
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
156
|
+
// })
|
|
157
|
+
// })
|
|
158
|
+
|
|
159
|
+
// app.all('/*', function (req, res) {
|
|
160
|
+
// proxy.web(req, res, {
|
|
161
|
+
// target: 'http://127.0.0.1:82'
|
|
162
|
+
// })
|
|
163
|
+
// })
|
|
164
|
+
// app.all('/rs/user', function (req, res) {
|
|
165
|
+
// proxy.web(req, res, {
|
|
166
|
+
// target: 'http://127.0.0.1:82'
|
|
167
|
+
// })
|
|
168
|
+
// })
|
|
169
|
+
|
|
170
|
+
module.exports = app.listen(8085, function (err) {
|
|
171
|
+
if (err) {
|
|
172
|
+
console.log(err)
|
|
173
|
+
return
|
|
174
|
+
}
|
|
175
|
+
console.log('Listening at http://localhost:8085')
|
|
176
|
+
})
|
package/package.json
CHANGED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div><!--
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-2 form-group">
|
|
32
|
+
<label class="font_normal_body"> 部门 </label>
|
|
33
|
+
<res-select restype='department'
|
|
34
|
+
is-mul="false"
|
|
35
|
+
@res-select="$parent.$parent.getdep"
|
|
36
|
+
:parentresid="$parent.$parent.depresid"
|
|
37
|
+
:initresid='$parent.$parent.depid'>
|
|
38
|
+
</res-select>
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-2 form-group">
|
|
42
|
+
<label class="font_normal_body"> 人员 </label>
|
|
43
|
+
<res-select restype='user'
|
|
44
|
+
is-mul="false"
|
|
45
|
+
@res-select="$parent.$parent.getuser"
|
|
46
|
+
:parentresid="$parent.$parent.userresid"
|
|
47
|
+
:initresid='$parent.$parent.operatorid'>
|
|
48
|
+
</res-select>
|
|
49
|
+
</div>
|
|
50
|
+
-->
|
|
51
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="span" style = "float:right;">
|
|
54
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
55
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
56
|
+
<report-excel id='gasprice'></report-excel>
|
|
57
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
58
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">用户类型</label>
|
|
63
|
+
<v-select :value.sync="$parent.$parent.f_user_type"
|
|
64
|
+
v-model="$parent.$parent.f_user_type"
|
|
65
|
+
:options='$parent.$parent.user_type' placeholder='请选择'
|
|
66
|
+
condition="f_user_type = '{}'"
|
|
67
|
+
close-on-select></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
70
|
+
<!--<label class="font_normal_body">收费状态</label>-->
|
|
71
|
+
<!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
|
|
72
|
+
<!--v-model="$parent.$parent.f_state"-->
|
|
73
|
+
<!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
|
|
74
|
+
<!--condition="f_state in {}"-->
|
|
75
|
+
<!--close-on-select></v-select>-->
|
|
76
|
+
<!--</div>-->
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</criteria>
|
|
80
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
81
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
82
|
+
<thead>
|
|
83
|
+
<tr>
|
|
84
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
85
|
+
<h3 style="text-align: center">收费结账报表</h3>
|
|
86
|
+
</th>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
90
|
+
开始时间:{{model.model.startDate}}
|
|
91
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
92
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
93
|
+
打印时间:{{$parent.printTime}}
|
|
94
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
95
|
+
</th>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
99
|
+
<div>
|
|
100
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
101
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
102
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
|
|
103
|
+
</div>
|
|
104
|
+
</th>
|
|
105
|
+
</tr>
|
|
106
|
+
</thead>
|
|
107
|
+
<tr>
|
|
108
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
109
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tfoot>
|
|
113
|
+
<tr style="text-align: left">
|
|
114
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
115
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
116
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
117
|
+
</tr>
|
|
118
|
+
</tfoot>
|
|
119
|
+
</table>
|
|
120
|
+
{{{ $parent.reportStr}}}
|
|
121
|
+
</div>
|
|
122
|
+
</criteria-paged>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
|
|
126
|
+
<script>
|
|
127
|
+
import { DataModel } from 'vue-client'
|
|
128
|
+
import co from 'co'
|
|
129
|
+
|
|
130
|
+
export default {
|
|
131
|
+
title: '收费结账报表',
|
|
132
|
+
props: ['data'],
|
|
133
|
+
data () {
|
|
134
|
+
return {
|
|
135
|
+
printTime: this.$login.toStandardTimeString(),
|
|
136
|
+
depresid: [],
|
|
137
|
+
userresid: [],
|
|
138
|
+
f_orgid: this.$login.f.orgid,
|
|
139
|
+
f_depid: this.$login.f.depids,
|
|
140
|
+
f_operatorid: this.$login.f.id,
|
|
141
|
+
operatorid: [],
|
|
142
|
+
depid: [],
|
|
143
|
+
orgname: '',
|
|
144
|
+
depname: '',
|
|
145
|
+
criteriaShow: false,
|
|
146
|
+
operatorname: '',
|
|
147
|
+
orgCondtionStr: '1=1',
|
|
148
|
+
f_user_type: '',
|
|
149
|
+
f_state:['有效'],
|
|
150
|
+
model: new DataModel('rs/report/getmoneyallnopay', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
151
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
152
|
+
reportStr: null,
|
|
153
|
+
resshow:['company','department','operator'],
|
|
154
|
+
spans: 0,
|
|
155
|
+
initres: {
|
|
156
|
+
org: [this.$login.f.orgid],
|
|
157
|
+
dep: [],
|
|
158
|
+
user: []
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
ready () {
|
|
163
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
164
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
165
|
+
console.log(this.$login.f)
|
|
166
|
+
},
|
|
167
|
+
methods: {
|
|
168
|
+
searchData () {
|
|
169
|
+
this.$refs.paged.$refs.criteria.search()
|
|
170
|
+
},
|
|
171
|
+
selfSearch (args) {
|
|
172
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
+
let orgcondition = '1=1'
|
|
174
|
+
let orgstr = this.orgCondtionStr
|
|
175
|
+
orgcondition = orgcondition + orgstr
|
|
176
|
+
console.log('23231312321:',this.f_user_type)
|
|
177
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
178
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
179
|
+
}
|
|
180
|
+
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
181
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
182
|
+
}
|
|
183
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
184
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
185
|
+
}
|
|
186
|
+
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
187
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
188
|
+
}*/
|
|
189
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
190
|
+
this.$refs.paged.search(args)
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
hidden() {
|
|
194
|
+
this.criteriaShow = !this.criteriaShow
|
|
195
|
+
},
|
|
196
|
+
getRes (condition, obj) {
|
|
197
|
+
this.orgCondtionStr = condition
|
|
198
|
+
this.orgname = obj.orgnames[0]
|
|
199
|
+
this.depname = obj.depnames[0]
|
|
200
|
+
},
|
|
201
|
+
getdep (obj, val) {
|
|
202
|
+
this.depname = val[0]
|
|
203
|
+
this.userresid = obj
|
|
204
|
+
this.f_depid = obj
|
|
205
|
+
},
|
|
206
|
+
getuser ( obj, val) {
|
|
207
|
+
this.operatorname = val[0]
|
|
208
|
+
this.f_operatorid = obj
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
watch: {
|
|
212
|
+
'model.data' (val) {
|
|
213
|
+
let len=0
|
|
214
|
+
let a=val.split('</tr>')
|
|
215
|
+
for(let i=0;i<a.length;i++){
|
|
216
|
+
if(a[i].split('</td>').length-1>len){
|
|
217
|
+
len=a[i].split('</td>').length-1
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
this.spans = len
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
computed: {
|
|
224
|
+
charge_state() {
|
|
225
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
226
|
+
},
|
|
227
|
+
user_type () {
|
|
228
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
</script>
|
|
233
|
+
<style scoped>
|
|
234
|
+
.noborder{
|
|
235
|
+
border: none;
|
|
236
|
+
}
|
|
237
|
+
</style>
|
|
@@ -248,6 +248,9 @@
|
|
|
248
248
|
<th>
|
|
249
249
|
<nobr>用气金额</nobr>
|
|
250
250
|
</th>
|
|
251
|
+
<th>
|
|
252
|
+
<nobr>建档日期</nobr>
|
|
253
|
+
</th>
|
|
251
254
|
</tr>
|
|
252
255
|
</template>
|
|
253
256
|
<template partial='body'>
|
|
@@ -332,6 +335,9 @@
|
|
|
332
335
|
<td style="text-align: center;">
|
|
333
336
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
334
337
|
</td>
|
|
338
|
+
<td style="text-align: center;">
|
|
339
|
+
<nobr>{{row.f_createfile_date}}</nobr>
|
|
340
|
+
</td>
|
|
335
341
|
</template>
|
|
336
342
|
<template partial='foot'></template>
|
|
337
343
|
</data-grid>
|
|
@@ -358,8 +358,8 @@
|
|
|
358
358
|
},
|
|
359
359
|
selfSearch(args) {
|
|
360
360
|
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
361
|
-
let f_orgstr = this.orgCondtionStr + 'and f_orgid = ' + this.f_orgid
|
|
362
|
-
args.condition = `${args.condition} ` + f_orgstr
|
|
361
|
+
// let f_orgstr = this.orgCondtionStr + 'and f_orgid = ' + this.f_orgid
|
|
362
|
+
// args.condition = `${args.condition} ` + f_orgstr
|
|
363
363
|
this.model.search(args.condition, args.model)
|
|
364
364
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
365
365
|
},
|