sale-client 3.5.40 → 3.5.42
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/charge/ChargeList.vue +0 -3
- package/src/components/charge/business/CardMeterCenter.vue +0 -1
- package/src/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +24 -3
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +1 -1
- package/src/components/webMeter/paramSaveNew/ParamSet.vue +4 -4
- package/src/components/webMeter/paramSaveNew/ParamSetDefault.vue +1 -1
- package/src/components/webMeter/paramSaveNew/ParamSetForm.vue +10 -3
- package/src/filiale/kelai/CardMeterCenter.vue +919 -0
- package/src/filiale/kelai/IOTMeterCenter.vue +822 -0
- package/src/filiale/kelai/MachineMeterCenter.vue +705 -0
- package/src/filiale/kelai/sale.js +7 -1
- package/src/filiale/rizhao/UserBaseInfoNew.vue +2 -2
- package/src/plugins/CardService.js +2 -0
- package/src/plugins/MachineChargeService.js +2 -0
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://
|
|
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
|
-
'/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
|
@@ -372,11 +372,8 @@ let cardBtnGen = async function (self, val) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
|
|
376
375
|
// 验证卡上是否有气, 1). 卡上的气量和金额大于0 2). 只认累购的表会有一个新参数 NewParam.IsInsert (0: 未接表 1: 已接表)
|
|
377
|
-
|
|
378
376
|
let cardHasGas = false
|
|
379
|
-
|
|
380
377
|
if ((self.cardInfo.Gas - 0) > 0 || (self.cardInfo.Money - 0) > 0) {
|
|
381
378
|
cardHasGas = true
|
|
382
379
|
}
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
<th style="text-align:center;">
|
|
85
85
|
<nobr>操作类型</nobr>
|
|
86
86
|
</th>
|
|
87
|
+
<!-- 查这里-->
|
|
87
88
|
<th style="text-align:center;">
|
|
88
89
|
<nobr>操作状态</nobr>
|
|
89
90
|
</th>
|
|
@@ -132,8 +133,10 @@
|
|
|
132
133
|
<td style="text-align:center;">
|
|
133
134
|
<nobr>{{row.f_type}}</nobr>
|
|
134
135
|
</td>
|
|
136
|
+
<!-- 这里-->
|
|
135
137
|
<td style="text-align:center;">
|
|
136
|
-
<nobr>{{row
|
|
138
|
+
<nobr>{{$parent.$parent.$parent.stateFlow(row)}}</nobr>
|
|
139
|
+
<!-- <nobr>{{row.f_state}}</nobr>-->
|
|
137
140
|
</td>
|
|
138
141
|
<td style="text-align:center;">
|
|
139
142
|
<nobr>{{row.f_operator}}</nobr>
|
|
@@ -187,7 +190,7 @@
|
|
|
187
190
|
import {PagedList} from 'vue-client'
|
|
188
191
|
|
|
189
192
|
export default {
|
|
190
|
-
title: '
|
|
193
|
+
title: '指令查看',
|
|
191
194
|
name: 'Querylnstruct',
|
|
192
195
|
props: {
|
|
193
196
|
row: {},
|
|
@@ -211,7 +214,6 @@
|
|
|
211
214
|
cancelid: '',
|
|
212
215
|
f_userfiles_id: '',
|
|
213
216
|
model: new PagedList('rs/sql/insturctDetailQuery', 30),
|
|
214
|
-
// model: null,
|
|
215
217
|
row: null,
|
|
216
218
|
searchshow: false,
|
|
217
219
|
show: false
|
|
@@ -230,6 +232,25 @@
|
|
|
230
232
|
}
|
|
231
233
|
},
|
|
232
234
|
methods: {
|
|
235
|
+
stateFlow: function (row) {
|
|
236
|
+
console.log(row)
|
|
237
|
+
let state = ""
|
|
238
|
+
if (row.f_instruct_type.includes("阀门控制")) {
|
|
239
|
+
let content = JSON.parse(row.f_instruct_content)
|
|
240
|
+
if (content.isOpen !== null) {
|
|
241
|
+
if (content.isOpen === 1) {
|
|
242
|
+
state = "开阀"
|
|
243
|
+
} else if (content.isOpen === 0) {
|
|
244
|
+
state = "关阀"
|
|
245
|
+
} else {
|
|
246
|
+
state = row.f_state
|
|
247
|
+
}
|
|
248
|
+
return state
|
|
249
|
+
}
|
|
250
|
+
} else {
|
|
251
|
+
return row.f_state
|
|
252
|
+
}
|
|
253
|
+
},
|
|
233
254
|
clickshow () {
|
|
234
255
|
this.searchshow = !this.searchshow
|
|
235
256
|
},
|
|
@@ -261,7 +261,7 @@ export default {
|
|
|
261
261
|
return {
|
|
262
262
|
config: {
|
|
263
263
|
notShowFormula: false, // 不显示计算公式,默认显示
|
|
264
|
-
showupload:
|
|
264
|
+
showupload: true, // 默认不显示附件
|
|
265
265
|
hasPrint: false, // 默认打票
|
|
266
266
|
hasBillManage: false, // 默认不启用发票管理
|
|
267
267
|
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<criteria :model='model' partial='criteria' v-ref:criteria @condition-changed='$parent.selfSearch'>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row">
|
|
7
|
-
<div class="col-sm-2">
|
|
8
|
-
<label class="font_normal_body"
|
|
7
|
+
<div class="col-sm-2 ">
|
|
8
|
+
<label class="font_normal_body" >协议类型</label>
|
|
9
9
|
<v-select style="width:60%" title="气表协议类型"
|
|
10
10
|
placeholder='气表协议类型'
|
|
11
11
|
:value.sync="model.f_metertype"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
close-on-select
|
|
16
16
|
:value-single="true" v-ref:brand> </v-select>
|
|
17
17
|
</div>
|
|
18
|
-
<div class="col-sm-2">
|
|
18
|
+
<div class="col-sm-2 ">
|
|
19
19
|
<label class="font_normal_body">气表品牌</label>
|
|
20
20
|
<v-select
|
|
21
21
|
placeholder='气表品牌'
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
condition="f_gasbrand_id = '{}'"
|
|
27
27
|
close-on-select></v-select>
|
|
28
28
|
</div>
|
|
29
|
-
<div class="col-sm-2
|
|
29
|
+
<div class="col-sm-2 ">
|
|
30
30
|
<label class="font_normal_body">气表型号</label>
|
|
31
31
|
<v-select :value.sync="model.f_meter_style"
|
|
32
32
|
v-model="model.f_meter_style"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="flex basic-main" style="width:
|
|
3
|
+
<div class="flex basic-main" style="max-width:65%;">
|
|
4
4
|
<param-set-default-list v-ref:defaultlist></param-set-default-list>
|
|
5
5
|
</div>
|
|
6
6
|
<div class="flex binary-right" style="flex:1; ">
|
|
@@ -203,6 +203,10 @@ export default {
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
+
if (params.length === 0) {
|
|
207
|
+
this.$showAlert('没有需要设置得参数', 'warning', 2000)
|
|
208
|
+
return
|
|
209
|
+
}
|
|
206
210
|
let param = {
|
|
207
211
|
condition: 'g.f_gasbrand_id = ' + this.gasbrandid[0],
|
|
208
212
|
switchCheckAll: this.checked1,
|
|
@@ -247,7 +251,10 @@ export default {
|
|
|
247
251
|
}
|
|
248
252
|
}
|
|
249
253
|
}
|
|
250
|
-
|
|
254
|
+
if (params.length === 0) {
|
|
255
|
+
this.$showAlert('没有需要设置得参数', 'warning', 2000)
|
|
256
|
+
return
|
|
257
|
+
}
|
|
251
258
|
let param = {
|
|
252
259
|
condition: 'g.f_gasbrand_id = ' + this.gasbrandid[0] + ' and f.f_userfiles_id in (' + filesid + ')',
|
|
253
260
|
switchCheckAll: this.checked1,
|
|
@@ -292,8 +299,8 @@ export default {
|
|
|
292
299
|
this.newmeterinfo[i].params[j].isenbale = false
|
|
293
300
|
for (let n = 0; n < allDefaultValue.data.length; n++) {
|
|
294
301
|
if (this.newmeterinfo[i].params[j].name === allDefaultValue.data[n].f_param_name && this.newmeterinfo[i].name === allDefaultValue.data[n].f_group_name && allDefaultValue.data[n].f_param_title === this.newmeterinfo[i].params[j].title) {
|
|
295
|
-
this.newmeterinfo[i].params[j].default_value = allDefaultValue.data[
|
|
296
|
-
this.newmeterinfo[i].params[j].default_id = allDefaultValue.data[
|
|
302
|
+
this.newmeterinfo[i].params[j].default_value = allDefaultValue.data[n].f_param_value
|
|
303
|
+
this.newmeterinfo[i].params[j].default_id = allDefaultValue.data[n].default_id
|
|
297
304
|
break
|
|
298
305
|
}
|
|
299
306
|
}
|