|
@@ -412,17 +412,18 @@
|
|
|
} else if (this.isType == 'zdy') {
|
|
} else if (this.isType == 'zdy') {
|
|
|
params['ids'] = JSON.parse(this.classIds);
|
|
params['ids'] = JSON.parse(this.classIds);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
treeByPid(params).then(res => {
|
|
treeByPid(params).then(res => {
|
|
|
this.classificationList = res
|
|
this.classificationList = res
|
|
|
- console.log(11, res)
|
|
|
|
|
this.confirm([res[0].id], res[0].name, res[0].rootCategoryLevelId)
|
|
this.confirm([res[0].id], res[0].name, res[0].rootCategoryLevelId)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
confirm(id, name, rootCategoryLevelId) {
|
|
confirm(id, name, rootCategoryLevelId) {
|
|
|
this.rootCategoryLevelId = rootCategoryLevelId
|
|
this.rootCategoryLevelId = rootCategoryLevelId
|
|
|
- console.log(333,this.rootCategoryLevelId )
|
|
|
|
|
|
|
+
|
|
|
this.categoryLevelId = id
|
|
this.categoryLevelId = id
|
|
|
|
|
|
|
|
this.list = []
|
|
this.list = []
|