manage-client 1.60.12-2 → 1.60.12-3
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/{7.1 → 4.4}/fileChanges/last-build.bin +0 -0
- package/.gradle/{7.1 → 4.4}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/build/dev-server.js +167 -139
- package/{.gradle/7.1/dependencies-accessors/gc.properties → dist/static/.gitkeep} +0 -0
- package/dist/static/ManageHomePic/gasborder.png +0 -0
- package/dist/static/ManageHomePic//345/212/240/350/275/275/346/225/260/346/215/256.gif +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20211.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021343.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021510.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20215100.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021519.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021520.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021566.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021682.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021682/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/202519.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/2354.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2026.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20261.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2027.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20271.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2028.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2029.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/202949/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/275/242/347/212/266927.png +0 -0
- package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/2352.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2062.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2066/346/213/267/350/264/2353.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23516.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23517.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23518.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23519.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2068/346/213/267/350/264/2356.png +0 -0
- package/dist/static/ManageHomePic//347/237/251/345/275/2421684.png +0 -0
- package/dist/static/ManageHomePic//347/237/251/345/275/2428.png +0 -0
- package/dist/static/ManageHomePic//350/203/214/346/231/257.png +0 -0
- package/dist/static/ManagementControl/echarts10.png +0 -0
- package/dist/static/ManagementControl/echarts11.png +0 -0
- package/dist/static/ManagementControl/echarts12.png +0 -0
- package/dist/static/ManagementControl/echarts13.png +0 -0
- package/dist/static/ManagementControl/echarts14.png +0 -0
- package/dist/static/ManagementControl/echarts15.png +0 -0
- package/dist/static/ManagementControl/echarts16.png +0 -0
- package/dist/static/ManagementControl/echarts17.png +0 -0
- package/dist/static/ManagementControl/echarts18.png +0 -0
- package/dist/static/ManagementControl/echarts4.png +0 -0
- package/dist/static/ManagementControl/echarts5.png +0 -0
- package/dist/static/ManagementControl/echarts51.png +0 -0
- package/dist/static/ManagementControl/echarts6.png +0 -0
- package/dist/static/ManagementControl/echarts7.png +0 -0
- package/dist/static/ManagementControl/echarts71.png +0 -0
- package/dist/static/ManagementControl/echarts8.png +0 -0
- package/dist/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/dist/static/WebMetericon/0001.png +0 -0
- package/dist/static/WebMetericon/0002.png +0 -0
- package/dist/static/WebMetericon/0003.png +0 -0
- package/dist/static/WebMetericon/0004.png +0 -0
- package/dist/static/WebMetericon/001.png +0 -0
- package/dist/static/WebMetericon/002.png +0 -0
- package/dist/static/WebMetericon/003.png +0 -0
- package/dist/static/WebMetericon/004.png +0 -0
- package/dist/static/WebMetericon/01.png +0 -0
- package/dist/static/WebMetericon/02.png +0 -0
- package/dist/static/WebMetericon/03.png +0 -0
- package/dist/static/WebMetericon/04.png +0 -0
- package/dist/static/WebMetericon/1.png +0 -0
- package/dist/static/WebMetericon/2.png +0 -0
- package/dist/static/WebMetericon/3.png +0 -0
- package/dist/static/WebMetericon/4.png +0 -0
- package/dist/static/WebMetericon/Cell1.png +0 -0
- package/dist/static/WebMetericon/Cell2.png +0 -0
- package/dist/static/WebMetericon/Cell3.png +0 -0
- package/dist/static/WebMetericon/Cell4.png +0 -0
- package/dist/static/WebMetericon/Cell5.png +0 -0
- package/dist/static/WebMetericon/Cell6.png +0 -0
- package/dist/static/WebMetericon/Signal1.png +0 -0
- package/dist/static/WebMetericon/Signal2.png +0 -0
- package/dist/static/WebMetericon/Signal3.png +0 -0
- package/dist/static/WebMetericon/Signal4.png +0 -0
- package/dist/static/WebMetericon/guzhang.png +0 -0
- package/dist/static/WebMetericon/zhengchang.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021554.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021558.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2022556.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/20225560.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/static/WebMetericon//346/244/255/345/234/206874.png +0 -0
- package/dist/static/WebMetericon//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/static/WebMetericon//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/static/WebMetericon//347/237/251/345/275/2421828.png +0 -0
- package/dist/static/WebMetericon//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/static/batchleft.png +0 -0
- package/dist/static/batchright.png +0 -0
- package/dist/static/bluemainbg.jpg +0 -0
- package/dist/static/huangtengbiaozhi.png +0 -0
- package/dist/static/img/close.png +0 -0
- package/dist/static/img/close_img.png +0 -0
- package/dist/static/img/open_img.png +0 -0
- package/dist/static/js/bundle.js +181969 -0
- package/dist/static/login_bg.jpg +0 -0
- package/dist/static/login_title.png +0 -0
- package/dist/static/login_title1.png +0 -0
- package/dist/static/loginbg.jpg +0 -0
- package/dist/static/loginlogo.png +0 -0
- package/dist/static/main_logo.png +0 -0
- package/dist/static/mainbg.jpg +0 -0
- package/dist/static/menulogo.png +0 -0
- package/dist/static/newmainbg.jpg +0 -0
- package/dist/static/psicon.png +0 -0
- package/dist/static/singleleft.png +0 -0
- package/dist/static/singleright.png +0 -0
- package/dist/static/treeopen.png +0 -0
- package/dist/static/treeout.png +0 -0
- package/dist/static/treeset.png +0 -0
- package/dist/static/usericon.png +0 -0
- package/dist/static/webMeter/0001.png +0 -0
- package/dist/static/webMeter/0002.png +0 -0
- package/dist/static/webMeter/0003.png +0 -0
- package/dist/static/webMeter/0004.png +0 -0
- package/dist/static/webMeter/001.png +0 -0
- package/dist/static/webMeter/002.png +0 -0
- package/dist/static/webMeter/003.png +0 -0
- package/dist/static/webMeter/004.png +0 -0
- package/dist/static/webMeter/01.png +0 -0
- package/dist/static/webMeter/02.png +0 -0
- package/dist/static/webMeter/03.png +0 -0
- package/dist/static/webMeter/04.png +0 -0
- package/dist/static/webMeter/1.png +0 -0
- package/dist/static/webMeter/2.png +0 -0
- package/dist/static/webMeter/3.png +0 -0
- package/dist/static/webMeter/4.png +0 -0
- package/dist/static/webMeter/Cell1.png +0 -0
- package/dist/static/webMeter/Cell2.png +0 -0
- package/dist/static/webMeter/Cell3.png +0 -0
- package/dist/static/webMeter/Cell4.png +0 -0
- package/dist/static/webMeter/Cell5.png +0 -0
- package/dist/static/webMeter/Cell6.png +0 -0
- package/dist/static/webMeter/Signal1.png +0 -0
- package/dist/static/webMeter/Signal2.png +0 -0
- package/dist/static/webMeter/Signal3.png +0 -0
- package/dist/static/webMeter/Signal4.png +0 -0
- package/dist/static/webMeter/guzhang.png +0 -0
- package/dist/static/webMeter/shangsheng.png +0 -0
- package/dist/static/webMeter/shousuo.png +0 -0
- package/dist/static/webMeter/shuaxin.png +0 -0
- package/dist/static/webMeter/zhengchang.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021554.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021558.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2022556.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/20225560.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//346/244/255/345/234/206874.png +0 -0
- package/dist/static/webMeter//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/static/webMeter//347/237/251/345/275/2421828.png +0 -0
- package/dist/static/webMeter//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/static/xinxi.png +0 -0
- package/package.json +1 -1
- package/src/components/ManageBusiness/ChargeQuery.vue +447 -447
- package/src/components/ManageHome/Monitor/NoGas.vue +209 -207
- package/src/components/SellReport/ManageUserOther.vue +177 -0
- package/src/components/WebReport/OweQuery.vue +169 -169
- package/src/components/sale/businessquery/NotUseQuery.vue +648 -648
- package/src/components/sale/config/exportConfig.js +102 -102
- package/src/manage.js +995 -992
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +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
|
File without changes
|
|
Binary file
|
|
Binary file
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
target :
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
'/
|
|
53
|
-
|
|
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.50.220:7000/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.50.220:7000/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.50.220:7000/ldap'
|
|
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.50.220:8200/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.50.220:8200/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.50.220:8200/system'
|
|
60
|
+
// target: 'http://192.168.20.191:8011'
|
|
61
|
+
},
|
|
62
|
+
'/rs/db': {
|
|
63
|
+
target: 'http://192.168.50.220:7000/ldap'
|
|
64
|
+
// target: 'http://127.0.0.1:8012'
|
|
65
|
+
// target: 'http://192.168.20.191:s8011'
|
|
66
|
+
},
|
|
67
|
+
'/excel': {
|
|
68
|
+
target: 'http://127.0.0.1:8080/'
|
|
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.50.220:8300'
|
|
74
|
+
},
|
|
75
|
+
'/rs/logic/getSaleInitData':{
|
|
76
|
+
target: 'http://192.168.50.220:8300'
|
|
77
|
+
},
|
|
78
|
+
'/rs/vue': {
|
|
79
|
+
target: 'http://192.168.50.220:8200/system'
|
|
80
|
+
},
|
|
81
|
+
'/rs': {//rs/sql/newsellQuery
|
|
82
|
+
// target: 'http://127.0.0.1:8088/mamage'
|
|
83
|
+
target: 'http://127.0.0.1:8080/'
|
|
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
|
+
})
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|