mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-08 23:21:52 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@@ -43,9 +43,12 @@
|
||||
</template>
|
||||
</Dialog>
|
||||
</template>
|
||||
<script lang="ts" name="SystemNotifyTemplateSendForm" setup>
|
||||
<script lang="ts" setup>
|
||||
import * as UserApi from '@/api/system/user'
|
||||
import * as NotifyTemplateApi from '@/api/system/notify/template'
|
||||
|
||||
defineOptions({ name: 'SystemNotifyTemplateSendForm' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
|
@@ -155,12 +155,15 @@
|
||||
<!-- 表单弹窗:测试发送 -->
|
||||
<NotifyTemplateSendForm ref="sendFormRef" />
|
||||
</template>
|
||||
<script setup lang="ts" name="NotifySmsTemplate">
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as NotifyTemplateApi from '@/api/system/notify/template'
|
||||
import NotifyTemplateForm from './NotifyTemplateForm.vue'
|
||||
import NotifyTemplateSendForm from './NotifyTemplateSendForm.vue'
|
||||
|
||||
defineOptions({ name: 'NotifySmsTemplate' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const loading = ref(false) // 列表的加载中
|
||||
|
Reference in New Issue
Block a user