sale-client 3.5.83 → 3.5.84-ct
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 +167 -167
- package/package.json +1 -2
- package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -1
- package/src/components/chargeBatch/BatchCharge.vue +47 -20
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +4 -2
- package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +15 -5
- package/src/components/webMeter/paramSave/ParamSet.vue +19 -1
- package/src/components/webMeter/paramSaveNew/ParamHistory.vue +112 -63
- package/src/filiale/alashan/business/CardMeterCenter.vue +897 -0
- package/src/filiale/alashan/sale.js +2 -0
- package/src/filiale/chengtou/components/FilesManage/FileUserAddress.vue +742 -0
- package/src/filiale/chengtou/components/FilesManage/HighMeter.vue +1950 -0
- package/src/filiale/chengtou/components/FilesManage/UploadIdCard.vue +543 -0
- package/src/filiale/chengtou/components/FilesManage/UserGeneralInfoTest.vue +674 -672
- package/src/filiale/chengtou/sale.js +26 -14
- package/src/filiale/gehua/CancelService.js +296 -0
- package/src/filiale/gehua/CardMeterChargeCancel.vue +399 -0
- package/src/filiale/gehua/IOTMeterCenter.vue +1 -1
- package/src/filiale/gehua/MisPosPay.vue +1 -2
- package/src/filiale/gehua/sale.js +3 -0
- package/src/filiale/guangxi/ChargeOper.vue +2 -2
- package/src/filiale/guangxi/ResetMeter.vue +1 -1
- package/src/filiale/shaoguan/handListMaintain.vue +4 -2
- package/src/filiale/tongchuan/MeterinfoTest.vue +5 -5
- package/src/filiale/tongchuan/TransferRecords.vue +236 -0
- package/src/filiale/tongchuan/common/userinfo_detail/UserInfoDetailManageNew.vue +1 -1
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +1 -1
- package/src/filiale/tongchuan/sale.js +3 -1
- package/src/filiale/zhongsheng/charge/UserBaseInfoNew.vue +440 -0
- package/src/filiale/zhongsheng/sale.js +2 -0
- package/src/main.js +22 -22
- package/src/plugins/CardService.js +2 -2
- package/src/plugins/ChangeMeterService.js +760 -760
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,167 +1,167 @@
|
|
|
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://
|
|
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
|
-
'/rs/logic/getWarningMsg': {
|
|
40
|
-
target:
|
|
41
|
-
},
|
|
42
|
-
'/rs/file': {
|
|
43
|
-
target: fuwu
|
|
44
|
-
},
|
|
45
|
-
'/files': {
|
|
46
|
-
target: fuwu
|
|
47
|
-
},
|
|
48
|
-
// 查找资源服务数据
|
|
49
|
-
'/rs/search': {
|
|
50
|
-
target: fuwu
|
|
51
|
-
},
|
|
52
|
-
// 查找资源服务数据
|
|
53
|
-
'/rs/logic/getLogin': {
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
// 查找资源服务数据
|
|
57
|
-
'/rs/logic/getInitData': {
|
|
58
|
-
target: fuwu
|
|
59
|
-
},
|
|
60
|
-
'/rs/logic/getSaleInitData': {
|
|
61
|
-
target: fuwu
|
|
62
|
-
},
|
|
63
|
-
'/invoice': {
|
|
64
|
-
target: fuwu
|
|
65
|
-
},
|
|
66
|
-
// 用户登录服务地址
|
|
67
|
-
'/rs/user': {
|
|
68
|
-
target: fuwu
|
|
69
|
-
},
|
|
70
|
-
'/rs/path/getParams': {
|
|
71
|
-
target: fuwu
|
|
72
|
-
},
|
|
73
|
-
'/rs/data': {
|
|
74
|
-
target: fuwu
|
|
75
|
-
},
|
|
76
|
-
'/rs/license': {
|
|
77
|
-
target: fuwu
|
|
78
|
-
},
|
|
79
|
-
'/rs/db': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
'/excel': {
|
|
83
|
-
target: fuwu
|
|
84
|
-
},
|
|
85
|
-
'/rs/config': {
|
|
86
|
-
target: fuwu
|
|
87
|
-
},
|
|
88
|
-
'/rs/sql/getLicenseById': {
|
|
89
|
-
target: fuwu
|
|
90
|
-
},
|
|
91
|
-
'/rs/sql/manage_getarealist': {
|
|
92
|
-
target: fuwu
|
|
93
|
-
},
|
|
94
|
-
'/rs/sql/manage_getstreetlist': {
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/rs/report': {
|
|
98
|
-
target: 'http://121.36.106.17:8400/'
|
|
99
|
-
},
|
|
100
|
-
'/rs/vue': {
|
|
101
|
-
target: fuwu
|
|
102
|
-
},
|
|
103
|
-
'/webmeter': {
|
|
104
|
-
target: 'http://192.168.50.4:8450'
|
|
105
|
-
},
|
|
106
|
-
'/rs': {
|
|
107
|
-
// target: 'http://192.168.30.63:8081/'
|
|
108
|
-
// target: 'http://121.36.106.17:8400/'
|
|
109
|
-
target:
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
114
|
-
publicPath: config.output.publicPath,
|
|
115
|
-
stats: {
|
|
116
|
-
colors: true,
|
|
117
|
-
chunks: false
|
|
118
|
-
}
|
|
119
|
-
})
|
|
120
|
-
|
|
121
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
122
|
-
// force page reload when html-webpack-plugin template changes
|
|
123
|
-
compiler.plugin('compilation', function (compilation) {
|
|
124
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
125
|
-
hotMiddleware.publish({action: 'reload'})
|
|
126
|
-
cb()
|
|
127
|
-
})
|
|
128
|
-
})
|
|
129
|
-
|
|
130
|
-
// proxy api requests
|
|
131
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
132
|
-
var options = proxyTable[context]
|
|
133
|
-
if (typeof options === 'string') {
|
|
134
|
-
options = {target: options}
|
|
135
|
-
}
|
|
136
|
-
app.use(proxyMiddleware(context, options))
|
|
137
|
-
})
|
|
138
|
-
|
|
139
|
-
// handle fallback for HTML5 history API
|
|
140
|
-
app.use(require('connect-history-api-fallback')())
|
|
141
|
-
// app.use(function (req, res, next) {
|
|
142
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
143
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
144
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
145
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
146
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
147
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
148
|
-
// next()
|
|
149
|
-
// })
|
|
150
|
-
|
|
151
|
-
// serve webpack bundle output
|
|
152
|
-
app.use(devMiddleware)
|
|
153
|
-
|
|
154
|
-
// enable hot-reload and state-preserving
|
|
155
|
-
// compilation error display
|
|
156
|
-
app.use(hotMiddleware)
|
|
157
|
-
|
|
158
|
-
// serve pure static assets
|
|
159
|
-
app.use('/static', express.static('./static'))
|
|
160
|
-
|
|
161
|
-
module.exports = app.listen(8089, function (err) {
|
|
162
|
-
if (err) {
|
|
163
|
-
console.log(err)
|
|
164
|
-
return
|
|
165
|
-
}
|
|
166
|
-
console.log('Listening at http://localhost:8089')
|
|
167
|
-
})
|
|
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
|
+
'/rs/logic/getWarningMsg': {
|
|
40
|
+
target: 'http://localhost:8080/'
|
|
41
|
+
},
|
|
42
|
+
'/rs/file': {
|
|
43
|
+
target: fuwu
|
|
44
|
+
},
|
|
45
|
+
'/files': {
|
|
46
|
+
target: fuwu
|
|
47
|
+
},
|
|
48
|
+
// 查找资源服务数据
|
|
49
|
+
'/rs/search': {
|
|
50
|
+
target: fuwu
|
|
51
|
+
},
|
|
52
|
+
// 查找资源服务数据
|
|
53
|
+
'/rs/logic/getLogin': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
// 查找资源服务数据
|
|
57
|
+
'/rs/logic/getInitData': {
|
|
58
|
+
target: fuwu
|
|
59
|
+
},
|
|
60
|
+
'/rs/logic/getSaleInitData': {
|
|
61
|
+
target: fuwu
|
|
62
|
+
},
|
|
63
|
+
'/invoice': {
|
|
64
|
+
target: fuwu
|
|
65
|
+
},
|
|
66
|
+
// 用户登录服务地址
|
|
67
|
+
'/rs/user': {
|
|
68
|
+
target: fuwu
|
|
69
|
+
},
|
|
70
|
+
'/rs/path/getParams': {
|
|
71
|
+
target: fuwu
|
|
72
|
+
},
|
|
73
|
+
'/rs/data': {
|
|
74
|
+
target: fuwu
|
|
75
|
+
},
|
|
76
|
+
'/rs/license': {
|
|
77
|
+
target: fuwu
|
|
78
|
+
},
|
|
79
|
+
'/rs/db': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
'/excel': {
|
|
83
|
+
target: fuwu
|
|
84
|
+
},
|
|
85
|
+
'/rs/config': {
|
|
86
|
+
target: fuwu
|
|
87
|
+
},
|
|
88
|
+
'/rs/sql/getLicenseById': {
|
|
89
|
+
target: fuwu
|
|
90
|
+
},
|
|
91
|
+
'/rs/sql/manage_getarealist': {
|
|
92
|
+
target: fuwu
|
|
93
|
+
},
|
|
94
|
+
'/rs/sql/manage_getstreetlist': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/rs/report': {
|
|
98
|
+
target: 'http://121.36.106.17:8400/'
|
|
99
|
+
},
|
|
100
|
+
'/rs/vue': {
|
|
101
|
+
target: fuwu
|
|
102
|
+
},
|
|
103
|
+
'/webmeter': {
|
|
104
|
+
target: 'http://192.168.50.4:8450'
|
|
105
|
+
},
|
|
106
|
+
'/rs': {
|
|
107
|
+
// target: 'http://192.168.30.63:8081/'
|
|
108
|
+
// target: 'http://121.36.106.17:8400/'
|
|
109
|
+
target: fuwu
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
114
|
+
publicPath: config.output.publicPath,
|
|
115
|
+
stats: {
|
|
116
|
+
colors: true,
|
|
117
|
+
chunks: false
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
122
|
+
// force page reload when html-webpack-plugin template changes
|
|
123
|
+
compiler.plugin('compilation', function (compilation) {
|
|
124
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
125
|
+
hotMiddleware.publish({action: 'reload'})
|
|
126
|
+
cb()
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
|
|
130
|
+
// proxy api requests
|
|
131
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
132
|
+
var options = proxyTable[context]
|
|
133
|
+
if (typeof options === 'string') {
|
|
134
|
+
options = {target: options}
|
|
135
|
+
}
|
|
136
|
+
app.use(proxyMiddleware(context, options))
|
|
137
|
+
})
|
|
138
|
+
|
|
139
|
+
// handle fallback for HTML5 history API
|
|
140
|
+
app.use(require('connect-history-api-fallback')())
|
|
141
|
+
// app.use(function (req, res, next) {
|
|
142
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
143
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
144
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
145
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
146
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
147
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
148
|
+
// next()
|
|
149
|
+
// })
|
|
150
|
+
|
|
151
|
+
// serve webpack bundle output
|
|
152
|
+
app.use(devMiddleware)
|
|
153
|
+
|
|
154
|
+
// enable hot-reload and state-preserving
|
|
155
|
+
// compilation error display
|
|
156
|
+
app.use(hotMiddleware)
|
|
157
|
+
|
|
158
|
+
// serve pure static assets
|
|
159
|
+
app.use('/static', express.static('./static'))
|
|
160
|
+
|
|
161
|
+
module.exports = app.listen(8089, function (err) {
|
|
162
|
+
if (err) {
|
|
163
|
+
console.log(err)
|
|
164
|
+
return
|
|
165
|
+
}
|
|
166
|
+
console.log('Listening at http://localhost:8089')
|
|
167
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sale-client",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.84-ct",
|
|
4
4
|
"description": "收费模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"url": "https://gitee.com/aote/product.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"crypto-js": "^4.1.1",
|
|
21
20
|
"examples": "^0.1.0",
|
|
22
21
|
"js-file-download": "0.4.12",
|
|
23
22
|
"less-loader": "^2.2.3",
|
|
@@ -359,9 +359,12 @@ export default {
|
|
|
359
359
|
this.fileSaveData.userinfo.f_operatorid = nameId
|
|
360
360
|
this.fileSaveData.userinfo.f_depname = parentname
|
|
361
361
|
this.fileSaveData.userinfo.f_depid = parentnameId
|
|
362
|
+
this.fileSaveData.userinfo.userfiles.f_operator = name
|
|
363
|
+
this.fileSaveData.userinfo.userfiles.f_operatorid = nameId
|
|
364
|
+
this.fileSaveData.userinfo.userfiles.f_depname = parentname
|
|
365
|
+
this.fileSaveData.userinfo.userfiles.f_depid = parentnameId
|
|
362
366
|
}
|
|
363
367
|
}
|
|
364
|
-
|
|
365
368
|
this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
|
|
366
369
|
this.$parent.resdata = res.data.result[0].f_userinfo_code
|
|
367
370
|
if (!this.row) {
|
|
@@ -95,6 +95,8 @@
|
|
|
95
95
|
</template>
|
|
96
96
|
|
|
97
97
|
<script>
|
|
98
|
+
import {HttpResetClass} from "vue-client";
|
|
99
|
+
|
|
98
100
|
let asyncMachineMeterCenter = async function (self) {
|
|
99
101
|
await self.$getConfig(self, 'BatchCharge')
|
|
100
102
|
self.data.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
@@ -108,6 +110,9 @@ export default {
|
|
|
108
110
|
title: '团体缴费',
|
|
109
111
|
data () {
|
|
110
112
|
return {
|
|
113
|
+
// 请求对象(批量导入,查询进度使用)
|
|
114
|
+
HttpReset: new HttpResetClass(),
|
|
115
|
+
timer: null,
|
|
111
116
|
config: {
|
|
112
117
|
showupload: true, // 显示上传
|
|
113
118
|
hasPrint: true, // 默认打票
|
|
@@ -131,6 +136,10 @@ export default {
|
|
|
131
136
|
}
|
|
132
137
|
},
|
|
133
138
|
props: ['data', 'owe', 'civill'],
|
|
139
|
+
beforeDestroy () {
|
|
140
|
+
// 销毁定时器
|
|
141
|
+
if (this.timer) clearInterval(this.timer)
|
|
142
|
+
},
|
|
134
143
|
ready () {
|
|
135
144
|
this.paycodefocus()
|
|
136
145
|
if (!this.$login.r.includes('免交充值付款')) {
|
|
@@ -218,7 +227,9 @@ export default {
|
|
|
218
227
|
})
|
|
219
228
|
},
|
|
220
229
|
async machineChargeGen () {
|
|
230
|
+
let uuid = this.$login.guid()
|
|
221
231
|
let param = {
|
|
232
|
+
uuid: uuid,
|
|
222
233
|
chargeUser: [],
|
|
223
234
|
f_serial_id: this.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no,
|
|
224
235
|
f_balance: this.data.f_balance,
|
|
@@ -248,29 +259,45 @@ export default {
|
|
|
248
259
|
if (this.civill) {
|
|
249
260
|
param = Object.assign(this.civill, param)
|
|
250
261
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
262
|
+
try {
|
|
263
|
+
await this.$resetpost('rs/logic/batchPayment', {data: param}, {resolveMsg: null, rejectMsg: null}, 1000)
|
|
264
|
+
} catch (e) {}
|
|
265
|
+
this.$showMessage(`正在批量处理中, 请耐心等待...`, [])
|
|
266
|
+
// 启动定时器定时查询处理结果
|
|
267
|
+
this.timer = setInterval(async () => {
|
|
268
|
+
let res = await this.HttpReset.load('POST', 'rs/logic/getBatchOperaPro', {data: {uuid: uuid}}, {resolveMsg: null, rejectMsg: null})
|
|
269
|
+
if (res.data.msg || res.data.error) {
|
|
270
|
+
clearInterval(this.timer)
|
|
271
|
+
this.$closeMessage()
|
|
272
|
+
if (res.data.error) {
|
|
273
|
+
this.$showAlert(`${res.data.error}`, 'danger')
|
|
274
|
+
return
|
|
275
|
+
}
|
|
276
|
+
await this.$showMessage(res.data.msg)
|
|
277
|
+
if (this.config.hasPrint) {
|
|
278
|
+
if (this.data.f_print.indexOf('电子发票') == -1) {
|
|
279
|
+
console.log('this.config.hasBillManage', this.config.hasBillManage)
|
|
280
|
+
if (this.config.hasBillManage) {
|
|
281
|
+
// 启用发票管理,获取票据管理中的票号并存储记录
|
|
282
|
+
this.row.id = res.data.id
|
|
283
|
+
this.row.f_bill_type = '物联网收费'
|
|
284
|
+
this.row.f_bill_style = this.model.f_print[0]
|
|
285
|
+
this.print = true
|
|
286
|
+
} else {
|
|
287
|
+
this.data.id = res.data.id
|
|
288
|
+
this.print = true
|
|
289
|
+
}
|
|
290
|
+
} else if (this.config.printType === '国税发票') {
|
|
291
|
+
// TODO
|
|
292
|
+
} else if (this.model.f_print[0] === '电子发票') {
|
|
293
|
+
this.eticket_show = true
|
|
294
|
+
await this.$refs.eticketbill.openETicket([res.data.id], this.row, this.invoice_show_gas, this.invoice_is_pax, '物联网收费')
|
|
295
|
+
}
|
|
261
296
|
} else {
|
|
262
|
-
this.
|
|
263
|
-
this.print = true
|
|
297
|
+
this.clean()
|
|
264
298
|
}
|
|
265
|
-
} else if (this.config.printType === '国税发票') {
|
|
266
|
-
// TODO
|
|
267
|
-
} else if (this.model.f_print[0] === '电子发票') {
|
|
268
|
-
this.eticket_show = true
|
|
269
|
-
await this.$refs.eticketbill.openETicket([res.data.id], this.row, this.invoice_show_gas, this.invoice_is_pax, '物联网收费')
|
|
270
299
|
}
|
|
271
|
-
}
|
|
272
|
-
this.clean()
|
|
273
|
-
}
|
|
300
|
+
}, 5000)
|
|
274
301
|
},
|
|
275
302
|
clean () {
|
|
276
303
|
this.$dispatch('success')
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class="span" style="float:right;">
|
|
47
47
|
<button class="button_spacing button_search" title="批量维护抄表记录" :disabled="!this.$login.r.includes('批量维护抄表记录')" @click="$parent.$parent.updateAll()">批量维护</button>
|
|
48
48
|
<button class="button_search" @click="search()">查 询</button>
|
|
49
|
-
<export-excel :data="{condition: $parent.$parent.condition}"
|
|
49
|
+
<export-excel :data="{condition: $parent.$parent.condition,condValue: $parent.$parent.condValueStr}"
|
|
50
50
|
:field="$parent.$parent.getfield"
|
|
51
51
|
sqlurl="rs/logic/saleExport" sql-name="handFiles"
|
|
52
52
|
template-name='抄表记录'
|
|
@@ -376,7 +376,8 @@ const myMap = new Map()
|
|
|
376
376
|
],
|
|
377
377
|
meterType: [{label: '金额卡表', value: '金额卡表'}, {label: '气量卡表', value: '气量卡表'}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
|
|
378
378
|
inputtores: [{label: '全部', value: ''}],
|
|
379
|
-
orgCondtionStr: ''
|
|
379
|
+
orgCondtionStr: '',
|
|
380
|
+
condValueStr: ''
|
|
380
381
|
}
|
|
381
382
|
},
|
|
382
383
|
async ready () {
|
|
@@ -562,6 +563,7 @@ const myMap = new Map()
|
|
|
562
563
|
args.condValueStr = `${args.condValueStr} ` + f_orgstr
|
|
563
564
|
this.model.search(args.condition, args.model, args.condValueStr)
|
|
564
565
|
this.condition = args.condition
|
|
566
|
+
this.condValueStr = args.condValueStr
|
|
565
567
|
}
|
|
566
568
|
},
|
|
567
569
|
watch: {
|
|
@@ -76,6 +76,14 @@
|
|
|
76
76
|
close-on-select v-ref:type>
|
|
77
77
|
</v-select>
|
|
78
78
|
</div>
|
|
79
|
+
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
80
|
+
<label class="font_normal_body">气价状态</label>
|
|
81
|
+
<v-select :value.sync="model.f_price_state" v-model="model.f_price_state"
|
|
82
|
+
placeholder='气价状态' :options="$parent.$parent.price_states"
|
|
83
|
+
condition="f_price_state = '{}'"
|
|
84
|
+
close-on-select v-ref:type>
|
|
85
|
+
</v-select>
|
|
86
|
+
</div>
|
|
79
87
|
</div>
|
|
80
88
|
</div>
|
|
81
89
|
|
|
@@ -136,7 +144,7 @@
|
|
|
136
144
|
<td style="text-align:center"><nobr>{{row.f_value}}</nobr></td>
|
|
137
145
|
<td style="text-align:center"><nobr>{{row.f_filiale_name}}</nobr></td>
|
|
138
146
|
<td style="text-align:center"><button @click.stop="$parent.$parent.$parent.operate(row.f_price_id,row.f_price_name,row.f_filialeid)" class="btn btn-link"><b>{{row.usercount}}</b></button></td>
|
|
139
|
-
<td style="text-align:center">{{row.
|
|
147
|
+
<td style="text-align:center">{{row.f_price_state}}</td>
|
|
140
148
|
<td style="text-align:center" v-if="$parent.$parent.$parent.config.audit">
|
|
141
149
|
<button :disabled="$login.r.includes('气价审核')" @click.stop="$parent.$parent.$parent.passPrice(row)"
|
|
142
150
|
class="btn btn-link" v-if="row.f_state === '待审核'">通过
|
|
@@ -198,6 +206,7 @@
|
|
|
198
206
|
f_orgid: '',
|
|
199
207
|
gasproperties: [],
|
|
200
208
|
custom: [{label: '全部', value: ''}, {label: '正常气价', value: '正常气价'}, {label: '自定义气价', value: '自定义气价'}],
|
|
209
|
+
price_states: [{label: '全部', value: ''}, {label: '使用中', value: '使用中'}, {label: '删除', value: '删除'}, {label: '已作废', value: '已作废'}],
|
|
201
210
|
usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : []
|
|
202
211
|
}
|
|
203
212
|
},
|
|
@@ -215,13 +224,14 @@
|
|
|
215
224
|
},
|
|
216
225
|
ready () {
|
|
217
226
|
this.$refs.paged.$refs.cri.model.performDate = this.$login.toStandardDateString()
|
|
227
|
+
this.$refs.paged.$refs.cri.model.f_price_state = '使用中'
|
|
218
228
|
this.search()
|
|
219
229
|
},
|
|
220
230
|
methods: {
|
|
221
|
-
batchAdjust(){
|
|
222
|
-
this.$parent.usershow=true
|
|
223
|
-
this.$parent.priceid=null
|
|
224
|
-
this.$parent.priceorgid=null
|
|
231
|
+
batchAdjust () {
|
|
232
|
+
this.$parent.usershow = true
|
|
233
|
+
this.$parent.priceid = null
|
|
234
|
+
this.$parent.priceorgid = null
|
|
225
235
|
},
|
|
226
236
|
showhistory (row) {
|
|
227
237
|
this.show = true
|
|
@@ -52,6 +52,15 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
+
<div class="col-sm-2" >
|
|
56
|
+
<label class="font_normal_body">组织机构</label>
|
|
57
|
+
<res-select :initresid='$parent.$parent.curorgid'
|
|
58
|
+
@res-select="$parent.$parent.getorg"
|
|
59
|
+
class="select select_list"
|
|
60
|
+
restype='organization'
|
|
61
|
+
style="width: 60%">
|
|
62
|
+
</res-select>
|
|
63
|
+
</div>
|
|
55
64
|
<div class="col-sm-2 ">
|
|
56
65
|
<label class="font_normal_body">表 号 </label>
|
|
57
66
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
@@ -259,6 +268,8 @@ export default {
|
|
|
259
268
|
user: [],
|
|
260
269
|
meterbrand: [],
|
|
261
270
|
meterstyle: {},
|
|
271
|
+
curorgid: [this.$login.f.orgid],
|
|
272
|
+
f_orgid: '',
|
|
262
273
|
model: new PagedList('rs/sql/iot_getOpertionList', 20),
|
|
263
274
|
searchshow: false,
|
|
264
275
|
showParame: false,
|
|
@@ -321,6 +332,9 @@ export default {
|
|
|
321
332
|
// this.model.search('1=1')
|
|
322
333
|
},
|
|
323
334
|
methods: {
|
|
335
|
+
getorg (val) {
|
|
336
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
337
|
+
},
|
|
324
338
|
// let condition = 'f_meter_type = "物联网表"'
|
|
325
339
|
// this.$resetpost('/rs/sql/getAllBrands',{data:{condition:condition}},{}).then((res)=>{
|
|
326
340
|
// let arr=[]
|
|
@@ -415,11 +429,15 @@ export default {
|
|
|
415
429
|
this.search()
|
|
416
430
|
},
|
|
417
431
|
selfSearch (args) {
|
|
418
|
-
|
|
432
|
+
if (this.f_orgid) {
|
|
433
|
+
args.condition = `f_orgid in ${this.f_orgid} and ${args.condition}`
|
|
434
|
+
}
|
|
419
435
|
if (this.f_gasbrand_id.length > 0) {
|
|
420
436
|
args.condition += ' and f_gasbrand_id=' + this.f_gasbrand_id[0]
|
|
421
437
|
this.condition = args.condition
|
|
422
438
|
this.model.search(args.condition, args.model)
|
|
439
|
+
} else {
|
|
440
|
+
this.$showAlert(`请先选择气表品牌`, 'warning', 0)
|
|
423
441
|
}
|
|
424
442
|
// this.isCheckAll = false
|
|
425
443
|
},
|