manage-client 1.8.23-9 → 1.8.25
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/.gitattributes +6 -0
- package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
- package/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +155 -158
- package/dist/static/NewManageHome/background_qinhua.png +0 -0
- package/dist/static/NewManageHome/sell_1.png +0 -0
- package/dist/static/NewManageHome/sell_2.png +0 -0
- package/dist/static/NewManageHome/title_left.png +0 -0
- package/dist/static/NewManageHome/title_right.png +0 -0
- package/dist/static/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/dist/static/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/dist/static/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/dist/static/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/dist/static/NewManageHome//347/273/20437.png +0 -0
- package/dist/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/jcwx.jpg +0 -0
- package/dist/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/loginbg.jpg +0 -0
- package/dist/static/loginbg1.jpg +0 -0
- package/dist/static/loginbg_jincheng.jpg +0 -0
- package/dist/static/loginbgmain.jpg +0 -0
- package/dist/static/mainicon/adddevice.png +0 -0
- package/dist/static/mainicon/addmeter.png +0 -0
- package/dist/static/mainicon/bank.png +0 -0
- package/dist/static/mainicon/biaopan.png +0 -0
- package/dist/static/mainicon/cad.jpg +0 -0
- package/dist/static/mainicon/chaobiaoyuan.png +0 -0
- package/dist/static/mainicon/danganguanli.png +0 -0
- package/dist/static/mainicon/deletedevice.png +0 -0
- package/dist/static/mainicon/excel.jpg +0 -0
- package/dist/static/mainicon/huizong.png +0 -0
- package/dist/static/mainicon/jibiaoguanli.png +0 -0
- package/dist/static/mainicon/jibiaoguanli2.png +0 -0
- package/dist/static/mainicon/jiezhang.png +0 -0
- package/dist/static/mainicon/loginbg.jpg +0 -0
- package/dist/static/mainicon/shouqishoufei.png +0 -0
- package/dist/static/mainicon/treeopen.png +0 -0
- package/dist/static/mainicon/treeout.png +0 -0
- package/dist/static/mainicon/treeset.png +0 -0
- package/dist/static/mainicon/word.jpg +0 -0
- package/dist/static/mainicon/wulianwang.png +0 -0
- package/dist/static/mainicon/yingyechaxun.png +0 -0
- package/dist/static/mainicon/zongheyewu.png +0 -0
- package/dist/static/newStyle/clear.png +0 -0
- package/dist/static/newStyle/fife.png +0 -0
- package/dist/static/newStyle/hidden.png +0 -0
- package/dist/static/newStyle/label-clear.png +0 -0
- package/dist/static/newStyle/left-img.png +0 -0
- package/dist/static/newStyle/list_ok.png +0 -0
- package/dist/static/newStyle/login-check.png +0 -0
- package/dist/static/newStyle/login-con.png +0 -0
- package/dist/static/newStyle/login-do.gif +0 -0
- package/dist/static/newStyle/login-f.png +0 -0
- package/dist/static/newStyle/login-info.png +0 -0
- package/dist/static/newStyle/login-left.png +0 -0
- package/dist/static/newStyle/login-org.png +0 -0
- package/dist/static/newStyle/login-pwd.png +0 -0
- package/dist/static/newStyle/login-user.png +0 -0
- package/dist/static/newStyle/loginbg.gif +0 -0
- package/dist/static/newStyle/loginbg1280.gif +0 -0
- package/dist/static/newStyle/loginbg1366.gif +0 -0
- package/dist/static/newStyle/setting.png +0 -0
- package/dist/static/newStyle/setting1.png +0 -0
- package/dist/static/newStyle/shirk.png +0 -0
- package/dist/static/newStyle/stretch_bottom.png +0 -0
- package/dist/static/newStyle/stretch_left.png +0 -0
- package/dist/static/newStyle/stretch_right.png +0 -0
- package/dist/static/newStyle/stretch_top.png +0 -0
- package/dist/static/newStyle/system-off.png +0 -0
- package/dist/static/qh.json +2410 -0
- package/dist/static/refresh.png +0 -0
- package/dist/static/treeclose.png +0 -0
- package/dist/static/yulin.json +1 -0
- package/dist/static//345/233/276/345/261/202000.png +0 -0
- package/dist/static//345/233/276/345/261/2023.png +0 -0
- package/dist/static//345/261/261/344/270/234/347/234/201.json +1 -0
- package/package.json +97 -97
- package/settings.gradle +10 -0
- package/src/App.vue +2 -2
- package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
- package/src/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/bootstrap/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/bootstrap/less/.csscomb.json +304 -0
- package/src/bootstrap/less/.csslintrc +19 -0
- package/src/bootstrap/less/alerts.less +73 -0
- package/src/bootstrap/less/badges.less +66 -0
- package/src/bootstrap/less/bootstrap.less +70 -0
- package/src/bootstrap/less/breadcrumbs.less +26 -0
- package/src/bootstrap/less/button-groups.less +247 -0
- package/src/bootstrap/less/buttons.less +172 -0
- package/src/bootstrap/less/carousel.less +269 -0
- package/src/bootstrap/less/close.less +34 -0
- package/src/bootstrap/less/code.less +69 -0
- package/src/bootstrap/less/component-animations.less +33 -0
- package/src/bootstrap/less/dropdowns.less +216 -0
- package/src/bootstrap/less/forms.less +626 -0
- package/src/bootstrap/less/glyphicons.less +305 -0
- package/src/bootstrap/less/grid.less +84 -0
- package/src/bootstrap/less/input-groups.less +167 -0
- package/src/bootstrap/less/jumbotron.less +52 -0
- package/src/bootstrap/less/labels.less +64 -0
- package/src/bootstrap/less/list-group.less +141 -0
- package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
- package/src/bootstrap/less/manageStyle/manageStyle.less +1400 -0
- package/src/bootstrap/less/manageStyle/safeStyle.less +498 -0
- package/src/bootstrap/less/media.less +66 -0
- package/src/bootstrap/less/mixins/alerts.less +14 -0
- package/src/bootstrap/less/mixins/background-variant.less +9 -0
- package/src/bootstrap/less/mixins/border-radius.less +18 -0
- package/src/bootstrap/less/mixins/buttons.less +69 -0
- package/src/bootstrap/less/mixins/center-block.less +7 -0
- package/src/bootstrap/less/mixins/clearfix.less +22 -0
- package/src/bootstrap/less/mixins/forms.less +90 -0
- package/src/bootstrap/less/mixins/gradients.less +59 -0
- package/src/bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/bootstrap/less/mixins/grid.less +122 -0
- package/src/bootstrap/less/mixins/hide-text.less +21 -0
- package/src/bootstrap/less/mixins/image.less +33 -0
- package/src/bootstrap/less/mixins/labels.less +12 -0
- package/src/bootstrap/less/mixins/list-group.less +30 -0
- package/src/bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/bootstrap/less/mixins/opacity.less +8 -0
- package/src/bootstrap/less/mixins/pagination.less +24 -0
- package/src/bootstrap/less/mixins/panels.less +24 -0
- package/src/bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/bootstrap/less/mixins/reset-text.less +18 -0
- package/src/bootstrap/less/mixins/resize.less +6 -0
- package/src/bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/bootstrap/less/mixins/size.less +10 -0
- package/src/bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/bootstrap/less/mixins/table-row.less +44 -0
- package/src/bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/bootstrap/less/mixins.less +40 -0
- package/src/bootstrap/less/modals.less +151 -0
- package/src/bootstrap/less/navbar.less +660 -0
- package/src/bootstrap/less/navs.less +286 -0
- package/src/bootstrap/less/normalize.less +424 -0
- package/src/bootstrap/less/pager.less +76 -0
- package/src/bootstrap/less/pagination.less +89 -0
- package/src/bootstrap/less/panels.less +275 -0
- package/src/bootstrap/less/popovers.less +131 -0
- package/src/bootstrap/less/print.less +101 -0
- package/src/bootstrap/less/progress-bars.less +87 -0
- package/src/bootstrap/less/responsive-embed.less +35 -0
- package/src/bootstrap/less/responsive-utilities.less +194 -0
- package/src/bootstrap/less/scaffolding.less +161 -0
- package/src/bootstrap/less/stand.less +207 -0
- package/src/bootstrap/less/tables.less +262 -0
- package/src/bootstrap/less/theme.less +291 -0
- package/src/bootstrap/less/thumbnails.less +36 -0
- package/src/bootstrap/less/tooltip.less +102 -0
- package/src/bootstrap/less/type.less +303 -0
- package/src/bootstrap/less/utilities.less +55 -0
- package/src/bootstrap/less/variables.less +895 -0
- package/src/bootstrap/less/wells.less +29 -0
- package/src/components/ManageHomeCS/Cockpit.vue +2 -2
- package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +135 -24
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +48 -15
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +83 -21
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +148 -94
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +64 -12
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +128 -123
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +33 -18
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +56 -39
- package/src/components/ManageHomeCS/NewHome/TextUser2.vue +295 -0
- package/src/components/ManageHomeCS/NewHome/baoding.vue +382 -0
- package/src/components/ManageHomeCS/User/GasDistri.vue +106 -83
- package/src/components/WebReport/NotUpload.vue +165 -151
- package/src/components/WebReport/OweQuery.vue +126 -204
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +378 -392
- package/src/components/sale/businessquery/ChargeQuery.vue +2 -2
- package/src/components/sale/config/exportConfig.js +5 -5
- package/src/components/sale/filesquery/MeterQuery.vue +2 -33
- package/src/components/sale/filesquery/UserQuery.vue +389 -396
- package/src/components/webmeter/DrillData/UserGasAll.vue +371 -391
- package/src/components/webmeter/DrillData/UserGasEform.vue +159 -229
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +679 -679
- package/src/newmanage.js +4 -0
- package/src/reportManage.js +193 -193
- package/src/stores/DataSql.js +41 -22
- package/static/NewManageHome//347/273/20420.png +0 -0
- package/static/NewManageHome//347/273/20421.png +0 -0
- package/static/NewManageHome//347/273/204220.png +0 -0
- package/static/baoding.json +1 -0
- package/static/baoding1.json +29239 -0
- package/static/langfang.json +1 -0
- package/static//344/277/235/345/256/232/345/270/202.json +1 -0
- package/static//345/273/212/345/235/212/345/270/202.json +1 -0
- /package/{git → .gradle/7.4/dependencies-accessors/gc.properties} +0 -0
package/.gitattributes
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/build/dev-server.js
CHANGED
|
@@ -1,158 +1,155 @@
|
|
|
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
|
-
var str = 'http://
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
/*'/rs/logic/exportfile': {
|
|
14
|
-
target: str2
|
|
15
|
-
},*/
|
|
16
|
-
'/file': {
|
|
17
|
-
target: str
|
|
18
|
-
},
|
|
19
|
-
// 查找资源服务数据
|
|
20
|
-
'/rs/search': {
|
|
21
|
-
target: str2
|
|
22
|
-
},
|
|
23
|
-
// 用户登录服务地址
|
|
24
|
-
'/rs/user': {
|
|
25
|
-
target: str2
|
|
26
|
-
},
|
|
27
|
-
'/rs/path/getParams': {
|
|
28
|
-
target: str
|
|
29
|
-
},
|
|
30
|
-
'/rs/logic/getInitData': {
|
|
31
|
-
target: str
|
|
32
|
-
},
|
|
33
|
-
'/rs/data': {
|
|
34
|
-
target: str2
|
|
35
|
-
},
|
|
36
|
-
'/rs/license': {
|
|
37
|
-
target: str2
|
|
38
|
-
},
|
|
39
|
-
'/rs/db': {
|
|
40
|
-
target: str2
|
|
41
|
-
},
|
|
42
|
-
'/excel': {
|
|
43
|
-
target: str2
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
'/rs/logic/getSaleInitData': {
|
|
47
|
-
target: str
|
|
48
|
-
},
|
|
49
|
-
'/rs/logic/getLogin': {
|
|
50
|
-
target: str
|
|
51
|
-
},
|
|
52
|
-
'/rs/config': {
|
|
53
|
-
target: str
|
|
54
|
-
},
|
|
55
|
-
'/rs/sql/getLicenseById': {
|
|
56
|
-
target: str2
|
|
57
|
-
},
|
|
58
|
-
'/rs/Invoice': {
|
|
59
|
-
target: 'http://127.0.0.1:8090/Invoice/rs/aisino/invoice'
|
|
60
|
-
},
|
|
61
|
-
'/rs/report': {
|
|
62
|
-
target: 'http://127.0.0.1:8089/manage'
|
|
63
|
-
// target: str
|
|
64
|
-
},
|
|
65
|
-
'/rs/vue': {
|
|
66
|
-
// target: 'http://127.0.0.1:8089/manage'
|
|
67
|
-
target: str
|
|
68
|
-
},
|
|
69
|
-
'/rs
|
|
70
|
-
|
|
71
|
-
target: 'http://
|
|
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
|
-
app.use(
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
//
|
|
113
|
-
app.use(
|
|
114
|
-
|
|
115
|
-
//
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
//
|
|
119
|
-
//
|
|
120
|
-
|
|
121
|
-
//
|
|
122
|
-
//
|
|
123
|
-
|
|
124
|
-
//
|
|
125
|
-
//
|
|
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
|
-
console.log('Listening at http://localhost:8085')
|
|
158
|
-
})
|
|
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
|
+
var str = 'http://192.168.50.199:8300/', str2 = 'http://192.168.50.199:7000/ldap'
|
|
12
|
+
var proxyTable = {
|
|
13
|
+
/*'/rs/logic/exportfile': {
|
|
14
|
+
target: str2
|
|
15
|
+
},*/
|
|
16
|
+
'/file': {
|
|
17
|
+
target: str
|
|
18
|
+
},
|
|
19
|
+
// 查找资源服务数据
|
|
20
|
+
'/rs/search': {
|
|
21
|
+
target: str2
|
|
22
|
+
},
|
|
23
|
+
// 用户登录服务地址
|
|
24
|
+
'/rs/user': {
|
|
25
|
+
target: str2
|
|
26
|
+
},
|
|
27
|
+
'/rs/path/getParams': {
|
|
28
|
+
target: str
|
|
29
|
+
},
|
|
30
|
+
'/rs/logic/getInitData': {
|
|
31
|
+
target: str
|
|
32
|
+
},
|
|
33
|
+
'/rs/data': {
|
|
34
|
+
target: str2
|
|
35
|
+
},
|
|
36
|
+
'/rs/license': {
|
|
37
|
+
target: str2
|
|
38
|
+
},
|
|
39
|
+
'/rs/db': {
|
|
40
|
+
target: str2
|
|
41
|
+
},
|
|
42
|
+
'/excel': {
|
|
43
|
+
target: str2
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
'/rs/logic/getSaleInitData': {
|
|
47
|
+
target: str
|
|
48
|
+
},
|
|
49
|
+
'/rs/logic/getLogin': {
|
|
50
|
+
target: str
|
|
51
|
+
},
|
|
52
|
+
'/rs/config': {
|
|
53
|
+
target: str
|
|
54
|
+
},
|
|
55
|
+
'/rs/sql/getLicenseById': {
|
|
56
|
+
target: str2
|
|
57
|
+
},
|
|
58
|
+
'/rs/Invoice': {
|
|
59
|
+
target: 'http://127.0.0.1:8090/Invoice/rs/aisino/invoice'
|
|
60
|
+
},
|
|
61
|
+
'/rs/report': {
|
|
62
|
+
target: 'http://127.0.0.1:8089/manage'
|
|
63
|
+
// target: str
|
|
64
|
+
},
|
|
65
|
+
'/rs/vue': {
|
|
66
|
+
// target: 'http://127.0.0.1:8089/manage'
|
|
67
|
+
target: str
|
|
68
|
+
},
|
|
69
|
+
'/rs': {
|
|
70
|
+
target: 'http://127.0.0.1:8080/manage'
|
|
71
|
+
// target: 'http://192.168.50.203:8082/manage'
|
|
72
|
+
// target: str
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
77
|
+
publicPath: config.output.publicPath,
|
|
78
|
+
stats: {
|
|
79
|
+
colors: true,
|
|
80
|
+
chunks: false
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
85
|
+
// force page reload when html-webpack-plugin template changes
|
|
86
|
+
compiler.plugin('compilation', function (compilation) {
|
|
87
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
88
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
89
|
+
cb()
|
|
90
|
+
})
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
// proxy api requests
|
|
94
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
95
|
+
var options = proxyTable[context]
|
|
96
|
+
if (typeof options === 'string') {
|
|
97
|
+
options = { target: options }
|
|
98
|
+
}
|
|
99
|
+
app.use(proxyMiddleware(context, options))
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
// handle fallback for HTML5 history API
|
|
103
|
+
app.use(require('connect-history-api-fallback')())
|
|
104
|
+
|
|
105
|
+
// serve webpack bundle output
|
|
106
|
+
app.use(devMiddleware)
|
|
107
|
+
|
|
108
|
+
// enable hot-reload and state-preserving
|
|
109
|
+
// compilation error display
|
|
110
|
+
app.use(hotMiddleware)
|
|
111
|
+
|
|
112
|
+
// serve pure static assets
|
|
113
|
+
app.use('/static', express.static('./static'))
|
|
114
|
+
|
|
115
|
+
// app.all('/rs/*', function (req, res) {
|
|
116
|
+
// proxy.web(req, res, {
|
|
117
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
118
|
+
// })
|
|
119
|
+
// })
|
|
120
|
+
|
|
121
|
+
// app.all('/rs/*', function (req, res) {
|
|
122
|
+
// proxy.web(req, res, {
|
|
123
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
124
|
+
// })
|
|
125
|
+
// })
|
|
126
|
+
// app.all('/excel/*', function (req, res) {
|
|
127
|
+
// proxy.web(req, res, {
|
|
128
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
129
|
+
// })
|
|
130
|
+
// })
|
|
131
|
+
|
|
132
|
+
// app.all('/rs/*', function (req, res) {
|
|
133
|
+
// proxy.web(req, res, {
|
|
134
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
135
|
+
// })
|
|
136
|
+
// })
|
|
137
|
+
|
|
138
|
+
// app.all('/*', function (req, res) {
|
|
139
|
+
// proxy.web(req, res, {
|
|
140
|
+
// target: 'http://127.0.0.1:82'
|
|
141
|
+
// })
|
|
142
|
+
// })
|
|
143
|
+
// app.all('/rs/user', function (req, res) {
|
|
144
|
+
// proxy.web(req, res, {
|
|
145
|
+
// target: 'http://127.0.0.1:82'
|
|
146
|
+
// })
|
|
147
|
+
// })
|
|
148
|
+
|
|
149
|
+
module.exports = app.listen(8085, function (err) {
|
|
150
|
+
if (err) {
|
|
151
|
+
console.log(err)
|
|
152
|
+
return
|
|
153
|
+
}
|
|
154
|
+
console.log('Listening at http://localhost:8085')
|
|
155
|
+
})
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/static/loginbg.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|