feat:提交重试
This commit is contained in:
@@ -4,15 +4,14 @@ import { computed, onMounted, ref } from 'vue';
|
|||||||
import { useAccess } from '@vben/access';
|
import { useAccess } from '@vben/access';
|
||||||
import { Page } from '@vben/common-ui';
|
import { Page } from '@vben/common-ui';
|
||||||
|
|
||||||
import { Button, Card, message, Space } from 'ant-design-vue';
|
import { Button, Card, Space } from 'ant-design-vue';
|
||||||
|
|
||||||
import { useVbenForm } from '#/adapter/form';
|
import { useVbenForm } from '#/adapter/form';
|
||||||
import { getAlertPage, updateAlert } from '#/api/alert/alert';
|
import { getAlertPage, updateAlert } from '#/api/alert/alert';
|
||||||
import { getSimpleUserList } from '#/api/system/user';
|
import { getSimpleUserList } from '#/api/system/user';
|
||||||
|
import { $t } from '#/locales';
|
||||||
|
|
||||||
const { hasAccessByCodes } = useAccess();
|
const { hasAccessByCodes } = useAccess();
|
||||||
import { getUserPage } from '#/api/system/user';
|
|
||||||
import { $t } from '#/locales';
|
|
||||||
|
|
||||||
// 表单数据
|
// 表单数据
|
||||||
const formData = ref({
|
const formData = ref({
|
||||||
@@ -27,10 +26,10 @@ const userOptions = ref([]);
|
|||||||
|
|
||||||
// 提醒天数选项
|
// 提醒天数选项
|
||||||
const daysOptions = [
|
const daysOptions = [
|
||||||
{ label: '15'+$t('alert.day'), value: 15 },
|
{ label: `15${$t('alert.day')}`, value: 15 },
|
||||||
{ label: '7'+$t('alert.day'), value: 7 },
|
{ label: `7${$t('alert.day')}`, value: 7 },
|
||||||
{ label: '2'+$t('alert.day'), value: 2 },
|
{ label: `2${$t('alert.day')}`, value: 2 },
|
||||||
{ label: '1'+$t('alert.day'), value: 1 },
|
{ label: `1${$t('alert.day')}`, value: 1 },
|
||||||
];
|
];
|
||||||
|
|
||||||
// 表单配置
|
// 表单配置
|
||||||
|
|||||||
Reference in New Issue
Block a user