sale-client 3.5.19 → 3.5.22
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 +1 -0
- package/src/components/FilesManage/MeterinfoTest.vue +3 -3
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/components/FilesManage/UserMeterInfoTest.vue +3 -2
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +15 -3
- package/src/components/revenue/base/leftview/meterinfodetail.vue +2 -1
- package/src/components/revenue/base/rightview/CardList.vue +7 -7
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +28 -29
- 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/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +427 -0
- package/src/filiale/dongguan/components/meterinfodetail.vue +243 -0
- package/src/filiale/dongguan/sale.js +3 -0
- package/src/filiale/guangxi/CardService.js +17 -0
- package/src/filiale/meihekou/MeterinfoTest.vue +3 -3
- package/src/filiale/qianneng/eticket/EticketPrint.vue +369 -369
- package/src/filiale/shaoguan/handListMaintain.vue +11 -11
- package/src/filiale/tongchuan/common/userinfo_detail/iot_detail/WatchCollection.vue +4 -4
- package/src/main.js +22 -22
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://127.0.0.1:8080
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://192.168.50.4: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: 'http://192.168.50.4:8450'
|
|
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://127.0.0.1:8080', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://192.168.50.4: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: 'http://192.168.50.4:8450'
|
|
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
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
class="form-group button-range">
|
|
43
43
|
<!--<button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.showFileInfo()">查看批量状态-->
|
|
44
44
|
<!--</button>-->
|
|
45
|
+
<button class="button_search button_spacing" type="button" @click="$parent.$parent.goChargeManage()">去收费</button>
|
|
45
46
|
|
|
46
47
|
<button @click="search(), $parent.$parent.clean()" class="button_search button_spacing"
|
|
47
48
|
style="float: right">查询
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<input type="text" class="input_search" style="width:60%" v-show="false" v-model="$refs.brand.selectedItems"
|
|
44
44
|
v-validate:brand='{required: true }'>
|
|
45
45
|
<v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
|
|
46
|
-
search @change='brandChange' v-model='row.gasbrand' v-ref:brand></v-select>
|
|
46
|
+
search @change='brandChange' v-model='row.gasbrand' :disabled="curuser.f_user_state != '预备'" v-ref:brand></v-select>
|
|
47
47
|
</div>
|
|
48
48
|
<div class="col-sm-4 form-group" :class="[$m.model.required ? 'has-error' : '']">
|
|
49
49
|
<label for="gasmodel" class="font_normal_body">气表型号</label>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
v-validate:model='{required: true }'>
|
|
52
52
|
<v-select :value.sync="row.gasmodel" :options='row.gasbrand[0].gasmodel' placeholder='气表型号'
|
|
53
53
|
close-on-select
|
|
54
|
-
v-model='row.gasmodel' :disabled=
|
|
54
|
+
v-model='row.gasmodel' :disabled="row.gasbrand.length === 0 || curuser.f_user_state != '预备'" v-ref:model></v-select>
|
|
55
55
|
</div>
|
|
56
56
|
<div class="col-sm-4 form-group">
|
|
57
57
|
<label for="f_meter_base" class="font_normal_body"> 累购气量</label>
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
templat: '' // 临时纬度
|
|
566
566
|
}
|
|
567
567
|
},
|
|
568
|
-
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id','overdueset'],
|
|
568
|
+
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
569
569
|
async ready () {
|
|
570
570
|
console.log('看看meter里面的数据', this.meter, this.row)
|
|
571
571
|
this.row = Object.assign(this.row, this.meter, {})
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div style="height: auto;width: 100%">
|
|
20
|
-
<file-user-meter-info :meterinfo.sync="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :overdueset="overdueset"
|
|
20
|
+
<file-user-meter-info :meterinfo.sync="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :overdueset="overdueset" :curuser="row"
|
|
21
21
|
:f_userinfo_id="data.baseinfo.base.f_userinfo_id" :addressinfo="data.addressinfo" :baseinfo.sync="data.baseinfo.base" v-ref:meter></file-user-meter-info>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<button class="button_search" style="width: max-content" @click="showDevices($index, row)">用气设备信息</button>
|
|
10
10
|
<button class="button_search" style="width: max-content" @click="showFire($index, row)">点火信息</button>
|
|
11
11
|
</div>
|
|
12
|
-
<file-meter-info :meter="row" :f_filialeid="f_filialeid" :usertype="usertype" :gasproperties="gasproperties" :overdueset="overdueset" @self-valid='valida'
|
|
12
|
+
<file-meter-info :curuser="curuser" :meter="row" :f_filialeid="f_filialeid" :usertype="usertype" :gasproperties="gasproperties" :overdueset="overdueset" @self-valid='valida'
|
|
13
13
|
@delete-meter="deleteMeter($index)" :f_userinfo_id="f_userinfo_id"></file-meter-info>
|
|
14
14
|
<file-user-fire-info @clearfire="clearfire(row)" :addressinfo="addressinfo" :fireinfo.sync="fireinfo" :show_fire.sync="show_fire" :meter.sync="row" :baseinfo.sync="baseinfo"
|
|
15
15
|
:userinfoid='data.baseinfo.base.f_userinfo_id'></file-user-fire-info>
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
baseinfo:{},
|
|
56
56
|
f_filialeid: {},
|
|
57
57
|
f_userinfo_id: {},
|
|
58
|
-
overdueset:{}
|
|
58
|
+
overdueset:{},
|
|
59
|
+
curuser: {}
|
|
59
60
|
},
|
|
60
61
|
ready () {
|
|
61
62
|
console.log('表具信息,,,,', this.meterinfo)
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
</div>
|
|
143
143
|
<div class="col-sm-4">
|
|
144
144
|
<label class="font_normal_body_new">抄表册名</label>
|
|
145
|
-
<input class="input-underline" style="width:45%" :value="'['+row.f_book_code + '] '+ (row.f_book_name ? row.f_book_name:'')" readonly>
|
|
145
|
+
<input class="input-underline" style="width:45%" :value="(row.f_book_code!=null ? '['+row.f_book_code + '] ' : '') + (row.f_book_name!=null ? row.f_book_name:'')" readonly>
|
|
146
146
|
</div>
|
|
147
147
|
<div class="col-sm-4">
|
|
148
148
|
<label class="font_normal_body_new">抄表册册序号</label>
|
|
@@ -317,7 +317,9 @@
|
|
|
317
317
|
uuidA = s.join('');
|
|
318
318
|
return uuidA;
|
|
319
319
|
},
|
|
320
|
-
goChargeManage () {
|
|
320
|
+
async goChargeManage () {
|
|
321
|
+
await this.$copyText(this.row.f_userinfo_code)
|
|
322
|
+
this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
|
|
321
323
|
this.$goto('charge-manage', {f: this.$login.f}, 'main')
|
|
322
324
|
},
|
|
323
325
|
openUser () {
|
|
@@ -383,7 +385,7 @@
|
|
|
383
385
|
}
|
|
384
386
|
}
|
|
385
387
|
</script>
|
|
386
|
-
<style scoped>
|
|
388
|
+
<style scoped lang="less">
|
|
387
389
|
.form-group-new > div {
|
|
388
390
|
height: 3% !important;
|
|
389
391
|
|
|
@@ -412,4 +414,14 @@
|
|
|
412
414
|
line-height: 30px;
|
|
413
415
|
}
|
|
414
416
|
|
|
417
|
+
.col-sm-4,.col-sm-8{
|
|
418
|
+
display: flex;
|
|
419
|
+
align-items: center;
|
|
420
|
+
margin: 7px 0;
|
|
421
|
+
|
|
422
|
+
label{
|
|
423
|
+
line-height: unset;
|
|
424
|
+
margin-bottom: 0;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
415
427
|
</style>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
row.type==='卡表收费撤销'||row.type==='物联网补费' || row.type==='物联网扣费'||row.type==='机表补费'||
|
|
72
72
|
row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气'||row.type==='气损收费' ||
|
|
73
73
|
row.type === '气表清零' || row.type === '掉气补气' || row.type === '其他补气' || row.type === '清零补气' ||
|
|
74
|
-
row.type === '换表补气') && row.type!=='新增户档案' && row.type!=='转气转出' && row.type!=='转气转入'">
|
|
74
|
+
row.type === '换表补气' || row.type === '过户') && row.type!=='新增户档案' && row.type!=='转气转出' && row.type!=='转气转入'">
|
|
75
75
|
<button data-toggle="dropdown" style="border: 0px;background: none;" type="button"
|
|
76
76
|
v-if="row.f_user_state==='正常'||row.f_user_state==='预备'||row.type==='气损收费' ">
|
|
77
77
|
<span class="glyphicon glyphicon-th-list"></span>
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
|
|
233
233
|
cancel_show: false,
|
|
234
234
|
cancel_data: null,
|
|
235
|
-
criteriaShow:false,
|
|
235
|
+
criteriaShow: false,
|
|
236
236
|
reissue_show: false,
|
|
237
237
|
reissue_data: null,
|
|
238
238
|
authArr: this.$login.r ? this.$login.r : []
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
this.cancel_show = false
|
|
390
390
|
},
|
|
391
391
|
cancelSucc () {
|
|
392
|
-
console.log(
|
|
392
|
+
console.log('-----------------------------撤销成功了,隐藏掉')
|
|
393
393
|
this.cancel_show = false
|
|
394
394
|
this.$dispatch('refresh')
|
|
395
395
|
},
|
|
@@ -411,13 +411,13 @@
|
|
|
411
411
|
} else if (type === '换新表' || type === '气表清零') {
|
|
412
412
|
name = 'rs/report/change_meter'
|
|
413
413
|
} else if (type === '机表收费' || type === '机表收费撤销') {
|
|
414
|
-
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')){
|
|
414
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
415
415
|
name = 'rs/report/fmy_machine_bill'
|
|
416
416
|
} else {
|
|
417
417
|
name = 'rs/report/machine_bill'
|
|
418
418
|
}
|
|
419
419
|
} else if (type === '物联网收费' || type === '物联网收费撤销' || type === '物联网开户' || type === '物联网赠气') {
|
|
420
|
-
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')){
|
|
420
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
421
421
|
name = 'rs/report/fmy_iot_bill'
|
|
422
422
|
} else {
|
|
423
423
|
name = 'rs/report/iot_bill'
|
|
@@ -431,13 +431,13 @@
|
|
|
431
431
|
} else if (type === '补卡') {
|
|
432
432
|
name = 'rs/report/replace_sell'
|
|
433
433
|
} else if (type === '发卡售气') {
|
|
434
|
-
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')){
|
|
434
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
435
435
|
name = 'rs/report/fmy_sendCard_bill'
|
|
436
436
|
} else {
|
|
437
437
|
name = 'rs/report/sendCard_bill'
|
|
438
438
|
}
|
|
439
439
|
} else if (type === '卡表收费' || type === '卡表收费撤销' || type === '卡表赠气' || type === '卡表收费撤销') {
|
|
440
|
-
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')){
|
|
440
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
441
441
|
name = 'rs/report/fmy_card_bill'
|
|
442
442
|
} else {
|
|
443
443
|
name = 'rs/report/card_bill'
|