feat: There is no way the, 海外结构树 菜单查询
This commit is contained in:
@@ -3160,7 +3160,11 @@ export default {
|
|||||||
},
|
},
|
||||||
treeClick(treeNode) {
|
treeClick(treeNode) {
|
||||||
this.selectSarMenu = 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.menuId = treeNode.id
|
||||||
|
this.standCommonlySearch.treeType = treeNode.treeType
|
||||||
this.standCommonlySearch.page = 1
|
this.standCommonlySearch.page = 1
|
||||||
this.getDomesticStandardTable()
|
this.getDomesticStandardTable()
|
||||||
},
|
},
|
||||||
@@ -3899,9 +3903,12 @@ export default {
|
|||||||
}
|
}
|
||||||
const formData = {...data}
|
const formData = {...data}
|
||||||
if (!item) {
|
if (!item) {
|
||||||
formData.menuId = this.selectSarMenu.id
|
|
||||||
} else {
|
|
||||||
formData.menuId = this.standCommonlySearch.menuId
|
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.nowOrderBy = this.nowOrder ? this.orderBy : ''
|
||||||
formData.nowOrder = this.nowOrder
|
formData.nowOrder = this.nowOrder
|
||||||
|
|||||||
Reference in New Issue
Block a user