diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index 57b666258..dcf8d2bd4 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -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