manage-client 3.2.200 → 3.2.201
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/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +190 -190
- package/package.json +1 -1
- package/src/components/SellReport/ManageSellTypeNew.vue +169 -0
- package/src/filiale/WEINAN/BusinessManage.vue +163 -160
- package/src/filiale/WEINAN/MergeFileQuery.vue +185 -0
- package/src/filiale/WEINAN/sale.js +48 -46
- package/src/reportManage.js +4 -0
- package/yarn-error.log +0 -7659
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -1,190 +1,190 @@
|
|
|
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://
|
|
20
|
-
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
-
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var system = 'http://192.168.50.4:8400'
|
|
23
|
-
// 192.168.
|
|
24
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
25
|
-
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
26
|
-
var proxyTable = {
|
|
27
|
-
'/rs/logic/exportfile': {
|
|
28
|
-
target: bendi
|
|
29
|
-
},
|
|
30
|
-
// '/rs/sql/otherChargeQuery': {
|
|
31
|
-
// target: 'http://localhost:8080/'
|
|
32
|
-
// },
|
|
33
|
-
// '/rs/sql/BusinessType': {
|
|
34
|
-
// target: 'http://localhost:8080/'
|
|
35
|
-
// },
|
|
36
|
-
// '/rs/logic/getBatchOperaPro': {
|
|
37
|
-
// target: 'http://localhost:8080/'
|
|
38
|
-
// },
|
|
39
|
-
// '/rs/customExport/areaChargeExportExcel': {
|
|
40
|
-
// target: 'http://localhost:8080/'
|
|
41
|
-
// },
|
|
42
|
-
'/files': {
|
|
43
|
-
target: bendi
|
|
44
|
-
},
|
|
45
|
-
// 查找资源服务数据
|
|
46
|
-
'/rs/search': {
|
|
47
|
-
target: bendi
|
|
48
|
-
},
|
|
49
|
-
// 查找资源服务数据
|
|
50
|
-
'/rs/logic/getLogin': {
|
|
51
|
-
target: bendi
|
|
52
|
-
},
|
|
53
|
-
// 查找资源服务数据
|
|
54
|
-
'/rs/logic/getInitData': {
|
|
55
|
-
target: bendi
|
|
56
|
-
},
|
|
57
|
-
'/rs/logic/getSaleInitData': {
|
|
58
|
-
target: bendi
|
|
59
|
-
},
|
|
60
|
-
// 用户登录服务地址
|
|
61
|
-
'/rs/user': {
|
|
62
|
-
target: bendi
|
|
63
|
-
},
|
|
64
|
-
'/rs/path/getParams': {
|
|
65
|
-
target: bendi
|
|
66
|
-
},
|
|
67
|
-
'/rs/data': {
|
|
68
|
-
target: bendi
|
|
69
|
-
},
|
|
70
|
-
'/rs/license': {
|
|
71
|
-
target: bendi
|
|
72
|
-
},
|
|
73
|
-
'/rs/db': {
|
|
74
|
-
target: bendi
|
|
75
|
-
},
|
|
76
|
-
'/excel': {
|
|
77
|
-
target: bendi
|
|
78
|
-
},
|
|
79
|
-
'/rs/config': {
|
|
80
|
-
target: bendi
|
|
81
|
-
},
|
|
82
|
-
'/rs/sql/getLicenseById': {
|
|
83
|
-
target: bendi
|
|
84
|
-
},
|
|
85
|
-
'/rs/report': {
|
|
86
|
-
target: bendi
|
|
87
|
-
},
|
|
88
|
-
'/rs/vue': {
|
|
89
|
-
target: bendi
|
|
90
|
-
},
|
|
91
|
-
'/rs/file': {
|
|
92
|
-
target: bendi
|
|
93
|
-
},
|
|
94
|
-
'/rs/logic/SumSettleFileImport': {
|
|
95
|
-
target: 'http://127.0.0.1:8080'
|
|
96
|
-
},
|
|
97
|
-
'/rs': {
|
|
98
|
-
target: bendi
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
103
|
-
publicPath: config.output.publicPath,
|
|
104
|
-
stats: {
|
|
105
|
-
colors: true,
|
|
106
|
-
chunks: false
|
|
107
|
-
}
|
|
108
|
-
})
|
|
109
|
-
|
|
110
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
111
|
-
// force page reload when html-webpack-plugin template changes
|
|
112
|
-
compiler.plugin('compilation', function (compilation) {
|
|
113
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
114
|
-
hotMiddleware.publish({action: 'reload'})
|
|
115
|
-
cb()
|
|
116
|
-
})
|
|
117
|
-
})
|
|
118
|
-
|
|
119
|
-
// proxy api requests
|
|
120
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
121
|
-
var options = proxyTable[context]
|
|
122
|
-
if (typeof options === 'string') {
|
|
123
|
-
options = {target: options}
|
|
124
|
-
}
|
|
125
|
-
app.use(proxyMiddleware(context, options))
|
|
126
|
-
})
|
|
127
|
-
|
|
128
|
-
// handle fallback for HTML5 history API
|
|
129
|
-
app.use(require('connect-history-api-fallback')())
|
|
130
|
-
// app.use(function (req, res, next) {
|
|
131
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
132
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
133
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
134
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
135
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
136
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
137
|
-
// next()
|
|
138
|
-
// })
|
|
139
|
-
|
|
140
|
-
// serve webpack bundle output
|
|
141
|
-
app.use(devMiddleware)
|
|
142
|
-
|
|
143
|
-
// enable hot-reload and state-preserving
|
|
144
|
-
// compilation error display
|
|
145
|
-
app.use(hotMiddleware)
|
|
146
|
-
|
|
147
|
-
// serve pure static assets
|
|
148
|
-
app.use('/static', express.static('./static'))
|
|
149
|
-
|
|
150
|
-
// app.all('/rs/*', function (req, res) {
|
|
151
|
-
// proxy.web(req, res, {
|
|
152
|
-
// target: 'http://127.0.0.1:8081/reports'
|
|
153
|
-
// })
|
|
154
|
-
// })
|
|
155
|
-
|
|
156
|
-
// app.all('/rs/*', function (req, res) {
|
|
157
|
-
// proxy.web(req, res, {
|
|
158
|
-
// target: 'http://127.0.0.1:8081/ldap'
|
|
159
|
-
// })
|
|
160
|
-
// })
|
|
161
|
-
// app.all('/excel/*', function (req, res) {
|
|
162
|
-
// proxy.web(req, res, {
|
|
163
|
-
// target: 'http://127.0.0.1:8081/charge'
|
|
164
|
-
// })
|
|
165
|
-
// })
|
|
166
|
-
|
|
167
|
-
// app.all('/rs/*', function (req, res) {
|
|
168
|
-
// proxy.web(req, res, {
|
|
169
|
-
// target: 'http://127.0.0.1:82/charge'
|
|
170
|
-
// })
|
|
171
|
-
// })
|
|
172
|
-
|
|
173
|
-
// app.all('/*', function (req, res) {
|
|
174
|
-
// proxy.web(req, res, {
|
|
175
|
-
// target: 'http://127.0.0.1:82'
|
|
176
|
-
// })
|
|
177
|
-
// })
|
|
178
|
-
// app.all('/rs/user', function (req, res) {
|
|
179
|
-
// proxy.web(req, res, {
|
|
180
|
-
// target: 'http://127.0.0.1:82'
|
|
181
|
-
// })
|
|
182
|
-
// })
|
|
183
|
-
|
|
184
|
-
module.exports = app.listen(8015, function (err) {
|
|
185
|
-
if (err) {
|
|
186
|
-
console.log(err)
|
|
187
|
-
return
|
|
188
|
-
}
|
|
189
|
-
console.log('Listening at http://localhost:8085')
|
|
190
|
-
})
|
|
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://172.168.1.11:8400'
|
|
20
|
+
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
+
var system = 'http://192.168.50.4:8400'
|
|
23
|
+
// 192.168.
|
|
24
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
25
|
+
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
26
|
+
var proxyTable = {
|
|
27
|
+
'/rs/logic/exportfile': {
|
|
28
|
+
target: bendi
|
|
29
|
+
},
|
|
30
|
+
// '/rs/sql/otherChargeQuery': {
|
|
31
|
+
// target: 'http://localhost:8080/'
|
|
32
|
+
// },
|
|
33
|
+
// '/rs/sql/BusinessType': {
|
|
34
|
+
// target: 'http://localhost:8080/'
|
|
35
|
+
// },
|
|
36
|
+
// '/rs/logic/getBatchOperaPro': {
|
|
37
|
+
// target: 'http://localhost:8080/'
|
|
38
|
+
// },
|
|
39
|
+
// '/rs/customExport/areaChargeExportExcel': {
|
|
40
|
+
// target: 'http://localhost:8080/'
|
|
41
|
+
// },
|
|
42
|
+
'/files': {
|
|
43
|
+
target: bendi
|
|
44
|
+
},
|
|
45
|
+
// 查找资源服务数据
|
|
46
|
+
'/rs/search': {
|
|
47
|
+
target: bendi
|
|
48
|
+
},
|
|
49
|
+
// 查找资源服务数据
|
|
50
|
+
'/rs/logic/getLogin': {
|
|
51
|
+
target: bendi
|
|
52
|
+
},
|
|
53
|
+
// 查找资源服务数据
|
|
54
|
+
'/rs/logic/getInitData': {
|
|
55
|
+
target: bendi
|
|
56
|
+
},
|
|
57
|
+
'/rs/logic/getSaleInitData': {
|
|
58
|
+
target: bendi
|
|
59
|
+
},
|
|
60
|
+
// 用户登录服务地址
|
|
61
|
+
'/rs/user': {
|
|
62
|
+
target: bendi
|
|
63
|
+
},
|
|
64
|
+
'/rs/path/getParams': {
|
|
65
|
+
target: bendi
|
|
66
|
+
},
|
|
67
|
+
'/rs/data': {
|
|
68
|
+
target: bendi
|
|
69
|
+
},
|
|
70
|
+
'/rs/license': {
|
|
71
|
+
target: bendi
|
|
72
|
+
},
|
|
73
|
+
'/rs/db': {
|
|
74
|
+
target: bendi
|
|
75
|
+
},
|
|
76
|
+
'/excel': {
|
|
77
|
+
target: bendi
|
|
78
|
+
},
|
|
79
|
+
'/rs/config': {
|
|
80
|
+
target: bendi
|
|
81
|
+
},
|
|
82
|
+
'/rs/sql/getLicenseById': {
|
|
83
|
+
target: bendi
|
|
84
|
+
},
|
|
85
|
+
'/rs/report': {
|
|
86
|
+
target: bendi
|
|
87
|
+
},
|
|
88
|
+
'/rs/vue': {
|
|
89
|
+
target: bendi
|
|
90
|
+
},
|
|
91
|
+
'/rs/file': {
|
|
92
|
+
target: bendi
|
|
93
|
+
},
|
|
94
|
+
'/rs/logic/SumSettleFileImport': {
|
|
95
|
+
target: 'http://127.0.0.1:8080'
|
|
96
|
+
},
|
|
97
|
+
'/rs': {
|
|
98
|
+
target: bendi
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
103
|
+
publicPath: config.output.publicPath,
|
|
104
|
+
stats: {
|
|
105
|
+
colors: true,
|
|
106
|
+
chunks: false
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
|
|
110
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
111
|
+
// force page reload when html-webpack-plugin template changes
|
|
112
|
+
compiler.plugin('compilation', function (compilation) {
|
|
113
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
114
|
+
hotMiddleware.publish({action: 'reload'})
|
|
115
|
+
cb()
|
|
116
|
+
})
|
|
117
|
+
})
|
|
118
|
+
|
|
119
|
+
// proxy api requests
|
|
120
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
121
|
+
var options = proxyTable[context]
|
|
122
|
+
if (typeof options === 'string') {
|
|
123
|
+
options = {target: options}
|
|
124
|
+
}
|
|
125
|
+
app.use(proxyMiddleware(context, options))
|
|
126
|
+
})
|
|
127
|
+
|
|
128
|
+
// handle fallback for HTML5 history API
|
|
129
|
+
app.use(require('connect-history-api-fallback')())
|
|
130
|
+
// app.use(function (req, res, next) {
|
|
131
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
132
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
133
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
134
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
135
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
136
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
137
|
+
// next()
|
|
138
|
+
// })
|
|
139
|
+
|
|
140
|
+
// serve webpack bundle output
|
|
141
|
+
app.use(devMiddleware)
|
|
142
|
+
|
|
143
|
+
// enable hot-reload and state-preserving
|
|
144
|
+
// compilation error display
|
|
145
|
+
app.use(hotMiddleware)
|
|
146
|
+
|
|
147
|
+
// serve pure static assets
|
|
148
|
+
app.use('/static', express.static('./static'))
|
|
149
|
+
|
|
150
|
+
// app.all('/rs/*', function (req, res) {
|
|
151
|
+
// proxy.web(req, res, {
|
|
152
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
153
|
+
// })
|
|
154
|
+
// })
|
|
155
|
+
|
|
156
|
+
// app.all('/rs/*', function (req, res) {
|
|
157
|
+
// proxy.web(req, res, {
|
|
158
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
159
|
+
// })
|
|
160
|
+
// })
|
|
161
|
+
// app.all('/excel/*', function (req, res) {
|
|
162
|
+
// proxy.web(req, res, {
|
|
163
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
164
|
+
// })
|
|
165
|
+
// })
|
|
166
|
+
|
|
167
|
+
// app.all('/rs/*', function (req, res) {
|
|
168
|
+
// proxy.web(req, res, {
|
|
169
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
170
|
+
// })
|
|
171
|
+
// })
|
|
172
|
+
|
|
173
|
+
// app.all('/*', function (req, res) {
|
|
174
|
+
// proxy.web(req, res, {
|
|
175
|
+
// target: 'http://127.0.0.1:82'
|
|
176
|
+
// })
|
|
177
|
+
// })
|
|
178
|
+
// app.all('/rs/user', function (req, res) {
|
|
179
|
+
// proxy.web(req, res, {
|
|
180
|
+
// target: 'http://127.0.0.1:82'
|
|
181
|
+
// })
|
|
182
|
+
// })
|
|
183
|
+
|
|
184
|
+
module.exports = app.listen(8015, function (err) {
|
|
185
|
+
if (err) {
|
|
186
|
+
console.log(err)
|
|
187
|
+
return
|
|
188
|
+
}
|
|
189
|
+
console.log('Listening at http://localhost:8085')
|
|
190
|
+
})
|
package/package.json
CHANGED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<div class="form-group" >
|
|
4
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-3 form-group" >
|
|
7
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
8
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
9
|
+
v-model="model.startDate"
|
|
10
|
+
:value.sync="model.startDate"
|
|
11
|
+
:disabled-days-of-Week="[]"
|
|
12
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
13
|
+
:show-reset-button="reset">
|
|
14
|
+
</datepicker>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-3 form-group" >
|
|
17
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
18
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
19
|
+
v-model="model.endDate"
|
|
20
|
+
:value.sync="model.endDate"
|
|
21
|
+
:disabled-days-of-Week="[]"
|
|
22
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
23
|
+
:show-reset-button="reset">
|
|
24
|
+
</datepicker>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="col-sm-3 form-group" >
|
|
28
|
+
<label class="font_normal_body" for="org">公  司:</label>
|
|
29
|
+
<right-tree id="org" @re-res="getRes"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-3 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<res-select id="dep" restype='department'
|
|
34
|
+
@res-select="getdep"
|
|
35
|
+
:parentresid="depresid"
|
|
36
|
+
:initresid='queryData.depid' >
|
|
37
|
+
</res-select>
|
|
38
|
+
|
|
39
|
+
</div>
|
|
40
|
+
<div class="col-sm-3 form-group">
|
|
41
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
42
|
+
<res-select id="oper" restype='user'
|
|
43
|
+
is-mul="false"
|
|
44
|
+
@res-select="getuser"
|
|
45
|
+
:parentresid="userresid"
|
|
46
|
+
:initresid='queryData.operatorid'>
|
|
47
|
+
</res-select>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<div class="col-sm-3 form-group">
|
|
51
|
+
<label class="font_normal_body">收费状态:</label>
|
|
52
|
+
<v-select :value.sync="queryData.f_state" multiple
|
|
53
|
+
v-model="queryData.f_state"
|
|
54
|
+
:options='charge_state' placeholder='请选择'
|
|
55
|
+
close-on-select></v-select>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="col-sm-3 form-group">
|
|
58
|
+
<button class="button_search" @click="searchData()">查询</button>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
|
|
63
|
+
<iframe class="ifarme_style" style="width:100%;height:100%" :src="url" v-if="isShow"></iframe>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<script>
|
|
70
|
+
export default {
|
|
71
|
+
title: '营业厅分项汇总表',
|
|
72
|
+
data () {
|
|
73
|
+
return {
|
|
74
|
+
f_state: [ {label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '销户', value: '销户'}, {label: '预备', value: '预备'} ],
|
|
75
|
+
orgCondtionStr: '1=1',
|
|
76
|
+
model: {
|
|
77
|
+
startDate: '',
|
|
78
|
+
endDate: ''
|
|
79
|
+
},
|
|
80
|
+
isShow: false,
|
|
81
|
+
url: '',
|
|
82
|
+
urlPrefix: 'http://192.168.50.77:31039/report/jmreport/shareView/779255398271029248',
|
|
83
|
+
queryData: {
|
|
84
|
+
f_state: ['有效'],
|
|
85
|
+
f_orgid: this.$login.f.orgid,
|
|
86
|
+
f_depid: this.$login.f.depids,
|
|
87
|
+
f_operatorid: this.$login.f.id
|
|
88
|
+
},
|
|
89
|
+
orgname: '',
|
|
90
|
+
depresid: [],
|
|
91
|
+
userresid: [],
|
|
92
|
+
depname: '',
|
|
93
|
+
operatorname: '',
|
|
94
|
+
operatorid: [],
|
|
95
|
+
depid: []
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
ready () {
|
|
99
|
+
this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
100
|
+
this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
101
|
+
this.searchData()
|
|
102
|
+
},
|
|
103
|
+
methods: {
|
|
104
|
+
searchData () {
|
|
105
|
+
let queryData = this.orgCondtionStr
|
|
106
|
+
for (let key in this.queryData) {
|
|
107
|
+
if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
|
|
108
|
+
if (Array.isArray(this.queryData[key])) {
|
|
109
|
+
var stringValue = ''
|
|
110
|
+
for (var i = 0; i < this.queryData[key].length; i++) {
|
|
111
|
+
if (i === this.queryData[key].length - 1) {
|
|
112
|
+
stringValue = stringValue + "'" + this.queryData[key][i] + "'"
|
|
113
|
+
} else {
|
|
114
|
+
stringValue = stringValue + "'" + this.queryData[key][i] + "',"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
queryData = queryData + ' and ' + key + ' in (' + stringValue + ')'
|
|
118
|
+
} else {
|
|
119
|
+
queryData = queryData + ' and ' + key + ' = ' + this.queryData[key]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
// 重置url
|
|
124
|
+
this.url = ''
|
|
125
|
+
// encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
|
|
126
|
+
this.url = this.urlPrefix + '?f_orgid=' + encodeURIComponent(queryData) +
|
|
127
|
+
'&startDate=' + encodeURIComponent(this.model.startDate) +
|
|
128
|
+
'&endDate=' + encodeURIComponent(this.model.endDate)
|
|
129
|
+
console.log('报表===' + queryData)
|
|
130
|
+
console.log('报表===>' + this.url)
|
|
131
|
+
this.isShow = true
|
|
132
|
+
},
|
|
133
|
+
load () {
|
|
134
|
+
this.isShow = true
|
|
135
|
+
},
|
|
136
|
+
getRes (obj) {
|
|
137
|
+
this.orgname = obj.res[0]
|
|
138
|
+
this.depresid = obj.resids
|
|
139
|
+
this.userresid = obj.resids
|
|
140
|
+
this.queryData.f_orgid = obj.resids
|
|
141
|
+
},
|
|
142
|
+
getdep (obj, val) {
|
|
143
|
+
this.depname = val[0]
|
|
144
|
+
this.userresid = obj
|
|
145
|
+
this.queryData.f_depid = obj
|
|
146
|
+
},
|
|
147
|
+
getuser (obj, val) {
|
|
148
|
+
this.operatorname = val[0]
|
|
149
|
+
this.queryData.f_operatorid = obj
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
computed: {
|
|
153
|
+
charge_state () {
|
|
154
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
</script>
|
|
159
|
+
<style scoped>
|
|
160
|
+
.noborder{
|
|
161
|
+
border: none;
|
|
162
|
+
}
|
|
163
|
+
.span{
|
|
164
|
+
height: 0;
|
|
165
|
+
}
|
|
166
|
+
.ifarme_style{
|
|
167
|
+
border: medium none;
|
|
168
|
+
}
|
|
169
|
+
</style>
|