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.
Files changed (198) hide show
  1. package/.gradle/{7.1 → 4.4}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/{7.1 → 4.4}/fileHashes/fileHashes.bin +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/build/dev-server.js +167 -139
  5. package/{.gradle/7.1/dependencies-accessors/gc.properties → dist/static/.gitkeep} +0 -0
  6. package/dist/static/ManageHomePic/gasborder.png +0 -0
  7. package/dist/static/ManageHomePic//345/212/240/350/275/275/346/225/260/346/215/256.gif +0 -0
  8. package/dist/static/ManageHomePic//345/233/276/345/261/20211.png +0 -0
  9. package/dist/static/ManageHomePic//345/233/276/345/261/2021343.png +0 -0
  10. package/dist/static/ManageHomePic//345/233/276/345/261/2021510.png +0 -0
  11. package/dist/static/ManageHomePic//345/233/276/345/261/20215100.png +0 -0
  12. package/dist/static/ManageHomePic//345/233/276/345/261/2021519.png +0 -0
  13. package/dist/static/ManageHomePic//345/233/276/345/261/2021520.png +0 -0
  14. package/dist/static/ManageHomePic//345/233/276/345/261/2021566.png +0 -0
  15. package/dist/static/ManageHomePic//345/233/276/345/261/2021682.png +0 -0
  16. package/dist/static/ManageHomePic//345/233/276/345/261/2021682/346/213/267/350/264/235.png +0 -0
  17. package/dist/static/ManageHomePic//345/233/276/345/261/202519.png +0 -0
  18. package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
  19. package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/2354.png +0 -0
  20. package/dist/static/ManageHomePic//345/233/276/345/261/2026.png +0 -0
  21. package/dist/static/ManageHomePic//345/233/276/345/261/20261.png +0 -0
  22. package/dist/static/ManageHomePic//345/233/276/345/261/2027.png +0 -0
  23. package/dist/static/ManageHomePic//345/233/276/345/261/20271.png +0 -0
  24. package/dist/static/ManageHomePic//345/233/276/345/261/2028.png +0 -0
  25. package/dist/static/ManageHomePic//345/233/276/345/261/2029.png +0 -0
  26. package/dist/static/ManageHomePic//345/233/276/345/261/202949/346/213/267/350/264/235.png +0 -0
  27. package/dist/static/ManageHomePic//345/275/242/347/212/266927.png +0 -0
  28. package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/235.png +0 -0
  29. package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/2352.png +0 -0
  30. package/dist/static/ManageHomePic//346/244/255/345/234/2062.png +0 -0
  31. package/dist/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
  32. package/dist/static/ManageHomePic//346/244/255/345/234/2066/346/213/267/350/264/2353.png +0 -0
  33. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23516.png +0 -0
  34. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23517.png +0 -0
  35. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23518.png +0 -0
  36. package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23519.png +0 -0
  37. package/dist/static/ManageHomePic//346/244/255/345/234/2068/346/213/267/350/264/2356.png +0 -0
  38. package/dist/static/ManageHomePic//347/237/251/345/275/2421684.png +0 -0
  39. package/dist/static/ManageHomePic//347/237/251/345/275/2428.png +0 -0
  40. package/dist/static/ManageHomePic//350/203/214/346/231/257.png +0 -0
  41. package/dist/static/ManagementControl/echarts10.png +0 -0
  42. package/dist/static/ManagementControl/echarts11.png +0 -0
  43. package/dist/static/ManagementControl/echarts12.png +0 -0
  44. package/dist/static/ManagementControl/echarts13.png +0 -0
  45. package/dist/static/ManagementControl/echarts14.png +0 -0
  46. package/dist/static/ManagementControl/echarts15.png +0 -0
  47. package/dist/static/ManagementControl/echarts16.png +0 -0
  48. package/dist/static/ManagementControl/echarts17.png +0 -0
  49. package/dist/static/ManagementControl/echarts18.png +0 -0
  50. package/dist/static/ManagementControl/echarts4.png +0 -0
  51. package/dist/static/ManagementControl/echarts5.png +0 -0
  52. package/dist/static/ManagementControl/echarts51.png +0 -0
  53. package/dist/static/ManagementControl/echarts6.png +0 -0
  54. package/dist/static/ManagementControl/echarts7.png +0 -0
  55. package/dist/static/ManagementControl/echarts71.png +0 -0
  56. package/dist/static/ManagementControl/echarts8.png +0 -0
  57. package/dist/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
  58. package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
  59. package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
  60. package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
  61. package/dist/static/WebMetericon/0001.png +0 -0
  62. package/dist/static/WebMetericon/0002.png +0 -0
  63. package/dist/static/WebMetericon/0003.png +0 -0
  64. package/dist/static/WebMetericon/0004.png +0 -0
  65. package/dist/static/WebMetericon/001.png +0 -0
  66. package/dist/static/WebMetericon/002.png +0 -0
  67. package/dist/static/WebMetericon/003.png +0 -0
  68. package/dist/static/WebMetericon/004.png +0 -0
  69. package/dist/static/WebMetericon/01.png +0 -0
  70. package/dist/static/WebMetericon/02.png +0 -0
  71. package/dist/static/WebMetericon/03.png +0 -0
  72. package/dist/static/WebMetericon/04.png +0 -0
  73. package/dist/static/WebMetericon/1.png +0 -0
  74. package/dist/static/WebMetericon/2.png +0 -0
  75. package/dist/static/WebMetericon/3.png +0 -0
  76. package/dist/static/WebMetericon/4.png +0 -0
  77. package/dist/static/WebMetericon/Cell1.png +0 -0
  78. package/dist/static/WebMetericon/Cell2.png +0 -0
  79. package/dist/static/WebMetericon/Cell3.png +0 -0
  80. package/dist/static/WebMetericon/Cell4.png +0 -0
  81. package/dist/static/WebMetericon/Cell5.png +0 -0
  82. package/dist/static/WebMetericon/Cell6.png +0 -0
  83. package/dist/static/WebMetericon/Signal1.png +0 -0
  84. package/dist/static/WebMetericon/Signal2.png +0 -0
  85. package/dist/static/WebMetericon/Signal3.png +0 -0
  86. package/dist/static/WebMetericon/Signal4.png +0 -0
  87. package/dist/static/WebMetericon/guzhang.png +0 -0
  88. package/dist/static/WebMetericon/zhengchang.png +0 -0
  89. package/dist/static/WebMetericon//345/233/276/345/261/2021554.png +0 -0
  90. package/dist/static/WebMetericon//345/233/276/345/261/2021558.png +0 -0
  91. package/dist/static/WebMetericon//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
  92. package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
  93. package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
  94. package/dist/static/WebMetericon//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
  95. package/dist/static/WebMetericon//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
  96. package/dist/static/WebMetericon//345/233/276/345/261/2022556.png +0 -0
  97. package/dist/static/WebMetericon//345/233/276/345/261/20225560.png +0 -0
  98. package/dist/static/WebMetericon//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
  99. package/dist/static/WebMetericon//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
  100. package/dist/static/WebMetericon//346/244/255/345/234/206874.png +0 -0
  101. package/dist/static/WebMetericon//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
  102. package/dist/static/WebMetericon//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
  103. package/dist/static/WebMetericon//347/237/251/345/275/2421828.png +0 -0
  104. package/dist/static/WebMetericon//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
  105. package/dist/static/batchleft.png +0 -0
  106. package/dist/static/batchright.png +0 -0
  107. package/dist/static/bluemainbg.jpg +0 -0
  108. package/dist/static/huangtengbiaozhi.png +0 -0
  109. package/dist/static/img/close.png +0 -0
  110. package/dist/static/img/close_img.png +0 -0
  111. package/dist/static/img/open_img.png +0 -0
  112. package/dist/static/js/bundle.js +181969 -0
  113. package/dist/static/login_bg.jpg +0 -0
  114. package/dist/static/login_title.png +0 -0
  115. package/dist/static/login_title1.png +0 -0
  116. package/dist/static/loginbg.jpg +0 -0
  117. package/dist/static/loginlogo.png +0 -0
  118. package/dist/static/main_logo.png +0 -0
  119. package/dist/static/mainbg.jpg +0 -0
  120. package/dist/static/menulogo.png +0 -0
  121. package/dist/static/newmainbg.jpg +0 -0
  122. package/dist/static/psicon.png +0 -0
  123. package/dist/static/singleleft.png +0 -0
  124. package/dist/static/singleright.png +0 -0
  125. package/dist/static/treeopen.png +0 -0
  126. package/dist/static/treeout.png +0 -0
  127. package/dist/static/treeset.png +0 -0
  128. package/dist/static/usericon.png +0 -0
  129. package/dist/static/webMeter/0001.png +0 -0
  130. package/dist/static/webMeter/0002.png +0 -0
  131. package/dist/static/webMeter/0003.png +0 -0
  132. package/dist/static/webMeter/0004.png +0 -0
  133. package/dist/static/webMeter/001.png +0 -0
  134. package/dist/static/webMeter/002.png +0 -0
  135. package/dist/static/webMeter/003.png +0 -0
  136. package/dist/static/webMeter/004.png +0 -0
  137. package/dist/static/webMeter/01.png +0 -0
  138. package/dist/static/webMeter/02.png +0 -0
  139. package/dist/static/webMeter/03.png +0 -0
  140. package/dist/static/webMeter/04.png +0 -0
  141. package/dist/static/webMeter/1.png +0 -0
  142. package/dist/static/webMeter/2.png +0 -0
  143. package/dist/static/webMeter/3.png +0 -0
  144. package/dist/static/webMeter/4.png +0 -0
  145. package/dist/static/webMeter/Cell1.png +0 -0
  146. package/dist/static/webMeter/Cell2.png +0 -0
  147. package/dist/static/webMeter/Cell3.png +0 -0
  148. package/dist/static/webMeter/Cell4.png +0 -0
  149. package/dist/static/webMeter/Cell5.png +0 -0
  150. package/dist/static/webMeter/Cell6.png +0 -0
  151. package/dist/static/webMeter/Signal1.png +0 -0
  152. package/dist/static/webMeter/Signal2.png +0 -0
  153. package/dist/static/webMeter/Signal3.png +0 -0
  154. package/dist/static/webMeter/Signal4.png +0 -0
  155. package/dist/static/webMeter/guzhang.png +0 -0
  156. package/dist/static/webMeter/shangsheng.png +0 -0
  157. package/dist/static/webMeter/shousuo.png +0 -0
  158. package/dist/static/webMeter/shuaxin.png +0 -0
  159. package/dist/static/webMeter/zhengchang.png +0 -0
  160. package/dist/static/webMeter//345/233/276/345/261/2021554.png +0 -0
  161. package/dist/static/webMeter//345/233/276/345/261/2021558.png +0 -0
  162. package/dist/static/webMeter//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
  163. package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
  164. package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
  165. package/dist/static/webMeter//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
  166. package/dist/static/webMeter//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
  167. package/dist/static/webMeter//345/233/276/345/261/2022556.png +0 -0
  168. package/dist/static/webMeter//345/233/276/345/261/20225560.png +0 -0
  169. package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
  170. package/dist/static/webMeter//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
  171. package/dist/static/webMeter//346/244/255/345/234/206874.png +0 -0
  172. package/dist/static/webMeter//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
  173. package/dist/static/webMeter//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
  174. package/dist/static/webMeter//347/237/251/345/275/2421828.png +0 -0
  175. package/dist/static/webMeter//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
  176. package/dist/static/xinxi.png +0 -0
  177. package/package.json +1 -1
  178. package/src/components/ManageBusiness/ChargeQuery.vue +447 -447
  179. package/src/components/ManageHome/Monitor/NoGas.vue +209 -207
  180. package/src/components/SellReport/ManageUserOther.vue +177 -0
  181. package/src/components/WebReport/OweQuery.vue +169 -169
  182. package/src/components/sale/businessquery/NotUseQuery.vue +648 -648
  183. package/src/components/sale/config/exportConfig.js +102 -102
  184. package/src/manage.js +995 -992
  185. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  186. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  187. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  188. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  189. package/.gradle/7.1/gc.properties +0 -0
  190. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  191. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  192. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  193. package/.gradle/checksums/checksums.lock +0 -0
  194. package/.gradle/vcs-1/gc.properties +0 -0
  195. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  196. package/gradle/wrapper/gradle-wrapper.properties +0 -5
  197. package/gradlew +0 -185
  198. package/gradlew.bat +0 -89
