From 776eb3a7b0c619ec3b3b1ef3aece36d95781c96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=B1=E5=93=A5=E4=B8=B6?= <385454831@qq.com> Date: Sat, 15 Apr 2023 12:25:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84VUE3=E3=80=90=E7=AB=99?= =?UTF-8?q?=E5=86=85=E4=BF=A1-=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/notify/template/index.ts | 9 +- .../notify/template/NotifyTemplateForm.vue | 140 ++++++ src/views/system/notify/template/index.vue | 446 ++++++++++-------- .../system/notify/template/template.data.ts | 85 ---- 4 files changed, 407 insertions(+), 273 deletions(-) create mode 100644 src/views/system/notify/template/NotifyTemplateForm.vue delete mode 100644 src/views/system/notify/template/template.data.ts diff --git a/src/api/system/notify/template/index.ts b/src/api/system/notify/template/index.ts index 66530a90..f2bf5d27 100644 --- a/src/api/system/notify/template/index.ts +++ b/src/api/system/notify/template/index.ts @@ -1,13 +1,14 @@ import request from '@/config/axios' export interface NotifyTemplateVO { - id: number + id: number | null name: string + nickname: string code: string content: string - type: number + type: number | null params: string - status: number + status: number | null remark: string } @@ -19,7 +20,7 @@ export interface NotifyTemplatePageReqVO extends PageParam { } export interface NotifySendReqVO { - userId: number + userId: number | null templateCode: string templateParams: Map } diff --git a/src/views/system/notify/template/NotifyTemplateForm.vue b/src/views/system/notify/template/NotifyTemplateForm.vue new file mode 100644 index 00000000..d600a59c --- /dev/null +++ b/src/views/system/notify/template/NotifyTemplateForm.vue @@ -0,0 +1,140 @@ + + diff --git a/src/views/system/notify/template/index.vue b/src/views/system/notify/template/index.vue index 45c1be6d..9d37befb 100644 --- a/src/views/system/notify/template/index.vue +++ b/src/views/system/notify/template/index.vue @@ -1,87 +1,169 @@ -