sale-client 3.5.112 → 3.5.113
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 +193 -193
- package/package.json +1 -1
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +21 -9
- package/src/filiale/alashan/UserDeviceInfoTest.vue +1 -30
- package/src/filiale/chengtou/plugins/FileManageService.js +1 -1
- package/src/filiale/dongguan/components/BasicLiving.vue +1 -1
- package/src/filiale/meihekou/batch/batchEditManage.vue +132 -132
- package/src/filiale/meihekou/batch/batchUserList.vue +456 -456
- package/src/filiale/meihekou/sale.js +45 -45
- package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
- package/src/filiale/tongchuan/ChargeList.vue +1 -1
- package/src/filiale/tongchuan/common/userinfo_detail/iot_detail/WatchCollection.vue +115 -115
- package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +783 -783
- package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
- package/src/filiale/zhongyi/MeterReadAudit.vue +347 -347
- package/src/main.js +22 -22
- package/yarn-error.log +9224 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,193 +1,193 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
7
|
-
var app = express()
|
|
8
|
-
var compiler = webpack(config)
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
10
|
-
|
|
11
|
-
// Define HTTP proxies to your custom API backend
|
|
12
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://
|
|
16
|
-
|
|
17
|
-
// var fuwu = 'http://121.36.106.17:8400/'
|
|
18
|
-
// 铜川正式
|
|
19
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
-
// 铜川测试
|
|
21
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
22
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
23
|
-
// 韶关
|
|
24
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
25
|
-
// 巩义测试服务
|
|
26
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
27
|
-
// 燎原测试服务
|
|
28
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
29
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
30
|
-
|
|
31
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
32
|
-
|
|
33
|
-
var proxyTable = {
|
|
34
|
-
// '/'
|
|
35
|
-
// '/rs/logic/stopBasicLivingNew':{
|
|
36
|
-
// target:'http://127.0.0.1:8080'
|
|
37
|
-
// },
|
|
38
|
-
// '/rs/logic/getBatchOperaPro':{
|
|
39
|
-
// target:'http://127.0.0.1:8080'
|
|
40
|
-
// },
|
|
41
|
-
// '/rs/sql/sale_getUser':{
|
|
42
|
-
// target:'http://127.0.0.1:8080'
|
|
43
|
-
// },
|
|
44
|
-
// '/rs/logic/getOperBtns':{
|
|
45
|
-
// target:'http://127.0.0.1:8080'
|
|
46
|
-
// },
|
|
47
|
-
// '/rs/file/uploadFile':{
|
|
48
|
-
// target:'http://127.0.0.1:8080'
|
|
49
|
-
// },
|
|
50
|
-
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
51
|
-
// target:'http://127.0.0.1:8080'
|
|
52
|
-
// },
|
|
53
|
-
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
54
|
-
// target:'http:127.0.0.1:8080'
|
|
55
|
-
// },
|
|
56
|
-
// '/rs/sql/getDownPlan':{
|
|
57
|
-
// target:'http:127.0.0.1:8080'
|
|
58
|
-
// },
|
|
59
|
-
// '/rs/logic/saleExport': {
|
|
60
|
-
// target: fuwu
|
|
61
|
-
// },
|
|
62
|
-
// '/rs/logic/saleGetExportProgress': {
|
|
63
|
-
// target: fuwu
|
|
64
|
-
// },
|
|
65
|
-
// '/rs/logic/getWarningMsg': {
|
|
66
|
-
// target: 'http://localhost:8080/'
|
|
67
|
-
// },
|
|
68
|
-
'/rs/file': {
|
|
69
|
-
target: fuwu
|
|
70
|
-
},
|
|
71
|
-
'/files': {
|
|
72
|
-
target: fuwu
|
|
73
|
-
},
|
|
74
|
-
// 查找资源服务数据
|
|
75
|
-
'/rs/search': {
|
|
76
|
-
target: fuwu
|
|
77
|
-
},
|
|
78
|
-
// 查找资源服务数据
|
|
79
|
-
'/rs/logic/getLogin': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
// 查找资源服务数据
|
|
83
|
-
'/rs/logic/getInitData': {
|
|
84
|
-
target: fuwu
|
|
85
|
-
},
|
|
86
|
-
'/rs/logic/getSaleInitData': {
|
|
87
|
-
target: fuwu
|
|
88
|
-
},
|
|
89
|
-
'/invoice': {
|
|
90
|
-
target: fuwu
|
|
91
|
-
},
|
|
92
|
-
// 用户登录服务地址
|
|
93
|
-
'/rs/user': {
|
|
94
|
-
target: fuwu
|
|
95
|
-
},
|
|
96
|
-
'/rs/path/getParams': {
|
|
97
|
-
target: fuwu
|
|
98
|
-
},
|
|
99
|
-
'/rs/data': {
|
|
100
|
-
target: fuwu
|
|
101
|
-
},
|
|
102
|
-
'/rs/license': {
|
|
103
|
-
target: fuwu
|
|
104
|
-
},
|
|
105
|
-
'/rs/db': {
|
|
106
|
-
target: fuwu
|
|
107
|
-
},
|
|
108
|
-
'/excel': {
|
|
109
|
-
target: fuwu
|
|
110
|
-
},
|
|
111
|
-
'/rs/config': {
|
|
112
|
-
target: fuwu
|
|
113
|
-
},
|
|
114
|
-
'/rs/sql/getLicenseById': {
|
|
115
|
-
target: fuwu
|
|
116
|
-
},
|
|
117
|
-
'/rs/sql/manage_getarealist': {
|
|
118
|
-
target: fuwu
|
|
119
|
-
},
|
|
120
|
-
'/rs/sql/manage_getstreetlist': {
|
|
121
|
-
target: fuwu
|
|
122
|
-
},
|
|
123
|
-
'/rs/report': {
|
|
124
|
-
target:
|
|
125
|
-
},
|
|
126
|
-
'/rs/vue': {
|
|
127
|
-
target: fuwu
|
|
128
|
-
},
|
|
129
|
-
'/webmeter': {
|
|
130
|
-
target:
|
|
131
|
-
},
|
|
132
|
-
'/rs': {
|
|
133
|
-
// target: 'http://192.168.30.63:8081/'
|
|
134
|
-
// target: 'http://121.36.106.17:8400/'
|
|
135
|
-
target: fuwu
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
140
|
-
publicPath: config.output.publicPath,
|
|
141
|
-
stats: {
|
|
142
|
-
colors: true,
|
|
143
|
-
chunks: false
|
|
144
|
-
}
|
|
145
|
-
})
|
|
146
|
-
|
|
147
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
148
|
-
// force page reload when html-webpack-plugin template changes
|
|
149
|
-
compiler.plugin('compilation', function (compilation) {
|
|
150
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
151
|
-
hotMiddleware.publish({action: 'reload'})
|
|
152
|
-
cb()
|
|
153
|
-
})
|
|
154
|
-
})
|
|
155
|
-
|
|
156
|
-
// proxy api requests
|
|
157
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
158
|
-
var options = proxyTable[context]
|
|
159
|
-
if (typeof options === 'string') {
|
|
160
|
-
options = {target: options}
|
|
161
|
-
}
|
|
162
|
-
app.use(proxyMiddleware(context, options))
|
|
163
|
-
})
|
|
164
|
-
|
|
165
|
-
// handle fallback for HTML5 history API
|
|
166
|
-
app.use(require('connect-history-api-fallback')())
|
|
167
|
-
// app.use(function (req, res, next) {
|
|
168
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
169
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
170
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
171
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
172
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
173
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
174
|
-
// next()
|
|
175
|
-
// })
|
|
176
|
-
|
|
177
|
-
// serve webpack bundle output
|
|
178
|
-
app.use(devMiddleware)
|
|
179
|
-
|
|
180
|
-
// enable hot-reload and state-preserving
|
|
181
|
-
// compilation error display
|
|
182
|
-
app.use(hotMiddleware)
|
|
183
|
-
|
|
184
|
-
// serve pure static assets
|
|
185
|
-
app.use('/static', express.static('./static'))
|
|
186
|
-
|
|
187
|
-
module.exports = app.listen(8085, function (err) {
|
|
188
|
-
if (err) {
|
|
189
|
-
console.log(err)
|
|
190
|
-
return
|
|
191
|
-
}
|
|
192
|
-
console.log('Listening at http://localhost:
|
|
193
|
-
})
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
|
|
7
|
+
var app = express()
|
|
8
|
+
var compiler = webpack(config)
|
|
9
|
+
// var proxy = httpProxy.createProxyServer()
|
|
10
|
+
|
|
11
|
+
// Define HTTP proxies to your custom API backend
|
|
12
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
+
var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
// var fuwu = 'http://192.168.50.4:8400'
|
|
16
|
+
var fuwu = 'http://39.99.85.14:8400'
|
|
17
|
+
// var fuwu = 'http://121.36.106.17:8400/'
|
|
18
|
+
// 铜川正式
|
|
19
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
+
// 铜川测试
|
|
21
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
22
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
23
|
+
// 韶关
|
|
24
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
25
|
+
// 巩义测试服务
|
|
26
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
27
|
+
// 燎原测试服务
|
|
28
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
29
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
30
|
+
|
|
31
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
32
|
+
|
|
33
|
+
var proxyTable = {
|
|
34
|
+
// '/'
|
|
35
|
+
// '/rs/logic/stopBasicLivingNew':{
|
|
36
|
+
// target:'http://127.0.0.1:8080'
|
|
37
|
+
// },
|
|
38
|
+
// '/rs/logic/getBatchOperaPro':{
|
|
39
|
+
// target:'http://127.0.0.1:8080'
|
|
40
|
+
// },
|
|
41
|
+
// '/rs/sql/sale_getUser':{
|
|
42
|
+
// target:'http://127.0.0.1:8080'
|
|
43
|
+
// },
|
|
44
|
+
// '/rs/logic/getOperBtns':{
|
|
45
|
+
// target:'http://127.0.0.1:8080'
|
|
46
|
+
// },
|
|
47
|
+
// '/rs/file/uploadFile':{
|
|
48
|
+
// target:'http://127.0.0.1:8080'
|
|
49
|
+
// },
|
|
50
|
+
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
51
|
+
// target:'http://127.0.0.1:8080'
|
|
52
|
+
// },
|
|
53
|
+
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
54
|
+
// target:'http:127.0.0.1:8080'
|
|
55
|
+
// },
|
|
56
|
+
// '/rs/sql/getDownPlan':{
|
|
57
|
+
// target:'http:127.0.0.1:8080'
|
|
58
|
+
// },
|
|
59
|
+
// '/rs/logic/saleExport': {
|
|
60
|
+
// target: fuwu
|
|
61
|
+
// },
|
|
62
|
+
// '/rs/logic/saleGetExportProgress': {
|
|
63
|
+
// target: fuwu
|
|
64
|
+
// },
|
|
65
|
+
// '/rs/logic/getWarningMsg': {
|
|
66
|
+
// target: 'http://localhost:8080/'
|
|
67
|
+
// },
|
|
68
|
+
'/rs/file': {
|
|
69
|
+
target: fuwu
|
|
70
|
+
},
|
|
71
|
+
'/files': {
|
|
72
|
+
target: fuwu
|
|
73
|
+
},
|
|
74
|
+
// 查找资源服务数据
|
|
75
|
+
'/rs/search': {
|
|
76
|
+
target: fuwu
|
|
77
|
+
},
|
|
78
|
+
// 查找资源服务数据
|
|
79
|
+
'/rs/logic/getLogin': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
// 查找资源服务数据
|
|
83
|
+
'/rs/logic/getInitData': {
|
|
84
|
+
target: fuwu
|
|
85
|
+
},
|
|
86
|
+
'/rs/logic/getSaleInitData': {
|
|
87
|
+
target: fuwu
|
|
88
|
+
},
|
|
89
|
+
'/invoice': {
|
|
90
|
+
target: fuwu
|
|
91
|
+
},
|
|
92
|
+
// 用户登录服务地址
|
|
93
|
+
'/rs/user': {
|
|
94
|
+
target: fuwu
|
|
95
|
+
},
|
|
96
|
+
'/rs/path/getParams': {
|
|
97
|
+
target: fuwu
|
|
98
|
+
},
|
|
99
|
+
'/rs/data': {
|
|
100
|
+
target: fuwu
|
|
101
|
+
},
|
|
102
|
+
'/rs/license': {
|
|
103
|
+
target: fuwu
|
|
104
|
+
},
|
|
105
|
+
'/rs/db': {
|
|
106
|
+
target: fuwu
|
|
107
|
+
},
|
|
108
|
+
'/excel': {
|
|
109
|
+
target: fuwu
|
|
110
|
+
},
|
|
111
|
+
'/rs/config': {
|
|
112
|
+
target: fuwu
|
|
113
|
+
},
|
|
114
|
+
'/rs/sql/getLicenseById': {
|
|
115
|
+
target: fuwu
|
|
116
|
+
},
|
|
117
|
+
'/rs/sql/manage_getarealist': {
|
|
118
|
+
target: fuwu
|
|
119
|
+
},
|
|
120
|
+
'/rs/sql/manage_getstreetlist': {
|
|
121
|
+
target: fuwu
|
|
122
|
+
},
|
|
123
|
+
'/rs/report': {
|
|
124
|
+
target: 'http://121.36.106.17:8400/'
|
|
125
|
+
},
|
|
126
|
+
'/rs/vue': {
|
|
127
|
+
target: fuwu
|
|
128
|
+
},
|
|
129
|
+
'/webmeter': {
|
|
130
|
+
target: 'http://192.168.50.4:8450'
|
|
131
|
+
},
|
|
132
|
+
'/rs': {
|
|
133
|
+
// target: 'http://192.168.30.63:8081/'
|
|
134
|
+
// target: 'http://121.36.106.17:8400/'
|
|
135
|
+
target: fuwu
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
140
|
+
publicPath: config.output.publicPath,
|
|
141
|
+
stats: {
|
|
142
|
+
colors: true,
|
|
143
|
+
chunks: false
|
|
144
|
+
}
|
|
145
|
+
})
|
|
146
|
+
|
|
147
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
148
|
+
// force page reload when html-webpack-plugin template changes
|
|
149
|
+
compiler.plugin('compilation', function (compilation) {
|
|
150
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
151
|
+
hotMiddleware.publish({action: 'reload'})
|
|
152
|
+
cb()
|
|
153
|
+
})
|
|
154
|
+
})
|
|
155
|
+
|
|
156
|
+
// proxy api requests
|
|
157
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
158
|
+
var options = proxyTable[context]
|
|
159
|
+
if (typeof options === 'string') {
|
|
160
|
+
options = {target: options}
|
|
161
|
+
}
|
|
162
|
+
app.use(proxyMiddleware(context, options))
|
|
163
|
+
})
|
|
164
|
+
|
|
165
|
+
// handle fallback for HTML5 history API
|
|
166
|
+
app.use(require('connect-history-api-fallback')())
|
|
167
|
+
// app.use(function (req, res, next) {
|
|
168
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
169
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
170
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
171
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
172
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
173
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
174
|
+
// next()
|
|
175
|
+
// })
|
|
176
|
+
|
|
177
|
+
// serve webpack bundle output
|
|
178
|
+
app.use(devMiddleware)
|
|
179
|
+
|
|
180
|
+
// enable hot-reload and state-preserving
|
|
181
|
+
// compilation error display
|
|
182
|
+
app.use(hotMiddleware)
|
|
183
|
+
|
|
184
|
+
// serve pure static assets
|
|
185
|
+
app.use('/static', express.static('./static'))
|
|
186
|
+
|
|
187
|
+
module.exports = app.listen(8085, function (err) {
|
|
188
|
+
if (err) {
|
|
189
|
+
console.log(err)
|
|
190
|
+
return
|
|
191
|
+
}
|
|
192
|
+
console.log('Listening at http://localhost:8089')
|
|
193
|
+
})
|
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="row">
|
|
95
95
|
<div class="col-sm-2"></div>
|
|
96
|
-
<input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
96
|
+
<input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
97
97
|
</div>
|
|
98
98
|
</article>
|
|
99
99
|
<footer slot="modal-footer" class="modal-footer">
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
import * as Util from '../../../Util'
|
|
395
395
|
|
|
396
396
|
let readyGen = async function (self) {
|
|
397
|
-
self.$refs.paged.$refs.cri.model.startDate =
|
|
397
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
|
|
398
398
|
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
399
399
|
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
400
400
|
self.loadMeterBooks()
|
|
@@ -414,12 +414,13 @@
|
|
|
414
414
|
dep: [],
|
|
415
415
|
user: []
|
|
416
416
|
},
|
|
417
|
-
config:{
|
|
418
|
-
examine: false
|
|
417
|
+
config: {
|
|
418
|
+
examine: false
|
|
419
419
|
},
|
|
420
420
|
imgfilename: '',
|
|
421
421
|
// 小区
|
|
422
422
|
residentialArea: [],
|
|
423
|
+
inputtouPerson: [],
|
|
423
424
|
imgshow: false,
|
|
424
425
|
criteriaShow: false,
|
|
425
426
|
orgCondtionStr: '',
|
|
@@ -444,8 +445,8 @@
|
|
|
444
445
|
'f_adjustable_name': '调压箱名称',
|
|
445
446
|
'f_inputtor': '抄表员'
|
|
446
447
|
},
|
|
447
|
-
auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
448
|
-
auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
448
|
+
auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
449
|
+
auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
449
450
|
meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
|
|
450
451
|
resultstate: this.$appdata.getParam('抄表结果状态'),
|
|
451
452
|
meterstates: this.$appdata.getParam('抄表状态') ? [{
|
|
@@ -475,7 +476,7 @@
|
|
|
475
476
|
methods: {
|
|
476
477
|
// 修正本期底数
|
|
477
478
|
amend (row) {
|
|
478
|
-
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
|
|
479
|
+
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
|
|
479
480
|
if (!tablebase) return
|
|
480
481
|
if (tablebase < 0) {
|
|
481
482
|
this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
|
|
@@ -596,9 +597,9 @@
|
|
|
596
597
|
this.imgshow = false
|
|
597
598
|
},
|
|
598
599
|
imgShow (val) {
|
|
599
|
-
console.log(
|
|
600
|
+
console.log('-----------val2:', val)
|
|
600
601
|
this.imgfilename = `rs/image/file/` + val
|
|
601
|
-
console.log(
|
|
602
|
+
console.log('-----------imgfilename2:', this.imgfilename)
|
|
602
603
|
this.imgshow = true
|
|
603
604
|
},
|
|
604
605
|
async getaddress () {
|
|
@@ -632,6 +633,17 @@
|
|
|
632
633
|
} else {
|
|
633
634
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
634
635
|
}
|
|
636
|
+
// 抄表员查询条件
|
|
637
|
+
this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
638
|
+
if (this.inputtouPerson.length !== 0) {
|
|
639
|
+
let str = JSON.stringify(this.inputtouPerson)
|
|
640
|
+
str = str.replace(/"/g, `'`)
|
|
641
|
+
str = str.replace(/\[/g, ``)
|
|
642
|
+
str = str.replace(/\]/g, ``)
|
|
643
|
+
console.log('=====抄表员model22222222222绑定====', str)
|
|
644
|
+
// 查询多个抄表员时条件
|
|
645
|
+
args.condition += ` and f_inputtor in ( ${str} )`
|
|
646
|
+
}
|
|
635
647
|
this.excelCondition = args.condition
|
|
636
648
|
this.$refs.paged.$refs.grid.selectInit()
|
|
637
649
|
this.model.search(args.condition, args.model)
|
|
@@ -696,7 +708,7 @@
|
|
|
696
708
|
},
|
|
697
709
|
loadMeterBooks () {
|
|
698
710
|
this.meterbooks = this.$GetSaleParam.getMeterBooks()
|
|
699
|
-
}
|
|
711
|
+
}
|
|
700
712
|
|
|
701
713
|
},
|
|
702
714
|
computed: {
|
|
@@ -326,36 +326,7 @@ export default {
|
|
|
326
326
|
})
|
|
327
327
|
},
|
|
328
328
|
closeModal () {
|
|
329
|
-
|
|
330
|
-
let deleteData = []
|
|
331
|
-
for (let [index, row] of this.devicesinfo.entries()) {
|
|
332
|
-
switch (row.f_devices_type) {
|
|
333
|
-
case '壁挂炉':
|
|
334
|
-
if (!(row.f_brand && row.f_input_person && row.f_input_date && row.watchpurchase)) {
|
|
335
|
-
deleteData.push(index)
|
|
336
|
-
cannotclose = true
|
|
337
|
-
}
|
|
338
|
-
break
|
|
339
|
-
case '热水器':
|
|
340
|
-
if (!(row.f_brand)) {
|
|
341
|
-
deleteData.push(index)
|
|
342
|
-
cannotclose = true
|
|
343
|
-
}
|
|
344
|
-
break
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
if (cannotclose) {
|
|
348
|
-
this.$showMessage('新增设备有必填项没有填写,如果此时退出当前页面数据会丢失,请确定是否退出?', ['confirm', 'cancel']).then(async (res) => {
|
|
349
|
-
if (res === 'confirm') {
|
|
350
|
-
for (let i = deleteData.length - 1; i >= 0; i--) {
|
|
351
|
-
this.devicesinfo.splice(deleteData[i], 1)
|
|
352
|
-
}
|
|
353
|
-
this.show_devices = false
|
|
354
|
-
}
|
|
355
|
-
})
|
|
356
|
-
} else {
|
|
357
|
-
this.show_devices = false
|
|
358
|
-
}
|
|
329
|
+
this.show_devices = false
|
|
359
330
|
}
|
|
360
331
|
}
|
|
361
332
|
}
|
|
@@ -203,7 +203,7 @@ let FileManageService = {
|
|
|
203
203
|
meter.f_adjustable_id = meter.f_adjustable.length > 0 ? meter.f_adjustable[0].id : null
|
|
204
204
|
meter.f_userfiles_address = meter.f_userfiles_address ? meter.f_userfiles_address : null
|
|
205
205
|
// 气表状态需要根据表型判断是否需要开通操作 目前物联网表需要做开通操作
|
|
206
|
-
meter.f_table_state = result.f_user_state === '预备'
|
|
206
|
+
meter.f_table_state = result.f_user_state === '预备' ? '待开通' : '正常'
|
|
207
207
|
if (!meter.f_userfiles_id) {
|
|
208
208
|
// meter.f_whether_hairpin = !item.gasbrand[0].f_meter_type.includes('机表') ? '未发' : '无卡'
|
|
209
209
|
// 所有表变成未发
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
f_price_id: this.model.f_price_id,
|
|
250
250
|
f_price_name: this.model.f_price_name
|
|
251
251
|
}
|
|
252
|
-
let res =await this.$resetpost('rs/logic/
|
|
252
|
+
let res =await this.$resetpost('rs/logic/stopBasicLiving', {data: data},{resolveMsg: null, rejectMsg: null})
|
|
253
253
|
this.initModel()
|
|
254
254
|
this.$dispatch('success','isBasicLiving')
|
|
255
255
|
}else {
|