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.
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/build/dev-server.js +170 -174
- package/package.json +1 -1
- package/src/App.vue +28 -28
- package/src/components/SellReport/ChargeDayReport.vue +427 -428
- package/src/components/sale/businessquery/BusinessManage.vue +0 -5
- package/src/components/sale/businessquery/CardHandplanQuery.vue +457 -444
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +617 -617
- package/src/components/sale/businessquery/ChargeQuery.vue +1267 -1235
- package/src/components/sale/businessquery/CollectManage.vue +1 -4
- package/src/components/sale/businessquery/FillCardQuery.vue +477 -477
- package/src/components/sale/businessquery/HandplanQuery.vue +1286 -1286
- package/src/components/sale/businessquery/OtherChargeQuery.vue +643 -619
- package/src/components/sale/businessquery/TransferQuery.vue +404 -404
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +165 -139
- package/src/components/sale/config/exportConfig.js +7 -24
- package/src/components/sale/filesquery/MeterQuery.vue +918 -918
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1263 -1250
- package/src/components/sale/filesquery/UserQuery.vue +905 -921
- package/src/components/sale/report/aode/DayReportList.vue +371 -371
- package/src/components/statistical/StatisticalAnalysis.vue +2 -0
- package/src/main.js +66 -66
- package/src/reportManage.js +438 -458
- package/src/saleManage.js +492 -520
- package/src/webmeterManage.js +105 -105
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +0 -2
- package/src/components/SellReport/BusinessClassify.vue +0 -251
- package/src/components/SellReport/ChargePrick.vue +0 -262
- package/src/components/SellReport/DepartmentPrick.vue +0 -262
- package/src/components/SellReport/MarketMonth.vue +0 -251
- package/src/components/SellReport/UserClassify.vue +0 -251
- package/src/components/sale/businessquery/ProceedsOper.vue +0 -377
- package/src/components/sale/businessquery/pricechangeRecordQuery.vue +0 -398
- package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +0 -170
- package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +0 -111
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +0 -209
- package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +0 -238
- package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +0 -266
- package/src/filiale/WEINAN/BusinessManage.vue +0 -152
- package/src/filiale/WEINAN/ChangeMeterQuery.vue +0 -606
- package/src/filiale/WEINAN/ChargeQuery.vue +0 -848
- package/src/filiale/WEINAN/FillGasQuery.vue +0 -457
- package/src/filiale/WEINAN/InspectListUser.vue +0 -492
- package/src/filiale/WEINAN/MeterQuery.vue +0 -946
- package/src/filiale/WEINAN/OtherChargeQuery.vue +0 -521
- package/src/filiale/WEINAN/RecordInfoQuery.vue +0 -1195
- package/src/filiale/WEINAN/config/DefaultPrint.js +0 -6
- package/src/filiale/WEINAN/config/exportConfig.js +0 -817
- package/src/filiale/WEINAN/config/tableConfig.js +0 -48
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +0 -606
- package/src/filiale/WEINAN/sale.js +0 -27
- package/src/filiale/alashan/SellingTable.vue +0 -231
- package/src/filiale/alashan/reportManage.js +0 -10
- package/src/filiale/aode/ArchivesManage.vue +0 -38
- package/src/filiale/aode/BusinessManage.vue +0 -94
- package/src/filiale/aode/DefaultPrint.js +0 -6
- package/src/filiale/aode/HandplanQuery.vue +0 -632
- package/src/filiale/aode/Tabs.vue +0 -67
- package/src/filiale/aode/UserQuery.vue +0 -599
- package/src/filiale/aode/exportConfig.js +0 -249
- package/src/filiale/aode/sale.js +0 -17
- package/src/filiale/ceshi/ArrearsQuery.vue +0 -642
- package/src/filiale/ceshi/ChManageBusSummary.vue +0 -293
- package/src/filiale/ceshi/CollectManage.vue +0 -94
- package/src/filiale/ceshi/MeterRateQuery.vue +0 -633
- package/src/filiale/ceshi/TabButton.vue +0 -149
- package/src/filiale/ceshi/Tabs.vue +0 -69
- package/src/filiale/ceshi/exportConfig.js +0 -267
- package/src/filiale/ceshi/reportManage.js +0 -5
- package/src/filiale/ceshi/sale.js +0 -11
- package/src/filiale/gaomi/ChargeQuery.vue +0 -1221
- package/src/filiale/gaomi/DisableQuery.vue +0 -426
- package/src/filiale/gaomi/MeterQuery.vue +0 -848
- package/src/filiale/gaomi/RecordInfoQuery.vue +0 -988
- package/src/filiale/gaomi/UserQuery.vue +0 -815
- package/src/filiale/gaomi/config/DefaultPrint.js +0 -6
- package/src/filiale/gaomi/config/exportConfig.js +0 -791
- package/src/filiale/gaomi/config/tableConfig.js +0 -47
- package/src/filiale/gaomi/sale.js +0 -17
- package/src/filiale/gaomi/usergas.vue +0 -342
- package/src/filiale/gongyi/sale/businessquery/ArrearsQuery.vue +0 -709
- package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +0 -128
- package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -627
- package/src/filiale/gongyi/sale/businessquery/FMYGasQuery.vue +0 -565
- package/src/filiale/gongyi/sale/businessquery/HandplanQuery.vue +0 -1103
- package/src/filiale/gongyi/sale/businessquery/MonthGasQuery.vue +0 -459
- package/src/filiale/gongyi/sale/businessquery/OtherChargeQuery.vue +0 -591
- package/src/filiale/gongyi/sale/businessquery/WebMeterMonthGasQuery.vue +0 -597
- package/src/filiale/gongyi/sale/businessquery/exportConfig.js +0 -17
- package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +0 -718
- package/src/filiale/gongyi/sale/filesquery/RecordInfoQuery.vue +0 -884
- package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -703
- package/src/filiale/gongyi/sale.js +0 -27
- package/src/filiale/jingwei/RecordInfoQuery.vue +0 -1131
- package/src/filiale/jingwei/sale.js +0 -6
- package/src/filiale/jingzhou/ChargeQuery.vue +0 -1243
- package/src/filiale/jingzhou/HandplanQuery.vue +0 -1286
- package/src/filiale/jingzhou/config/DefaultPrint.js +0 -6
- package/src/filiale/jingzhou/config/exportConfig.js +0 -861
- package/src/filiale/jingzhou/config/tableConfig.js +0 -48
- package/src/filiale/jingzhou/sale.js +0 -12
- package/src/filiale/konggang/exportConfig.js +0 -26
- package/src/filiale/konggang/sale/DayReportList.vue +0 -370
- package/src/filiale/konggang/sale/DayReportListPrint.vue +0 -260
- package/src/filiale/konggang/sale/DayReportSummary.vue +0 -75
- package/src/filiale/konggang/sale.js +0 -9
- package/src/filiale/liaoyuan/ArrearsQuery.vue +0 -945
- package/src/filiale/liaoyuan/ChargeQuery.vue +0 -1278
- package/src/filiale/liaoyuan/MeterQuery.vue +0 -905
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +0 -1161
- package/src/filiale/liaoyuan/ReportList.vue +0 -421
- package/src/filiale/liaoyuan/exportConfig.js +0 -718
- package/src/filiale/liaoyuan/sale.js +0 -11
- package/src/filiale/macheng/ArrearsQuery.vue +0 -823
- package/src/filiale/macheng/ChargeQuery.vue +0 -1071
- package/src/filiale/macheng/HandplanQuery.vue +0 -1057
- package/src/filiale/macheng/MeterQuery.vue +0 -921
- package/src/filiale/macheng/RecordInfoQuery.vue +0 -1029
- package/src/filiale/macheng/config/DefaultPrint.js +0 -12
- package/src/filiale/macheng/config/exportConfig.js +0 -60
- package/src/filiale/macheng/sale.js +0 -10
- package/src/filiale/meihekou/ArrearsQuery.vue +0 -915
- package/src/filiale/meihekou/BusinessManage.vue +0 -151
- package/src/filiale/meihekou/CardHandplanQuery.vue +0 -541
- package/src/filiale/meihekou/ChargeQuery.vue +0 -1260
- package/src/filiale/meihekou/HandplanQuery.vue +0 -1229
- package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
- package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
- package/src/filiale/meihekou/RecordInfoQuery.vue +0 -1158
- package/src/filiale/meihekou/UserGasEform.vue +0 -267
- package/src/filiale/meihekou/UserQuery.vue +0 -773
- package/src/filiale/meihekou/config/DefaultPrint.js +0 -6
- package/src/filiale/meihekou/config/exportConfig.js +0 -804
- package/src/filiale/meihekou/config/tableConfig.js +0 -48
- package/src/filiale/meihekou/sale.js +0 -26
- package/src/filiale/pingxiang/ChangeUserQuery.vue +0 -342
- package/src/filiale/pingxiang/config/DefaultPrint.js +0 -6
- package/src/filiale/pingxiang/config/exportConfig.js +0 -814
- package/src/filiale/pingxiang/sale.js +0 -9
- package/src/filiale/qingtongxia/ArrearsQuery.vue +0 -825
- package/src/filiale/qingtongxia/ChargeQuery.vue +0 -1199
- package/src/filiale/qingtongxia/MeterQuery.vue +0 -851
- package/src/filiale/qingtongxia/RecordInfoQuery.vue +0 -980
- package/src/filiale/qingtongxia/SellPeopleQuery.vue +0 -680
- package/src/filiale/qingtongxia/config/DefaultPrint.js +0 -6
- package/src/filiale/qingtongxia/config/exportConfig.js +0 -712
- package/src/filiale/qingtongxia/sale.js +0 -13
- package/src/filiale/rongcheng/ArrearsQuery.vue +0 -729
- package/src/filiale/rongcheng/ChargeQuery.vue +0 -1035
- package/src/filiale/rongcheng/MonthGasQuery.vue +0 -463
- package/src/filiale/rongcheng/RecordInfoQuery.vue +0 -874
- package/src/filiale/rongcheng/UserQuery.vue +0 -827
- package/src/filiale/rongcheng/exportConfig.js +0 -257
- package/src/filiale/rongcheng/sale.js +0 -19
- package/src/filiale/rongchuang/ChargeQuery.vue +0 -1237
- package/src/filiale/rongchuang/SellingTable.vue +0 -250
- package/src/filiale/rongchuang/exportConfig.js +0 -808
- package/src/filiale/rongchuang/reportManage.js +0 -11
- package/src/filiale/rongchuang/sale.js +0 -11
- package/src/filiale/shaoguan/ArrearsQuery.vue +0 -840
- package/src/filiale/shaoguan/BusinessManage.vue +0 -162
- package/src/filiale/shaoguan/ChargeQuery.vue +0 -1029
- package/src/filiale/shaoguan/HandplanQuery.vue +0 -1308
- package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +0 -74
- package/src/filiale/shaoguan/OtherChargeQuery.vue +0 -590
- package/src/filiale/shaoguan/RecordInfoQuery.vue +0 -1100
- package/src/filiale/shaoguan/TransferQuery.vue +0 -403
- package/src/filiale/shaoguan/config/DefaultPrint.js +0 -6
- package/src/filiale/shaoguan/config/exportConfig.js +0 -433
- package/src/filiale/shaoguan/errorHandplanQuery.vue +0 -366
- package/src/filiale/shaoguan/overDueQuery.vue +0 -418
- package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +0 -357
- package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +0 -314
- package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +0 -687
- package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +0 -338
- package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +0 -426
- package/src/filiale/shaoguan/sale.js +0 -33
- package/src/filiale/shennongjia/ChargeQuery.vue +0 -1095
- package/src/filiale/shennongjia/config/DefaultPrint.js +0 -6
- package/src/filiale/shennongjia/config/exportConfig.js +0 -401
- package/src/filiale/shennongjia/config/tableConfig.js +0 -47
- package/src/filiale/shennongjia/sale.js +0 -10
- package/src/filiale/tongchuan/ResSelectGroupNew.vue +0 -176
- package/src/filiale/tongchuan/ResSelectNew.vue +0 -144
- package/src/filiale/tongchuan/UserQuery.vue +0 -846
- package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
- package/src/filiale/tongchuan/config/exportConfig.js +0 -857
- package/src/filiale/tongchuan/sale.js +0 -12
- package/src/filiale/wuan/ChargeQuery.vue +0 -1234
- package/src/filiale/wuan/sale.js +0 -10
- package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
- package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
- package/src/filiale/zhoukou/TransferQuery.vue +0 -404
- package/src/filiale/zhoukou/sale.js +0 -15
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Mon Oct 26 16:02:57 CST 2020
|
|
2
|
+
gradle.version=6.1.1
|
package/build/dev-server.js
CHANGED
|
@@ -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
|
-
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'/rs/
|
|
24
|
-
target: fuwu
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'/rs/logic/
|
|
35
|
-
target: fuwu
|
|
36
|
-
},
|
|
37
|
-
//
|
|
38
|
-
'/rs/
|
|
39
|
-
target: fuwu
|
|
40
|
-
},
|
|
41
|
-
'/rs/
|
|
42
|
-
target: fuwu
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
// res.header('Access-Control-Allow-
|
|
116
|
-
// res.header('
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
|
|
120
|
-
//
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
//
|
|
125
|
-
app.use(
|
|
126
|
-
|
|
127
|
-
//
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
//
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
//
|
|
135
|
-
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
//
|
|
139
|
-
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
//
|
|
145
|
-
//
|
|
146
|
-
|
|
147
|
-
//
|
|
148
|
-
//
|
|
149
|
-
//
|
|
150
|
-
|
|
151
|
-
//
|
|
152
|
-
|
|
153
|
-
//
|
|
154
|
-
//
|
|
155
|
-
//
|
|
156
|
-
|
|
157
|
-
//
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
//
|
|
161
|
-
//
|
|
162
|
-
//
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
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>
|