From 6492265bd1955d13740f94bff72b027a02a964e1 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 29 十一月 2023 17:17:57 +0800 Subject: [PATCH] 主数据左侧树修改样式 --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 4 ++-- Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue | 1 + Source/UBCS-WEB/src/views/MasterData/items.vue | 4 ++-- Source/UBCS-WEB/src/components/Master/MasterTree.vue | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue index 547a4cb..affa381 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue @@ -378,6 +378,7 @@ } this.geDictData(dictKeys); + this.getFormDetail(); }, //淇敼绾ц仈椤� diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index 573c4b5..100ee4a 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue @@ -251,7 +251,7 @@ methods: { openDialog() { this.getFormTemplate(); - if (this.type === "add") { + if (this.type === "add" || this.status === "amend") { this.getCodeRule(); } }, @@ -319,7 +319,7 @@ that.secVOList = (res.data.data.secVOList || []).filter((item) => typeList.includes(item.secType) ); - if (that.secVOList.length > 0 && that.type === "add") { + if ((that.secVOList.length > 0 && that.type === "add") || that.status === "amend") { that.showCodeApply = true; that.activeName = "codeApply"; diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue index 3948716..b34e705 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue @@ -1,12 +1,12 @@ <template> - <div class="app" style="display: flex;"> + <div class="app" style="position: relative;"> <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="Treedata" :defaultExpandAll="false" :option="Treeoption" style="width: fit-content;" @node-click="nodeClick"> <template slot-scope="{ node }"> <span v-html="node.label"></span> </template> </avue-tree> - <div style="display: inline-block;"> + <div style="position: absolute; right: 0px; top: -1px;"> <el-link class="refresh-icon" icon="el-icon-refresh" @click="getTreeLists"></el-link> </div> </div> diff --git a/Source/UBCS-WEB/src/views/MasterData/items.vue b/Source/UBCS-WEB/src/views/MasterData/items.vue index f84b48b..c0a80c0 100644 --- a/Source/UBCS-WEB/src/views/MasterData/items.vue +++ b/Source/UBCS-WEB/src/views/MasterData/items.vue @@ -1,7 +1,7 @@ <template> <el-container> - <el-aside> - <basic-container style="overflow: hidden;"> + <el-aside style="width:250px"> + <basic-container> <!-- 鏍戠粍浠�--> <master-tree :currentPage="this.currentPage" -- Gitblit v1.9.3