manage-client 3.1.25 → 3.1.26-zk

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 (202) hide show
  1. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  4. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  5. package/build/dev-server.js +170 -174
  6. package/package.json +1 -1
  7. package/src/App.vue +28 -28
  8. package/src/components/SellReport/ChargeDayReport.vue +427 -428
  9. package/src/components/sale/businessquery/BusinessManage.vue +0 -5
  10. package/src/components/sale/businessquery/CardHandplanQuery.vue +457 -444
  11. package/src/components/sale/businessquery/ChangeMeterQuery.vue +617 -617
  12. package/src/components/sale/businessquery/ChargeQuery.vue +1267 -1235
  13. package/src/components/sale/businessquery/CollectManage.vue +1 -4
  14. package/src/components/sale/businessquery/FillCardQuery.vue +477 -477
  15. package/src/components/sale/businessquery/HandplanQuery.vue +1286 -1286
  16. package/src/components/sale/businessquery/OtherChargeQuery.vue +643 -619
  17. package/src/components/sale/businessquery/TransferQuery.vue +404 -404
  18. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +165 -139
  19. package/src/components/sale/config/exportConfig.js +7 -24
  20. package/src/components/sale/filesquery/MeterQuery.vue +918 -918
  21. package/src/components/sale/filesquery/RecordInfoQuery.vue +1263 -1250
  22. package/src/components/sale/filesquery/UserQuery.vue +905 -921
  23. package/src/components/sale/report/aode/DayReportList.vue +371 -371
  24. package/src/components/statistical/StatisticalAnalysis.vue +2 -0
  25. package/src/main.js +66 -66
  26. package/src/reportManage.js +438 -458
  27. package/src/saleManage.js +492 -520
  28. package/src/webmeterManage.js +105 -105
  29. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  30. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  31. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  32. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  33. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  34. package/build/tmp/jar/MANIFEST.MF +0 -2
  35. package/src/components/SellReport/BusinessClassify.vue +0 -251
  36. package/src/components/SellReport/ChargePrick.vue +0 -262
  37. package/src/components/SellReport/DepartmentPrick.vue +0 -262
  38. package/src/components/SellReport/MarketMonth.vue +0 -251
  39. package/src/components/SellReport/UserClassify.vue +0 -251
  40. package/src/components/sale/businessquery/ProceedsOper.vue +0 -377
  41. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +0 -398
  42. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +0 -170
  43. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +0 -111
  44. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +0 -209
  45. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +0 -238
  46. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +0 -266
  47. package/src/filiale/WEINAN/BusinessManage.vue +0 -152
  48. package/src/filiale/WEINAN/ChangeMeterQuery.vue +0 -606
  49. package/src/filiale/WEINAN/ChargeQuery.vue +0 -848
  50. package/src/filiale/WEINAN/FillGasQuery.vue +0 -457
  51. package/src/filiale/WEINAN/InspectListUser.vue +0 -492
  52. package/src/filiale/WEINAN/MeterQuery.vue +0 -946
  53. package/src/filiale/WEINAN/OtherChargeQuery.vue +0 -521
  54. package/src/filiale/WEINAN/RecordInfoQuery.vue +0 -1195
  55. package/src/filiale/WEINAN/config/DefaultPrint.js +0 -6
  56. package/src/filiale/WEINAN/config/exportConfig.js +0 -817
  57. package/src/filiale/WEINAN/config/tableConfig.js +0 -48
  58. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +0 -606
  59. package/src/filiale/WEINAN/sale.js +0 -27
  60. package/src/filiale/alashan/SellingTable.vue +0 -231
  61. package/src/filiale/alashan/reportManage.js +0 -10
  62. package/src/filiale/aode/ArchivesManage.vue +0 -38
  63. package/src/filiale/aode/BusinessManage.vue +0 -94
  64. package/src/filiale/aode/DefaultPrint.js +0 -6
  65. package/src/filiale/aode/HandplanQuery.vue +0 -632
  66. package/src/filiale/aode/Tabs.vue +0 -67
  67. package/src/filiale/aode/UserQuery.vue +0 -599
  68. package/src/filiale/aode/exportConfig.js +0 -249
  69. package/src/filiale/aode/sale.js +0 -17
  70. package/src/filiale/ceshi/ArrearsQuery.vue +0 -642
  71. package/src/filiale/ceshi/ChManageBusSummary.vue +0 -293
  72. package/src/filiale/ceshi/CollectManage.vue +0 -94
  73. package/src/filiale/ceshi/MeterRateQuery.vue +0 -633
  74. package/src/filiale/ceshi/TabButton.vue +0 -149
  75. package/src/filiale/ceshi/Tabs.vue +0 -69
  76. package/src/filiale/ceshi/exportConfig.js +0 -267
  77. package/src/filiale/ceshi/reportManage.js +0 -5
  78. package/src/filiale/ceshi/sale.js +0 -11
  79. package/src/filiale/gaomi/ChargeQuery.vue +0 -1221
  80. package/src/filiale/gaomi/DisableQuery.vue +0 -426
  81. package/src/filiale/gaomi/MeterQuery.vue +0 -848
  82. package/src/filiale/gaomi/RecordInfoQuery.vue +0 -988
  83. package/src/filiale/gaomi/UserQuery.vue +0 -815
  84. package/src/filiale/gaomi/config/DefaultPrint.js +0 -6
  85. package/src/filiale/gaomi/config/exportConfig.js +0 -791
  86. package/src/filiale/gaomi/config/tableConfig.js +0 -47
  87. package/src/filiale/gaomi/sale.js +0 -17
  88. package/src/filiale/gaomi/usergas.vue +0 -342
  89. package/src/filiale/gongyi/sale/businessquery/ArrearsQuery.vue +0 -709
  90. package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +0 -128
  91. package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -627
  92. package/src/filiale/gongyi/sale/businessquery/FMYGasQuery.vue +0 -565
  93. package/src/filiale/gongyi/sale/businessquery/HandplanQuery.vue +0 -1103
  94. package/src/filiale/gongyi/sale/businessquery/MonthGasQuery.vue +0 -459
  95. package/src/filiale/gongyi/sale/businessquery/OtherChargeQuery.vue +0 -591
  96. package/src/filiale/gongyi/sale/businessquery/WebMeterMonthGasQuery.vue +0 -597
  97. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +0 -17
  98. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +0 -718
  99. package/src/filiale/gongyi/sale/filesquery/RecordInfoQuery.vue +0 -884
  100. package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -703
  101. package/src/filiale/gongyi/sale.js +0 -27
  102. package/src/filiale/jingwei/RecordInfoQuery.vue +0 -1131
  103. package/src/filiale/jingwei/sale.js +0 -6
  104. package/src/filiale/jingzhou/ChargeQuery.vue +0 -1243
  105. package/src/filiale/jingzhou/HandplanQuery.vue +0 -1286
  106. package/src/filiale/jingzhou/config/DefaultPrint.js +0 -6
  107. package/src/filiale/jingzhou/config/exportConfig.js +0 -861
  108. package/src/filiale/jingzhou/config/tableConfig.js +0 -48
  109. package/src/filiale/jingzhou/sale.js +0 -12
  110. package/src/filiale/konggang/exportConfig.js +0 -26
  111. package/src/filiale/konggang/sale/DayReportList.vue +0 -370
  112. package/src/filiale/konggang/sale/DayReportListPrint.vue +0 -260
  113. package/src/filiale/konggang/sale/DayReportSummary.vue +0 -75
  114. package/src/filiale/konggang/sale.js +0 -9
  115. package/src/filiale/liaoyuan/ArrearsQuery.vue +0 -945
  116. package/src/filiale/liaoyuan/ChargeQuery.vue +0 -1278
  117. package/src/filiale/liaoyuan/MeterQuery.vue +0 -905
  118. package/src/filiale/liaoyuan/RecordInfoQuery.vue +0 -1161
  119. package/src/filiale/liaoyuan/ReportList.vue +0 -421
  120. package/src/filiale/liaoyuan/exportConfig.js +0 -718
  121. package/src/filiale/liaoyuan/sale.js +0 -11
  122. package/src/filiale/macheng/ArrearsQuery.vue +0 -823
  123. package/src/filiale/macheng/ChargeQuery.vue +0 -1071
  124. package/src/filiale/macheng/HandplanQuery.vue +0 -1057
  125. package/src/filiale/macheng/MeterQuery.vue +0 -921
  126. package/src/filiale/macheng/RecordInfoQuery.vue +0 -1029
  127. package/src/filiale/macheng/config/DefaultPrint.js +0 -12
  128. package/src/filiale/macheng/config/exportConfig.js +0 -60
  129. package/src/filiale/macheng/sale.js +0 -10
  130. package/src/filiale/meihekou/ArrearsQuery.vue +0 -915
  131. package/src/filiale/meihekou/BusinessManage.vue +0 -151
  132. package/src/filiale/meihekou/CardHandplanQuery.vue +0 -541
  133. package/src/filiale/meihekou/ChargeQuery.vue +0 -1260
  134. package/src/filiale/meihekou/HandplanQuery.vue +0 -1229
  135. package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
  136. package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
  137. package/src/filiale/meihekou/RecordInfoQuery.vue +0 -1158
  138. package/src/filiale/meihekou/UserGasEform.vue +0 -267
  139. package/src/filiale/meihekou/UserQuery.vue +0 -773
  140. package/src/filiale/meihekou/config/DefaultPrint.js +0 -6
  141. package/src/filiale/meihekou/config/exportConfig.js +0 -804
  142. package/src/filiale/meihekou/config/tableConfig.js +0 -48
  143. package/src/filiale/meihekou/sale.js +0 -26
  144. package/src/filiale/pingxiang/ChangeUserQuery.vue +0 -342
  145. package/src/filiale/pingxiang/config/DefaultPrint.js +0 -6
  146. package/src/filiale/pingxiang/config/exportConfig.js +0 -814
  147. package/src/filiale/pingxiang/sale.js +0 -9
  148. package/src/filiale/qingtongxia/ArrearsQuery.vue +0 -825
  149. package/src/filiale/qingtongxia/ChargeQuery.vue +0 -1199
  150. package/src/filiale/qingtongxia/MeterQuery.vue +0 -851
  151. package/src/filiale/qingtongxia/RecordInfoQuery.vue +0 -980
  152. package/src/filiale/qingtongxia/SellPeopleQuery.vue +0 -680
  153. package/src/filiale/qingtongxia/config/DefaultPrint.js +0 -6
  154. package/src/filiale/qingtongxia/config/exportConfig.js +0 -712
  155. package/src/filiale/qingtongxia/sale.js +0 -13
  156. package/src/filiale/rongcheng/ArrearsQuery.vue +0 -729
  157. package/src/filiale/rongcheng/ChargeQuery.vue +0 -1035
  158. package/src/filiale/rongcheng/MonthGasQuery.vue +0 -463
  159. package/src/filiale/rongcheng/RecordInfoQuery.vue +0 -874
  160. package/src/filiale/rongcheng/UserQuery.vue +0 -827
  161. package/src/filiale/rongcheng/exportConfig.js +0 -257
  162. package/src/filiale/rongcheng/sale.js +0 -19
  163. package/src/filiale/rongchuang/ChargeQuery.vue +0 -1237
  164. package/src/filiale/rongchuang/SellingTable.vue +0 -250
  165. package/src/filiale/rongchuang/exportConfig.js +0 -808
  166. package/src/filiale/rongchuang/reportManage.js +0 -11
  167. package/src/filiale/rongchuang/sale.js +0 -11
  168. package/src/filiale/shaoguan/ArrearsQuery.vue +0 -840
  169. package/src/filiale/shaoguan/BusinessManage.vue +0 -162
  170. package/src/filiale/shaoguan/ChargeQuery.vue +0 -1029
  171. package/src/filiale/shaoguan/HandplanQuery.vue +0 -1308
  172. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +0 -74
  173. package/src/filiale/shaoguan/OtherChargeQuery.vue +0 -590
  174. package/src/filiale/shaoguan/RecordInfoQuery.vue +0 -1100
  175. package/src/filiale/shaoguan/TransferQuery.vue +0 -403
  176. package/src/filiale/shaoguan/config/DefaultPrint.js +0 -6
  177. package/src/filiale/shaoguan/config/exportConfig.js +0 -433
  178. package/src/filiale/shaoguan/errorHandplanQuery.vue +0 -366
  179. package/src/filiale/shaoguan/overDueQuery.vue +0 -418
  180. package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +0 -357
  181. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +0 -314
  182. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +0 -687
  183. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +0 -338
  184. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +0 -426
  185. package/src/filiale/shaoguan/sale.js +0 -33
  186. package/src/filiale/shennongjia/ChargeQuery.vue +0 -1095
  187. package/src/filiale/shennongjia/config/DefaultPrint.js +0 -6
  188. package/src/filiale/shennongjia/config/exportConfig.js +0 -401
  189. package/src/filiale/shennongjia/config/tableConfig.js +0 -47
  190. package/src/filiale/shennongjia/sale.js +0 -10
  191. package/src/filiale/tongchuan/ResSelectGroupNew.vue +0 -176
  192. package/src/filiale/tongchuan/ResSelectNew.vue +0 -144
  193. package/src/filiale/tongchuan/UserQuery.vue +0 -846
  194. package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
  195. package/src/filiale/tongchuan/config/exportConfig.js +0 -857
  196. package/src/filiale/tongchuan/sale.js +0 -12
  197. package/src/filiale/wuan/ChargeQuery.vue +0 -1234
  198. package/src/filiale/wuan/sale.js +0 -10
  199. package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
  200. package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
  201. package/src/filiale/zhoukou/TransferQuery.vue +0 -404
  202. package/src/filiale/zhoukou/sale.js +0 -15
