manage-client 3.3.93 → 3.3.94-wn
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/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/build/dev-server.js +180 -180
- package/package.json +1 -1
- package/src/components/SellReport/FillCardSummary.vue +257 -0
- package/src/components/SellReport/FillGasSummary.vue +266 -0
- package/src/components/SellReport/MonthSellSummary.vue +267 -0
- package/src/components/SellReport/daySellSummary.vue +257 -0
- package/src/components/handReport/HandGaspropertiesReport.vue +190 -190
- package/src/components/handReport/HandPriceReport.vue +190 -190
- package/src/components/handReport/WebGastypeReport.vue +190 -190
- package/src/components/sale/filesquery/FmyGasDeviceQuery.vue +14 -0
- package/src/components/sale/filesquery/GasDeviceQuery.vue +14 -0
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +554 -553
- package/src/filiale/WEINAN/ManageSummaryReport.vue +693 -639
- package/src/filiale/WEINAN/ManageSummaryReportDetail.vue +246 -0
- package/src/filiale/WEINAN/ManageSummaryReportManage.vue +58 -0
- package/src/filiale/WEINAN/config/exportConfig.js +870 -862
- package/src/filiale/WEINAN/reportManage.js +19 -17
- package/src/filiale/haile/exportConfig.js +1 -1
- package/src/filiale/haile/sale/businessquery/ChargeQuery.vue +6 -0
- package/src/filiale/yuansheng/DayReportList.vue +463 -463
- package/src/main.js +72 -70
- package/src/reportManage.js +740 -723
- package/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.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/libs/ManageClient-3.1.0-18.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +0 -2
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Mon Oct 26 16:02:57 CST 2020
|
|
2
|
+
gradle.version=6.1.1
|
package/build/dev-server.js
CHANGED
|
@@ -1,180 +1,180 @@
|
|
|
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://220.194.141.253:8600/'
|
|
17
|
-
// var bendi = 'http://203.57.101.233:9001'
|
|
18
|
-
|
|
19
|
-
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
|
-
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://192.168.50.4:8400/'
|
|
23
|
-
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
25
|
-
// 192.168.
|
|
26
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
|
-
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
28
|
-
var proxyTable = {
|
|
29
|
-
'/rs/logic/exportfile': {
|
|
30
|
-
target: bendi
|
|
31
|
-
},
|
|
32
|
-
'/files': {
|
|
33
|
-
target: bendi
|
|
34
|
-
},
|
|
35
|
-
// 查找资源服务数据
|
|
36
|
-
'/rs/search': {
|
|
37
|
-
target: bendi
|
|
38
|
-
},
|
|
39
|
-
// 查找资源服务数据
|
|
40
|
-
'/rs/logic/getLogin': {
|
|
41
|
-
target: bendi
|
|
42
|
-
},
|
|
43
|
-
// 查找资源服务数据
|
|
44
|
-
'/rs/logic/getInitData': {
|
|
45
|
-
target: bendi
|
|
46
|
-
},
|
|
47
|
-
'/rs/logic/getSaleInitData': {
|
|
48
|
-
target: bendi
|
|
49
|
-
},
|
|
50
|
-
// 用户登录服务地址
|
|
51
|
-
'/rs/user': {
|
|
52
|
-
target: bendi
|
|
53
|
-
},
|
|
54
|
-
'/rs/path/getParams': {
|
|
55
|
-
target: bendi
|
|
56
|
-
},
|
|
57
|
-
'/rs/data': {
|
|
58
|
-
target: bendi
|
|
59
|
-
},
|
|
60
|
-
'/rs/license': {
|
|
61
|
-
target: bendi
|
|
62
|
-
},
|
|
63
|
-
'/rs/db': {
|
|
64
|
-
target: bendi
|
|
65
|
-
},
|
|
66
|
-
'/excel': {
|
|
67
|
-
target: bendi
|
|
68
|
-
},
|
|
69
|
-
'/rs/config': {
|
|
70
|
-
target: bendi
|
|
71
|
-
},
|
|
72
|
-
'/rs/sql/getLicenseById': {
|
|
73
|
-
target: bendi
|
|
74
|
-
},
|
|
75
|
-
'/rs/report': {
|
|
76
|
-
target:
|
|
77
|
-
},
|
|
78
|
-
'/rs/vue': {
|
|
79
|
-
target: bendi
|
|
80
|
-
},
|
|
81
|
-
'/rs/file': {
|
|
82
|
-
target: bendi
|
|
83
|
-
},
|
|
84
|
-
'/rs/sql
|
|
85
|
-
target:
|
|
86
|
-
},
|
|
87
|
-
'/rs': {
|
|
88
|
-
target:
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
93
|
-
publicPath: config.output.publicPath,
|
|
94
|
-
stats: {
|
|
95
|
-
colors: true,
|
|
96
|
-
chunks: false
|
|
97
|
-
}
|
|
98
|
-
})
|
|
99
|
-
|
|
100
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
101
|
-
// force page reload when html-webpack-plugin template changes
|
|
102
|
-
compiler.plugin('compilation', function (compilation) {
|
|
103
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
104
|
-
hotMiddleware.publish({action: 'reload'})
|
|
105
|
-
cb()
|
|
106
|
-
})
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
// proxy api requests
|
|
110
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
111
|
-
var options = proxyTable[context]
|
|
112
|
-
if (typeof options === 'string') {
|
|
113
|
-
options = {target: options}
|
|
114
|
-
}
|
|
115
|
-
app.use(proxyMiddleware(context, options))
|
|
116
|
-
})
|
|
117
|
-
|
|
118
|
-
// handle fallback for HTML5 history API
|
|
119
|
-
app.use(require('connect-history-api-fallback')())
|
|
120
|
-
// app.use(function (req, res, next) {
|
|
121
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
122
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
123
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
124
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
125
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
126
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
127
|
-
// next()
|
|
128
|
-
// })
|
|
129
|
-
|
|
130
|
-
// serve webpack bundle output
|
|
131
|
-
app.use(devMiddleware)
|
|
132
|
-
|
|
133
|
-
// enable hot-reload and state-preserving
|
|
134
|
-
// compilation error display
|
|
135
|
-
app.use(hotMiddleware)
|
|
136
|
-
|
|
137
|
-
// serve pure static assets
|
|
138
|
-
app.use('/static', express.static('./static'))
|
|
139
|
-
|
|
140
|
-
// app.all('/rs/*', function (req, res) {
|
|
141
|
-
// proxy.web(req, res, {
|
|
142
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
143
|
-
// })
|
|
144
|
-
// })
|
|
145
|
-
|
|
146
|
-
// app.all('/rs/*', function (req, res) {
|
|
147
|
-
// proxy.web(req, res, {
|
|
148
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
149
|
-
// })
|
|
150
|
-
// })
|
|
151
|
-
// app.all('/excel/*', function (req, res) {
|
|
152
|
-
// proxy.web(req, res, {
|
|
153
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
154
|
-
// })
|
|
155
|
-
// })
|
|
156
|
-
|
|
157
|
-
// app.all('/rs/*', function (req, res) {
|
|
158
|
-
// proxy.web(req, res, {
|
|
159
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
160
|
-
// })
|
|
161
|
-
// })
|
|
162
|
-
|
|
163
|
-
// app.all('/*', function (req, res) {
|
|
164
|
-
// proxy.web(req, res, {
|
|
165
|
-
// target: 'http://127.0.0.1:82'
|
|
166
|
-
// })
|
|
167
|
-
// })
|
|
168
|
-
// app.all('/rs/user', function (req, res) {
|
|
169
|
-
// proxy.web(req, res, {
|
|
170
|
-
// target: 'http://127.0.0.1:82'
|
|
171
|
-
// })
|
|
172
|
-
// })
|
|
173
|
-
|
|
174
|
-
module.exports = app.listen(8015, function (err) {
|
|
175
|
-
if (err) {
|
|
176
|
-
console.log(err)
|
|
177
|
-
return
|
|
178
|
-
}
|
|
179
|
-
console.log('Listening at http://localhost:8015')
|
|
180
|
-
})
|
|
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://220.194.141.253:8600/'
|
|
17
|
+
// var bendi = 'http://203.57.101.233:9001'
|
|
18
|
+
var bendi = 'http://172.168.1.11:9001/'
|
|
19
|
+
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
|
+
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
+
// var bendi = 'http://192.168.50.4:8400/'
|
|
23
|
+
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
+
var wode = 'http://127.0.0.1:8488'
|
|
25
|
+
// 192.168.
|
|
26
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
|
+
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
28
|
+
var proxyTable = {
|
|
29
|
+
'/rs/logic/exportfile': {
|
|
30
|
+
target: bendi
|
|
31
|
+
},
|
|
32
|
+
'/files': {
|
|
33
|
+
target: bendi
|
|
34
|
+
},
|
|
35
|
+
// 查找资源服务数据
|
|
36
|
+
'/rs/search': {
|
|
37
|
+
target: bendi
|
|
38
|
+
},
|
|
39
|
+
// 查找资源服务数据
|
|
40
|
+
'/rs/logic/getLogin': {
|
|
41
|
+
target: bendi
|
|
42
|
+
},
|
|
43
|
+
// 查找资源服务数据
|
|
44
|
+
'/rs/logic/getInitData': {
|
|
45
|
+
target: bendi
|
|
46
|
+
},
|
|
47
|
+
'/rs/logic/getSaleInitData': {
|
|
48
|
+
target: bendi
|
|
49
|
+
},
|
|
50
|
+
// 用户登录服务地址
|
|
51
|
+
'/rs/user': {
|
|
52
|
+
target: bendi
|
|
53
|
+
},
|
|
54
|
+
'/rs/path/getParams': {
|
|
55
|
+
target: bendi
|
|
56
|
+
},
|
|
57
|
+
'/rs/data': {
|
|
58
|
+
target: bendi
|
|
59
|
+
},
|
|
60
|
+
'/rs/license': {
|
|
61
|
+
target: bendi
|
|
62
|
+
},
|
|
63
|
+
'/rs/db': {
|
|
64
|
+
target: bendi
|
|
65
|
+
},
|
|
66
|
+
'/excel': {
|
|
67
|
+
target: bendi
|
|
68
|
+
},
|
|
69
|
+
'/rs/config': {
|
|
70
|
+
target: bendi
|
|
71
|
+
},
|
|
72
|
+
'/rs/sql/getLicenseById': {
|
|
73
|
+
target: bendi
|
|
74
|
+
},
|
|
75
|
+
'/rs/report': {
|
|
76
|
+
target: wode
|
|
77
|
+
},
|
|
78
|
+
'/rs/vue': {
|
|
79
|
+
target: bendi
|
|
80
|
+
},
|
|
81
|
+
'/rs/file': {
|
|
82
|
+
target: bendi
|
|
83
|
+
},
|
|
84
|
+
'/rs/sql': {
|
|
85
|
+
target: wode
|
|
86
|
+
},
|
|
87
|
+
'/rs': {
|
|
88
|
+
target: bendi
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
93
|
+
publicPath: config.output.publicPath,
|
|
94
|
+
stats: {
|
|
95
|
+
colors: true,
|
|
96
|
+
chunks: false
|
|
97
|
+
}
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
101
|
+
// force page reload when html-webpack-plugin template changes
|
|
102
|
+
compiler.plugin('compilation', function (compilation) {
|
|
103
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
104
|
+
hotMiddleware.publish({action: 'reload'})
|
|
105
|
+
cb()
|
|
106
|
+
})
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
// proxy api requests
|
|
110
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
111
|
+
var options = proxyTable[context]
|
|
112
|
+
if (typeof options === 'string') {
|
|
113
|
+
options = {target: options}
|
|
114
|
+
}
|
|
115
|
+
app.use(proxyMiddleware(context, options))
|
|
116
|
+
})
|
|
117
|
+
|
|
118
|
+
// handle fallback for HTML5 history API
|
|
119
|
+
app.use(require('connect-history-api-fallback')())
|
|
120
|
+
// app.use(function (req, res, next) {
|
|
121
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
122
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
123
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
124
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
125
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
126
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
127
|
+
// next()
|
|
128
|
+
// })
|
|
129
|
+
|
|
130
|
+
// serve webpack bundle output
|
|
131
|
+
app.use(devMiddleware)
|
|
132
|
+
|
|
133
|
+
// enable hot-reload and state-preserving
|
|
134
|
+
// compilation error display
|
|
135
|
+
app.use(hotMiddleware)
|
|
136
|
+
|
|
137
|
+
// serve pure static assets
|
|
138
|
+
app.use('/static', express.static('./static'))
|
|
139
|
+
|
|
140
|
+
// app.all('/rs/*', function (req, res) {
|
|
141
|
+
// proxy.web(req, res, {
|
|
142
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
143
|
+
// })
|
|
144
|
+
// })
|
|
145
|
+
|
|
146
|
+
// app.all('/rs/*', function (req, res) {
|
|
147
|
+
// proxy.web(req, res, {
|
|
148
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
149
|
+
// })
|
|
150
|
+
// })
|
|
151
|
+
// app.all('/excel/*', function (req, res) {
|
|
152
|
+
// proxy.web(req, res, {
|
|
153
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
154
|
+
// })
|
|
155
|
+
// })
|
|
156
|
+
|
|
157
|
+
// app.all('/rs/*', function (req, res) {
|
|
158
|
+
// proxy.web(req, res, {
|
|
159
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
160
|
+
// })
|
|
161
|
+
// })
|
|
162
|
+
|
|
163
|
+
// app.all('/*', function (req, res) {
|
|
164
|
+
// proxy.web(req, res, {
|
|
165
|
+
// target: 'http://127.0.0.1:82'
|
|
166
|
+
// })
|
|
167
|
+
// })
|
|
168
|
+
// app.all('/rs/user', function (req, res) {
|
|
169
|
+
// proxy.web(req, res, {
|
|
170
|
+
// target: 'http://127.0.0.1:82'
|
|
171
|
+
// })
|
|
172
|
+
// })
|
|
173
|
+
|
|
174
|
+
module.exports = app.listen(8015, function (err) {
|
|
175
|
+
if (err) {
|
|
176
|
+
console.log(err)
|
|
177
|
+
return
|
|
178
|
+
}
|
|
179
|
+
console.log('Listening at http://localhost:8015')
|
|
180
|
+
})
|
package/package.json
CHANGED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 98%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;">补卡费统计报表</p>
|
|
6
|
+
<div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-4" >
|
|
10
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:disabled-days-of-Week="[]"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="reset">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-4" >
|
|
20
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:disabled-days-of-Week="[]"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-4">
|
|
30
|
+
<label class="font_normal_body"> 公司 </label>
|
|
31
|
+
<right-tree @re-res="$parent.$parent.getRes"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-4">
|
|
34
|
+
<label class="font_normal_body"> 部门 </label>
|
|
35
|
+
<res-select restype='department'
|
|
36
|
+
is-mul="false"
|
|
37
|
+
@res-select="$parent.$parent.getdep"
|
|
38
|
+
:parentresid="$parent.$parent.depresid"
|
|
39
|
+
:initresid='$parent.$parent.depid'>
|
|
40
|
+
</res-select>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-4">
|
|
44
|
+
<label class="font_normal_body"> 人员 </label>
|
|
45
|
+
<res-select restype='user'
|
|
46
|
+
is-mul="false"
|
|
47
|
+
@res-select="$parent.$parent.getuser"
|
|
48
|
+
:parentresid="$parent.$parent.userresid"
|
|
49
|
+
:initresid='$parent.$parent.operatorid'>
|
|
50
|
+
</res-select>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="col-sm-4">
|
|
53
|
+
<label class="font_normal_body" title="参数名称:气表品牌">气表品牌</label>
|
|
54
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
55
|
+
:options='$parent.$parent.meterBrands' placeholder='请选择' v-model="model.f_meter_brand"
|
|
56
|
+
condition="f_meter_brand in {}"
|
|
57
|
+
close-on-select></v-select>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
<div class="span" style = "float:right;">
|
|
63
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
64
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
65
|
+
<report-excel id='gasprice'></report-excel>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</criteria>
|
|
69
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
70
|
+
<table class='tableprint' style="margin: 0px auto;">
|
|
71
|
+
<thead>
|
|
72
|
+
<tr>
|
|
73
|
+
<th colspan='18' style="font-weight: normal; text-align: left;">
|
|
74
|
+
<h2 style="text-align: center">{{$parent.orgname}}</h2>
|
|
75
|
+
<h3 style="text-align: center">补卡费统计报表</h3>
|
|
76
|
+
</th>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<th colspan='18' style="font-weight: normal; text-align: center;">
|
|
80
|
+
开始时间:{{model.model.startDate}}
|
|
81
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
82
|
+
打印时间:{{{$parent.printTime}}}
|
|
83
|
+
</th>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<th colspan='18' style="font-weight: normal; text-align: center;">
|
|
87
|
+
<div>
|
|
88
|
+
<span v-show="$parent.depname.trim()!=''">网点:{{$parent.depname}}</span>
|
|
89
|
+
<span v-show="$parent.operatorname.trim()!=''">操作员:{{$parent.operatorname}}</span>
|
|
90
|
+
</div>
|
|
91
|
+
</th>
|
|
92
|
+
</tr>
|
|
93
|
+
</thead>
|
|
94
|
+
<tr>
|
|
95
|
+
<td colspan='18'>
|
|
96
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
97
|
+
</td>
|
|
98
|
+
</tr>
|
|
99
|
+
<tfoot>
|
|
100
|
+
<tr style="text-align: left">
|
|
101
|
+
<th colspan='6'>财务审核:</th>
|
|
102
|
+
<th colspan='6'>收款审核:</th>
|
|
103
|
+
<th colspan='6'>收款员:</th>
|
|
104
|
+
</tr>
|
|
105
|
+
</tfoot>
|
|
106
|
+
</table>
|
|
107
|
+
{{{ $parent.reportStr}}}
|
|
108
|
+
</div>
|
|
109
|
+
</criteria-paged>
|
|
110
|
+
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
111
|
+
<header slot="modal-header" class="modal-header">
|
|
112
|
+
<h4 class="modal-title">输入文件名称</h4>
|
|
113
|
+
</header>
|
|
114
|
+
<article slot="modal-body" class="modal-body">
|
|
115
|
+
<div class="form-group">
|
|
116
|
+
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
117
|
+
</div>
|
|
118
|
+
</article>
|
|
119
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
120
|
+
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
121
|
+
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
122
|
+
</footer>
|
|
123
|
+
</modal>
|
|
124
|
+
</div>
|
|
125
|
+
</template>
|
|
126
|
+
|
|
127
|
+
<script>
|
|
128
|
+
import { DataModel } from 'vue-client'
|
|
129
|
+
import co from 'co'
|
|
130
|
+
let saveFile = function * (self) {
|
|
131
|
+
// 线验证文件是否重名
|
|
132
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
133
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
134
|
+
{resolveMsg: null, rejectMsg: null})
|
|
135
|
+
if (count.data.length > 0) {
|
|
136
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
137
|
+
return
|
|
138
|
+
}
|
|
139
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
140
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
141
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
142
|
+
f_outlets: this.$login.f.depname})
|
|
143
|
+
if (saveBack.data.status === 'succeed') {
|
|
144
|
+
self.show = false
|
|
145
|
+
self.filename = ''
|
|
146
|
+
// 后台保存完成,通知刷新
|
|
147
|
+
self.$dispatch('save-success', self.filename)
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
export default {
|
|
151
|
+
title: '补卡费统计报表',
|
|
152
|
+
props: ['data'],
|
|
153
|
+
data () {
|
|
154
|
+
return {
|
|
155
|
+
printTime: this.$login.toStandardTimeString(),
|
|
156
|
+
depresid: [],
|
|
157
|
+
|
|
158
|
+
userresid: [],
|
|
159
|
+
f_orgid: this.$login.f.orgid,
|
|
160
|
+
f_depid: this.$login.f.depids,
|
|
161
|
+
f_operatorid: this.$login.f.id,
|
|
162
|
+
operatorid: [],
|
|
163
|
+
depid: [],
|
|
164
|
+
orgname: '',
|
|
165
|
+
depname: '',
|
|
166
|
+
operatorname: '',
|
|
167
|
+
meterbrands: [],
|
|
168
|
+
orgCondtionStr: '1=1',
|
|
169
|
+
model: new DataModel('rs/report/fillcardSummary', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
170
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
171
|
+
reportStr: null,
|
|
172
|
+
show: false,
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
ready () {
|
|
176
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
177
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
178
|
+
console.log(this.$login.f)
|
|
179
|
+
},
|
|
180
|
+
methods: {
|
|
181
|
+
searchData () {
|
|
182
|
+
this.$refs.paged.$refs.criteria.search()
|
|
183
|
+
},
|
|
184
|
+
selfSearch (args) {
|
|
185
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
186
|
+
let orgcondition = ` f_orgid in ('${this.f_orgid}')`
|
|
187
|
+
if (this.f_depid[0]) {
|
|
188
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
189
|
+
}
|
|
190
|
+
if(this.f_operatorid[0]) {
|
|
191
|
+
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
192
|
+
}
|
|
193
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
194
|
+
this.$refs.paged.search(args)
|
|
195
|
+
},
|
|
196
|
+
getRes (obj) {
|
|
197
|
+
this.orgname = obj.res[0]
|
|
198
|
+
this.depresid = obj.resids
|
|
199
|
+
this.f_orgid = obj.resids
|
|
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
|
+
// 根据文件路径获取储存的报表内容
|
|
212
|
+
getFileContent (path) {
|
|
213
|
+
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
214
|
+
this.reportStr = res.data.filecontent
|
|
215
|
+
this.model.state = '正确'
|
|
216
|
+
})
|
|
217
|
+
},
|
|
218
|
+
confirm () {
|
|
219
|
+
if (!this.filename || this.filename === '') {
|
|
220
|
+
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
221
|
+
}
|
|
222
|
+
let saveGen = saveFile(this)
|
|
223
|
+
co(saveGen)
|
|
224
|
+
},
|
|
225
|
+
close () {
|
|
226
|
+
this.show = false
|
|
227
|
+
},
|
|
228
|
+
// 将报表保存成文件
|
|
229
|
+
confirmReport () {
|
|
230
|
+
this.show = true
|
|
231
|
+
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
watch: {
|
|
235
|
+
'data' (val) {
|
|
236
|
+
if (val.f_files_path) {
|
|
237
|
+
this.getFileContent(val.f_files_path)
|
|
238
|
+
} else {
|
|
239
|
+
this.reportStr = null
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
computed: {
|
|
244
|
+
meterBrands () {
|
|
245
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表品牌')]
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
</script>
|
|
250
|
+
<style scoped>
|
|
251
|
+
.noborder{
|
|
252
|
+
border: none;
|
|
253
|
+
}
|
|
254
|
+
.fontSize{
|
|
255
|
+
font-size: 13px;
|
|
256
|
+
}
|
|
257
|
+
</style>
|