From 2870669f662331f918b8a7d3bf57ff5217bab198 Mon Sep 17 00:00:00 2001 From: xubinbin0303 Date: Mon, 30 Jun 2025 10:43:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor(system):=20=E4=BC=98=E5=8C=96=20webhoo?= =?UTF-8?q?k=E7=BE=A4=E5=8F=91=E5=8A=A9=E6=89=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改业务标识和类型字段的显示和处理逻辑 - 优化表单初始化和数据绑定 - 添加字典值与标签之间的转换功能 --- src/utils/dict.ts | 1 + src/views/system/webhook/WebhookForm.vue | 30 ++++++++++++++++++------ src/views/system/webhook/index.vue | 2 +- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 862a9abc9..a705404e5 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -44,6 +44,7 @@ export const getIntDictOptions = (dictType: string): NumberDictDataType[] => { value: parseInt(dict.value + '') }) }) + console.log( 'dictOption', dictOption) return dictOption } diff --git a/src/views/system/webhook/WebhookForm.vue b/src/views/system/webhook/WebhookForm.vue index 5e86a5ca0..db027370a 100644 --- a/src/views/system/webhook/WebhookForm.vue +++ b/src/views/system/webhook/WebhookForm.vue @@ -17,7 +17,7 @@ - + - + diff --git a/src/views/system/webhook/index.vue b/src/views/system/webhook/index.vue index f3156701c..20337a6b1 100644 --- a/src/views/system/webhook/index.vue +++ b/src/views/system/webhook/index.vue @@ -110,7 +110,7 @@ > - +