feat: There is no way the, 海外结构树 菜单查询

This commit is contained in:
super_liu
2022-03-02 14:36:44 +08:00
parent f250b019e5
commit 4ec5907eda
@@ -3160,7 +3160,11 @@ export default {
},
treeClick(treeNode) {
this.selectSarMenu = treeNode
this.sarStandardsSearch.menuId = treeNode.id // 将当前二级菜单的id传回后台做标准的条件查询
this.sarStandardsSearch.treeType = treeNode.treeType
this.sarStandardsSearch.page = 1
this.standCommonlySearch.menuId = treeNode.id
this.standCommonlySearch.treeType = treeNode.treeType
this.standCommonlySearch.page = 1
this.getDomesticStandardTable()
},
@@ -3899,9 +3903,12 @@ export default {
}
const formData = {...data}
if (!item) {
formData.menuId = this.selectSarMenu.id
} else {
formData.menuId = this.standCommonlySearch.menuId
formData.treeType = this.standCommonlySearch.treeType
} else {
console.log(this.selectSarMenu)
formData.menuId = this.selectSarMenu.id
formData.treeType = this.selectSarMenu.treeType
}
formData.nowOrderBy = this.nowOrder ? this.orderBy : ''
formData.nowOrder = this.nowOrder