From cbc4fc2e4dce714c5d5723746368266915868007 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期二, 28 二月 2023 15:44:06 +0800 Subject: [PATCH] 项目管理界面优化,字典管理页面左侧树界面优化,数据上传版本显示错误优化,综合展示二三维切换效果优化 --- src/views/datamanage/dataUpdata.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/datamanage/dataUpdata.vue b/src/views/datamanage/dataUpdata.vue index 30b80c3..51dc368 100644 --- a/src/views/datamanage/dataUpdata.vue +++ b/src/views/datamanage/dataUpdata.vue @@ -1607,8 +1607,7 @@ }, mounted() { - //鑾峰彇鐩綍 - this.getSelectdirTab(); + //鑾峰彇鍧愭爣绯� this.setCoordinateSystem(); //鑾峰彇椤圭洰鍚嶇О @@ -1619,6 +1618,8 @@ this.getPerms(); window.addEventListener("resize", this.onResize); this.calHeight(); + //鑾峰彇鐩綍 + this.getSelectdirTab(); }, beforeDestroy() { this.timer && clearTimeout(this.timer); @@ -2843,6 +2844,7 @@ const res = await dataUploadSelectVerByDirid({ dirid: this.formInline.dirid, }); + if (res.code != 200) { this.$message.error("鐗堟湰鍒楄〃鑾峰彇澶辫触"); return; @@ -2857,9 +2859,11 @@ this.$message.error("鐩綍鍒楄〃鑾峰彇澶辫触"); return; } + debugger this.catalogOption = this.treeData(res.result); this.formInline.dirName = this.catalogOption[0].name; - this.getStartDirChecked(this.catalogOption); + this.formInline.dirid = this.catalogOption[0].id; + // this.getStartDirChecked(this.catalogOption); this.getselectVerByDirid(); }, -- Gitblit v1.9.3