manage-client 1.8.23-39 → 1.8.23-41
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 +156 -155
- package/package.json +1 -2
- package/src/components/SellReport/ManageMonthGas.vue +241 -181
- package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +407 -432
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +643 -643
- package/src/webmeterManage.js +80 -80
- package/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,155 +1,156 @@
|
|
|
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
|
-
var str = 'http://112.35.127.105:8300/', str2 = 'http://112.35.127.105:8300/'
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
/*'/rs/logic/exportfile': {
|
|
14
|
-
target: str2
|
|
15
|
-
},*/
|
|
16
|
-
'/file': {
|
|
17
|
-
target: str
|
|
18
|
-
},
|
|
19
|
-
// 查找资源服务数据
|
|
20
|
-
'/rs/search': {
|
|
21
|
-
target: str
|
|
22
|
-
},
|
|
23
|
-
// 用户登录服务地址
|
|
24
|
-
'/rs/user': {
|
|
25
|
-
target: str
|
|
26
|
-
},
|
|
27
|
-
'/rs/path/getParams': {
|
|
28
|
-
target: str
|
|
29
|
-
},
|
|
30
|
-
'/rs/logic/getInitData': {
|
|
31
|
-
target: str
|
|
32
|
-
},
|
|
33
|
-
'/rs/data': {
|
|
34
|
-
target: str
|
|
35
|
-
},
|
|
36
|
-
'/rs/license': {
|
|
37
|
-
target: str
|
|
38
|
-
},
|
|
39
|
-
'/rs/db': {
|
|
40
|
-
target: str
|
|
41
|
-
},
|
|
42
|
-
'/excel': {
|
|
43
|
-
target: str
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
'/rs/logic/getSaleInitData': {
|
|
47
|
-
target: str
|
|
48
|
-
},
|
|
49
|
-
'/rs/logic/getLogin': {
|
|
50
|
-
target: str
|
|
51
|
-
},
|
|
52
|
-
'/rs/config': {
|
|
53
|
-
target: 'http://127.0.0.1:8080/manage'
|
|
54
|
-
},
|
|
55
|
-
'/rs/sql/getLicenseById': {
|
|
56
|
-
target: str
|
|
57
|
-
},
|
|
58
|
-
/*'/rs/Invoice': {
|
|
59
|
-
target: 'http://127.0.0.1:8090/Invoice/rs/aisino/invoice'
|
|
60
|
-
},*/
|
|
61
|
-
'/rs/report': {
|
|
62
|
-
//target: 'http://127.0.0.1:8080/manage'
|
|
63
|
-
target: 'http://127.0.0.1:8081'
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
target:
|
|
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
|
-
//
|
|
128
|
-
//
|
|
129
|
-
//
|
|
130
|
-
//
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
//
|
|
134
|
-
//
|
|
135
|
-
//
|
|
136
|
-
//
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
//
|
|
145
|
-
//
|
|
146
|
-
//
|
|
147
|
-
//
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
+
var str = 'http://112.35.127.105:8305/ ', str2 = 'http://112.35.127.105:8305/'
|
|
11
|
+
// var str = 'http://112.35.127.105:8300/', str2 = 'http://112.35.127.105:8300/'
|
|
12
|
+
var proxyTable = {
|
|
13
|
+
/*'/rs/logic/exportfile': {
|
|
14
|
+
target: str2
|
|
15
|
+
},*/
|
|
16
|
+
'/file': {
|
|
17
|
+
target: str
|
|
18
|
+
},
|
|
19
|
+
// 查找资源服务数据
|
|
20
|
+
'/rs/search': {
|
|
21
|
+
target: str
|
|
22
|
+
},
|
|
23
|
+
// 用户登录服务地址
|
|
24
|
+
'/rs/user': {
|
|
25
|
+
target: str
|
|
26
|
+
},
|
|
27
|
+
'/rs/path/getParams': {
|
|
28
|
+
target: str
|
|
29
|
+
},
|
|
30
|
+
'/rs/logic/getInitData': {
|
|
31
|
+
target: str
|
|
32
|
+
},
|
|
33
|
+
'/rs/data': {
|
|
34
|
+
target: str
|
|
35
|
+
},
|
|
36
|
+
'/rs/license': {
|
|
37
|
+
target: str
|
|
38
|
+
},
|
|
39
|
+
'/rs/db': {
|
|
40
|
+
target: str
|
|
41
|
+
},
|
|
42
|
+
'/excel': {
|
|
43
|
+
target: str
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
'/rs/logic/getSaleInitData': {
|
|
47
|
+
target: str
|
|
48
|
+
},
|
|
49
|
+
'/rs/logic/getLogin': {
|
|
50
|
+
target: str
|
|
51
|
+
},
|
|
52
|
+
'/rs/config': {
|
|
53
|
+
target: 'http://127.0.0.1:8080/manage'
|
|
54
|
+
},
|
|
55
|
+
'/rs/sql/getLicenseById': {
|
|
56
|
+
target: str
|
|
57
|
+
},
|
|
58
|
+
/*'/rs/Invoice': {
|
|
59
|
+
target: 'http://127.0.0.1:8090/Invoice/rs/aisino/invoice'
|
|
60
|
+
},*/
|
|
61
|
+
'/rs/report': {
|
|
62
|
+
//target: 'http://127.0.0.1:8080/manage'
|
|
63
|
+
// target: 'http://127.0.0.1:8081'
|
|
64
|
+
target: str
|
|
65
|
+
},
|
|
66
|
+
'/rs/vue': {
|
|
67
|
+
// target: 'http://127.0.0.1:8089/manage'
|
|
68
|
+
target: str
|
|
69
|
+
},
|
|
70
|
+
'/rs': {
|
|
71
|
+
//target: 'http://127.0.0.1:8080'
|
|
72
|
+
// target: 'http://192.168.50.203:8082/manage'
|
|
73
|
+
target: str
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
78
|
+
publicPath: config.output.publicPath,
|
|
79
|
+
stats: {
|
|
80
|
+
colors: true,
|
|
81
|
+
chunks: false
|
|
82
|
+
}
|
|
83
|
+
})
|
|
84
|
+
|
|
85
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
86
|
+
// force page reload when html-webpack-plugin template changes
|
|
87
|
+
compiler.plugin('compilation', function (compilation) {
|
|
88
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
89
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
90
|
+
cb()
|
|
91
|
+
})
|
|
92
|
+
})
|
|
93
|
+
|
|
94
|
+
// proxy api requests
|
|
95
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
96
|
+
var options = proxyTable[context]
|
|
97
|
+
if (typeof options === 'string') {
|
|
98
|
+
options = { target: options }
|
|
99
|
+
}
|
|
100
|
+
app.use(proxyMiddleware(context, options))
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
// handle fallback for HTML5 history API
|
|
104
|
+
app.use(require('connect-history-api-fallback')())
|
|
105
|
+
|
|
106
|
+
// serve webpack bundle output
|
|
107
|
+
app.use(devMiddleware)
|
|
108
|
+
|
|
109
|
+
// enable hot-reload and state-preserving
|
|
110
|
+
// compilation error display
|
|
111
|
+
app.use(hotMiddleware)
|
|
112
|
+
|
|
113
|
+
// serve pure static assets
|
|
114
|
+
app.use('/static', express.static('./static'))
|
|
115
|
+
|
|
116
|
+
// app.all('/rs/*', function (req, res) {
|
|
117
|
+
// proxy.web(req, res, {
|
|
118
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
119
|
+
// })
|
|
120
|
+
// })
|
|
121
|
+
|
|
122
|
+
// app.all('/rs/*', function (req, res) {
|
|
123
|
+
// proxy.web(req, res, {
|
|
124
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
125
|
+
// })
|
|
126
|
+
// })
|
|
127
|
+
// app.all('/excel/*', function (req, res) {
|
|
128
|
+
// proxy.web(req, res, {
|
|
129
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
130
|
+
// })
|
|
131
|
+
// })
|
|
132
|
+
|
|
133
|
+
// app.all('/rs/*', function (req, res) {
|
|
134
|
+
// proxy.web(req, res, {
|
|
135
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
136
|
+
// })
|
|
137
|
+
// })
|
|
138
|
+
|
|
139
|
+
// app.all('/*', function (req, res) {
|
|
140
|
+
// proxy.web(req, res, {
|
|
141
|
+
// target: 'http://127.0.0.1:82'
|
|
142
|
+
// })
|
|
143
|
+
// })
|
|
144
|
+
// app.all('/rs/user', function (req, res) {
|
|
145
|
+
// proxy.web(req, res, {
|
|
146
|
+
// target: 'http://127.0.0.1:82'
|
|
147
|
+
// })
|
|
148
|
+
// })
|
|
149
|
+
|
|
150
|
+
module.exports = app.listen(8085, function (err) {
|
|
151
|
+
if (err) {
|
|
152
|
+
console.log(err)
|
|
153
|
+
return
|
|
154
|
+
}
|
|
155
|
+
console.log('Listening at http://localhost:8085')
|
|
156
|
+
})
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "1.8.23-
|
|
3
|
+
"version": "1.8.23-41",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
7
7
|
"test": "test"
|
|
8
8
|
},
|
|
9
|
-
"dependencies": {},
|
|
10
9
|
"devDependencies": {
|
|
11
10
|
"babel-core": "^6.0.0",
|
|
12
11
|
"babel-loader": "^6.0.0",
|