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 @@ -