sale-client 3.5.26 → 3.5.29
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 +161 -161
- package/package.json +1 -1
- package/src/components/FilesManage/FileUserFiles.vue +4 -4
- package/src/components/FilesManage/MeterinfoTest.vue +13 -2
- package/src/components/FilesManage/UserEssentialInfoTest.vue +7 -0
- package/src/components/charge/ChargeOper.vue +3 -1
- package/src/components/revenue/base/rightview/CardList.vue +6 -6
- package/src/components/revenue/base/rightview/carddetail/GarbageDetail.vue +59 -0
- package/src/components/revenue/cardHandManage/cardDown.vue +15 -15
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPaymentConstrast.vue +286 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPaymentnew.vue +52 -0
- package/src/components/revenue/comprehen/common/ImportExcel.vue +9 -6
- package/src/components/revenue/invoiceuse/{ChargeList.vue → InvoiceChargeList.vue} +0 -0
- package/src/components/revenue/invoiceuse/InvoiceEntry.vue +2 -3
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +8 -0
- package/src/components/webMeter/paramSave/ParamSet.vue +73 -74
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +4 -4
- package/src/filiale/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +52 -1
- package/src/filiale/fugu/MeterinfoTest.vue +2 -2
- package/src/filiale/gongyi/charge/business/machine/MachineCharge.vue +1 -1
- package/src/filiale/gongyi/charge/business/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/gongyi/charge/business/machine/OweDetailList.vue +3 -3
- package/src/filiale/gongyi/charge/business/machine/OweList.vue +2 -2
- package/src/filiale/gongyi/revenue/comprehen/ovdue/Overduetax.vue +8 -8
- package/src/filiale/gongyi/revenue/comprehen/ovdue/OverduetaxPrintBill.vue +1 -1
- package/src/filiale/gongyi/sale.js +1 -1
- package/src/filiale/guangxi/OtherGas.vue +5 -5
- package/src/filiale/jinjiang/MachineMeterCenter.vue +1 -1
- package/src/filiale/kelai/GarbageCharge.vue +205 -0
- package/src/filiale/kelai/UserfilesList.vue +293 -0
- package/src/filiale/kelai/sale.js +5 -2
- package/src/filiale/liaoyuan/Overduetax.vue +5 -5
- package/src/filiale/liaoyuan/sale.js +1 -1
- package/src/filiale/macheng/MachineMeterCenter.vue +1 -1
- package/src/filiale/meihekou/MachineCharge.vue +1 -1
- package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/qianneng/MachineCharge.vue +1 -1
- package/src/filiale/qianneng/machine/ArrearsQuery.vue +3 -3
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/rizhao/ChargeQueryUser.vue +1 -1
- package/src/filiale/rizhao/MeterinfoTest.vue +2 -2
- package/src/filiale/rongchuang/handListMaintain.vue +2 -2
- package/src/filiale/shanggao/MeterinfoTest.vue +2 -2
- package/src/filiale/shaoguan/MachineMeterCenter.vue +3 -3
- package/src/filiale/wuhai/MeterinfoTest.vue +2 -2
- package/src/filiale/zhongyi/FileUserFiles.vue +16 -19
- package/src/filiale/zhongyi/MeterinfoTest.vue +2 -2
- package/src/main.js +1 -1
- package/src/sale.js +10 -3
- package/src/filiale/WEINAN/AutomaticPurse.vue +0 -304
- package/src/filiale/WEINAN/CardList.vue +0 -497
- package/src/filiale/WEINAN/CardMeterCenter.vue +0 -819
- package/src/filiale/WEINAN/CardMeterChargeCancel.vue +0 -401
- package/src/filiale/WEINAN/ChangeMeter.vue +0 -737
- package/src/filiale/WEINAN/ChargeList.vue +0 -1006
- package/src/filiale/WEINAN/ChargeManageNew.vue +0 -232
- package/src/filiale/WEINAN/ChargeQueryUser.vue +0 -331
- package/src/filiale/WEINAN/ChargeRecordQuery.vue +0 -73
- package/src/filiale/WEINAN/DisableManage.vue +0 -63
- package/src/filiale/WEINAN/EnableManage.vue +0 -142
- package/src/filiale/WEINAN/FileAddressManage.vue +0 -112
- package/src/filiale/WEINAN/FileUserAddress.vue +0 -785
- package/src/filiale/WEINAN/HighMeter.vue +0 -1090
- package/src/filiale/WEINAN/IOTMeterCenter.vue +0 -814
- package/src/filiale/WEINAN/MachineMeterCenter.vue +0 -595
- package/src/filiale/WEINAN/MeterMessage.vue +0 -131
- package/src/filiale/WEINAN/MeterinfoTest.vue +0 -584
- package/src/filiale/WEINAN/OffGasAddGas.vue +0 -213
- package/src/filiale/WEINAN/OtherGas.vue +0 -351
- package/src/filiale/WEINAN/OverUseCharge.vue +0 -412
- package/src/filiale/WEINAN/RecordCancel.vue +0 -302
- package/src/filiale/WEINAN/RecordQueryUser.vue +0 -253
- package/src/filiale/WEINAN/ReplaceCardManage.vue +0 -408
- package/src/filiale/WEINAN/ShowCardSellGas.vue +0 -842
- package/src/filiale/WEINAN/Stairinfo.vue +0 -157
- package/src/filiale/WEINAN/TransferManage.vue +0 -370
- package/src/filiale/WEINAN/UserBaseInfoNew.vue +0 -325
- package/src/filiale/WEINAN/UserEssentialInfoTest.vue +0 -384
- package/src/filiale/WEINAN/UserGeneralInfoTest.vue +0 -533
- package/src/filiale/WEINAN/UserInfoDetailManageNew.vue +0 -150
- package/src/filiale/WEINAN/Userinfo.vue +0 -82
- package/src/filiale/WEINAN/gasmove.vue +0 -243
- package/src/filiale/WEINAN/meterinfodetail.vue +0 -104
- package/src/filiale/WEINAN/plugins/FileManageService.js +0 -362
- package/src/filiale/WEINAN/plugins/getTimeService.js +0 -87
- package/src/filiale/WEINAN/sale.js +0 -55
- package/src/filiale/WEINAN/sale.js~Stashed changes +0 -29
- package/src/filiale/WEINAN/static/mainicon//347/237/251/345/275/2421828.png +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,161 +1,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://
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://
|
|
16
|
-
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
|
-
// 铜川正式
|
|
18
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
19
|
-
// 铜川测试
|
|
20
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
21
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
22
|
-
// 韶关
|
|
23
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
24
|
-
// 巩义测试服务
|
|
25
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
26
|
-
// 燎原测试服务
|
|
27
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
28
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
29
|
-
|
|
30
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
31
|
-
|
|
32
|
-
var proxyTable = {
|
|
33
|
-
'/rs/logic/saleExport': {
|
|
34
|
-
target: fuwu
|
|
35
|
-
},
|
|
36
|
-
'/rs/logic/saleGetExportProgress': {
|
|
37
|
-
target: fuwu
|
|
38
|
-
},
|
|
39
|
-
'/files': {
|
|
40
|
-
target: fuwu
|
|
41
|
-
},
|
|
42
|
-
// 查找资源服务数据
|
|
43
|
-
'/rs/search': {
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
// 查找资源服务数据
|
|
47
|
-
'/rs/logic/getLogin': {
|
|
48
|
-
target: fuwu
|
|
49
|
-
},
|
|
50
|
-
// 查找资源服务数据
|
|
51
|
-
'/rs/logic/getInitData': {
|
|
52
|
-
target: fuwu
|
|
53
|
-
},
|
|
54
|
-
'/rs/logic/getSaleInitData': {
|
|
55
|
-
target: fuwu
|
|
56
|
-
},
|
|
57
|
-
'/invoice': {
|
|
58
|
-
target: fuwu
|
|
59
|
-
},
|
|
60
|
-
// 用户登录服务地址
|
|
61
|
-
'/rs/user': {
|
|
62
|
-
target: fuwu
|
|
63
|
-
},
|
|
64
|
-
'/rs/path/getParams': {
|
|
65
|
-
target: fuwu
|
|
66
|
-
},
|
|
67
|
-
'/rs/data': {
|
|
68
|
-
target: fuwu
|
|
69
|
-
},
|
|
70
|
-
'/rs/license': {
|
|
71
|
-
target: fuwu
|
|
72
|
-
},
|
|
73
|
-
'/rs/db': {
|
|
74
|
-
target: fuwu
|
|
75
|
-
},
|
|
76
|
-
'/excel': {
|
|
77
|
-
target: fuwu
|
|
78
|
-
},
|
|
79
|
-
'/rs/config': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
'/rs/sql/getLicenseById': {
|
|
83
|
-
target: fuwu
|
|
84
|
-
},
|
|
85
|
-
'/rs/sql/manage_getarealist': {
|
|
86
|
-
target: fuwu
|
|
87
|
-
},
|
|
88
|
-
'/rs/sql/manage_getstreetlist': {
|
|
89
|
-
target: fuwu
|
|
90
|
-
},
|
|
91
|
-
'/rs/report': {
|
|
92
|
-
target: 'http://121.36.106.17:8400/'
|
|
93
|
-
},
|
|
94
|
-
'/rs/vue': {
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/webmeter': {
|
|
98
|
-
target:
|
|
99
|
-
},
|
|
100
|
-
'/rs': {
|
|
101
|
-
// target: 'http://192.168.30.63:8081/'
|
|
102
|
-
// target: 'http://121.36.106.17:8400/'
|
|
103
|
-
target: bendi
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
108
|
-
publicPath: config.output.publicPath,
|
|
109
|
-
stats: {
|
|
110
|
-
colors: true,
|
|
111
|
-
chunks: false
|
|
112
|
-
}
|
|
113
|
-
})
|
|
114
|
-
|
|
115
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
116
|
-
// force page reload when html-webpack-plugin template changes
|
|
117
|
-
compiler.plugin('compilation', function (compilation) {
|
|
118
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
119
|
-
hotMiddleware.publish({action: 'reload'})
|
|
120
|
-
cb()
|
|
121
|
-
})
|
|
122
|
-
})
|
|
123
|
-
|
|
124
|
-
// proxy api requests
|
|
125
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
126
|
-
var options = proxyTable[context]
|
|
127
|
-
if (typeof options === 'string') {
|
|
128
|
-
options = {target: options}
|
|
129
|
-
}
|
|
130
|
-
app.use(proxyMiddleware(context, options))
|
|
131
|
-
})
|
|
132
|
-
|
|
133
|
-
// handle fallback for HTML5 history API
|
|
134
|
-
app.use(require('connect-history-api-fallback')())
|
|
135
|
-
// app.use(function (req, res, next) {
|
|
136
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
137
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
138
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
139
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
140
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
141
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
142
|
-
// next()
|
|
143
|
-
// })
|
|
144
|
-
|
|
145
|
-
// serve webpack bundle output
|
|
146
|
-
app.use(devMiddleware)
|
|
147
|
-
|
|
148
|
-
// enable hot-reload and state-preserving
|
|
149
|
-
// compilation error display
|
|
150
|
-
app.use(hotMiddleware)
|
|
151
|
-
|
|
152
|
-
// serve pure static assets
|
|
153
|
-
app.use('/static', express.static('./static'))
|
|
154
|
-
|
|
155
|
-
module.exports = app.listen(8089, function (err) {
|
|
156
|
-
if (err) {
|
|
157
|
-
console.log(err)
|
|
158
|
-
return
|
|
159
|
-
}
|
|
160
|
-
console.log('Listening at http://localhost:8089')
|
|
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://39.108.82.124:8400/', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://39.108.82.124:8400/'
|
|
16
|
+
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
|
+
// 铜川正式
|
|
18
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
19
|
+
// 铜川测试
|
|
20
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
21
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
22
|
+
// 韶关
|
|
23
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
24
|
+
// 巩义测试服务
|
|
25
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
26
|
+
// 燎原测试服务
|
|
27
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
28
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
29
|
+
|
|
30
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
31
|
+
|
|
32
|
+
var proxyTable = {
|
|
33
|
+
'/rs/logic/saleExport': {
|
|
34
|
+
target: fuwu
|
|
35
|
+
},
|
|
36
|
+
'/rs/logic/saleGetExportProgress': {
|
|
37
|
+
target: fuwu
|
|
38
|
+
},
|
|
39
|
+
'/files': {
|
|
40
|
+
target: fuwu
|
|
41
|
+
},
|
|
42
|
+
// 查找资源服务数据
|
|
43
|
+
'/rs/search': {
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
// 查找资源服务数据
|
|
47
|
+
'/rs/logic/getLogin': {
|
|
48
|
+
target: fuwu
|
|
49
|
+
},
|
|
50
|
+
// 查找资源服务数据
|
|
51
|
+
'/rs/logic/getInitData': {
|
|
52
|
+
target: fuwu
|
|
53
|
+
},
|
|
54
|
+
'/rs/logic/getSaleInitData': {
|
|
55
|
+
target: fuwu
|
|
56
|
+
},
|
|
57
|
+
'/invoice': {
|
|
58
|
+
target: fuwu
|
|
59
|
+
},
|
|
60
|
+
// 用户登录服务地址
|
|
61
|
+
'/rs/user': {
|
|
62
|
+
target: fuwu
|
|
63
|
+
},
|
|
64
|
+
'/rs/path/getParams': {
|
|
65
|
+
target: fuwu
|
|
66
|
+
},
|
|
67
|
+
'/rs/data': {
|
|
68
|
+
target: fuwu
|
|
69
|
+
},
|
|
70
|
+
'/rs/license': {
|
|
71
|
+
target: fuwu
|
|
72
|
+
},
|
|
73
|
+
'/rs/db': {
|
|
74
|
+
target: fuwu
|
|
75
|
+
},
|
|
76
|
+
'/excel': {
|
|
77
|
+
target: fuwu
|
|
78
|
+
},
|
|
79
|
+
'/rs/config': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
'/rs/sql/getLicenseById': {
|
|
83
|
+
target: fuwu
|
|
84
|
+
},
|
|
85
|
+
'/rs/sql/manage_getarealist': {
|
|
86
|
+
target: fuwu
|
|
87
|
+
},
|
|
88
|
+
'/rs/sql/manage_getstreetlist': {
|
|
89
|
+
target: fuwu
|
|
90
|
+
},
|
|
91
|
+
'/rs/report': {
|
|
92
|
+
target: 'http://121.36.106.17:8400/'
|
|
93
|
+
},
|
|
94
|
+
'/rs/vue': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/webmeter': {
|
|
98
|
+
target: fuwu
|
|
99
|
+
},
|
|
100
|
+
'/rs': {
|
|
101
|
+
// target: 'http://192.168.30.63:8081/'
|
|
102
|
+
// target: 'http://121.36.106.17:8400/'
|
|
103
|
+
target: bendi
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
108
|
+
publicPath: config.output.publicPath,
|
|
109
|
+
stats: {
|
|
110
|
+
colors: true,
|
|
111
|
+
chunks: false
|
|
112
|
+
}
|
|
113
|
+
})
|
|
114
|
+
|
|
115
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
116
|
+
// force page reload when html-webpack-plugin template changes
|
|
117
|
+
compiler.plugin('compilation', function (compilation) {
|
|
118
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
119
|
+
hotMiddleware.publish({action: 'reload'})
|
|
120
|
+
cb()
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
// proxy api requests
|
|
125
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
126
|
+
var options = proxyTable[context]
|
|
127
|
+
if (typeof options === 'string') {
|
|
128
|
+
options = {target: options}
|
|
129
|
+
}
|
|
130
|
+
app.use(proxyMiddleware(context, options))
|
|
131
|
+
})
|
|
132
|
+
|
|
133
|
+
// handle fallback for HTML5 history API
|
|
134
|
+
app.use(require('connect-history-api-fallback')())
|
|
135
|
+
// app.use(function (req, res, next) {
|
|
136
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
137
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
138
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
139
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
140
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
141
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
142
|
+
// next()
|
|
143
|
+
// })
|
|
144
|
+
|
|
145
|
+
// serve webpack bundle output
|
|
146
|
+
app.use(devMiddleware)
|
|
147
|
+
|
|
148
|
+
// enable hot-reload and state-preserving
|
|
149
|
+
// compilation error display
|
|
150
|
+
app.use(hotMiddleware)
|
|
151
|
+
|
|
152
|
+
// serve pure static assets
|
|
153
|
+
app.use('/static', express.static('./static'))
|
|
154
|
+
|
|
155
|
+
module.exports = app.listen(8089, function (err) {
|
|
156
|
+
if (err) {
|
|
157
|
+
console.log(err)
|
|
158
|
+
return
|
|
159
|
+
}
|
|
160
|
+
console.log('Listening at http://localhost:8089')
|
|
161
|
+
})
|
package/package.json
CHANGED
|
@@ -58,8 +58,6 @@
|
|
|
58
58
|
<button @click="$parent.$parent.importFile" class="button_export button_spacing"
|
|
59
59
|
style="float: right" v-if="false">导入
|
|
60
60
|
</button>
|
|
61
|
-
<button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.downloadFiles()">模板下载
|
|
62
|
-
</button>
|
|
63
61
|
<!-- <button class="button_search" style="width: 90px" @click=" $parent.$parent.selectaddress()">选择地址</button>-->
|
|
64
62
|
<button @click="$parent.$parent.xiaohu()"
|
|
65
63
|
class="button_delete button_spacing"
|
|
@@ -407,9 +405,11 @@
|
|
|
407
405
|
<footer slot="modal-footer" class="modal-footer">
|
|
408
406
|
</footer>
|
|
409
407
|
</modal>
|
|
410
|
-
<modal :show.sync="batchMeterShow" width="
|
|
408
|
+
<modal :show.sync="batchMeterShow" width="570px" title="文件导入" v-ref:modal large backdrop="false">
|
|
411
409
|
<article slot="modal-body" class="modal-body">
|
|
412
|
-
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
410
|
+
<file-upload class="my-file-uploader col-sm-9" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
411
|
+
<button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;" @click="downloadFiles()">模板下载
|
|
412
|
+
</button>
|
|
413
413
|
</article>
|
|
414
414
|
<footer slot="modal-footer" class="modal-footer">
|
|
415
415
|
</footer>
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
</div>
|
|
186
186
|
<div class="col-sm-4 form-group">
|
|
187
187
|
<label class="font_normal_body">表具使用年限</label>
|
|
188
|
-
<input type="number" class="input_search" style="width:60%" v-model="
|
|
188
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_use_limit"
|
|
189
189
|
placeholder='表具使用年限' >
|
|
190
190
|
</div>
|
|
191
191
|
<div class="col-sm-4 form-group">
|
|
@@ -794,8 +794,19 @@
|
|
|
794
794
|
} else {
|
|
795
795
|
this.ratioshow = false
|
|
796
796
|
}
|
|
797
|
+
},
|
|
798
|
+
'row.f_gas_date' (val) {
|
|
799
|
+
if (!this.row.f_use_limit) {
|
|
800
|
+
this.row.f_use_limit = this.$appdata.getSingleValue('使用年限')
|
|
801
|
+
}
|
|
802
|
+
if (!this.row.f_scrap_date && this.row.f_gas_date) {
|
|
803
|
+
if (this.row.f_use_limit !== undefined) {
|
|
804
|
+
let date = new Date(this.row.f_gas_date)
|
|
805
|
+
let year = date.getFullYear() + (this.row.f_use_limit / 1)
|
|
806
|
+
this.row.f_scrap_date = year + this.row.f_gas_date.slice(4)
|
|
807
|
+
}
|
|
808
|
+
}
|
|
797
809
|
}
|
|
798
|
-
|
|
799
810
|
},
|
|
800
811
|
computed: {
|
|
801
812
|
|
|
@@ -106,6 +106,13 @@
|
|
|
106
106
|
<input type="text" v-model="baseinfo.base.f_zuhu_phone" class="input_search" style="width:60%"
|
|
107
107
|
placeholder="租户电话">
|
|
108
108
|
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="row">
|
|
111
|
+
<div style="" class="col-sm-8 form-group">
|
|
112
|
+
<label for="f_zuhu_idnumber" class="font_normal_body">租户身份证</label>
|
|
113
|
+
<input type="text" v-model="baseinfo.base.f_zuhu_idnumber" class="input_search" style="width:80%"
|
|
114
|
+
placeholder="租户身份证">
|
|
115
|
+
</div>
|
|
109
116
|
<div style="" class="col-sm-4 form-group">
|
|
110
117
|
<label for="f_is_mgq" class="font_normal_body "> 付款类型</label>
|
|
111
118
|
<v-select id="f_is_mgq" :value.sync="baseinfo.base.f_cost_type" v-model="baseinfo.base.f_cost_type"
|
|
@@ -49,7 +49,9 @@
|
|
|
49
49
|
} else {
|
|
50
50
|
self.temp = []
|
|
51
51
|
for (let i = 0; i < getBtns.length; i++) {
|
|
52
|
-
|
|
52
|
+
// 不需要权限的按钮
|
|
53
|
+
let noInclude = getBtns[i].name === '垃圾费收费'
|
|
54
|
+
if (noInclude || self.$login.r.includes(getBtns[i].name)) {
|
|
53
55
|
// 进行权限验证
|
|
54
56
|
self.temp.push(getBtns[i])
|
|
55
57
|
}
|
|
@@ -116,8 +116,7 @@
|
|
|
116
116
|
<transfermanage-detail :data="row" v-if="row.type === '过户'"></transfermanage-detail>
|
|
117
117
|
<othercharge-detail :data="row" v-if="row.type === '其他收费欠费登记'||row.type === '其他收费'||row.type === '维修收费'"></othercharge-detail>
|
|
118
118
|
<inputtorchange-detail :data="row" v-if="row.type === '抄表员变更'"></inputtorchange-detail>
|
|
119
|
-
<offgasaddgas-detail :data="row"
|
|
120
|
-
v-if=" row.type === '换表补气' ||row.type === '其他补气' || row.type === '清零补气' || row.type === '掉气补气'||row.type==='物联网补费'||row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气' " ></offgasaddgas-detail>
|
|
119
|
+
<offgasaddgas-detail :data="row" v-if=" row.type === '换表补气' ||row.type === '其他补气' || row.type === '清零补气' || row.type === '掉气补气'||row.type==='物联网补费'||row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气' " ></offgasaddgas-detail>
|
|
121
120
|
<iotopen-detail :data="row" v-if="row.type === '开通'"></iotopen-detail>
|
|
122
121
|
<iotmetercenter-detail :data="row" v-if="row.type === '物联网收费' || row.type === '物联网开户' || row.type === '调价退费' || row.type === '调价补费'||row.type === '退押金' "></iotmetercenter-detail>
|
|
123
122
|
<overuserchange-detail :data="row" v-if="row.type === '超用收费'"></overuserchange-detail>
|
|
@@ -134,10 +133,8 @@
|
|
|
134
133
|
<autoaccounts-cancel-detail :data="row" v-if="row.type === '自动下账撤销'"></autoaccounts-cancel-detail>
|
|
135
134
|
<transfermanage-cancel-detail :data="row" v-if="row.type === '过户撤销'"></transfermanage-cancel-detail>
|
|
136
135
|
<cardmetercenter-cancel-detail :data="row" v-if="row.type === '卡表收费撤销'"></cardmetercenter-cancel-detail>
|
|
137
|
-
<machinemetercenter-cancel-detail :data="row"
|
|
138
|
-
|
|
139
|
-
<machinemetercenter-cancel-detail :data="row"
|
|
140
|
-
v-if="row.type == '预存缴费撤销'"></machinemetercenter-cancel-detail>
|
|
136
|
+
<machinemetercenter-cancel-detail :data="row" v-if="row.type === '机表收费撤销'"></machinemetercenter-cancel-detail>
|
|
137
|
+
<machinemetercenter-cancel-detail :data="row" v-if="row.type == '预存缴费撤销'"></machinemetercenter-cancel-detail>
|
|
141
138
|
<othercharge-cancel-detail :data="row" v-if="row.type === '其他收费撤销'"></othercharge-cancel-detail>
|
|
142
139
|
<replacecardmanage-cancel-detail :data="row" v-if="row.type === '补卡撤销'"></replacecardmanage-cancel-detail>
|
|
143
140
|
<iotmetercenter-cancel-detail :data="row" v-if="row.type === '物联网收费撤销'"></iotmetercenter-cancel-detail>
|
|
@@ -148,6 +145,7 @@
|
|
|
148
145
|
<advance-delivery-detail :data="row" v-if="row.type ==='卡表预交' "></advance-delivery-detail>
|
|
149
146
|
<machinemetercenter-detail :data="row" v-if="row.type === '预存缴费'||row.type == '调价预存'"></machinemetercenter-detail>
|
|
150
147
|
<gasloss-detail :data="row" v-if="row.type === '气损收费' || row.type === '气损收费撤销'"></gasloss-detail>
|
|
148
|
+
<garbage-detail :data="row" v-if="row.type === '垃圾费收费'"></garbage-detail>
|
|
151
149
|
</div>
|
|
152
150
|
<div style="margin-top: 8px;background: #FFF;" v-if="!$parent.$parent.$parent.isSelected(row)">
|
|
153
151
|
<span>{{row.f_describe}}</span>
|
|
@@ -462,6 +460,8 @@
|
|
|
462
460
|
} else {
|
|
463
461
|
name = 'rs/report/iot_sell'
|
|
464
462
|
}
|
|
463
|
+
} else if (type === '垃圾费收费') {
|
|
464
|
+
name = 'rs/report/garbageChargeReport'
|
|
465
465
|
}
|
|
466
466
|
return name
|
|
467
467
|
},
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<partial-view v-ref:pv>
|
|
4
|
+
<div class="row">
|
|
5
|
+
<label class = "col-sm-4">开始日期:</label>
|
|
6
|
+
<span class = "col-sm-8" style="text-align:left">{{model.min_hand_date}}</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<label class = "col-sm-4">结束日期:</label>
|
|
10
|
+
<span class = "col-sm-8" style="text-align:left">{{model.max_hand_date}}</span>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row">
|
|
13
|
+
<label class = "col-sm-4">缴费月数:</label>
|
|
14
|
+
<span class = "col-sm-8" style="text-align:left">{{model.month}}</span>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<label class = "col-sm-4">总金额:</label>
|
|
18
|
+
<span class = "col-sm-8" style="text-align:left">{{model.money}}</span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row">
|
|
21
|
+
<label class = "col-sm-4">操作人:</label>
|
|
22
|
+
<span class = "col-sm-8" style="text-align:left">{{data.f_operator}}</span>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="row">
|
|
25
|
+
<label class = "col-sm-4">操作时间:</label>
|
|
26
|
+
<span class = "col-sm-8" style="text-align:left">{{data.f_operate_date}}</span>
|
|
27
|
+
</div>
|
|
28
|
+
</partial-view>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
export default {
|
|
34
|
+
title: '垃圾费收费详情',
|
|
35
|
+
props: ['data'],
|
|
36
|
+
data () {
|
|
37
|
+
return {
|
|
38
|
+
model: {}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
ready () {
|
|
42
|
+
let sql = 'garbageDetail'
|
|
43
|
+
let condition = {
|
|
44
|
+
recordId: this.data.id
|
|
45
|
+
}
|
|
46
|
+
this.$info(`加载数据中..., sql:${sql}`)
|
|
47
|
+
this.$refs.pv.load('rs/logic/getOneData', {data: {sql: sql, params: condition}}).then((a) => {
|
|
48
|
+
this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
|
|
49
|
+
this.model = a.data
|
|
50
|
+
}).catch((error) => {
|
|
51
|
+
if (error.status) {
|
|
52
|
+
this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
throw error
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</script>
|
|
@@ -426,8 +426,8 @@ let readyGen = async function (self) {
|
|
|
426
426
|
let downGen = function* (type, condition, data, self) {
|
|
427
427
|
self.condition = condition
|
|
428
428
|
self.msg = '确认下发计划'
|
|
429
|
-
let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
|
|
430
|
-
|
|
429
|
+
// let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
|
|
430
|
+
// condition: self.condition}}, {resolveMsg: null, rejectMsg: '获取待审核数据异常!!'})
|
|
431
431
|
// if (type === 'single') {
|
|
432
432
|
// getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {
|
|
433
433
|
// data: {
|
|
@@ -461,19 +461,19 @@ let downGen = function* (type, condition, data, self) {
|
|
|
461
461
|
// console.log('========================================================================================')
|
|
462
462
|
// self.unhandplan.push(temp)
|
|
463
463
|
// }
|
|
464
|
-
for (let i = 0; i < getUnhand.data.length; i++) {
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
}
|
|
472
|
-
if (getUnhand.data.length > 0) {
|
|
473
|
-
|
|
474
|
-
} else {
|
|
475
|
-
|
|
476
|
-
}
|
|
464
|
+
// for (let i = 0; i < getUnhand.data.length; i++) {
|
|
465
|
+
// let temp = {
|
|
466
|
+
// id: getUnhand.data[i].id,
|
|
467
|
+
// f_user_id: getUnhand.data[i].f_user_id,
|
|
468
|
+
// f_userfiles_id: getUnhand.data[i].f_userfiles_id
|
|
469
|
+
// }
|
|
470
|
+
// self.unhandplan.push(temp)
|
|
471
|
+
// }
|
|
472
|
+
// if (getUnhand.data.length > 0) {
|
|
473
|
+
// self.msg = self.msg + `, 警告: 之前有 ${getUnhand.data.length} 条待审核数据`
|
|
474
|
+
// } else {
|
|
475
|
+
// self.unhandplan = []
|
|
476
|
+
// }
|
|
477
477
|
// console.log('1111111:',self.msg)
|
|
478
478
|
self.show = true
|
|
479
479
|
}
|