sale-client 3.5.138 → 3.5.139
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/build/dev-server.js +193 -193
- package/package.json +1 -1
- package/src/components/FilesManage/UserGeneralInfoTest.vue +706 -706
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +21 -9
- package/src/components/webMeter/paramSaveNew/ParamExceptions.vue +56 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/UserInfoDetailManageNew.vue +186 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/AutomaticPurse.vue +298 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +267 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +240 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChangeRecord.vue +235 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +372 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChargeRecordQuery.vue +100 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/DeveiceRecord.vue +251 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/FillCardQueryUser.vue +209 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/FillGasQueryUser.vue +228 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +365 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +256 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/MeterParam.vue +152 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +250 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/OtherChargeQueryUserDetail.vue +81 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/PriceAdjustmentQueryUser.vue +305 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/PriceChangeQueryUser.vue +192 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/Repurchase.vue +131 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/TransferQueryUser.vue +222 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/iot_detail/QueryException.vue +87 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +304 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/iot_detail/QueryInstructResult.vue +75 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/iot_detail/WatchCollection.vue +115 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/iot_detail/WatchDealWarning.vue +236 -0
- package/src/filiale/dongguan/components/common/userinfo_detail/iot_detail/WatchWarning.vue +24 -0
- package/src/filiale/dongguan/sale.js +2 -1
- package/src/filiale/macheng/UserEssentialInfoTest.vue +368 -368
- package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
- package/src/main.js +22 -22
- package/yarn-error.log +9224 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,193 +1,193 @@
|
|
|
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://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
// var fuwu = 'http://192.168.50.4:8400'
|
|
16
|
-
var fuwu = 'http://
|
|
17
|
-
// var fuwu = 'http://121.36.106.17:8400/'
|
|
18
|
-
// 铜川正式
|
|
19
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
-
// 铜川测试
|
|
21
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
22
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
23
|
-
// 韶关
|
|
24
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
25
|
-
// 巩义测试服务
|
|
26
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
27
|
-
// 燎原测试服务
|
|
28
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
29
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
30
|
-
|
|
31
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
32
|
-
|
|
33
|
-
var proxyTable = {
|
|
34
|
-
// '/'
|
|
35
|
-
// '/rs/logic/stopBasicLivingNew':{
|
|
36
|
-
// target:'http://127.0.0.1:8080'
|
|
37
|
-
// },
|
|
38
|
-
// '/rs/logic/getBatchOperaPro':{
|
|
39
|
-
// target:'http://127.0.0.1:8080'
|
|
40
|
-
// },
|
|
41
|
-
// '/rs/sql/sale_getUser':{
|
|
42
|
-
// target:'http://127.0.0.1:8080'
|
|
43
|
-
// },
|
|
44
|
-
// '/rs/logic/getOperBtns':{
|
|
45
|
-
// target:'http://127.0.0.1:8080'
|
|
46
|
-
// },
|
|
47
|
-
// '/rs/file/uploadFile':{
|
|
48
|
-
// target:'http://127.0.0.1:8080'
|
|
49
|
-
// },
|
|
50
|
-
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
51
|
-
// target:'http://127.0.0.1:8080'
|
|
52
|
-
// },
|
|
53
|
-
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
54
|
-
// target:'http:127.0.0.1:8080'
|
|
55
|
-
// },
|
|
56
|
-
// '/rs/sql/getDownPlan':{
|
|
57
|
-
// target:'http:127.0.0.1:8080'
|
|
58
|
-
// },
|
|
59
|
-
// '/rs/logic/saleExport': {
|
|
60
|
-
// target: fuwu
|
|
61
|
-
// },
|
|
62
|
-
// '/rs/logic/saleGetExportProgress': {
|
|
63
|
-
// target: fuwu
|
|
64
|
-
// },
|
|
65
|
-
// '/rs/logic/getWarningMsg': {
|
|
66
|
-
// target: 'http://localhost:8080/'
|
|
67
|
-
// },
|
|
68
|
-
'/rs/file': {
|
|
69
|
-
target: fuwu
|
|
70
|
-
},
|
|
71
|
-
'/files': {
|
|
72
|
-
target: fuwu
|
|
73
|
-
},
|
|
74
|
-
// 查找资源服务数据
|
|
75
|
-
'/rs/search': {
|
|
76
|
-
target: fuwu
|
|
77
|
-
},
|
|
78
|
-
// 查找资源服务数据
|
|
79
|
-
'/rs/logic/getLogin': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
// 查找资源服务数据
|
|
83
|
-
'/rs/logic/getInitData': {
|
|
84
|
-
target: fuwu
|
|
85
|
-
},
|
|
86
|
-
'/rs/logic/getSaleInitData': {
|
|
87
|
-
target: fuwu
|
|
88
|
-
},
|
|
89
|
-
'/invoice': {
|
|
90
|
-
target: fuwu
|
|
91
|
-
},
|
|
92
|
-
// 用户登录服务地址
|
|
93
|
-
'/rs/user': {
|
|
94
|
-
target: fuwu
|
|
95
|
-
},
|
|
96
|
-
'/rs/path/getParams': {
|
|
97
|
-
target: fuwu
|
|
98
|
-
},
|
|
99
|
-
'/rs/data': {
|
|
100
|
-
target: fuwu
|
|
101
|
-
},
|
|
102
|
-
'/rs/license': {
|
|
103
|
-
target: fuwu
|
|
104
|
-
},
|
|
105
|
-
'/rs/db': {
|
|
106
|
-
target: fuwu
|
|
107
|
-
},
|
|
108
|
-
'/excel': {
|
|
109
|
-
target: fuwu
|
|
110
|
-
},
|
|
111
|
-
'/rs/config': {
|
|
112
|
-
target: fuwu
|
|
113
|
-
},
|
|
114
|
-
'/rs/sql/getLicenseById': {
|
|
115
|
-
target: fuwu
|
|
116
|
-
},
|
|
117
|
-
'/rs/sql/manage_getarealist': {
|
|
118
|
-
target: fuwu
|
|
119
|
-
},
|
|
120
|
-
'/rs/sql/manage_getstreetlist': {
|
|
121
|
-
target: fuwu
|
|
122
|
-
},
|
|
123
|
-
'/rs/report': {
|
|
124
|
-
target: 'http://121.36.106.17:8400/'
|
|
125
|
-
},
|
|
126
|
-
'/rs/vue': {
|
|
127
|
-
target: fuwu
|
|
128
|
-
},
|
|
129
|
-
'/webmeter': {
|
|
130
|
-
target: 'http://
|
|
131
|
-
},
|
|
132
|
-
'/rs': {
|
|
133
|
-
// target: 'http://192.168.30.63:8081/'
|
|
134
|
-
// target: 'http://121.36.106.17:8400/'
|
|
135
|
-
target: fuwu
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
140
|
-
publicPath: config.output.publicPath,
|
|
141
|
-
stats: {
|
|
142
|
-
colors: true,
|
|
143
|
-
chunks: false
|
|
144
|
-
}
|
|
145
|
-
})
|
|
146
|
-
|
|
147
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
148
|
-
// force page reload when html-webpack-plugin template changes
|
|
149
|
-
compiler.plugin('compilation', function (compilation) {
|
|
150
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
151
|
-
hotMiddleware.publish({action: 'reload'})
|
|
152
|
-
cb()
|
|
153
|
-
})
|
|
154
|
-
})
|
|
155
|
-
|
|
156
|
-
// proxy api requests
|
|
157
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
158
|
-
var options = proxyTable[context]
|
|
159
|
-
if (typeof options === 'string') {
|
|
160
|
-
options = {target: options}
|
|
161
|
-
}
|
|
162
|
-
app.use(proxyMiddleware(context, options))
|
|
163
|
-
})
|
|
164
|
-
|
|
165
|
-
// handle fallback for HTML5 history API
|
|
166
|
-
app.use(require('connect-history-api-fallback')())
|
|
167
|
-
// app.use(function (req, res, next) {
|
|
168
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
169
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
170
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
171
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
172
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
173
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
174
|
-
// next()
|
|
175
|
-
// })
|
|
176
|
-
|
|
177
|
-
// serve webpack bundle output
|
|
178
|
-
app.use(devMiddleware)
|
|
179
|
-
|
|
180
|
-
// enable hot-reload and state-preserving
|
|
181
|
-
// compilation error display
|
|
182
|
-
app.use(hotMiddleware)
|
|
183
|
-
|
|
184
|
-
// serve pure static assets
|
|
185
|
-
app.use('/static', express.static('./static'))
|
|
186
|
-
|
|
187
|
-
module.exports = app.listen(8085, function (err) {
|
|
188
|
-
if (err) {
|
|
189
|
-
console.log(err)
|
|
190
|
-
return
|
|
191
|
-
}
|
|
192
|
-
console.log('Listening at http://localhost:
|
|
193
|
-
})
|
|
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://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
// var fuwu = 'http://192.168.50.4:8400'
|
|
16
|
+
var fuwu = 'http://39.108.82.124:8400/'
|
|
17
|
+
// var fuwu = 'http://121.36.106.17:8400/'
|
|
18
|
+
// 铜川正式
|
|
19
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
+
// 铜川测试
|
|
21
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
22
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
23
|
+
// 韶关
|
|
24
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
25
|
+
// 巩义测试服务
|
|
26
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
27
|
+
// 燎原测试服务
|
|
28
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
29
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
30
|
+
|
|
31
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
32
|
+
|
|
33
|
+
var proxyTable = {
|
|
34
|
+
// '/'
|
|
35
|
+
// '/rs/logic/stopBasicLivingNew':{
|
|
36
|
+
// target:'http://127.0.0.1:8080'
|
|
37
|
+
// },
|
|
38
|
+
// '/rs/logic/getBatchOperaPro':{
|
|
39
|
+
// target:'http://127.0.0.1:8080'
|
|
40
|
+
// },
|
|
41
|
+
// '/rs/sql/sale_getUser':{
|
|
42
|
+
// target:'http://127.0.0.1:8080'
|
|
43
|
+
// },
|
|
44
|
+
// '/rs/logic/getOperBtns':{
|
|
45
|
+
// target:'http://127.0.0.1:8080'
|
|
46
|
+
// },
|
|
47
|
+
// '/rs/file/uploadFile':{
|
|
48
|
+
// target:'http://127.0.0.1:8080'
|
|
49
|
+
// },
|
|
50
|
+
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
51
|
+
// target:'http://127.0.0.1:8080'
|
|
52
|
+
// },
|
|
53
|
+
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
54
|
+
// target:'http:127.0.0.1:8080'
|
|
55
|
+
// },
|
|
56
|
+
// '/rs/sql/getDownPlan':{
|
|
57
|
+
// target:'http:127.0.0.1:8080'
|
|
58
|
+
// },
|
|
59
|
+
// '/rs/logic/saleExport': {
|
|
60
|
+
// target: fuwu
|
|
61
|
+
// },
|
|
62
|
+
// '/rs/logic/saleGetExportProgress': {
|
|
63
|
+
// target: fuwu
|
|
64
|
+
// },
|
|
65
|
+
// '/rs/logic/getWarningMsg': {
|
|
66
|
+
// target: 'http://localhost:8080/'
|
|
67
|
+
// },
|
|
68
|
+
'/rs/file': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/files': {
|
|
72
|
+
target: fuwu
|
|
73
|
+
},
|
|
74
|
+
// 查找资源服务数据
|
|
75
|
+
'/rs/search': {
|
|
76
|
+
target: fuwu
|
|
77
|
+
},
|
|
78
|
+
// 查找资源服务数据
|
|
79
|
+
'/rs/logic/getLogin': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
// 查找资源服务数据
|
|
83
|
+
'/rs/logic/getInitData': {
|
|
84
|
+
target: fuwu
|
|
85
|
+
},
|
|
86
|
+
'/rs/logic/getSaleInitData': {
|
|
87
|
+
target: fuwu
|
|
88
|
+
},
|
|
89
|
+
'/invoice': {
|
|
90
|
+
target: fuwu
|
|
91
|
+
},
|
|
92
|
+
// 用户登录服务地址
|
|
93
|
+
'/rs/user': {
|
|
94
|
+
target: fuwu
|
|
95
|
+
},
|
|
96
|
+
'/rs/path/getParams': {
|
|
97
|
+
target: fuwu
|
|
98
|
+
},
|
|
99
|
+
'/rs/data': {
|
|
100
|
+
target: fuwu
|
|
101
|
+
},
|
|
102
|
+
'/rs/license': {
|
|
103
|
+
target: fuwu
|
|
104
|
+
},
|
|
105
|
+
'/rs/db': {
|
|
106
|
+
target: fuwu
|
|
107
|
+
},
|
|
108
|
+
'/excel': {
|
|
109
|
+
target: fuwu
|
|
110
|
+
},
|
|
111
|
+
'/rs/config': {
|
|
112
|
+
target: fuwu
|
|
113
|
+
},
|
|
114
|
+
'/rs/sql/getLicenseById': {
|
|
115
|
+
target: fuwu
|
|
116
|
+
},
|
|
117
|
+
'/rs/sql/manage_getarealist': {
|
|
118
|
+
target: fuwu
|
|
119
|
+
},
|
|
120
|
+
'/rs/sql/manage_getstreetlist': {
|
|
121
|
+
target: fuwu
|
|
122
|
+
},
|
|
123
|
+
'/rs/report': {
|
|
124
|
+
target: 'http://121.36.106.17:8400/'
|
|
125
|
+
},
|
|
126
|
+
'/rs/vue': {
|
|
127
|
+
target: fuwu
|
|
128
|
+
},
|
|
129
|
+
'/webmeter': {
|
|
130
|
+
target: 'http://39.108.82.124:8400/'
|
|
131
|
+
},
|
|
132
|
+
'/rs': {
|
|
133
|
+
// target: 'http://192.168.30.63:8081/'
|
|
134
|
+
// target: 'http://121.36.106.17:8400/'
|
|
135
|
+
target: fuwu
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
140
|
+
publicPath: config.output.publicPath,
|
|
141
|
+
stats: {
|
|
142
|
+
colors: true,
|
|
143
|
+
chunks: false
|
|
144
|
+
}
|
|
145
|
+
})
|
|
146
|
+
|
|
147
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
148
|
+
// force page reload when html-webpack-plugin template changes
|
|
149
|
+
compiler.plugin('compilation', function (compilation) {
|
|
150
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
151
|
+
hotMiddleware.publish({action: 'reload'})
|
|
152
|
+
cb()
|
|
153
|
+
})
|
|
154
|
+
})
|
|
155
|
+
|
|
156
|
+
// proxy api requests
|
|
157
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
158
|
+
var options = proxyTable[context]
|
|
159
|
+
if (typeof options === 'string') {
|
|
160
|
+
options = {target: options}
|
|
161
|
+
}
|
|
162
|
+
app.use(proxyMiddleware(context, options))
|
|
163
|
+
})
|
|
164
|
+
|
|
165
|
+
// handle fallback for HTML5 history API
|
|
166
|
+
app.use(require('connect-history-api-fallback')())
|
|
167
|
+
// app.use(function (req, res, next) {
|
|
168
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
169
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
170
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
171
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
172
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
173
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
174
|
+
// next()
|
|
175
|
+
// })
|
|
176
|
+
|
|
177
|
+
// serve webpack bundle output
|
|
178
|
+
app.use(devMiddleware)
|
|
179
|
+
|
|
180
|
+
// enable hot-reload and state-preserving
|
|
181
|
+
// compilation error display
|
|
182
|
+
app.use(hotMiddleware)
|
|
183
|
+
|
|
184
|
+
// serve pure static assets
|
|
185
|
+
app.use('/static', express.static('./static'))
|
|
186
|
+
|
|
187
|
+
module.exports = app.listen(8085, function (err) {
|
|
188
|
+
if (err) {
|
|
189
|
+
console.log(err)
|
|
190
|
+
return
|
|
191
|
+
}
|
|
192
|
+
console.log('Listening at http://localhost:8089')
|
|
193
|
+
})
|