sale-client 3.4.118 → 3.4.121
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 +157 -157
- package/package.json +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +4 -0
- package/src/components/FilesManage/UserDeviceInfoTest.vue +3 -3
- package/src/components/SellGasCharge/ChargeCancel/CardMeterChargeCancel.vue +1 -1
- package/src/components/charge/ChargeList.vue +897 -897
- package/src/components/charge/business/IOTMeterCenter.vue +6 -2
- package/src/components/charge/business/PriceChangeCompensation/CompensationManage.vue +3 -1
- package/src/components/charge/business/PriceChangeCompensation/JbCompensation.vue +1 -1
- package/src/components/charge/business/PriceChangeCompensation/SurplusRecordDetail.vue +72 -0
- package/src/components/chargeNew/thirdSurplus.vue +309 -254
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +14 -2
- package/src/components/revenue/HandManager/HandManagerCard.vue +1 -2
- package/src/components/revenue/base/leftview/meterinfodetail.vue +212 -195
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +242 -0
- package/src/components/revenue/changeInsurance/InsuranceManage.vue +3 -0
- package/src/components/revenue/comprehen/ComprehenOperation/FeeDeduction/feeDeduction.vue +15 -4
- package/src/components/revenue/machineHandManage/machineDown.vue +1118 -1107
- package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +373 -371
- package/src/filiale/macheng/UserDeviceInfoTest.vue +376 -0
- package/src/filiale/macheng/sale.js +2 -0
- package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +7 -3
- package/src/filiale/tongchuan/feeDeduction.vue +14 -4
- package/src/main.js +23 -23
- package/src/sale.js +2 -0
- package/src/filiale/macheng/FilesManageNew/FileUserFiles.vue +0 -743
package/build/dev-server.js
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
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:8080/',bendi1 = 'http://119.146.1.106:8300/'
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://192.168.50.4:8400/'
|
|
16
|
-
//铜川正式
|
|
17
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
18
|
-
//铜川测试
|
|
19
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
21
|
-
//韶关
|
|
22
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
23
|
-
// 巩义测试服务
|
|
24
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
25
|
-
// 燎原测试服务
|
|
26
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
27
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
28
|
-
|
|
29
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
30
|
-
|
|
31
|
-
var proxyTable = {
|
|
32
|
-
'/rs/logic/saleExport': {
|
|
33
|
-
target: fuwu
|
|
34
|
-
},
|
|
35
|
-
'/rs/logic/saleGetExportProgress': {
|
|
36
|
-
target: fuwu
|
|
37
|
-
},
|
|
38
|
-
'/files': {
|
|
39
|
-
target: fuwu
|
|
40
|
-
},
|
|
41
|
-
// 查找资源服务数据
|
|
42
|
-
'/rs/search': {
|
|
43
|
-
target: fuwu
|
|
44
|
-
},
|
|
45
|
-
// 查找资源服务数据
|
|
46
|
-
'/rs/logic/getLogin': {
|
|
47
|
-
target: fuwu
|
|
48
|
-
},
|
|
49
|
-
// 查找资源服务数据
|
|
50
|
-
'/rs/logic/getInitData': {
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/logic/getSaleInitData': {
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/invoice':{
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
// 用户登录服务地址
|
|
60
|
-
'/rs/user': {
|
|
61
|
-
target: fuwu
|
|
62
|
-
},
|
|
63
|
-
'/rs/path/getParams': {
|
|
64
|
-
target: fuwu
|
|
65
|
-
},
|
|
66
|
-
'/rs/data': {
|
|
67
|
-
target: fuwu
|
|
68
|
-
},
|
|
69
|
-
'/rs/license': {
|
|
70
|
-
target: fuwu
|
|
71
|
-
},
|
|
72
|
-
'/rs/db': {
|
|
73
|
-
target: fuwu
|
|
74
|
-
},
|
|
75
|
-
'/excel': {
|
|
76
|
-
target: fuwu
|
|
77
|
-
},
|
|
78
|
-
'/rs/config': {
|
|
79
|
-
target: fuwu
|
|
80
|
-
},
|
|
81
|
-
'/rs/sql/getLicenseById': {
|
|
82
|
-
target: fuwu
|
|
83
|
-
},
|
|
84
|
-
'/rs/sql/manage_getarealist': {
|
|
85
|
-
target: fuwu
|
|
86
|
-
},
|
|
87
|
-
'/rs/sql/manage_getstreetlist': {
|
|
88
|
-
target: fuwu
|
|
89
|
-
},
|
|
90
|
-
'/rs/report': {
|
|
91
|
-
target: 'http://127.0.0.1:8079'
|
|
92
|
-
},
|
|
93
|
-
'/rs/vue': {
|
|
94
|
-
target: fuwu
|
|
95
|
-
},
|
|
96
|
-
'/rs': {
|
|
97
|
-
// target: 'http://192.168.30.63:8081/'
|
|
98
|
-
target: 'http://127.0.0.1:8080'
|
|
99
|
-
// target:fuwu
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
104
|
-
publicPath: config.output.publicPath,
|
|
105
|
-
stats: {
|
|
106
|
-
colors: true,
|
|
107
|
-
chunks: false
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
|
|
111
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
112
|
-
// force page reload when html-webpack-plugin template changes
|
|
113
|
-
compiler.plugin('compilation', function (compilation) {
|
|
114
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
115
|
-
hotMiddleware.publish({action: 'reload'})
|
|
116
|
-
cb()
|
|
117
|
-
})
|
|
118
|
-
})
|
|
119
|
-
|
|
120
|
-
// proxy api requests
|
|
121
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
122
|
-
var options = proxyTable[context]
|
|
123
|
-
if (typeof options === 'string') {
|
|
124
|
-
options = {target: options}
|
|
125
|
-
}
|
|
126
|
-
app.use(proxyMiddleware(context, options))
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
// handle fallback for HTML5 history API
|
|
130
|
-
app.use(require('connect-history-api-fallback')())
|
|
131
|
-
// app.use(function (req, res, next) {
|
|
132
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
133
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
134
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
135
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
136
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
137
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
138
|
-
// next()
|
|
139
|
-
// })
|
|
140
|
-
|
|
141
|
-
// serve webpack bundle output
|
|
142
|
-
app.use(devMiddleware)
|
|
143
|
-
|
|
144
|
-
// enable hot-reload and state-preserving
|
|
145
|
-
// compilation error display
|
|
146
|
-
app.use(hotMiddleware)
|
|
147
|
-
|
|
148
|
-
// serve pure static assets
|
|
149
|
-
app.use('/static', express.static('./static'))
|
|
150
|
-
|
|
151
|
-
module.exports = app.listen(8089, function (err) {
|
|
152
|
-
if (err) {
|
|
153
|
-
console.log(err)
|
|
154
|
-
return
|
|
155
|
-
}
|
|
156
|
-
console.log('Listening at http://localhost:8089')
|
|
157
|
-
})
|
|
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:8080/',bendi1 = 'http://119.146.1.106:8300/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://192.168.50.4:8400/'
|
|
16
|
+
//铜川正式
|
|
17
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
18
|
+
//铜川测试
|
|
19
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
21
|
+
//韶关
|
|
22
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
23
|
+
// 巩义测试服务
|
|
24
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
25
|
+
// 燎原测试服务
|
|
26
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
27
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
28
|
+
|
|
29
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
30
|
+
|
|
31
|
+
var proxyTable = {
|
|
32
|
+
'/rs/logic/saleExport': {
|
|
33
|
+
target: fuwu
|
|
34
|
+
},
|
|
35
|
+
'/rs/logic/saleGetExportProgress': {
|
|
36
|
+
target: fuwu
|
|
37
|
+
},
|
|
38
|
+
'/files': {
|
|
39
|
+
target: fuwu
|
|
40
|
+
},
|
|
41
|
+
// 查找资源服务数据
|
|
42
|
+
'/rs/search': {
|
|
43
|
+
target: fuwu
|
|
44
|
+
},
|
|
45
|
+
// 查找资源服务数据
|
|
46
|
+
'/rs/logic/getLogin': {
|
|
47
|
+
target: fuwu
|
|
48
|
+
},
|
|
49
|
+
// 查找资源服务数据
|
|
50
|
+
'/rs/logic/getInitData': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/logic/getSaleInitData': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/invoice':{
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
// 用户登录服务地址
|
|
60
|
+
'/rs/user': {
|
|
61
|
+
target: fuwu
|
|
62
|
+
},
|
|
63
|
+
'/rs/path/getParams': {
|
|
64
|
+
target: fuwu
|
|
65
|
+
},
|
|
66
|
+
'/rs/data': {
|
|
67
|
+
target: fuwu
|
|
68
|
+
},
|
|
69
|
+
'/rs/license': {
|
|
70
|
+
target: fuwu
|
|
71
|
+
},
|
|
72
|
+
'/rs/db': {
|
|
73
|
+
target: fuwu
|
|
74
|
+
},
|
|
75
|
+
'/excel': {
|
|
76
|
+
target: fuwu
|
|
77
|
+
},
|
|
78
|
+
'/rs/config': {
|
|
79
|
+
target: fuwu
|
|
80
|
+
},
|
|
81
|
+
'/rs/sql/getLicenseById': {
|
|
82
|
+
target: fuwu
|
|
83
|
+
},
|
|
84
|
+
'/rs/sql/manage_getarealist': {
|
|
85
|
+
target: fuwu
|
|
86
|
+
},
|
|
87
|
+
'/rs/sql/manage_getstreetlist': {
|
|
88
|
+
target: fuwu
|
|
89
|
+
},
|
|
90
|
+
'/rs/report': {
|
|
91
|
+
target: 'http://127.0.0.1:8079'
|
|
92
|
+
},
|
|
93
|
+
'/rs/vue': {
|
|
94
|
+
target: fuwu
|
|
95
|
+
},
|
|
96
|
+
'/rs': {
|
|
97
|
+
// target: 'http://192.168.30.63:8081/'
|
|
98
|
+
target: 'http://127.0.0.1:8080'
|
|
99
|
+
// target:fuwu
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
104
|
+
publicPath: config.output.publicPath,
|
|
105
|
+
stats: {
|
|
106
|
+
colors: true,
|
|
107
|
+
chunks: false
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
112
|
+
// force page reload when html-webpack-plugin template changes
|
|
113
|
+
compiler.plugin('compilation', function (compilation) {
|
|
114
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
115
|
+
hotMiddleware.publish({action: 'reload'})
|
|
116
|
+
cb()
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
// proxy api requests
|
|
121
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
122
|
+
var options = proxyTable[context]
|
|
123
|
+
if (typeof options === 'string') {
|
|
124
|
+
options = {target: options}
|
|
125
|
+
}
|
|
126
|
+
app.use(proxyMiddleware(context, options))
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
// handle fallback for HTML5 history API
|
|
130
|
+
app.use(require('connect-history-api-fallback')())
|
|
131
|
+
// app.use(function (req, res, next) {
|
|
132
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
133
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
134
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
135
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
136
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
137
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
138
|
+
// next()
|
|
139
|
+
// })
|
|
140
|
+
|
|
141
|
+
// serve webpack bundle output
|
|
142
|
+
app.use(devMiddleware)
|
|
143
|
+
|
|
144
|
+
// enable hot-reload and state-preserving
|
|
145
|
+
// compilation error display
|
|
146
|
+
app.use(hotMiddleware)
|
|
147
|
+
|
|
148
|
+
// serve pure static assets
|
|
149
|
+
app.use('/static', express.static('./static'))
|
|
150
|
+
|
|
151
|
+
module.exports = app.listen(8089, function (err) {
|
|
152
|
+
if (err) {
|
|
153
|
+
console.log(err)
|
|
154
|
+
return
|
|
155
|
+
}
|
|
156
|
+
console.log('Listening at http://localhost:8089')
|
|
157
|
+
})
|
package/package.json
CHANGED
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_metertitles" placeholder='表封号'
|
|
24
24
|
v-next-el="{id: 'meterbase'}">
|
|
25
25
|
</div>
|
|
26
|
+
<div class="col-sm-4 form-group">
|
|
27
|
+
<label for="f_metertitles" class="font_normal_body">表具状态</label>
|
|
28
|
+
<input type="text" class="input_search" style="width:60%" v-model="row.f_table_state" placeholder='表具状态' disabled>
|
|
29
|
+
</div>
|
|
26
30
|
<div class="col-sm-4 form-group">
|
|
27
31
|
<label for="f_meter_base" class="font_normal_body"> 表 读 数</label>
|
|
28
32
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<datepicker placeholder="安装日期" style="width: 60%"
|
|
68
68
|
v-model="row.f_input_date"
|
|
69
69
|
:value.sync="row.f_input_date"
|
|
70
|
-
:format="'yyyy-MM-dd
|
|
70
|
+
:format="'yyyy-MM-dd'">
|
|
71
71
|
</datepicker>
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<datepicker placeholder="连接管安装日期" style="width: 60%"
|
|
145
145
|
v-model="row.f_pipeinstall_date"
|
|
146
146
|
:value.sync="row.f_pipeinstall_date"
|
|
147
|
-
:format="'yyyy-MM-dd
|
|
147
|
+
:format="'yyyy-MM-dd'">
|
|
148
148
|
</datepicker>
|
|
149
149
|
</div>
|
|
150
150
|
</div>
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
<datepicker placeholder="连接管到期日期" style="width: 60%"
|
|
155
155
|
v-model="row.f_pipeexpire_date"
|
|
156
156
|
:value.sync="row.f_pipeexpire_date"
|
|
157
|
-
:format="'yyyy-MM-dd
|
|
157
|
+
:format="'yyyy-MM-dd'">
|
|
158
158
|
</datepicker>
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
</form>
|
|
103
103
|
<div style="text-align:right;margin-right:50px;height: auto">
|
|
104
|
-
<button class="btn btn-
|
|
104
|
+
<button class="btn btn-success width-60" @click="cancel()" :disabled="isToday" v-if="jurisdiction.includes('购气撤销')">购气撤销</button>
|
|
105
105
|
<button class="button_clear" @click="clean()">取消</button>
|
|
106
106
|
</div>
|
|
107
107
|
|