From 9cc056beca337c19731936e04daaf7349e60eef8 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 25 Sep 2024 15:34:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=B9=B3=E5=8F=B0=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA&=E7=BC=BA?= =?UTF-8?q?=E9=99=B7=E8=AF=A6=E6=83=85bugs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../featureCaseMinder/attachment.vue | 1 + frontend/src/utils/index.ts | 3 +- .../components/bug-detail-drawer.vue | 47 +++++++++---------- .../bug-management/components/deleteModal.vue | 2 +- frontend/src/views/bug-management/index.vue | 12 +++-- .../tabContent/tabBug/bugNamePopover.vue | 4 +- 6 files changed, 35 insertions(+), 34 deletions(-) diff --git a/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue b/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue index 267325f96a..bc48241078 100644 --- a/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue +++ b/frontend/src/components/business/ms-minders/featureCaseMinder/attachment.vue @@ -48,6 +48,7 @@ :file-save-as-api="transferFileRequest" :file-module-options-api="getTransferFileTree" source-id-key="caseId" + @finish="emit('uploadSuccess')" > diff --git a/frontend/src/utils/index.ts b/frontend/src/utils/index.ts index ae4ca9afb8..8ef511b083 100644 --- a/frontend/src/utils/index.ts +++ b/frontend/src/utils/index.ts @@ -903,7 +903,7 @@ export function getCustomFieldIndex(field: CustomFieldItem) { // 表格自定义字段转column export function customFieldToColumns(customFields: CustomFieldItem[]) { return customFields.map((field) => { - const { fieldName, fieldKey, fieldId, options, platformOptionJson } = field; + const { fieldName, fieldKey, fieldId, options, platformOptionJson, type } = field; const column: MsTableColumnData = { title: fieldName, dataIndex: ['handleUser', 'status'].includes(fieldId) ? fieldKey : getCustomFieldIndex(field), @@ -912,6 +912,7 @@ export function customFieldToColumns(customFields: CustomFieldItem[]) { showInTable: true, width: 200, options: options || JSON.parse(platformOptionJson), + type, }; return column; }); diff --git a/frontend/src/views/bug-management/components/bug-detail-drawer.vue b/frontend/src/views/bug-management/components/bug-detail-drawer.vue index c8b45a45e3..621996bb80 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -126,7 +126,7 @@ class="no-content relative border-b" /> -
+
+