From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 16 十月 2024 15:59:38 +0800 Subject: [PATCH] 代码初始化 --- admin/src/views/business/approvalConfiguration.vue | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/admin/src/views/business/approvalConfiguration.vue b/admin/src/views/business/approvalConfiguration.vue index c295e5a..cd61e1f 100644 --- a/admin/src/views/business/approvalConfiguration.vue +++ b/admin/src/views/business/approvalConfiguration.vue @@ -316,6 +316,7 @@ this.apprList.forEach((item, index) => { if (i === index) { item.active = true + console.log("====================",item.objIds) if (item.objIds && item.objIds.length > 0) { const objIds = item.objIds.map(i => { return `${i.id}-${i.name}${i.companyName ? '-' + i.companyName : ''}` @@ -343,6 +344,8 @@ companyName: i.companyName } }) + }else{ + item.objIds = [] } }) this.apprList = arr @@ -381,7 +384,7 @@ this.activeIndex = 0 }, handleAddAppr () { - this.apprList.splice(this.apprList.length - 1, 0, { remark: '瀹℃壒浜�', active: false, type: 0, objIds: [] }) + this.apprList.splice(this.apprList.length - 1, 0, { remark: '瀹℃壒浜�',approveType: 0, active: false, type: 0, objIds: [] }) // this.apprList.push({ remark: '瀹℃壒浜�', active: false, type: '0' }) }, @@ -683,9 +686,18 @@ } .transfer { height: 600px; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + ::v-deep .el-transfer-panel{ + flex: 1; + height: 100%; + } ::v-deep .el-transfer-panel__body { height: 500px; } + ::v-deep .el-transfer-panel__list.is-filterable { height: 480px; } -- Gitblit v1.9.3