@@ -1,2 +1,2 @@
1
- #Sat Jul 31 14:45:02 CST 2021
2
- gradle.version=4.4
1
+ #Mon Oct 26 16:02:57 CST 2020
2
+ gradle.version=6.1.1
@@ -1,174 +1,170 @@
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 bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan='http://119.146.1.106:8300/'
15
- var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://127.0.0.1:8084/', fuwu_login = 'http://192.168.50.4:8400'
17
- var fuwu = 'http://192.168.50.4:8400'
18
- var system = 'http://192.168.50.4:8400'
19
- //192.168.
20
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
21
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
22
- var proxyTable = {
23
- '/rs/logic/exportfile': {
24
- target: fuwu
25
- },
26
- '/files': {
27
- target: fuwu
28
- },
29
- // 查找资源服务数据
30
- '/rs/search': {
31
- target: fuwu
32
- },
33
- // 查找资源服务数据
34
- '/rs/logic/getLogin': {
35
- target: fuwu
36
- },
37
- // 查找资源服务数据
38
- '/rs/logic/getInitData': {
39
- target: fuwu
40
- },
41
- '/rs/logic/getSaleInitData':{
42
- target: fuwu
43
- },
44
- // 用户登录服务地址
45
- '/rs/user': {
46
- target: fuwu
47
- },
48
- '/rs/path/getParams': {
49
- target: fuwu
50
- },
51
- '/rs/data': {
52
- target: fuwu
53
- },
54
- '/rs/license': {
55
- target: fuwu
56
- },
57
- '/rs/db': {
58
- target: fuwu
59
- },
60
- '/excel': {
61
- target: fuwu
62
- },
63
- '/rs/config': {
64
- target: fuwu
65
- },
66
- '/rs/sql/getLicenseById': {
67
- target: fuwu
68
- },
69
- '/rs/report': {
70
- target: fuwu
71
- },
72
- '/rs/vue': {
73
- target: fuwu
74
- },
75
- '/rs/file': {
76
- target: fuwu
77
- },
78
- '/rs/logic/SumSettleFileImport': {
79
- target: 'http://127.0.0.1:8080'
80
- },
81
- '/rs': {
82
- target: fuwu
83
- }
84
- }
85
-
86
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
87
- publicPath: config.output.publicPath,
88
- stats: {
89
- colors: true,
90
- chunks: false
91
- }
92
- })
93
-
94
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
95
- // force page reload when html-webpack-plugin template changes
96
- compiler.plugin('compilation', function (compilation) {
97
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
98
- hotMiddleware.publish({action: 'reload'})
99
- cb()
100
- })
101
- })
102
-
103
- // proxy api requests
104
- Object.keys(proxyTable).forEach(function (context) {
105
- var options = proxyTable[context]
106
- if (typeof options === 'string') {
107
- options = {target: options}
108
- }
109
- app.use(proxyMiddleware(context, options))
110
- })
111
-
112
- // handle fallback for HTML5 history API
113
- app.use(require('connect-history-api-fallback')())
114
- // app.use(function (req, res, next) {
115
- // res.header('Access-Control-Allow-Origin', '*')
116
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
117
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
118
- // res.header('X-Powered-By', '3,2,1')
119
- // res.header('Access-Control-Allow-Credentials', 'true')
120
- // res.header('Content-Type', 'application/json;charset=utf-8')
121
- // next()
122
- // })
123
-
124
- // serve webpack bundle output
125
- app.use(devMiddleware)
126
-
127
- // enable hot-reload and state-preserving
128
- // compilation error display
129
- app.use(hotMiddleware)
130
-
131
- // serve pure static assets
132
- app.use('/static', express.static('./static'))
133
-
134
- // app.all('/rs/*', function (req, res) {
135
- // proxy.web(req, res, {
136
- // target: 'http://127.0.0.1:8081/reports'
137
- // })
138
- // })
139
-
140
- // app.all('/rs/*', function (req, res) {
141
- // proxy.web(req, res, {
142
- // target: 'http://127.0.0.1:8081/ldap'
143
- // })
144
- // })
145
- // app.all('/excel/*', function (req, res) {
146
- // proxy.web(req, res, {
147
- // target: 'http://127.0.0.1:8081/charge'
148
- // })
149
- // })
150
-
151
- // app.all('/rs/*', function (req, res) {
152
- // proxy.web(req, res, {
153
- // target: 'http://127.0.0.1:82/charge'
154
- // })
155
- // })
156
-
157
- // app.all('/*', function (req, res) {
158
- // proxy.web(req, res, {
159
- // target: 'http://127.0.0.1:82'
160
- // })
161
- // })
162
- // app.all('/rs/user', function (req, res) {
163
- // proxy.web(req, res, {
164
- // target: 'http://127.0.0.1:82'
165
- // })
166
- // })
167
-
168
- module.exports = app.listen(8085, function (err) {
169
- if (err) {
170
- console.log(err)
171
- return
172
- }
173
- console.log('Listening at http://localhost:8085')
174
- })
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 bendi = 'http://192.168.20.27:8400/'
14
+ var fuwu = 'http://192.168.20.27:8400/'
15
+ var proxyTable = {
16
+ '/files': {
17
+ target: fuwu
18
+ },
19
+ '/rs/logic/exportfile': {
20
+ target: bendi
21
+ },
22
+ // 查找资源服务数据
23
+ '/rs/search': {
24
+ target: fuwu
25
+ },
26
+ // 查找资源服务数据
27
+ '/rs/logic/getLogin': {
28
+ target: fuwu
29
+ },
30
+ // 查找资源服务数据
31
+ '/rs/logic/getInitData': {
32
+ target: fuwu
33
+ },
34
+ '/rs/logic/getSaleInitData':{
35
+ target: fuwu
36
+ },
37
+ // 用户登录服务地址
38
+ '/rs/user': {
39
+ target: fuwu
40
+ },
41
+ '/rs/path/getParams': {
42
+ target: fuwu
43
+ },
44
+ '/rs/data': {
45
+ target: fuwu
46
+ },
47
+ '/rs/license': {
48
+ target: fuwu
49
+ },
50
+ '/rs/db': {
51
+ target: fuwu
52
+ },
53
+ '/excel': {
54
+ target: fuwu
55
+ },
56
+ '/rs/config': {
57
+ target: fuwu
58
+ },
59
+ '/rs/sql/getLicenseById': {
60
+ target: fuwu
61
+ },
62
+ '/rs/report': {
63
+ target: fuwu
64
+ },
65
+ '/rs/sql': {
66
+ target: bendi
67
+ },
68
+ '/rs/vue': {
69
+ target: fuwu
70
+ },
71
+ '/rs/file': {
72
+ target: fuwu
73
+ },
74
+ '/rs/logic/SumSettleFileImport': {
75
+ target: 'http://127.0.0.1:8080'
76
+ },
77
+ '/rs': {
78
+ target: fuwu
79
+ }
80
+ }
81
+
82
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
83
+ publicPath: config.output.publicPath,
84
+ stats: {
85
+ colors: true,
86
+ chunks: false
87
+ }
88
+ })
89
+
90
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
91
+ // force page reload when html-webpack-plugin template changes
92
+ compiler.plugin('compilation', function (compilation) {
93
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
94
+ hotMiddleware.publish({action: 'reload'})
95
+ cb()
96
+ })
97
+ })
98
+
99
+ // proxy api requests
100
+ Object.keys(proxyTable).forEach(function (context) {
101
+ var options = proxyTable[context]
102
+ if (typeof options === 'string') {
103
+ options = {target: options}
104
+ }
105
+ app.use(proxyMiddleware(context, options))
106
+ })
107
+
108
+ // handle fallback for HTML5 history API
109
+ app.use(require('connect-history-api-fallback')())
110
+ // app.use(function (req, res, next) {
111
+ // res.header('Access-Control-Allow-Origin', '*')
112
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
113
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
114
+ // res.header('X-Powered-By', '3,2,1')
115
+ // res.header('Access-Control-Allow-Credentials', 'true')
116
+ // res.header('Content-Type', 'application/json;charset=utf-8')
117
+ // next()
118
+ // })
119
+
120
+ // serve webpack bundle output
121
+ app.use(devMiddleware)
122
+
123
+ // enable hot-reload and state-preserving
124
+ // compilation error display
125
+ app.use(hotMiddleware)
126
+
127
+ // serve pure static assets
128
+ app.use('/static', express.static('./static'))
129
+
130
+ // app.all('/rs/*', function (req, res) {
131
+ // proxy.web(req, res, {
132
+ // target: 'http://127.0.0.1:8081/reports'
133
+ // })
134
+ // })
135
+
136
+ // app.all('/rs/*', function (req, res) {
137
+ // proxy.web(req, res, {
138
+ // target: 'http://127.0.0.1:8081/ldap'
139
+ // })
140
+ // })
141
+ // app.all('/excel/*', function (req, res) {
142
+ // proxy.web(req, res, {
143
+ // target: 'http://127.0.0.1:8081/charge'
144
+ // })
145
+ // })
146
+
147
+ // app.all('/rs/*', function (req, res) {
148
+ // proxy.web(req, res, {
149
+ // target: 'http://127.0.0.1:82/charge'
150
+ // })
151
+ // })
152
+
153
+ // app.all('/*', function (req, res) {
154
+ // proxy.web(req, res, {
155
+ // target: 'http://127.0.0.1:82'
156
+ // })
157
+ // })
158
+ // app.all('/rs/user', function (req, res) {
159
+ // proxy.web(req, res, {
160
+ // target: 'http://127.0.0.1:82'
161
+ // })
162
+ // })
163
+
164
+ module.exports = app.listen(8085, function (err) {
165
+ if (err) {
166
+ console.log(err)
167
+ return
168
+ }
169
+ console.log('Listening at http://localhost:8085')
170
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.1.25",
3
+ "version": "3.1.26-zk",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/App.vue CHANGED
@@ -1,28 +1,28 @@
1
- <template>
2
- <div>
3
- <app-base class="bg">
4
- <div class='flex'>
5
- <article>
6
- <!--<route :comp="{name: 'liaoyuan-manage-home'}"></route>-->
7
- <!--<route :comp="{name: 'meter-reading'}"></route>-->
8
- <!--<route :comp="{name: 'Gasproperties'}"></route>-->
9
- <!--<route :comp="{name: 'vender-management'}"></route>-->
10
- <!--<route :comp="{name: 'malfunction-home'}"></route>-->
11
- <route :comp="{name: 'login'}"></route>
12
- <!-- <route :comp="{name: 'load-data'}"></route> -->
13
- <!--<route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route>-->
14
- <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
15
- </article>
16
- </div>
17
- </app-base>
18
- </div>
19
- </template>
20
-
21
- <script>
22
-
23
-
24
- export default {
25
-
26
-
27
- }
28
- </script>
1
+ <template>
2
+ <div>
3
+ <app-base class="bg">
4
+ <div class='flex'>
5
+ <article>
6
+ <!--<route :comp="{name: 'liaoyuan-manage-home'}"></route>-->
7
+ <!--<route :comp="{name: 'meter-reading'}"></route>-->
8
+ <!--<route :comp="{name: 'Gasproperties'}"></route>-->
9
+ <!--<route :comp="{name: 'vender-management'}"></route>-->
10
+ <!--<route :comp="{name: 'malfunction-home'}"></route>-->
11
+ <route :comp="{name: 'login'}"></route>
12
+ <!-- <route :comp="{name: 'load-data'}"></route> -->
13
+ <!--<route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route>-->
14
+ <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
15
+ </article>
16
+ </div>
17
+ </app-base>
18
+ </div>
19
+ </template>
20
+
21
+ <script>
22
+
23
+
24
+ export default {
25
+
26
+
27
+ }
28
+ </script>