修改参数项管理认证类别显示不全问题

This commit is contained in:
zyx.net
2022-06-30 19:10:14 +08:00
parent a13aa6999e
commit 36bbf0c0fa
2 changed files with 26 additions and 6 deletions
@@ -539,11 +539,31 @@ export default {
}
},
Onchange(val) {
console.log(this.formInline)
if(this.formInline.certCategory == '' && this.flag == 1) {
console.log(1111)
this.contentList= []
}
let tabList = []
let arr = []
let newArray = []
this.arr = []
this.contentListStart.forEach((item,index) => {
this.arr.push(item.certCategory)
})
console.log(this.arr)
this.tabList = val.split(',')
console.log(this.tabList)
this.arr.forEach(item => {
if (!this.tabList.includes(item)) {
newArray.push(item);
this.contentList.forEach((item1,index1) => {
if(item == item1.certCategory){
item1.paramsNumber= '', // 编号
item1.paramsName= '', //参数名称
item1.description= '' // 描述
}
})
};
})
},
getSysCategoryTree() {