sale-client 3.5.148 → 3.5.151
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 +195 -195
- package/package.json +1 -1
- package/src/components/FilesManage/MeterinfoTest.vue +22 -0
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -14
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +5 -0
- package/src/components/common/userinfo_detail/iot_detail/QueryHistoryInstruct.vue +304 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ResetMeter.vue +1 -1
- package/src/components/revenue/comprehen/StairPrice/GasPrice.vue +2 -2
- package/src/components/revenue/third/transferAudit.vue +55 -42
- package/src/components/revenue/third/transferAuditCenter.vue +102 -0
- package/src/components/revenue/third/transferAuditDisposeBasics.vue +209 -0
- package/src/filiale/dongguan/components/newchangemeter/ChangeMeter.vue +1 -1
- package/src/filiale/dongguan/components/newchangemeter/ResetMeter.vue +1 -1
- package/src/filiale/gehua/FileUserFiles.vue +0 -3
- package/src/filiale/guangxi/ChangeMeter.vue +1 -1
- package/src/filiale/guangxi/ResetMeter.vue +1 -1
- package/src/filiale/jinjiang/ChangeMeter.vue +1 -1
- package/src/filiale/liaoyuan/ChangeMeter.vue +1 -1
- package/src/filiale/macheng/ChangeMeter.vue +1 -1
- package/src/filiale/meihekou/ChangeMeter.vue +1 -1
- package/src/filiale/rongcheng/business/IOTMeterCenter.vue +1 -1
- package/src/filiale/shanxian/UserDeviceInfoTest.vue +420 -0
- package/src/filiale/shanxian/sale.js +10 -0
- package/src/filiale/shaoguan/newchangemeter/ChangeMeter.vue +1 -1
- package/src/filiale/tongchuan/ChangeMeter.vue +1 -1
- package/src/filiale/wuhai/ChangeMeter.vue +1 -1
- package/src/filiale/yongzhongch/ChangeMeter.vue +1 -1
- package/src/filiale/zhongyi/ChangeMeter.vue +1 -1
- package/src/filiale/zhongyi/machineDown.vue +1112 -0
- package/src/filiale/zhongyi/machineHand.vue +2068 -0
- package/src/filiale/zhongyi/sale.js +6 -1
- package/src/plugins/CardService.js +2 -2
- package/src/plugins/ChangeMeterService.js +6 -8
- package/src/plugins/FileManageService.js +1 -0
- package/src/sale.js +5 -2
package/build/dev-server.js
CHANGED
|
@@ -1,195 +1,195 @@
|
|
|
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://
|
|
18
|
-
// var fuwu = 'http://47.93.217.125:8400'
|
|
19
|
-
// var fuwu = 'http://121.36.106.17:8400/'
|
|
20
|
-
// 铜川正式
|
|
21
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
22
|
-
// 铜川测试
|
|
23
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
24
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
25
|
-
// 韶关
|
|
26
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
27
|
-
// 巩义测试服务
|
|
28
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
29
|
-
// 燎原测试服务
|
|
30
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
31
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
32
|
-
|
|
33
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
34
|
-
|
|
35
|
-
var proxyTable = {
|
|
36
|
-
// '/'
|
|
37
|
-
// '/rs/logic/stopBasicLivingNew':{
|
|
38
|
-
// target:'http://127.0.0.1:8080'
|
|
39
|
-
// },
|
|
40
|
-
// '/rs/logic/getBatchOperaPro':{
|
|
41
|
-
// target:'http://127.0.0.1:8080'
|
|
42
|
-
// },
|
|
43
|
-
// '/rs/sql/sale_getUser':{
|
|
44
|
-
// target:'http://127.0.0.1:8080'
|
|
45
|
-
// },
|
|
46
|
-
// '/rs/logic/getOperBtns':{
|
|
47
|
-
// target:'http://127.0.0.1:8080'
|
|
48
|
-
// },
|
|
49
|
-
// '/rs/file/uploadFile':{
|
|
50
|
-
// target:'http://127.0.0.1:8080'
|
|
51
|
-
// },
|
|
52
|
-
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
53
|
-
// target:'http://127.0.0.1:8080'
|
|
54
|
-
// },
|
|
55
|
-
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
56
|
-
// target:'http:127.0.0.1:8080'
|
|
57
|
-
// },
|
|
58
|
-
// '/rs/sql/getDownPlan':{
|
|
59
|
-
// target:'http:127.0.0.1:8080'
|
|
60
|
-
// },
|
|
61
|
-
// '/rs/logic/saleExport': {
|
|
62
|
-
// target: fuwu
|
|
63
|
-
// },
|
|
64
|
-
// '/rs/logic/saleGetExportProgress': {
|
|
65
|
-
// target: fuwu
|
|
66
|
-
// },
|
|
67
|
-
// '/rs/logic/getWarningMsg': {
|
|
68
|
-
// target: 'http://localhost:8080/'
|
|
69
|
-
// },
|
|
70
|
-
'/rs/file': {
|
|
71
|
-
target: fuwu
|
|
72
|
-
},
|
|
73
|
-
'/files': {
|
|
74
|
-
target: fuwu
|
|
75
|
-
},
|
|
76
|
-
// 查找资源服务数据
|
|
77
|
-
'/rs/search': {
|
|
78
|
-
target: fuwu
|
|
79
|
-
},
|
|
80
|
-
// 查找资源服务数据
|
|
81
|
-
'/rs/logic/getLogin': {
|
|
82
|
-
target: fuwu
|
|
83
|
-
},
|
|
84
|
-
// 查找资源服务数据
|
|
85
|
-
'/rs/logic/getInitData': {
|
|
86
|
-
target: fuwu
|
|
87
|
-
},
|
|
88
|
-
'/rs/logic/getSaleInitData': {
|
|
89
|
-
target: fuwu
|
|
90
|
-
},
|
|
91
|
-
'/invoice': {
|
|
92
|
-
target: fuwu
|
|
93
|
-
},
|
|
94
|
-
// 用户登录服务地址
|
|
95
|
-
'/rs/user': {
|
|
96
|
-
target: fuwu
|
|
97
|
-
},
|
|
98
|
-
'/rs/path/getParams': {
|
|
99
|
-
target: fuwu
|
|
100
|
-
},
|
|
101
|
-
'/rs/data': {
|
|
102
|
-
target: fuwu
|
|
103
|
-
},
|
|
104
|
-
'/rs/license': {
|
|
105
|
-
target: fuwu
|
|
106
|
-
},
|
|
107
|
-
'/rs/db': {
|
|
108
|
-
target: fuwu
|
|
109
|
-
},
|
|
110
|
-
'/excel': {
|
|
111
|
-
target: fuwu
|
|
112
|
-
},
|
|
113
|
-
'/rs/config': {
|
|
114
|
-
target: fuwu
|
|
115
|
-
},
|
|
116
|
-
'/rs/sql/getLicenseById': {
|
|
117
|
-
target: fuwu
|
|
118
|
-
},
|
|
119
|
-
'/rs/sql/manage_getarealist': {
|
|
120
|
-
target: fuwu
|
|
121
|
-
},
|
|
122
|
-
'/rs/sql/manage_getstreetlist': {
|
|
123
|
-
target: fuwu
|
|
124
|
-
},
|
|
125
|
-
'/rs/report': {
|
|
126
|
-
target: 'http://121.36.106.17:8400/'
|
|
127
|
-
},
|
|
128
|
-
'/rs/vue': {
|
|
129
|
-
target: fuwu
|
|
130
|
-
},
|
|
131
|
-
'/webmeter': {
|
|
132
|
-
target: 'http://192.168.50.4:8450'
|
|
133
|
-
},
|
|
134
|
-
'/rs': {
|
|
135
|
-
// target: 'http://192.168.30.63:8081/'
|
|
136
|
-
// target: 'http://121.36.106.17:8400/'
|
|
137
|
-
target: fuwu
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
142
|
-
publicPath: config.output.publicPath,
|
|
143
|
-
stats: {
|
|
144
|
-
colors: true,
|
|
145
|
-
chunks: false
|
|
146
|
-
}
|
|
147
|
-
})
|
|
148
|
-
|
|
149
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
150
|
-
// force page reload when html-webpack-plugin template changes
|
|
151
|
-
compiler.plugin('compilation', function (compilation) {
|
|
152
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
153
|
-
hotMiddleware.publish({action: 'reload'})
|
|
154
|
-
cb()
|
|
155
|
-
})
|
|
156
|
-
})
|
|
157
|
-
|
|
158
|
-
// proxy api requests
|
|
159
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
160
|
-
var options = proxyTable[context]
|
|
161
|
-
if (typeof options === 'string') {
|
|
162
|
-
options = {target: options}
|
|
163
|
-
}
|
|
164
|
-
app.use(proxyMiddleware(context, options))
|
|
165
|
-
})
|
|
166
|
-
|
|
167
|
-
// handle fallback for HTML5 history API
|
|
168
|
-
app.use(require('connect-history-api-fallback')())
|
|
169
|
-
// app.use(function (req, res, next) {
|
|
170
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
171
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
172
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
173
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
174
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
175
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
176
|
-
// next()
|
|
177
|
-
// })
|
|
178
|
-
|
|
179
|
-
// serve webpack bundle output
|
|
180
|
-
app.use(devMiddleware)
|
|
181
|
-
|
|
182
|
-
// enable hot-reload and state-preserving
|
|
183
|
-
// compilation error display
|
|
184
|
-
app.use(hotMiddleware)
|
|
185
|
-
|
|
186
|
-
// serve pure static assets
|
|
187
|
-
app.use('/static', express.static('./static'))
|
|
188
|
-
|
|
189
|
-
module.exports = app.listen(8089, function (err) {
|
|
190
|
-
if (err) {
|
|
191
|
-
console.log(err)
|
|
192
|
-
return
|
|
193
|
-
}
|
|
194
|
-
console.log('Listening at http://localhost:8089')
|
|
195
|
-
})
|
|
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.60.63:8800/'
|
|
18
|
+
// var fuwu = 'http://47.93.217.125:8400'
|
|
19
|
+
// var fuwu = 'http://121.36.106.17:8400/'
|
|
20
|
+
// 铜川正式
|
|
21
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
22
|
+
// 铜川测试
|
|
23
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
24
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
25
|
+
// 韶关
|
|
26
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
27
|
+
// 巩义测试服务
|
|
28
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
29
|
+
// 燎原测试服务
|
|
30
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
31
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
32
|
+
|
|
33
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
34
|
+
|
|
35
|
+
var proxyTable = {
|
|
36
|
+
// '/'
|
|
37
|
+
// '/rs/logic/stopBasicLivingNew':{
|
|
38
|
+
// target:'http://127.0.0.1:8080'
|
|
39
|
+
// },
|
|
40
|
+
// '/rs/logic/getBatchOperaPro':{
|
|
41
|
+
// target:'http://127.0.0.1:8080'
|
|
42
|
+
// },
|
|
43
|
+
// '/rs/sql/sale_getUser':{
|
|
44
|
+
// target:'http://127.0.0.1:8080'
|
|
45
|
+
// },
|
|
46
|
+
// '/rs/logic/getOperBtns':{
|
|
47
|
+
// target:'http://127.0.0.1:8080'
|
|
48
|
+
// },
|
|
49
|
+
// '/rs/file/uploadFile':{
|
|
50
|
+
// target:'http://127.0.0.1:8080'
|
|
51
|
+
// },
|
|
52
|
+
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
53
|
+
// target:'http://127.0.0.1:8080'
|
|
54
|
+
// },
|
|
55
|
+
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
56
|
+
// target:'http:127.0.0.1:8080'
|
|
57
|
+
// },
|
|
58
|
+
// '/rs/sql/getDownPlan':{
|
|
59
|
+
// target:'http:127.0.0.1:8080'
|
|
60
|
+
// },
|
|
61
|
+
// '/rs/logic/saleExport': {
|
|
62
|
+
// target: fuwu
|
|
63
|
+
// },
|
|
64
|
+
// '/rs/logic/saleGetExportProgress': {
|
|
65
|
+
// target: fuwu
|
|
66
|
+
// },
|
|
67
|
+
// '/rs/logic/getWarningMsg': {
|
|
68
|
+
// target: 'http://localhost:8080/'
|
|
69
|
+
// },
|
|
70
|
+
'/rs/file': {
|
|
71
|
+
target: fuwu
|
|
72
|
+
},
|
|
73
|
+
'/files': {
|
|
74
|
+
target: fuwu
|
|
75
|
+
},
|
|
76
|
+
// 查找资源服务数据
|
|
77
|
+
'/rs/search': {
|
|
78
|
+
target: fuwu
|
|
79
|
+
},
|
|
80
|
+
// 查找资源服务数据
|
|
81
|
+
'/rs/logic/getLogin': {
|
|
82
|
+
target: fuwu
|
|
83
|
+
},
|
|
84
|
+
// 查找资源服务数据
|
|
85
|
+
'/rs/logic/getInitData': {
|
|
86
|
+
target: fuwu
|
|
87
|
+
},
|
|
88
|
+
'/rs/logic/getSaleInitData': {
|
|
89
|
+
target: fuwu
|
|
90
|
+
},
|
|
91
|
+
'/invoice': {
|
|
92
|
+
target: fuwu
|
|
93
|
+
},
|
|
94
|
+
// 用户登录服务地址
|
|
95
|
+
'/rs/user': {
|
|
96
|
+
target: fuwu
|
|
97
|
+
},
|
|
98
|
+
'/rs/path/getParams': {
|
|
99
|
+
target: fuwu
|
|
100
|
+
},
|
|
101
|
+
'/rs/data': {
|
|
102
|
+
target: fuwu
|
|
103
|
+
},
|
|
104
|
+
'/rs/license': {
|
|
105
|
+
target: fuwu
|
|
106
|
+
},
|
|
107
|
+
'/rs/db': {
|
|
108
|
+
target: fuwu
|
|
109
|
+
},
|
|
110
|
+
'/excel': {
|
|
111
|
+
target: fuwu
|
|
112
|
+
},
|
|
113
|
+
'/rs/config': {
|
|
114
|
+
target: fuwu
|
|
115
|
+
},
|
|
116
|
+
'/rs/sql/getLicenseById': {
|
|
117
|
+
target: fuwu
|
|
118
|
+
},
|
|
119
|
+
'/rs/sql/manage_getarealist': {
|
|
120
|
+
target: fuwu
|
|
121
|
+
},
|
|
122
|
+
'/rs/sql/manage_getstreetlist': {
|
|
123
|
+
target: fuwu
|
|
124
|
+
},
|
|
125
|
+
'/rs/report': {
|
|
126
|
+
target: 'http://121.36.106.17:8400/'
|
|
127
|
+
},
|
|
128
|
+
'/rs/vue': {
|
|
129
|
+
target: fuwu
|
|
130
|
+
},
|
|
131
|
+
'/webmeter': {
|
|
132
|
+
target: 'http://192.168.50.4:8450'
|
|
133
|
+
},
|
|
134
|
+
'/rs': {
|
|
135
|
+
// target: 'http://192.168.30.63:8081/'
|
|
136
|
+
// target: 'http://121.36.106.17:8400/'
|
|
137
|
+
target: fuwu
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
142
|
+
publicPath: config.output.publicPath,
|
|
143
|
+
stats: {
|
|
144
|
+
colors: true,
|
|
145
|
+
chunks: false
|
|
146
|
+
}
|
|
147
|
+
})
|
|
148
|
+
|
|
149
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
150
|
+
// force page reload when html-webpack-plugin template changes
|
|
151
|
+
compiler.plugin('compilation', function (compilation) {
|
|
152
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
153
|
+
hotMiddleware.publish({action: 'reload'})
|
|
154
|
+
cb()
|
|
155
|
+
})
|
|
156
|
+
})
|
|
157
|
+
|
|
158
|
+
// proxy api requests
|
|
159
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
160
|
+
var options = proxyTable[context]
|
|
161
|
+
if (typeof options === 'string') {
|
|
162
|
+
options = {target: options}
|
|
163
|
+
}
|
|
164
|
+
app.use(proxyMiddleware(context, options))
|
|
165
|
+
})
|
|
166
|
+
|
|
167
|
+
// handle fallback for HTML5 history API
|
|
168
|
+
app.use(require('connect-history-api-fallback')())
|
|
169
|
+
// app.use(function (req, res, next) {
|
|
170
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
171
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
172
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
173
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
174
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
175
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
176
|
+
// next()
|
|
177
|
+
// })
|
|
178
|
+
|
|
179
|
+
// serve webpack bundle output
|
|
180
|
+
app.use(devMiddleware)
|
|
181
|
+
|
|
182
|
+
// enable hot-reload and state-preserving
|
|
183
|
+
// compilation error display
|
|
184
|
+
app.use(hotMiddleware)
|
|
185
|
+
|
|
186
|
+
// serve pure static assets
|
|
187
|
+
app.use('/static', express.static('./static'))
|
|
188
|
+
|
|
189
|
+
module.exports = app.listen(8089, function (err) {
|
|
190
|
+
if (err) {
|
|
191
|
+
console.log(err)
|
|
192
|
+
return
|
|
193
|
+
}
|
|
194
|
+
console.log('Listening at http://localhost:8089')
|
|
195
|
+
})
|
package/package.json
CHANGED
|
@@ -113,6 +113,10 @@
|
|
|
113
113
|
<v-select :value.sync="row.f_concentrator_id" :options='concentrators' value-single placeholder='集中器' close-on-select v-else
|
|
114
114
|
search v-model='row.f_concentrator_id' :disabled="false"></v-select>
|
|
115
115
|
</div>
|
|
116
|
+
<div class="col-sm-4 form-group" v-if="(row.gasbrand.length > 0 && ((row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是') || (row.f_meter_classify.includes('卡表'))) && row.f_user_id )">
|
|
117
|
+
<label class="font_normal_body"> 卡  号</label>
|
|
118
|
+
<input type="number" class="input_search" style="width:60%" v-model="row.f_card_id" placeholder='卡号' @blur="checkCardId" :disabled="!jurisdiction.includes('卡号修改')">
|
|
119
|
+
</div>
|
|
116
120
|
</div>
|
|
117
121
|
<div>
|
|
118
122
|
<a style="font-size: 16px;font-weight: 500;">气价信息</a> <a style="color: #999999;text-decoration: none"></a>
|
|
@@ -539,6 +543,8 @@
|
|
|
539
543
|
show: false,
|
|
540
544
|
field: '',
|
|
541
545
|
ratioshow: false,
|
|
546
|
+
// 原本的卡号
|
|
547
|
+
orginCardId: '',
|
|
542
548
|
userfileid: '',
|
|
543
549
|
gasid: '',
|
|
544
550
|
gastype: 'userfiles',
|
|
@@ -571,6 +577,7 @@
|
|
|
571
577
|
async ready () {
|
|
572
578
|
console.log('看看meter里面的数据', this.meter, this.row)
|
|
573
579
|
this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
|
|
580
|
+
this.orginCardId = this.row.f_card_id
|
|
574
581
|
if(this.row.f_meter_classify){
|
|
575
582
|
if(this.row.f_meter_classify==='物联网表'){
|
|
576
583
|
this.isiot=true
|
|
@@ -588,6 +595,21 @@
|
|
|
588
595
|
co(meterBookGen(this))
|
|
589
596
|
},
|
|
590
597
|
methods: {
|
|
598
|
+
checkCardId() {
|
|
599
|
+
this.$resetpost('rs/logic/checkCardId', {
|
|
600
|
+
data: {
|
|
601
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
602
|
+
gasbrandId: this.row.f_gasbrand_id,
|
|
603
|
+
cardId: this.row.f_card_id,
|
|
604
|
+
f_orgid: this.row.f_orgid
|
|
605
|
+
}
|
|
606
|
+
}, {resolveMsg: null, rejectMsg: '获取表号出错'}).then(res => {
|
|
607
|
+
if(res.data.code !== '200') {
|
|
608
|
+
this.row.f_card_id = this.orginCardId
|
|
609
|
+
this.$showAlert(res.data.msg,'warning',1500)
|
|
610
|
+
}
|
|
611
|
+
})
|
|
612
|
+
},
|
|
591
613
|
gasDateChange () {
|
|
592
614
|
if (!this.row.f_scrap_date && this.row.f_gas_date) {
|
|
593
615
|
if (this.row.f_use_limit) {
|
|
@@ -333,28 +333,15 @@ export default {
|
|
|
333
333
|
if (!this.filechangeDetailsShow) this.confirmation()
|
|
334
334
|
},
|
|
335
335
|
confirmation () {
|
|
336
|
-
// 权限判断, 没有修改权限,只可以修改电话
|
|
337
|
-
// if (this.filechangeDetailsShow && this.filechangeDetails.rows.find(value => value.f_field_name != '用户电话')) {
|
|
338
|
-
// if (!this.$login.r.find(value => value == '档案信息查询修改')) {
|
|
339
|
-
// this.$showMessage('当前登陆用户没有档案信息查询修改权限, 只能修改用户电话!')
|
|
340
|
-
// return
|
|
341
|
-
// }
|
|
342
|
-
// }
|
|
343
336
|
if (this.fileSaveData.reason && this.fileSaveData.reason !== '其他') {
|
|
344
337
|
this.fileSaveData.modifyReason = this.fileSaveData.reason
|
|
345
338
|
}
|
|
346
|
-
|
|
347
|
-
//console.log('this.filechangeDetails.rows:-----',this.filechangeDetails.rows)
|
|
348
|
-
for (let i = 0;i< this.filechangeDetails.rows.length;i++) {
|
|
349
|
-
//console.log('循环查看row里面的值---------->',this.filechangeDetails.rows[i])
|
|
350
|
-
//console.log('循环查看修改项---------->',this.filechangeDetails.rows[i].f_field_name)
|
|
339
|
+
for (let i = 0; i < this.filechangeDetails.rows.length; i++) {
|
|
351
340
|
if (this.filechangeDetails.rows[i].f_field_name === '通气日期') {
|
|
352
|
-
//console.log('----------有通气日期就进来------------')
|
|
353
341
|
let name = this.$login.f.name
|
|
354
342
|
let nameId = this.$login.f.id
|
|
355
343
|
let parentname = this.$login.f.deps
|
|
356
344
|
let parentnameId = this.$login.f.depids
|
|
357
|
-
console.log('验证进来了--------------->', name, parentname)
|
|
358
345
|
this.fileSaveData.userinfo.f_operator = name
|
|
359
346
|
this.fileSaveData.userinfo.f_operatorid = nameId
|
|
360
347
|
this.fileSaveData.userinfo.f_depname = parentname
|
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
<saletab header="指令查看" v-if="row.f_meter_type.includes('物联网表')&&permission('指令查看')">
|
|
52
52
|
<query-instruct :row="row" v-if="show == '指令查看'" @deal-msg="dealMsg"></query-instruct>
|
|
53
53
|
</saletab>
|
|
54
|
+
<saletab header="历史指令查看" v-if="row.f_meter_type.includes('物联网表')&&permission('历史指令查看')">
|
|
55
|
+
<query-history-instruct :row="row" v-if="show == '历史指令查看'" @deal-msg="dealMsg"></query-history-instruct>
|
|
56
|
+
</saletab>
|
|
54
57
|
<saletab header="异常报警" v-if="row.f_meter_type.includes('物联网表')&&permission('异常报警')">
|
|
55
58
|
<watch-warning :row="row" v-if="show == '异常报警'" @deal-msg="dealMsg"></watch-warning>
|
|
56
59
|
</saletab>
|
|
@@ -91,6 +94,7 @@
|
|
|
91
94
|
import MachineRecordQuery from './ic_detail/MachineRecordQuery'
|
|
92
95
|
// 导入物联网相关查询
|
|
93
96
|
import QueryInstruct from './iot_detail/QueryInstruct'
|
|
97
|
+
import QueryHistoryInstruct from './iot_detail/QueryHistoryInstruct'
|
|
94
98
|
import WatchCollection from './iot_detail/WatchCollection'
|
|
95
99
|
import WatchWarning from './iot_detail/WatchWarning'
|
|
96
100
|
import PriceChangeQueryUser from './ic_detail/PriceChangeQueryUser'
|
|
@@ -117,6 +121,7 @@ export default {
|
|
|
117
121
|
WatchWarning,
|
|
118
122
|
WatchCollection,
|
|
119
123
|
QueryInstruct,
|
|
124
|
+
QueryHistoryInstruct,
|
|
120
125
|
ChangeRecord,
|
|
121
126
|
CardHandRecord,
|
|
122
127
|
MeterParam,
|