File without changes
@@ -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
- let server = 'http://192.168.1.212:8300/'
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var proxyTable = {
14
- '/images': {
15
- target : server
16
- },
17
- // 查找资源服务数据
18
- '/rs/search': {
19
- target : server
20
- },
21
- // 用户登录服务地址
22
- '/rs/user': {
23
- target : server
24
- },
25
- '/rs/path/getParams': {
26
- target : server
27
- },
28
- '/rs/logic/getInitData': {
29
- target : server
30
- },
31
- '/rs/sql/saleSingleTable': {
32
- target : server
33
- },
34
- '/rs/sql/singleTable_OrderBy': {
35
- target : server
36
- },
37
- '/rs/logic/getLogin': {
38
- target : server
39
- },
40
- '/rs/db': {
41
- target : server
42
- },
43
- '/excel': {
44
- target : server
45
- },
46
- '/rs/file': {
47
- target : server
48
- },
49
- '/rs/logic/getSaleInitData':{
50
- target : server
51
- },
52
- '/rs/vue': {
53
- target : server
54
- },
55
- '/rs': {
56
- target : server
57
- }
58
- }
59
-
60
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
61
- publicPath: config.output.publicPath,
62
- stats: {
63
- colors: true,
64
- chunks: false
65
- }
66
- })
67
-
68
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
69
- // force page reload when html-webpack-plugin template changes
70
- compiler.plugin('compilation', function (compilation) {
71
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
72
- hotMiddleware.publish({ action: 'reload' })
73
- cb()
74
- })
75
- })
76
-
77
- // proxy api requests
78
- Object.keys(proxyTable).forEach(function (context) {
79
- var options = proxyTable[context]
80
- if (typeof options === 'string') {
81
- options = { target: options }
82
- }
83
- app.use(proxyMiddleware(context, options))
84
- })
85
-
86
- // handle fallback for HTML5 history API
87
- app.use(require('connect-history-api-fallback')())
88
-
89
- // serve webpack bundle output
90
- app.use(devMiddleware)
91
-
92
- // enable hot-reload and state-preserving
93
- // compilation error display
94
- app.use(hotMiddleware)
95
-
96
- // serve pure static assets
97
- app.use('/static', express.static('./static'))
98
-
99
- // app.all('/rs/*', function (req, res) {
100
- // proxy.web(req, res, {
101
- // target: 'http://127.0.0.1:8081/reports'
102
- // })
103
- // })
104
-
105
- // app.all('/rs/*', function (req, res) {
106
- // proxy.web(req, res, {
107
- // target: 'http://127.0.0.1:8081/ldap'
108
- // })
109
- // })
110
- // app.all('/excel/*', function (req, res) {
111
- // proxy.web(req, res, {
112
- // target: 'http://127.0.0.1:8081/charge'
113
- // })
114
- // })
115
-
116
- // app.all('/rs/*', function (req, res) {
117
- // proxy.web(req, res, {
118
- // target: 'http://127.0.0.1:82/charge'
119
- // })
120
- // })
121
-
122
- // app.all('/*', function (req, res) {
123
- // proxy.web(req, res, {
124
- // target: 'http://127.0.0.1:82'
125
- // })
126
- // })
127
- // app.all('/rs/user', function (req, res) {
128
- // proxy.web(req, res, {
129
- // target: 'http://127.0.0.1:82'
130
- // })
131
- // })
132
-
133
- module.exports = app.listen(8085, function (err) {
134
- if (err) {
135
- console.log(err)
136
- return
137
- }
138
- console.log('Listening at http://localhost:8085')
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
+ })
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