sale-client 3.5.21 → 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/common/userinfo_detail/UserBaseInfoNew.vue +3 -1
- 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 +3 -1
- package/src/filiale/shaoguan/handListMaintain.vue +11 -11
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', 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
|
-
})
|
|
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">查询
|
|
@@ -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 () {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
:value.sync="model.f_startDate"
|
|
16
16
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
17
17
|
class="datepicker"
|
|
18
|
-
|
|
18
|
+
cond-value="h.f_input_date >= '{}'"
|
|
19
19
|
:show-reset-button="true"
|
|
20
20
|
class="select"
|
|
21
21
|
>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
:value.sync="model.f_endDate"
|
|
29
29
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
30
30
|
class="datepicker"
|
|
31
|
-
|
|
31
|
+
cond-value="h.f_input_date <= '{}'"
|
|
32
32
|
:show-reset-button="true"
|
|
33
33
|
>
|
|
34
34
|
</datepicker>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<div class="col-sm-2 form-group">
|
|
37
37
|
<label class="font_normal_body">客户编号</label>
|
|
38
38
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
|
|
39
|
-
|
|
39
|
+
cond-value="h.f_userinfo_code = '{}'" placeholder='客户编号'>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="col-sm-2 form-group">
|
|
42
42
|
<label class="font_normal_body">客户姓名</label>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<label class="font_normal_body" for="f_meter_classify">气表类型</label>
|
|
63
63
|
<v-select :options='$parent.$parent.meterType'
|
|
64
64
|
:value.sync="model.f_meter_classify"
|
|
65
|
-
close-on-select
|
|
65
|
+
close-on-select cond-value="h.f_meter_classify = '{}'"
|
|
66
66
|
placeholder='气表类型' value-single="true"
|
|
67
67
|
style="width: 60%" v-model="model.f_meter_classify"></v-select>
|
|
68
68
|
</div>
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<v-select :value.sync="model.f_gasbrand"
|
|
72
72
|
:options='$parent.$parent.getMeterBrands(model.f_meter_classify)'
|
|
73
73
|
placeholder='气表品牌' close-on-select
|
|
74
|
-
|
|
74
|
+
cond-value="h.f_meter_brand = '{}'"
|
|
75
75
|
search v-model='model.f_gasbrand' v-ref:brand></v-select>
|
|
76
76
|
</div>
|
|
77
77
|
<div class="col-sm-2 form-group">
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<label class="font_normal_body">抄 表 员</label>
|
|
114
114
|
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
115
115
|
style="width:60%"
|
|
116
|
-
|
|
116
|
+
cond-value="h.f_inputtor = '{}'"
|
|
117
117
|
:options='$parent.$parent.inputtores' placeholder='抄表员'
|
|
118
118
|
close-on-select
|
|
119
119
|
v-el:cc></v-select>
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<v-select :value.sync="model.f_hand_state"
|
|
142
142
|
:options='$parent.$parent.handstate'
|
|
143
143
|
placeholder='状态' close-on-select
|
|
144
|
-
|
|
144
|
+
cond-value="h.f_hand_state = '{}'"
|
|
145
145
|
search v-model='model.f_hand_state' v-ref:brand></v-select>
|
|
146
146
|
</div>
|
|
147
147
|
<div class="col-sm-2 form-group">
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
v-model="model.f_meter_state"
|
|
159
159
|
:value-single="true"
|
|
160
160
|
:options='$parent.$parent.meterstate'
|
|
161
|
-
placeholder='抄表状态'
|
|
161
|
+
placeholder='抄表状态' cond-value="h.f_meter_state = '{}'"
|
|
162
162
|
close-on-select ></v-select>
|
|
163
163
|
</div>
|
|
164
164
|
|
|
@@ -318,7 +318,7 @@ const myMap = new Map()
|
|
|
318
318
|
da: {
|
|
319
319
|
rows: []
|
|
320
320
|
},
|
|
321
|
-
baseSource:[{label: '全部', value: ''}, {label: '手动录入', value: " (f_tablebase_source='手动录入' or f_tablebase_source is null)"},{label: '自动识别', value: "f_tablebase_source ='自动识别'"}],
|
|
321
|
+
baseSource: [{label: '全部', value: ''}, {label: '手动录入', value: " (f_tablebase_source='手动录入' or f_tablebase_source is null)"}, {label: '自动识别', value: "f_tablebase_source ='自动识别'"}],
|
|
322
322
|
f_meternumber: '',
|
|
323
323
|
splitdata: '',
|
|
324
324
|
// 公司下拉
|
|
@@ -332,10 +332,10 @@ const myMap = new Map()
|
|
|
332
332
|
f_orgid: '',
|
|
333
333
|
checked1: true,
|
|
334
334
|
map: new Map(),
|
|
335
|
-
updateall:false,
|
|
336
|
-
updatemodel:{
|
|
335
|
+
updateall: false,
|
|
336
|
+
updatemodel: {
|
|
337
337
|
f_accounting_date: null,
|
|
338
|
-
f_start_date:null
|
|
338
|
+
f_start_date: null
|
|
339
339
|
},
|
|
340
340
|
priceSplit: false,
|
|
341
341
|
criteriaShow: false,
|
|
@@ -390,7 +390,7 @@ const myMap = new Map()
|
|
|
390
390
|
},
|
|
391
391
|
props: ['showMessage'],
|
|
392
392
|
methods: {
|
|
393
|
-
updateAll(){
|
|
393
|
+
updateAll () {
|
|
394
394
|
this.updateall = true
|
|
395
395
|
},
|
|
396
396
|
checkedALL () {
|
|
@@ -415,46 +415,45 @@ const myMap = new Map()
|
|
|
415
415
|
this.map.set(id, {id: id})
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
|
-
cancel(){
|
|
418
|
+
cancel () {
|
|
419
419
|
this.updateall = false
|
|
420
420
|
this.updatemodel = {
|
|
421
421
|
f_accounting_date: null,
|
|
422
422
|
f_start_date: null
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
|
-
async confirm(){
|
|
425
|
+
async confirm () {
|
|
426
426
|
let array = []
|
|
427
427
|
this.map.forEach((value, key, map) => {
|
|
428
428
|
array.push(map.get(key))
|
|
429
429
|
})
|
|
430
|
-
console.log('asdasd',array)
|
|
431
|
-
if (array.length>0){
|
|
430
|
+
console.log('asdasd', array)
|
|
431
|
+
if (array.length > 0) {
|
|
432
432
|
let condition = `id in (''`
|
|
433
433
|
array.forEach((row) => {
|
|
434
|
-
condition = condition
|
|
434
|
+
condition = condition + `,'${row.id}'`
|
|
435
435
|
})
|
|
436
|
-
condition = condition+ `)`
|
|
436
|
+
condition = condition + `)`
|
|
437
437
|
|
|
438
|
-
console.log('asdasd',condition)
|
|
439
|
-
let param={}
|
|
440
|
-
if(this.updatemodel.f_start_date){
|
|
441
|
-
param.f_start_date=this.updatemodel.f_start_date
|
|
438
|
+
console.log('asdasd', condition)
|
|
439
|
+
let param = {}
|
|
440
|
+
if (this.updatemodel.f_start_date) {
|
|
441
|
+
param.f_start_date = this.updatemodel.f_start_date
|
|
442
442
|
}
|
|
443
|
-
if(this.updatemodel.f_accounting_date){
|
|
444
|
-
param.f_accounting_date=this.updatemodel.f_accounting_date
|
|
443
|
+
if (this.updatemodel.f_accounting_date) {
|
|
444
|
+
param.f_accounting_date = this.updatemodel.f_accounting_date
|
|
445
445
|
}
|
|
446
|
-
await this.$resetpost('rs/logic/updatehandplan',{updatemodel:param,condition:condition})
|
|
446
|
+
await this.$resetpost('rs/logic/updatehandplan', {updatemodel: param, condition: condition})
|
|
447
447
|
this.search()
|
|
448
448
|
this.cancel()
|
|
449
|
-
} else{
|
|
449
|
+
} else {
|
|
450
450
|
this.$showMessage('当前未勾选用户,将为所有查询出来的用户进行批量修改,确定要操作吗?', ['confirm', 'cancel']).then(async (res) => {
|
|
451
451
|
if (res === 'confirm') {
|
|
452
|
-
await this.$resetpost('rs/logic/updatehandplan',{updatemodel:param,condition:this.condition})
|
|
452
|
+
await this.$resetpost('rs/logic/updatehandplan', {updatemodel: param, condition: this.condition})
|
|
453
453
|
this.search()
|
|
454
454
|
this.cancel()
|
|
455
455
|
}
|
|
456
456
|
})
|
|
457
|
-
|
|
458
457
|
}
|
|
459
458
|
},
|
|
460
459
|
async updateParams () {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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 () {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
:value.sync="model.f_startDate"
|
|
15
15
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
16
|
class="datepicker"
|
|
17
|
-
|
|
17
|
+
cond-value="h.f_input_date >= '{}'"
|
|
18
18
|
:show-reset-button="true"
|
|
19
19
|
class="select"
|
|
20
20
|
>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
:value.sync="model.f_endDate"
|
|
28
28
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
29
29
|
class="datepicker"
|
|
30
|
-
|
|
30
|
+
cond-value="h.f_input_date <= '{}'"
|
|
31
31
|
:show-reset-button="true"
|
|
32
32
|
>
|
|
33
33
|
</datepicker>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<div class="col-sm-2 form-group">
|
|
36
36
|
<label class="font_normal_body">客户编号</label>
|
|
37
37
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
|
|
38
|
-
|
|
38
|
+
cond-value="h.f_userinfo_code = '{}'" placeholder='客户编号'>
|
|
39
39
|
</div>
|
|
40
40
|
<div class="col-sm-2 form-group">
|
|
41
41
|
<label class="font_normal_body">客户姓名</label>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<label class="font_normal_body" for="f_meter_classify">气表类型</label>
|
|
61
61
|
<v-select :options='$parent.$parent.meterType'
|
|
62
62
|
:value.sync="model.f_meter_classify"
|
|
63
|
-
close-on-select
|
|
63
|
+
close-on-select cond-value="h.f_meter_classify = '{}'"
|
|
64
64
|
placeholder='气表类型' value-single="true"
|
|
65
65
|
style="width: 60%" v-model="model.f_meter_classify"></v-select>
|
|
66
66
|
</div>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<v-select :value.sync="model.f_gasbrand"
|
|
70
70
|
:options='$parent.$parent.getMeterBrands(model.f_meter_classify)'
|
|
71
71
|
placeholder='气表品牌' close-on-select
|
|
72
|
-
|
|
72
|
+
cond-value="h.f_meter_brand = '{}'"
|
|
73
73
|
search v-model='model.f_gasbrand' v-ref:brand></v-select>
|
|
74
74
|
</div>
|
|
75
75
|
<div class="col-sm-2 form-group">
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
<label class="font_normal_body">抄 表 员</label>
|
|
112
112
|
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
113
113
|
style="width:60%"
|
|
114
|
-
|
|
114
|
+
cond-value="h.f_inputtor = '{}'"
|
|
115
115
|
:options='$parent.$parent.inputtores' placeholder='抄表员'
|
|
116
116
|
close-on-select
|
|
117
117
|
v-el:cc></v-select>
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
<v-select :value.sync="model.f_hand_state"
|
|
140
140
|
:options='$parent.$parent.street'
|
|
141
141
|
placeholder='状态' close-on-select
|
|
142
|
-
|
|
142
|
+
cond-value="h.f_hand_state = '{}'"
|
|
143
143
|
search v-model='model.f_hand_state' v-ref:brand></v-select>
|
|
144
144
|
</div>
|
|
145
145
|
<div class="col-sm-2">
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
v-model="model.f_meter_state"
|
|
149
149
|
:value-single="true"
|
|
150
150
|
:options='$parent.$parent.meterstate'
|
|
151
|
-
placeholder='抄表状态'
|
|
151
|
+
placeholder='抄表状态' cond-value="h.f_meter_state = '{}'"
|
|
152
152
|
close-on-select ></v-select>
|
|
153
153
|
</div>
|
|
154
154
|
<res-select-group :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
@@ -423,9 +423,9 @@ const myMap = new Map()
|
|
|
423
423
|
if (!this.f_orgid) {
|
|
424
424
|
this.f_orgid = this.$login.f.orgid
|
|
425
425
|
}
|
|
426
|
-
let f_orgstr = this.orgCondtionStr ? this.orgCondtionStr : "and f_orgid in ('" + this.f_orgid + "')"
|
|
427
|
-
args.
|
|
428
|
-
this.model.search(args.condition, args.model)
|
|
426
|
+
let f_orgstr = this.orgCondtionStr ? this.orgCondtionStr : "and h.f_orgid in ('" + this.f_orgid + "')"
|
|
427
|
+
args.condValueStr = `${args.condValueStr} ` + f_orgstr
|
|
428
|
+
this.model.search(args.condition, args.model, args.condValueStr)
|
|
429
429
|
this.condition = args.condition
|
|
430
430
|
},
|
|
431
431
|
mergeRowData (joinrows) {
|