From e9288bbeb9c8f7737323b5afa3b2cd213e6734c3 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 29 Dec 2025 17:52:53 +0800 Subject: [PATCH] =?UTF-8?q?1.0.46=20=E5=AE=A1=E6=89=B9=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=96=E6=B6=88=E9=80=89=E9=A1=B9=E5=8D=A1?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Process/approvalRecord.vue | 199 ++++++++++++++++------ 1 file changed, 144 insertions(+), 55 deletions(-) diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index 2413f08..554ffd5 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -1,60 +1,64 @@ @@ -72,14 +76,12 @@ const props = defineProps({ const loading = ref(false); const visible = ref(false); const historyList = ref>([]); -const tabActiveName = ref('image'); const insId = ref(null); //初始化查询审批记录 const init = async (businessId: string | number) => { visible.value = true; loading.value = true; - tabActiveName.value = 'image'; historyList.value = []; flowHisTaskList(businessId).then((resp) => { if (resp.data) { @@ -122,6 +124,93 @@ defineExpose({ :deep(.el-dialog .el-dialog__body) { max-height: calc(100vh - 170px) !important; min-height: calc(100vh - 170px) !important; + overflow-y: auto; + } +} + +.content-wrapper { + display: flex; + flex-direction: column; + gap: 20px; +} + +.flow-chart-section { + min-height: 300px; + + .section-title { + display: flex; + align-items: center; + font-size: 16px; + font-weight: 600; + margin-bottom: 16px; + padding-bottom: 12px; + border-bottom: 2px solid #e4e7ed; + color: #303133; + position: relative; + + .title-icon { + font-size: 18px; + margin-right: 8px; + display: inline-flex; + align-items: center; + justify-content: center; + } + + .title-text { + position: relative; + padding-left: 12px; + + &::before { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 4px; + height: 18px; + background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%); + border-radius: 2px; + } + } + } +} + +.approval-info-section { + .section-title { + display: flex; + align-items: center; + font-size: 16px; + font-weight: 600; + margin-bottom: 16px; + padding-bottom: 12px; + border-bottom: 2px solid #e4e7ed; + color: #303133; + position: relative; + + .title-icon { + font-size: 18px; + margin-right: 8px; + display: inline-flex; + align-items: center; + justify-content: center; + } + + .title-text { + position: relative; + padding-left: 12px; + + &::before { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 4px; + height: 18px; + background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%); + border-radius: 2px; + } + } } }