manage-client 1.60.10 → 1.60.12-10

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 (221) hide show
  1. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/build/dev-server.js +167 -167
  5. package/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/BusinessQuery.vue +71 -71
  179. package/src/components/ManageBusiness/ChargeQuery.vue +447 -439
  180. package/src/components/ManageBusiness/MachineChargeDetail.vue +367 -367
  181. package/src/components/ManageBusiness/NotUseQuery.vue +650 -0
  182. package/src/components/ManageBusiness/OtherChargesQuery.vue +17 -3
  183. package/src/components/ManageBusiness/UserQuery.vue +417 -417
  184. package/src/components/ManageBusiness/common/oper/OtherCharge.vue +6 -0
  185. package/src/components/SellReport/ManageUserOther.vue +182 -0
  186. package/src/components/WebReport/NotUseQuery.vue +634 -0
  187. package/src/components/sale/businessquery/ChargeQuery.vue +27 -2
  188. package/src/components/sale/businessquery/OtherChargeQuery.vue +19 -2
  189. package/src/components/sale/config/exportConfig.js +11 -4
  190. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +519 -519
  191. package/src/components/webmeter/DrillData/LostContactEcharts.vue +161 -161
  192. package/src/components/webmeter/DrillData/LostContactEform.vue +154 -154
  193. package/src/components/webmeter/DrillData/UserGasAll.vue +500 -500
  194. package/src/components/webmeter/DrillData/UserGasEcharts.vue +197 -197
  195. package/src/components/webmeter/DrillData/UserGasEform.vue +163 -163
  196. package/src/components/webmeter/dataCollection/DataCollection.vue +528 -528
  197. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  198. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +394 -394
  199. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  200. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +755 -755
  201. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +57 -57
  202. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  203. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  204. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
  205. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  206. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +176 -176
  207. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  208. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +475 -475
  209. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
  210. package/src/components/webmeter/newwebmeter/UserGasList.vue +277 -277
  211. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
  212. package/src/components/webmeter/newwebmeter/UserInstructList.vue +296 -296
  213. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +246 -246
  214. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +151 -151
  215. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +398 -398
  216. package/src/index.js +7 -7
  217. package/src/main.js +26 -26
  218. package/src/manage.js +994 -992
  219. package/.npmignore +0 -10
  220. package/ManageClient.iml +0 -9
  221. package/build/.npmignore +0 -1
@@ -1,167 +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: '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
- })
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