From e645080a97a5afe8083e90703eafe55f0c80081b Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 16 十一月 2023 10:02:52 +0800 Subject: [PATCH] 主题库 分类注入 --- Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue index 50deca2..183da7e 100644 --- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue +++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue @@ -320,7 +320,7 @@ ></refer-config-dialog> </div> - <div> + <el-table v-if="this.crudArrayFlag" ref="referAttrCrud" v-loading="loading" @@ -395,7 +395,6 @@ </el-table-column> </el-table> </div> - </div> </template> <script> @@ -1555,7 +1554,6 @@ }, computed: { ...mapGetters(["permission"]), - //椤甸潰鎸夐挳鏉冮檺 permissionList() { return { busineStatus: this.vaildData(this.permission.classifyTree.attr_add, false), @@ -1800,6 +1798,7 @@ this.attrSelectList = [row]; this.$refs.referAttrCrud.setCurrentRow(row); this.$refs.referAttrCrud.toggleRowSelection(row); //閫変腑褰撳墠琛� + this.attrOid = row.oid; this.attrRow = row; }, @@ -2105,15 +2104,17 @@ } else { this.injectOption.classifyNumber = 0; } + // console.log(this.ProData) this.injectVisible = false; }, //鍒嗙被娉ㄥ叆娓呯┖ injectHandleReset() { - this.$set(this.CurrentCell, 'classifyInvokeText', '') - this.$set(this.CurrentCell, 'classifyInvokeAttr:', '') - this.$set(this.CurrentCell, 'classitwInvokeAttrName', '') - this.$set(this.CurrentCell, 'classifyInvokeEditFlag', 'false') - this.$set(this.CurrentCell, 'classifyInvokeLevel', 'none') + this.CurrentCell.classifyInvokeText = null; + this.CurrentCell.classifyInvokeAttr = ''; + this.CurrentCell.classifyInvokeAttrName = ''; + this.CurrentCell.classifyInvokeEditFlag = ''; + this.CurrentCell.classifyInvokeLevel = null; + // console.log(this.ProData) this.injectVisible = false; }, // 鍒嗙被娉ㄥ叆鍙栨秷 -- Gitblit v1.9.3