sale-client 3.5.23 → 3.5.26
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/.babelrc +5 -5
- package/package.json +1 -1
- package/src/components/charge/ChargeList.vue +76 -52
- package/src/components/revenue/comprehen/batch/batchUserList.vue +2 -2
- package/src/components/webMeter/paramSave/ParamSet.vue +6 -8
- package/src/components/webMeter/paramSave/ParamSetForm.vue +34 -37
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1026 -0
- package/src/filiale/dongguan/components/comprehen/StairPrice/GasPrice.vue +518 -0
- package/src/filiale/dongguan/sale.js +5 -1
- package/src/filiale/guangxi/CardChangeFill.vue +2 -5
- package/src/filiale/guangxi/CardService.js +2 -0
- package/src/filiale/guangxi/OtherGas.vue +380 -0
- package/src/filiale/guangxi/sale.js +3 -1
- package/src/filiale/kelai/MeterinfoTest.vue +952 -0
- package/src/filiale/kelai/sale.js +6 -0
- package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +2 -2
- package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +1 -1
- package/src/filiale/meihekou/CardHand.vue +18 -18
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/MeterParam.vue +24 -4
- package/src/plugins/LogicService.js +2 -2
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
package/.babelrc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": ["es2015", "stage-2"],
|
|
3
|
-
"plugins": ["transform-runtime"],
|
|
4
|
-
"comments": false
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"presets": ["es2015", "stage-2"],
|
|
3
|
+
"plugins": ["transform-runtime"],
|
|
4
|
+
"comments": false
|
|
5
|
+
}
|
package/package.json
CHANGED
|
@@ -326,11 +326,11 @@
|
|
|
326
326
|
*/
|
|
327
327
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
328
328
|
import DetailManage from './DetailManage'
|
|
329
|
-
import Vue from
|
|
329
|
+
import Vue from 'vue'
|
|
330
330
|
|
|
331
|
-
|
|
331
|
+
let cardBtnGen = async function (self, val) {
|
|
332
332
|
self.cardInfo = val.data
|
|
333
|
-
|
|
333
|
+
let getUser = null
|
|
334
334
|
// 判断读卡是否需要卡密码
|
|
335
335
|
console.log('读卡上的信息', self.cardInfo)
|
|
336
336
|
|
|
@@ -342,8 +342,32 @@
|
|
|
342
342
|
self.readCardParam = self.model.rows[0].f_card_password
|
|
343
343
|
self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
|
|
344
344
|
} else {
|
|
345
|
-
self
|
|
346
|
-
|
|
345
|
+
if (self.cardInfo.Factory == 'JiBiao' || self.cardInfo.Factory == 'JiChengADSystem') {
|
|
346
|
+
// 获取用户信息
|
|
347
|
+
getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
348
|
+
data: {
|
|
349
|
+
condition: `f_meter_type in ('机表','物联网表') and u.f_card_id='${self.cardInfo.CardID}'
|
|
350
|
+
and u.f_filialeid = '${self.$login.f.orgid}' and f_whether_hairpin != '未发'`,
|
|
351
|
+
orderitem: `${self.orderitem} Desc`
|
|
352
|
+
}
|
|
353
|
+
}, {resolveMsg: '读卡成功', rejectMsg: '读卡失败'})
|
|
354
|
+
} else {
|
|
355
|
+
// 获取用户信息
|
|
356
|
+
getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
357
|
+
data: {
|
|
358
|
+
condition: `gb.f_meter_type in ('气量卡表', '金额卡表','物联网表') and u.f_card_id='${self.cardInfo.CardID}'
|
|
359
|
+
and u.f_filialeid = '${self.$login.f.orgid}' and f_alias='${self.cardInfo.Factory}' and f_whether_hairpin != '未发'`,
|
|
360
|
+
orderitem: `${self.orderitem} Desc`
|
|
361
|
+
}
|
|
362
|
+
}, {resolveMsg: '读卡成功', rejectMsg: '读卡失败'})
|
|
363
|
+
}
|
|
364
|
+
if (getUser.data.length == 1 && getUser.data[0].f_alias === self.cardInfo.Factory) {
|
|
365
|
+
self.readCardParam = getUser.data[0].f_card_password
|
|
366
|
+
self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(getUser.data[0].f_card_password)
|
|
367
|
+
} else {
|
|
368
|
+
self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
|
|
369
|
+
return
|
|
370
|
+
}
|
|
347
371
|
}
|
|
348
372
|
}
|
|
349
373
|
}
|
|
@@ -421,12 +445,12 @@
|
|
|
421
445
|
let hasMatchingData = false
|
|
422
446
|
getUser.data.forEach((res, index) => {
|
|
423
447
|
if (self.model.rows[0].f_userfiles_id == res.f_userfiles_id) {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
448
|
+
self.model.rows = [getUser.data[index]]
|
|
449
|
+
self.model.state = '正确'
|
|
450
|
+
hasMatchingData = true
|
|
451
|
+
self.$dispatch('dblclick', getUser.data[index], 0, self.cardInfo)
|
|
452
|
+
}
|
|
453
|
+
})
|
|
430
454
|
if (!hasMatchingData) {
|
|
431
455
|
self.model.rows = getUser.data
|
|
432
456
|
self.model.pageIndex = 1
|
|
@@ -548,12 +572,12 @@
|
|
|
548
572
|
let hasMatchingData = false
|
|
549
573
|
getUser.data.forEach((res, index) => {
|
|
550
574
|
if (self.model.rows[0].f_userfiles_id == res.f_userfiles_id) {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
575
|
+
self.model.rows = [getUser.data[index]]
|
|
576
|
+
self.model.state = '正确'
|
|
577
|
+
hasMatchingData = true
|
|
578
|
+
self.$dispatch('dblclick', getUser.data[index], 0, self.cardInfo)
|
|
579
|
+
}
|
|
580
|
+
})
|
|
557
581
|
if (!hasMatchingData) {
|
|
558
582
|
self.model.rows = getUser.data
|
|
559
583
|
self.model.pageIndex = 1
|
|
@@ -640,7 +664,7 @@
|
|
|
640
664
|
// 读卡是否需要额外参数
|
|
641
665
|
readCardNeedParam: false,
|
|
642
666
|
readCardParam: {},
|
|
643
|
-
|
|
667
|
+
systemTimes: '',
|
|
644
668
|
userCode: '',
|
|
645
669
|
userName: '',
|
|
646
670
|
userAddress: '',
|
|
@@ -656,9 +680,9 @@
|
|
|
656
680
|
|
|
657
681
|
// 流水记录显示
|
|
658
682
|
recordModel: {rows: []},
|
|
659
|
-
|
|
683
|
+
clientWidth: document.body.clientWidth,
|
|
660
684
|
showCardError: false
|
|
661
|
-
|
|
685
|
+
}
|
|
662
686
|
},
|
|
663
687
|
props: {
|
|
664
688
|
orderitem: {
|
|
@@ -681,7 +705,7 @@
|
|
|
681
705
|
window.onresize = () => {
|
|
682
706
|
return (() => {
|
|
683
707
|
this.clientWidth = document.body.clientWidth
|
|
684
|
-
|
|
708
|
+
})()
|
|
685
709
|
}
|
|
686
710
|
},
|
|
687
711
|
methods: {
|
|
@@ -699,16 +723,16 @@
|
|
|
699
723
|
clear () {
|
|
700
724
|
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
701
725
|
this.$refs.paged.$refs.cri.model[key] = []
|
|
702
|
-
|
|
726
|
+
})
|
|
703
727
|
},
|
|
704
728
|
initQueryParam () {
|
|
705
729
|
let arr = []
|
|
706
730
|
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
707
731
|
let temp = {}
|
|
708
732
|
temp.label = item.label
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
733
|
+
temp.value = item.value.f_meter_brand
|
|
734
|
+
arr.push(temp)
|
|
735
|
+
})
|
|
712
736
|
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
713
737
|
},
|
|
714
738
|
search () {
|
|
@@ -738,32 +762,32 @@
|
|
|
738
762
|
},
|
|
739
763
|
|
|
740
764
|
async selfSearch (args) {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
765
|
+
if (!this.f_orgid) {
|
|
766
|
+
this.getorg([this.$login.f.orgid])
|
|
767
|
+
}
|
|
768
|
+
if (this.f_orgid) {
|
|
769
|
+
args.condition = `u.f_filialeid in ${this.f_orgid} and ${args.condition}`
|
|
770
|
+
}
|
|
771
|
+
this.excelCondition = args.condition
|
|
772
|
+
args.condition = `${args.condition}`
|
|
773
|
+
if (this.defbtn === '发卡售气') {
|
|
774
|
+
args.condition = `${args.condition} and f_whether_hairpin = '未发' and f_meter_classify like '%卡表%'`
|
|
775
|
+
}
|
|
776
|
+
this.isPager = true
|
|
777
|
+
this.criteriaShow = true
|
|
778
|
+
this.$parent.warningInfo = null
|
|
779
|
+
this.cardInfo = ''
|
|
780
|
+
if (!this.specialCondition) {
|
|
781
|
+
if (args.condition.includes('1!=1')) {
|
|
782
|
+
args.condition = args.condition.replace('1!=1', '1=1')
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
this.specialCondition = false
|
|
762
786
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
787
|
+
await this.model.search(args.condition, args.model)
|
|
788
|
+
if (this.model.rows.length == 1) {
|
|
789
|
+
this.$parent.toBusiness(this.model.rows[0])
|
|
790
|
+
}
|
|
767
791
|
},
|
|
768
792
|
cardBtn (val) {
|
|
769
793
|
this.clear()
|
|
@@ -885,8 +909,8 @@
|
|
|
885
909
|
},
|
|
886
910
|
computed: {
|
|
887
911
|
authArr () {
|
|
888
|
-
console.log('this.$login.r:',this.$login.r)
|
|
889
|
-
console.log('this.$login.r.includes:',this.$login.r.includes('收费综合导出权限'))
|
|
912
|
+
console.log('this.$login.r:', this.$login.r)
|
|
913
|
+
console.log('this.$login.r.includes:', this.$login.r.includes('收费综合导出权限'))
|
|
890
914
|
return this.$login.r ? this.$login.r : []
|
|
891
915
|
}
|
|
892
916
|
}
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
// console.log('获取登录信息,', self.$login, self.$appdata, self.$appdata.getParam('用户类型'), Vue.$login.f.name)
|
|
115
115
|
await self.search()
|
|
116
116
|
await self.$LoadParams.loadParam()
|
|
117
|
-
let overdueset= []
|
|
117
|
+
let overdueset = []
|
|
118
118
|
let res = await self.$resetpost('rs/sql/saleSingleTable', {
|
|
119
119
|
data: {
|
|
120
120
|
tablename: 't_overdue_set',
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
|
|
180
180
|
// 是多选
|
|
181
181
|
if (this.rowsdata.length) {
|
|
182
|
-
info =
|
|
182
|
+
info = `共选中${this.rowsdata.length}条数据,确认批量修改档案吗?`
|
|
183
183
|
}
|
|
184
184
|
// 点击的是批量生成
|
|
185
185
|
this.$showMessage(info, ['confirm', 'cancel']).then(
|
|
@@ -245,10 +245,9 @@ let initGen = async function (self) {
|
|
|
245
245
|
arr.push(temp)
|
|
246
246
|
let styleArr = []
|
|
247
247
|
for (let row of item.value.gasmodel) {
|
|
248
|
-
styleArr.push({label: row.label,value: row.value.id})
|
|
248
|
+
styleArr.push({label: row.label, value: row.value.id})
|
|
249
249
|
}
|
|
250
250
|
self.meterstyle[temp.value] = styleArr
|
|
251
|
-
console.log('jjjjkhk', styleArr)
|
|
252
251
|
}
|
|
253
252
|
})
|
|
254
253
|
self.meterbrand = arr
|
|
@@ -268,7 +267,7 @@ export default {
|
|
|
268
267
|
showParame: false,
|
|
269
268
|
paramHistory: false,
|
|
270
269
|
row: null,
|
|
271
|
-
setable:
|
|
270
|
+
setable: true,
|
|
272
271
|
criteriaShow: false,
|
|
273
272
|
condition: '',
|
|
274
273
|
f_gasbrand_id: null,
|
|
@@ -347,16 +346,16 @@ export default {
|
|
|
347
346
|
hidden () {
|
|
348
347
|
this.criteriaShow = !this.criteriaShow
|
|
349
348
|
},
|
|
350
|
-
async showParamDefault(){
|
|
351
|
-
this.user=null
|
|
349
|
+
async showParamDefault () {
|
|
350
|
+
this.user = null
|
|
352
351
|
this.map.clear()
|
|
353
352
|
await this.$refs.form.getBrandParamsHistory()
|
|
354
353
|
this.showParame = !this.showParame
|
|
355
354
|
},
|
|
356
355
|
showParam () {
|
|
357
356
|
this.conditionMsg = ''
|
|
358
|
-
if(!this.user){
|
|
359
|
-
this.user=[]
|
|
357
|
+
if (!this.user) {
|
|
358
|
+
this.user = []
|
|
360
359
|
}
|
|
361
360
|
if (this.user.length === 0) {
|
|
362
361
|
this.$showMessage('是否要设置查询出来的所有表参数', ['confirm', 'cancel']).then((res) => {
|
|
@@ -438,7 +437,6 @@ export default {
|
|
|
438
437
|
},
|
|
439
438
|
mapset (array) {
|
|
440
439
|
this.map.clear()
|
|
441
|
-
console.log(array)
|
|
442
440
|
for (let i = 0; i < array.length; i++) {
|
|
443
441
|
let userid = array[i].f_userfiles_id
|
|
444
442
|
let alias = array[i].f_alias
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
<script>
|
|
120
|
-
import {HttpResetClass} from
|
|
120
|
+
import {HttpResetClass} from 'vue-client'
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
export default {
|
|
123
123
|
title: '参数设置',
|
|
124
124
|
props: ['user', 'checked1', 'gasbrandid', 'condition'],
|
|
125
125
|
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
gasbrand: null,
|
|
131
131
|
paramtypes: [],
|
|
132
132
|
paramtype: '',
|
|
133
|
-
param:{},
|
|
134
|
-
history:[]
|
|
133
|
+
param: {},
|
|
134
|
+
history: []
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
ready () {
|
|
@@ -140,8 +140,7 @@
|
|
|
140
140
|
watch: {
|
|
141
141
|
param: {
|
|
142
142
|
handler: function (val) {
|
|
143
|
-
console.log(
|
|
144
|
-
|
|
143
|
+
console.log('--------------param变了', val)
|
|
145
144
|
},
|
|
146
145
|
deep: true
|
|
147
146
|
},
|
|
@@ -183,22 +182,21 @@
|
|
|
183
182
|
let params = []
|
|
184
183
|
for (let i = 0; i < this.newmeterinfo.length; i++) {
|
|
185
184
|
for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
|
|
186
|
-
if(this.newmeterinfo[i].name===this.paramtype){
|
|
185
|
+
if (this.newmeterinfo[i].name === this.paramtype) {
|
|
187
186
|
for (let key in this.row) {
|
|
188
187
|
if (key === this.newmeterinfo[i].params[j].title) {
|
|
189
188
|
let data = {}
|
|
190
189
|
data.param_group = this.newmeterinfo[i].name
|
|
191
190
|
data.param_name = this.newmeterinfo[i].params[j].name
|
|
192
|
-
data.param_value = this.row[key]?(this.row[key].code?this.row[key].code:this.row[key]):null
|
|
193
|
-
data.param_content = this.row[key]?(this.row[key].content?this.row[key].content:this.row[key]):null
|
|
191
|
+
data.param_value = this.row[key] ? (this.row[key].code ? this.row[key].code : this.row[key]) : null
|
|
192
|
+
data.param_content = this.row[key] ? (this.row[key].content ? this.row[key].content : this.row[key]) : null
|
|
194
193
|
data.param_lname = this.newmeterinfo[i].params[j].title
|
|
195
|
-
if(this.row[key]){
|
|
194
|
+
if (this.row[key]) {
|
|
196
195
|
params.push(data)
|
|
197
196
|
}
|
|
198
197
|
}
|
|
199
198
|
}
|
|
200
199
|
}
|
|
201
|
-
|
|
202
200
|
}
|
|
203
201
|
}
|
|
204
202
|
let param = {
|
|
@@ -233,24 +231,24 @@
|
|
|
233
231
|
let params = []
|
|
234
232
|
for (let i = 0; i < this.newmeterinfo.length; i++) {
|
|
235
233
|
for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
|
|
236
|
-
if(this.newmeterinfo[i].name===this.paramtype){
|
|
234
|
+
if (this.newmeterinfo[i].name === this.paramtype) {
|
|
237
235
|
for (let key in this.row) {
|
|
238
236
|
if (key === this.newmeterinfo[i].params[j].title) {
|
|
239
237
|
let data = {}
|
|
240
238
|
data.param_group = this.newmeterinfo[i].name
|
|
241
239
|
data.param_name = this.newmeterinfo[i].params[j].name
|
|
242
|
-
data.param_value = this.row[key]?(this.row[key].code?this.row[key].code:this.row[key]):null
|
|
243
|
-
data.param_content = this.row[key]?(this.row[key].content?this.row[key].content:this.row[key]):null
|
|
240
|
+
data.param_value = this.row[key] ? (this.row[key].code ? this.row[key].code : this.row[key]) : null
|
|
241
|
+
data.param_content = this.row[key] ? (this.row[key].content ? this.row[key].content : this.row[key]) : null
|
|
244
242
|
data.param_lname = this.newmeterinfo[i].params[j].title
|
|
245
|
-
if(this.row[key]){
|
|
243
|
+
if (this.row[key]) {
|
|
246
244
|
params.push(data)
|
|
247
245
|
}
|
|
248
246
|
}
|
|
249
247
|
}
|
|
250
248
|
}
|
|
251
|
-
|
|
252
249
|
}
|
|
253
250
|
}
|
|
251
|
+
debugger
|
|
254
252
|
let param = {
|
|
255
253
|
condition: 'g.f_gasbrand_id = ' + this.gasbrandid[0] + ' and f.f_userfiles_id in (' + filesid + ')',
|
|
256
254
|
switchCheckAll: this.checked1,
|
|
@@ -276,40 +274,39 @@
|
|
|
276
274
|
this.paramtypes = []
|
|
277
275
|
let temp = {
|
|
278
276
|
tablename: 't_gasbrand',
|
|
279
|
-
condition: `id=${val}
|
|
277
|
+
condition: `id=${val}`
|
|
280
278
|
}
|
|
281
279
|
await this.$resetpost('rs/sql/saleSingleTable', {data: temp}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
282
280
|
this.gasbrand = res.data[0]
|
|
283
281
|
})
|
|
284
282
|
this.newmeterinfo = [{}]
|
|
285
283
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
284
|
+
let res = await this.$resetpost('/webmeter/rs/logic/getParamsByGasBrand', {data: {gasBrandId: val}}, {resolveMsg: '参数已加载', rejectMsg: null})
|
|
285
|
+
this.newmeterinfo = res.data
|
|
286
|
+
for (let i = 0; i < this.newmeterinfo.length; i++) {
|
|
287
|
+
this.paramtypes.push({label: this.newmeterinfo[i].name, value: this.newmeterinfo[i].name})
|
|
288
|
+
for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
|
|
289
|
+
if (this.newmeterinfo[i].params[j].params instanceof Array) {
|
|
292
290
|
for (let k = 0; k < this.newmeterinfo[i].params[j].params.length; k++) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
291
|
+
this.newmeterinfo[i].params[j].params[k].value = {
|
|
292
|
+
id: this.newmeterinfo[i].params[j].params[k].label,
|
|
293
|
+
code: this.newmeterinfo[i].params[j].params[k].value,
|
|
294
|
+
content: this.newmeterinfo[i].params[j].params[k].label
|
|
298
295
|
}
|
|
299
296
|
}
|
|
300
297
|
}
|
|
301
298
|
}
|
|
302
|
-
|
|
303
|
-
|
|
299
|
+
}
|
|
300
|
+
this.$dispatch('showparam', true)
|
|
304
301
|
},
|
|
305
|
-
async getBrandParamsHistory(){
|
|
302
|
+
async getBrandParamsHistory () {
|
|
306
303
|
let http = new HttpResetClass()
|
|
307
304
|
let res = await http.load('POST', 'rs/sql/getBrandParamHistory', {
|
|
308
305
|
data: {
|
|
309
306
|
condition: `ga.f_gasbrand_id= ${this.gasbrandid}`
|
|
310
307
|
}
|
|
311
308
|
}, {resolveMsg: null, rejectMsg: '获取参数历史信息信息失败'})
|
|
312
|
-
this.history=res.data
|
|
309
|
+
this.history = res.data
|
|
313
310
|
let rat = await http.load('POST', 'rs/sql/singleTable_OrderBy', {
|
|
314
311
|
data: {
|
|
315
312
|
items: '*',
|
|
@@ -320,18 +317,18 @@
|
|
|
320
317
|
}, {resolveMsg: null, rejectMsg: '获取参数历史信息信息失败'})
|
|
321
318
|
if (rat.data.length > 0) {
|
|
322
319
|
rat.data.forEach((item) => {
|
|
323
|
-
if(item.f_param_value === '1'){
|
|
320
|
+
if (item.f_param_value === '1') {
|
|
324
321
|
item.f_param_value = '开'
|
|
325
322
|
}
|
|
326
|
-
if(item.f_param_value === '0'){
|
|
323
|
+
if (item.f_param_value === '0') {
|
|
327
324
|
item.f_param_value = '关'
|
|
328
325
|
}
|
|
329
|
-
console.log(
|
|
330
|
-
this.$set(`param['${item.f_param_lname}']`,item.f_param_value)
|
|
326
|
+
console.log('参数取出来了---', item.f_param_lname)
|
|
327
|
+
this.$set(`param['${item.f_param_lname}']`, item.f_param_value)
|
|
331
328
|
// this.param[item.f_param_lname] = item.f_param_value
|
|
332
329
|
})
|
|
333
330
|
}
|
|
334
|
-
console.log(
|
|
331
|
+
console.log('参数取出来了', this.param)
|
|
335
332
|
}
|
|
336
333
|
}
|
|
337
334
|
}
|