短信模板导出
This commit is contained in:
parent
c5f36ed4b2
commit
127b7987c0
@ -11,6 +11,14 @@
|
|||||||
v-hasPermi="['system:sms-channel:create']"
|
v-hasPermi="['system:sms-channel:create']"
|
||||||
@click="handleCreate()"
|
@click="handleCreate()"
|
||||||
/>
|
/>
|
||||||
|
<!-- 操作:导出 -->
|
||||||
|
<XButton
|
||||||
|
type="warning"
|
||||||
|
preIcon="ep:download"
|
||||||
|
:title="t('action.export')"
|
||||||
|
v-hasPermi="['system:sms-template:export']"
|
||||||
|
@click="exportList('短信模板.xls')"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #actionbtns_default="{ row }">
|
<template #actionbtns_default="{ row }">
|
||||||
<XTextButton
|
<XTextButton
|
||||||
@ -120,10 +128,11 @@ const { t } = useI18n() // 国际化
|
|||||||
const message = useMessage() // 消息弹窗
|
const message = useMessage() // 消息弹窗
|
||||||
|
|
||||||
// 列表相关的变量
|
// 列表相关的变量
|
||||||
const [registerTable, { reload, deleteData }] = useXTable({
|
const [registerTable, { reload, deleteData, exportList }] = useXTable({
|
||||||
allSchemas: allSchemas,
|
allSchemas: allSchemas,
|
||||||
getListApi: SmsTemplateApi.getSmsTemplatePageApi,
|
getListApi: SmsTemplateApi.getSmsTemplatePageApi,
|
||||||
deleteApi: SmsTemplateApi.deleteSmsTemplateApi
|
deleteApi: SmsTemplateApi.deleteSmsTemplateApi,
|
||||||
|
exportListApi: SmsTemplateApi.exportSmsTemplateApi
|
||||||
})
|
})
|
||||||
|
|
||||||
// 弹窗相关的变量
|
// 弹窗相关的变量
|
||||||
|
Loading…
Reference in New Issue
Block a user