sale-client 3.4.178 → 3.4.179-mc
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 +160 -161
- package/package.json +2 -2
- package/src/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +1 -1
- package/src/components/FilesManage/UserGeneralInfoTest.vue +27 -20
- package/src/components/charge/ChargeOper.vue +230 -230
- package/src/components/charge/business/OtherChargeByPay.vue +1 -0
- package/src/components/charge/business/OtherChargeNew.vue +350 -346
- package/src/components/charge/business/ShowCardSellGas.vue +1 -1
- package/src/components/charge/gasloss/gasLossOperate.vue +1 -1
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +11 -7
- package/src/components/common/userinfo_detail/ic_detail/FillGasQueryUser.vue +1 -1
- package/src/components/meterBook/MeterManger.vue +61 -61
- package/src/components/revenue/HandManager/CardHand.vue +5 -0
- package/src/components/revenue/HandManager/MeterBookList.vue +488 -488
- package/src/components/revenue/HandManager/OverdueSet.vue +45 -45
- package/src/components/revenue/base/leftview/meterinfodetail.vue +14 -9
- package/src/components/revenue/base/rightview/CardList.vue +2 -2
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +407 -407
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue +7 -7
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperate.vue +8 -21
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
- package/src/components/revenue/comprehen/Maintenance/otherRecords/OtherMaintenanceLists.vue +1 -0
- package/src/components/revenue/comprehen/Message/AllUserNew.vue +601 -0
- package/src/components/revenue/comprehen/Message/MessageList.vue +18 -1
- package/src/components/revenue/comprehen/Message/MessageManageNew.vue +121 -0
- package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +121 -0
- package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +1 -0
- package/src/components/revenue/comprehen/common/ImportExcel.vue +139 -0
- package/src/components/revenue/comprehen/device/deviceEdit.vue +106 -0
- package/src/components/revenue/comprehen/device/deviceList.vue +146 -0
- package/src/components/revenue/comprehen/device/deviceManagement.vue +45 -0
- package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +342 -342
- package/src/components/revenue/machineHandManage/machineHand.vue +3 -3
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +10 -4
- package/src/components/webMeter/MeterManage/WebMeterBatchOperate.vue +3 -3
- package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
- package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
- package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
- package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
- package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
- package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
- package/src/filiale/jingwei/CardHand.vue +5 -0
- package/src/filiale/qianneng/CardList.vue +504 -492
- package/src/filiale/qianneng/FilesManageNew/MeterinfoTest.vue +618 -618
- package/src/filiale/qianneng/FilesManageNew/UserGeneralInfoTest.vue +610 -610
- package/src/filiale/qianneng/FilesManageNew/UserPaperInfoTest.vue +51 -51
- package/src/filiale/qianneng/MessageList.vue +632 -0
- package/src/filiale/qianneng/MeterMessage.vue +192 -192
- package/src/filiale/qianneng/OtherChargeNew.vue +6 -6
- package/src/filiale/qianneng/machine/ArrearsQuery.vue +927 -0
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +730 -730
- package/src/filiale/qianneng/revenue/ChargeManage.vue +2 -1
- package/src/filiale/qianneng/revenue/comprehen/closeaccount/Batchmanage.vue +58 -58
- package/src/filiale/qianneng/revenue/machineHandManage/machineHand.vue +26 -2
- package/src/filiale/qianneng/sale.js +57 -53
- package/src/filiale/rizhao/CardMeterCenter.vue +910 -0
- package/src/filiale/rizhao/ChargeRecordQuery.vue +100 -0
- package/src/filiale/rizhao/sale.js +5 -1
- package/src/filiale/rongcheng/ChargeManage.vue +11 -2
- package/src/filiale/rongcheng/OrderLinkDetail.vue +133 -0
- package/src/filiale/rongcheng/ServiceReform.vue +101 -0
- package/src/filiale/rongcheng/ServiceRepair.vue +100 -0
- package/src/filiale/rongcheng/otherinfo.vue +7 -5
- package/src/filiale/rongcheng/workorderinfo.vue +81 -0
- package/src/filiale/shaoguan/Message/MessageList.vue +5 -5
- package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1038 -0
- package/src/filiale/zhongsheng/sale.js +3 -1
- package/src/filiale/zhongyi/CardMeterCenter.vue +908 -0
- package/src/filiale/zhongyi/FileUserFiles.vue +988 -0
- package/src/filiale/zhongyi/IOTMeterCenter.vue +806 -0
- package/src/filiale/zhongyi/sale.js +8 -1
- package/src/main.js +23 -23
- package/src/plugins/ChangeMeterService.js +2 -2
- package/src/plugins/LogicService.js +3 -0
- package/src/sale.js +19 -6
package/build/dev-server.js
CHANGED
|
@@ -1,161 +1,160 @@
|
|
|
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 = '
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = '
|
|
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://121.36.106.17:8400/'
|
|
92
|
-
},
|
|
93
|
-
'/rs/vue': {
|
|
94
|
-
target: fuwu
|
|
95
|
-
},
|
|
96
|
-
'/webmeter': {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
// target:
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
app.use(
|
|
135
|
-
//
|
|
136
|
-
// res.header('Access-Control-Allow-
|
|
137
|
-
// res.header('Access-Control-Allow-
|
|
138
|
-
// res.header('
|
|
139
|
-
// res.header('
|
|
140
|
-
// res.header('
|
|
141
|
-
//
|
|
142
|
-
//
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
//
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
})
|
|
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://121.36.106.17: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://121.36.106.17:8400/'
|
|
92
|
+
},
|
|
93
|
+
'/rs/vue': {
|
|
94
|
+
target: fuwu
|
|
95
|
+
},
|
|
96
|
+
'/webmeter': {
|
|
97
|
+
target: 'http://192.168.50.4:8450'
|
|
98
|
+
},
|
|
99
|
+
'/rs': {
|
|
100
|
+
// target: 'http://192.168.30.63:8081/'
|
|
101
|
+
target: 'http://121.36.106.17:8400/'
|
|
102
|
+
// target:fuwu
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
107
|
+
publicPath: config.output.publicPath,
|
|
108
|
+
stats: {
|
|
109
|
+
colors: true,
|
|
110
|
+
chunks: false
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
|
|
114
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
115
|
+
// force page reload when html-webpack-plugin template changes
|
|
116
|
+
compiler.plugin('compilation', function (compilation) {
|
|
117
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
118
|
+
hotMiddleware.publish({action: 'reload'})
|
|
119
|
+
cb()
|
|
120
|
+
})
|
|
121
|
+
})
|
|
122
|
+
|
|
123
|
+
// proxy api requests
|
|
124
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
125
|
+
var options = proxyTable[context]
|
|
126
|
+
if (typeof options === 'string') {
|
|
127
|
+
options = {target: options}
|
|
128
|
+
}
|
|
129
|
+
app.use(proxyMiddleware(context, options))
|
|
130
|
+
})
|
|
131
|
+
|
|
132
|
+
// handle fallback for HTML5 history API
|
|
133
|
+
app.use(require('connect-history-api-fallback')())
|
|
134
|
+
// app.use(function (req, res, next) {
|
|
135
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
136
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
137
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
138
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
139
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
140
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
141
|
+
// next()
|
|
142
|
+
// })
|
|
143
|
+
|
|
144
|
+
// serve webpack bundle output
|
|
145
|
+
app.use(devMiddleware)
|
|
146
|
+
|
|
147
|
+
// enable hot-reload and state-preserving
|
|
148
|
+
// compilation error display
|
|
149
|
+
app.use(hotMiddleware)
|
|
150
|
+
|
|
151
|
+
// serve pure static assets
|
|
152
|
+
app.use('/static', express.static('./static'))
|
|
153
|
+
|
|
154
|
+
module.exports = app.listen(8089, function (err) {
|
|
155
|
+
if (err) {
|
|
156
|
+
console.log(err)
|
|
157
|
+
return
|
|
158
|
+
}
|
|
159
|
+
console.log('Listening at http://localhost:8089')
|
|
160
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sale-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.179-mc",
|
|
4
4
|
"description": "收费模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"style-loader": "^0.20.3",
|
|
88
88
|
"system-clients": "3.2.0-2",
|
|
89
89
|
"url-loader": "^0.5.7",
|
|
90
|
-
"vue-client": "1.24.
|
|
90
|
+
"vue-client": "1.24.51",
|
|
91
91
|
"vue-clipboard2": "0.3.1",
|
|
92
92
|
"vue-hot-reload-api": "^1.2.0",
|
|
93
93
|
"vue-html-loader": "^1.0.0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
<div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
|
|
103
103
|
<label class="font_normal_body" title="开户方式">开户方式</label>
|
|
104
|
-
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
|
|
104
|
+
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id && row.f_open_way"
|
|
105
105
|
search v-model='row.f_open_way' :disabled="true"></v-select>
|
|
106
106
|
<v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
|
|
107
107
|
search v-model='row.f_open_way' :disabled="false"></v-select>
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
<div class="row">
|
|
83
83
|
<div class="col-sm-12 form-group" >
|
|
84
84
|
<label for="f_paper_account" class="col-sm-2 font_normal_body " title="参数:变更原因">变更原因:</label>
|
|
85
|
-
<v-select v-model="reason" style="width:60%"
|
|
85
|
+
<v-select v-model="fileSaveData.reason" style="width:60%"
|
|
86
86
|
placeholder='变更原因'
|
|
87
|
-
:value.sync="reason"
|
|
87
|
+
:value.sync="fileSaveData.reason"
|
|
88
88
|
:options='reasons'
|
|
89
89
|
:value-single="true"
|
|
90
90
|
v-ref:reason
|
|
@@ -93,12 +93,12 @@
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="row">
|
|
95
95
|
<div class="col-sm-2"></div>
|
|
96
|
-
<input v-if="reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
96
|
+
<input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
97
97
|
</div>
|
|
98
98
|
</article>
|
|
99
99
|
<footer slot="modal-footer" class="modal-footer">
|
|
100
100
|
<button type="button" class="btn btn-default" @click='filechangeDetailsShow = false'>取消</button>
|
|
101
|
-
<button type="button" class="btn btn-success" :disabled="!fileSaveData.modifyReason" @click='confirmation()'>确认</button>
|
|
101
|
+
<button type="button" class="btn btn-success" :disabled="!fileSaveData.reason || (fileSaveData.reason === '其他' && !fileSaveData.modifyReason)" @click='confirmation()'>确认</button>
|
|
102
102
|
</footer>
|
|
103
103
|
</modal>
|
|
104
104
|
</div>
|
|
@@ -117,11 +117,11 @@ let getFileGen = async function (self, data) {
|
|
|
117
117
|
rejectMsg: '用户详细信息加载失败,请重新选择,如果多次失败,请检查系统是否正常!'
|
|
118
118
|
})
|
|
119
119
|
self.data = result.data
|
|
120
|
-
self.data.meterinfo.forEach((item)=>{
|
|
121
|
-
item.devicesinfo.forEach((item2)=>{
|
|
122
|
-
if(item2.img.content){
|
|
123
|
-
let URL = item2.img.content.substring(item2.img.content.lastIndexOf(':\\') +2)
|
|
124
|
-
item2.img.content = 'http://' + location.host + '/' +
|
|
120
|
+
self.data.meterinfo.forEach((item) => {
|
|
121
|
+
item.devicesinfo.forEach((item2) => {
|
|
122
|
+
if (item2.img.content) {
|
|
123
|
+
let URL = item2.img.content.substring(item2.img.content.lastIndexOf(':\\') + 2)
|
|
124
|
+
item2.img.content = 'http://' + location.host + '/' + URL
|
|
125
125
|
}
|
|
126
126
|
})
|
|
127
127
|
})
|
|
@@ -170,11 +170,11 @@ export default {
|
|
|
170
170
|
fireinfo: {}
|
|
171
171
|
}],
|
|
172
172
|
devicesinfo: [],
|
|
173
|
-
fireinfo:{},
|
|
173
|
+
fireinfo: {},
|
|
174
174
|
address: {
|
|
175
175
|
id: '',
|
|
176
176
|
f_address: '',
|
|
177
|
-
f_address_state:''
|
|
177
|
+
f_address_state: ''
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
show_userinfodevices: false,
|
|
@@ -202,7 +202,8 @@ export default {
|
|
|
202
202
|
defaultMeterInfo: '', // 默认的表具信息
|
|
203
203
|
fileSaveData: {
|
|
204
204
|
// 修改原因
|
|
205
|
-
modifyReason: ''
|
|
205
|
+
modifyReason: '',
|
|
206
|
+
reason: ''
|
|
206
207
|
},
|
|
207
208
|
// 档案变更明细
|
|
208
209
|
filechangeDetails: {rows: []},
|
|
@@ -243,7 +244,7 @@ export default {
|
|
|
243
244
|
},
|
|
244
245
|
methods: {
|
|
245
246
|
async getOvedueset () {
|
|
246
|
-
let overdueset= []
|
|
247
|
+
let overdueset = []
|
|
247
248
|
let res = await this.$resetpost('rs/sql/saleSingleTable', {
|
|
248
249
|
data: {
|
|
249
250
|
tablename: 't_overdue_set',
|
|
@@ -280,7 +281,7 @@ export default {
|
|
|
280
281
|
this.$resetpost('rs/logic/openBankAccount', {f_userinfo_code: this.data.baseinfo.base.f_userinfo_code, f_username: this.data.baseinfo.base.f_user_name},
|
|
281
282
|
{resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
282
283
|
this.$showMessage(res.data.resultmessage)
|
|
283
|
-
|
|
284
|
+
})
|
|
284
285
|
},
|
|
285
286
|
async confirm () {
|
|
286
287
|
this.data.addressinfo.f_address = this.$refs.useressential.addressinfo.f_address
|
|
@@ -297,7 +298,7 @@ export default {
|
|
|
297
298
|
this.data.baseinfo.base.version = this.row.version
|
|
298
299
|
}
|
|
299
300
|
console.log('档案保存之前,。。。', this.data)
|
|
300
|
-
if(this.data.meterinfo[0].f_gas_date != null){
|
|
301
|
+
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
301
302
|
this.data.addressinfo.f_address_state = '已通气'
|
|
302
303
|
}
|
|
303
304
|
// 获取保存数据
|
|
@@ -325,6 +326,9 @@ export default {
|
|
|
325
326
|
// return
|
|
326
327
|
// }
|
|
327
328
|
// }
|
|
329
|
+
if (this.fileSaveData.reason && this.fileSaveData.reason !== '其他') {
|
|
330
|
+
this.fileSaveData.modifyReason = this.fileSaveData.reason
|
|
331
|
+
}
|
|
328
332
|
this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
|
|
329
333
|
this.$parent.resdata = res.data.result[0].f_userinfo_code
|
|
330
334
|
if (!this.row) {
|
|
@@ -515,16 +519,16 @@ export default {
|
|
|
515
519
|
// 用户电话
|
|
516
520
|
f_user_phone: '',
|
|
517
521
|
f_people_num: 0,
|
|
518
|
-
f_packaging:'',
|
|
522
|
+
f_packaging: '',
|
|
519
523
|
// 备用电话
|
|
520
524
|
f_rent_phone: '',
|
|
521
525
|
f_credentials: '身份证',
|
|
522
526
|
f_cost_type: '',
|
|
523
|
-
f_bz_type:'',
|
|
527
|
+
f_bz_type: '',
|
|
524
528
|
f_address: '',
|
|
525
529
|
addressid: '',
|
|
526
530
|
f_idnumber: '',
|
|
527
|
-
f_meter_book_num:''
|
|
531
|
+
f_meter_book_num: ''
|
|
528
532
|
},
|
|
529
533
|
bank: {}
|
|
530
534
|
},
|
|
@@ -572,8 +576,8 @@ export default {
|
|
|
572
576
|
f_detailprice: '', // 价格详情显示
|
|
573
577
|
devicesinfo: [], // 设备信息
|
|
574
578
|
f_hand_month: '', // 抄表月份
|
|
575
|
-
fireinfo:{},
|
|
576
|
-
f_meter_book_num:''
|
|
579
|
+
fireinfo: {}, // 用气信息
|
|
580
|
+
f_meter_book_num: ''
|
|
577
581
|
}],
|
|
578
582
|
devicesinfo: []
|
|
579
583
|
}
|
|
@@ -606,6 +610,9 @@ export default {
|
|
|
606
610
|
meterbrands () {
|
|
607
611
|
return this.$GetSaleParam.getGasbrand()
|
|
608
612
|
},
|
|
613
|
+
reasons () {
|
|
614
|
+
return this.$appdata.getParam('变更原因')
|
|
615
|
+
},
|
|
609
616
|
adjustables () {
|
|
610
617
|
return this.$GetSaleParam.getAdjustable()
|
|
611
618
|
},
|