From 3fe561aa91044081f7040be44a89bc3c28796bc7 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 25 七月 2023 17:06:58 +0800 Subject: [PATCH] 修改首页内容 --- Source/UBCS-WEB/src/components/Master/MasterTree.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue index 91a11fe..7728041 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue @@ -29,6 +29,7 @@ }, data(){ return{ + idData:'', masterVrBtnList:[], tableHeadFindData:[], tableHeadDataFateher:[], @@ -70,14 +71,18 @@ }, created() { this.getTreeLists() - }, computed:{ }, methods:{ //鑾峰彇鏁版嵁 getTreeLists(){ - getTreeList({'conditionMap[id]': 'wupin'}).then(res=>{ + const index = this.$route.query.id.indexOf('@'); + const result = this.$route.query.id.substring(0, index); + this.idData=result + // console.log(this.$route) + console.log(this.idData) + getTreeList({'conditionMap[id]':this.idData }).then(res=>{ this.Treedata=res.data this.ModifyProperties(this.Treedata, 'text', 'label'); this.codeClassifyOid=res.data[0].oid; -- Gitblit v1.9.3