diff --git a/src/views/system/notify/template/NotifyTemplateSendForm.vue b/src/views/system/notify/template/NotifyTemplateSendForm.vue index 78103d71..964f6b98 100644 --- a/src/views/system/notify/template/NotifyTemplateSendForm.vue +++ b/src/views/system/notify/template/NotifyTemplateSendForm.vue @@ -15,7 +15,21 @@ type="textarea" /> - + + + + {{ dict.label }} + + + + + + + import * as UserApi from '@/api/system/user' import * as NotifyTemplateApi from '@/api/system/notify/template' +import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' defineOptions({ name: 'SystemNotifyTemplateSendForm' }) @@ -57,6 +72,7 @@ const formData = ref({ content: '', params: {}, userId: null, + userType: 1, templateCode: '', templateParams: new Map() }) @@ -122,7 +138,8 @@ const resetForm = () => { params: {}, mobile: '', templateCode: '', - templateParams: new Map() + templateParams: new Map(), + userType: 1 } as any formRef.value?.resetFields() }