[update] 参数模板
This commit is contained in:
@@ -445,18 +445,20 @@ export default {
|
|||||||
})
|
})
|
||||||
this.contentList = _tt
|
this.contentList = _tt
|
||||||
} else {
|
} else {
|
||||||
console.log(this.contentListedEdit,'编辑')
|
let _val = []
|
||||||
console.log(this.contentListed,'联动数据')
|
val.map((itemVal) => {
|
||||||
val.forEach((item) => {
|
this.contentListedEdit.forEach((item) => {
|
||||||
this.contentListed.push({
|
if(item.certCategory == itemVal.value) {
|
||||||
textVal: '', // tab
|
itemVal.textVal = item.textVal
|
||||||
certCategory: item.value, // 所属认证类别
|
itemVal.certCategory = item.value
|
||||||
paramsNumber: '', // 编号
|
itemVal.paramsNumber = item.nioNumber
|
||||||
paramsName: '', // 参数名称
|
itemVal.paramsName = item.paramsName
|
||||||
description: ''// 参数说明
|
itemVal.description = item.description
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
_val.push(itemVal)
|
||||||
})
|
})
|
||||||
this.contentList = val
|
this.contentList = _val
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Onchange(val) {
|
Onchange(val) {
|
||||||
@@ -498,12 +500,12 @@ export default {
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.formInline = value
|
this.formInline = value
|
||||||
this.title = '编辑'
|
this.title = '编辑'
|
||||||
this.contentListedEdit = value.certCategoryParamsInfoEOList
|
|
||||||
value.certCategoryParamsInfoEOList.map((item, index) => {
|
value.certCategoryParamsInfoEOList.map((item, index) => {
|
||||||
item.textVal = item.certCategory_dictText
|
item.textVal = item.certCategory_dictText
|
||||||
this.contentListed.push(item)
|
this.contentListed.push(item)
|
||||||
})
|
})
|
||||||
this.contentList = this.contentListed
|
this.contentList = this.contentListed
|
||||||
|
this.contentListedEdit = this.contentListed
|
||||||
},
|
},
|
||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
|
|||||||
Reference in New Issue
Block a user