From cbec6db67570711c10a3b78617e1df61d4eaa31a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 13 Jan 2026 17:14:40 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Form/src/components/Upload.vue | 22 ++++++++++++++----- .../header/components/notify/index.vue | 6 ++--- src/views/approve/Appro/components/config.ts | 14 ++++++------ src/views/mdm/Bank/index.vue | 4 ++-- src/views/sales/GradeSystem/index.vue | 4 ++-- .../sales/ScoreCustomer/components/config.ts | 6 ++--- .../ScoreSupplier/components/config.ts | 6 ++--- .../bpmn/modeler/custom/CustomContextPad.ts | 14 +++++++++++- 8 files changed, 50 insertions(+), 26 deletions(-) diff --git a/src/components/Form/src/components/Upload.vue b/src/components/Form/src/components/Upload.vue index 40d1578..26afe16 100644 --- a/src/components/Form/src/components/Upload.vue +++ b/src/components/Form/src/components/Upload.vue @@ -65,11 +65,14 @@ >
- - - {{ btnTip || '点击上传' }} - -
+ + +
{{ VITE_GLOB_UPLOAD_ALERT_TIP }}
@@ -173,6 +176,14 @@ dataDelete: { // 是否调接口删除 type: Boolean, default: false + }, + isShowTip: { + type: Boolean, + default: true + }, + isShowBtnIcon: { + type: Boolean, + default: true } }); @@ -340,6 +351,7 @@ }; function handleClick() { list.value = []; + emit('click'); } const handleRemove = async (info) => { const id = info.response ? info.response.data.id : info.id; diff --git a/src/layouts/default/header/components/notify/index.vue b/src/layouts/default/header/components/notify/index.vue index 193cd2b..5273b5f 100644 --- a/src/layouts/default/header/components/notify/index.vue +++ b/src/layouts/default/header/components/notify/index.vue @@ -223,8 +223,8 @@ const viewOpen = ref(false); const viewData = ref({}); - function handleView(record, num) { - viewData.value = {...record, typeId: num}; + function handleView(record) { + viewData.value = {...record}; viewOpen.value = true; } function handleViewClose() { @@ -385,7 +385,7 @@ await setSystemNoticeRead([ids]); } else { await setOaRead([ids]); - handleView(record, num) + handleView(record) } if (listData.value[num - 1].unreadNum > 0) listData.value[num - 1].unreadNum -= 1; } diff --git a/src/views/approve/Appro/components/config.ts b/src/views/approve/Appro/components/config.ts index 6467101..c39875e 100644 --- a/src/views/approve/Appro/components/config.ts +++ b/src/views/approve/Appro/components/config.ts @@ -63,7 +63,7 @@ export const columns: BasicColumn[] = [ title: '编号', componentType: 'input', align: 'left', - + width: 120, sorter: true, }, @@ -72,7 +72,7 @@ export const columns: BasicColumn[] = [ title: '签报类型', componentType: 'select', align: 'left', - + width: 120, sorter: true, }, @@ -90,7 +90,7 @@ export const columns: BasicColumn[] = [ title: '缓级', componentType: 'select', align: 'left', - + width: 100, sorter: true, }, @@ -99,7 +99,7 @@ export const columns: BasicColumn[] = [ title: '拟稿人', componentType: 'input', align: 'left', - + width: 100, sorter: true, }, @@ -108,7 +108,7 @@ export const columns: BasicColumn[] = [ title: '拟稿人所属部门', componentType: 'input', align: 'left', - + sorter: true, }, @@ -117,7 +117,7 @@ export const columns: BasicColumn[] = [ title: '拟稿日期', componentType: 'select', align: 'left', - + width: 120, sorter: true, }, @@ -126,7 +126,7 @@ export const columns: BasicColumn[] = [ title: '审批状态', componentType: 'select', align: 'left', - + width: 100, sorter: true, }, ]; diff --git a/src/views/mdm/Bank/index.vue b/src/views/mdm/Bank/index.vue index d0e3251..d33f282 100644 --- a/src/views/mdm/Bank/index.vue +++ b/src/views/mdm/Bank/index.vue @@ -1,5 +1,5 @@