From 4ec5907eda5789d7f796f895e4482b4316041a51 Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Wed, 2 Mar 2022 14:36:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20There=20is=20no=20way=20the,=20?= =?UTF-8?q?=E6=B5=B7=E5=A4=96=E7=BB=93=E6=9E=84=E6=A0=91=20=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../foreignStandardsAndRegulations/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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