manage-client 1.60.12-2 → 1.60.12-20
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 +167 -139
- package/package.json +1 -1
- package/src/components/ManageBusiness/ArchivesQuery.vue +3 -0
- package/src/components/ManageBusiness/MeterReadQuery.vue +369 -336
- package/src/components/{sale/businessquery → ManageBusiness}/NotUseQuery.vue +650 -648
- package/src/components/ManageBusiness/OtherChargesQuery.vue +43 -28
- package/src/components/ManageBusiness/TableWithQuery.vue +39 -28
- package/src/components/ManageBusiness/UserQuery.vue +2 -3
- package/src/components/ManageBusiness/common/oper/OtherCharge.vue +6 -0
- package/src/components/ManageHome/Monitor/NoGas.vue +209 -207
- package/src/components/SellReport/ManageUserOther.vue +182 -0
- package/src/components/WebReport/NotUseQuery.vue +638 -0
- package/src/components/WebReport/OweQuery.vue +169 -169
- package/src/components/config/DefaultPrint.js +6 -0
- package/src/components/sale/businessquery/ChangeUserQuery.vue +388 -0
- package/src/components/sale/businessquery/OtherChargeQuery.vue +19 -2
- package/src/components/sale/config/exportConfig.js +107 -102
- package/src/manage.js +998 -992
- 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/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/gradlew +0 -185
- package/gradlew.bat +0 -89
package/build/dev-server.js
CHANGED
|
@@ -1,139 +1,167 @@
|
|
|
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 proxyTable = {
|
|
14
|
-
'/images': {
|
|
15
|
-
target :
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
target :
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
target :
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
target :
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
target :
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
target :
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
target :
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
//
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
//
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
//
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
//
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
//
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
//
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
// app.all('/rs
|
|
128
|
-
// proxy.web(req, res, {
|
|
129
|
-
// target: 'http://127.0.0.1:
|
|
130
|
-
// })
|
|
131
|
-
// })
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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 proxyTable = {
|
|
14
|
+
'/images': {
|
|
15
|
+
// target: 'http://localhost:8086'
|
|
16
|
+
target: 'http://192.168.1.212:8300/ldap'
|
|
17
|
+
},
|
|
18
|
+
// 查找资源服务数据
|
|
19
|
+
'/rs/search': {
|
|
20
|
+
// target: 'http://192.168.50.202:8099'
|
|
21
|
+
// target: 'http://192.168.20.2:8081'
|
|
22
|
+
target: 'http://192.168.1.212:8300/ldap'
|
|
23
|
+
// target: 'http://192.168.20.191:8011'
|
|
24
|
+
},
|
|
25
|
+
// 用户登录服务地址
|
|
26
|
+
'/rs/user': {
|
|
27
|
+
// target: 'http://192.168.50.202:8099'
|
|
28
|
+
// target: 'http://192.168.2.77:8081'
|
|
29
|
+
target: 'http://192.168.1.212:8300/'
|
|
30
|
+
// target: 'http://192.168.20.191:8011'
|
|
31
|
+
},
|
|
32
|
+
'/rs/path/getParams': {
|
|
33
|
+
// target: 'http://192.168.50.202:8099'
|
|
34
|
+
//target: 'http://127.0.0.1:8888/product'
|
|
35
|
+
target: 'http://192.168.50.220:8200/system'
|
|
36
|
+
// target: 'http://192.168.20.191:8011'
|
|
37
|
+
},
|
|
38
|
+
'/rs/logic/getInitData': {
|
|
39
|
+
// target: 'http://192.168.50.202:8099'
|
|
40
|
+
//target: 'http://127.0.0.1:8888/product'
|
|
41
|
+
target: 'http://192.168.1.212:8300/system'
|
|
42
|
+
// target: 'http://192.168.20.191:8011'
|
|
43
|
+
},
|
|
44
|
+
'/rs/sql/saleSingleTable': {
|
|
45
|
+
// target: 'http://192.168.50.202:8099'
|
|
46
|
+
//target: 'http://127.0.0.1:8888/product'
|
|
47
|
+
target: 'http://192.168.50.220:8300'
|
|
48
|
+
// target: 'http://192.168.20.191:8011'
|
|
49
|
+
},
|
|
50
|
+
'/rs/sql/singleTable_OrderBy': {
|
|
51
|
+
// target: 'http://192.168.50.202:8099'
|
|
52
|
+
//target: 'http://127.0.0.1:8888/product'
|
|
53
|
+
target: 'http://192.168.1.212:8300/system'
|
|
54
|
+
// target: 'http://192.168.20.191:8011'
|
|
55
|
+
},
|
|
56
|
+
'/rs/logic/getLogin': {
|
|
57
|
+
// target: 'http://192.168.50.202:8099'
|
|
58
|
+
//target: 'http://127.0.0.1:8888/product'
|
|
59
|
+
target: 'http://192.168.1.212:8300/system'
|
|
60
|
+
// target: 'http://192.168.20.191:8011'
|
|
61
|
+
},
|
|
62
|
+
'/rs/db': {
|
|
63
|
+
target: 'http://192.168.1.212:8300/ldap'
|
|
64
|
+
// target: 'http://127.0.0.1:8012'
|
|
65
|
+
// target: 'http://192.168.20.191:s8011'
|
|
66
|
+
},
|
|
67
|
+
'/excel': {
|
|
68
|
+
target: 'http://192.168.1.212:8300/'
|
|
69
|
+
// target: 'http://127.0.0.1:8080/manager'
|
|
70
|
+
// target: 'http://192.168.50.220:8300'
|
|
71
|
+
},
|
|
72
|
+
'/rs/file': {
|
|
73
|
+
target: 'http://192.168.1.212:8300/'
|
|
74
|
+
},
|
|
75
|
+
'/rs/logic/getSaleInitData':{
|
|
76
|
+
target: 'http://192.168.1.212:8300/'
|
|
77
|
+
},
|
|
78
|
+
'/rs/vue': {
|
|
79
|
+
target: 'http://192.168.1.212:8300/system'
|
|
80
|
+
},
|
|
81
|
+
'/rs': {//rs/sql/newsellQuery
|
|
82
|
+
// target: 'http://127.0.0.1:8088/mamage'
|
|
83
|
+
target: 'http://192.168.1.212:8300/'
|
|
84
|
+
// target: 'http://192.168.50.220:8300'
|
|
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
|
+
|
|
117
|
+
// serve webpack bundle output
|
|
118
|
+
app.use(devMiddleware)
|
|
119
|
+
|
|
120
|
+
// enable hot-reload and state-preserving
|
|
121
|
+
// compilation error display
|
|
122
|
+
app.use(hotMiddleware)
|
|
123
|
+
|
|
124
|
+
// serve pure static assets
|
|
125
|
+
app.use('/static', express.static('./static'))
|
|
126
|
+
|
|
127
|
+
// app.all('/rs/*', function (req, res) {
|
|
128
|
+
// proxy.web(req, res, {
|
|
129
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
130
|
+
// })
|
|
131
|
+
// })
|
|
132
|
+
|
|
133
|
+
// app.all('/rs/*', function (req, res) {
|
|
134
|
+
// proxy.web(req, res, {
|
|
135
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
136
|
+
// })
|
|
137
|
+
// })
|
|
138
|
+
// app.all('/excel/*', function (req, res) {
|
|
139
|
+
// proxy.web(req, res, {
|
|
140
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
141
|
+
// })
|
|
142
|
+
// })
|
|
143
|
+
|
|
144
|
+
// app.all('/rs/*', function (req, res) {
|
|
145
|
+
// proxy.web(req, res, {
|
|
146
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
147
|
+
// })
|
|
148
|
+
// })
|
|
149
|
+
|
|
150
|
+
// app.all('/*', function (req, res) {
|
|
151
|
+
// proxy.web(req, res, {
|
|
152
|
+
// target: 'http://127.0.0.1:82'
|
|
153
|
+
// })
|
|
154
|
+
// })
|
|
155
|
+
// app.all('/rs/user', function (req, res) {
|
|
156
|
+
// proxy.web(req, res, {
|
|
157
|
+
// target: 'http://127.0.0.1:82'
|
|
158
|
+
// })
|
|
159
|
+
// })
|
|
160
|
+
|
|
161
|
+
module.exports = app.listen(8085, function (err) {
|
|
162
|
+
if (err) {
|
|
163
|
+
console.log(err)
|
|
164
|
+
return
|
|
165
|
+
}
|
|
166
|
+
console.log('Listening at http://localhost:8085')
|
|
167
|
+
})
|
package/package.json
CHANGED