权限配置页面

This commit is contained in:
马梓彭 2026-04-12 16:54:47 +08:00
parent 4ceee6584d
commit ea5cdade9e

View File

@ -160,7 +160,7 @@ const columns = ref([
enum: [],
},
},
{ prop: 'createdTime', label: '生成时间', search: { el: 'date-picker', props: { type: 'date' } } },
{ prop: 'createdTime', label: '生成时间', search: { el: 'date-picker', props: { type: 'daterange' } }, minWidth: 160 },
{ prop: 'action', label: '操作', align: 'center', fixed: 'right', isShow: auths(['coupon:delete', 'coupon:edit']) },
]);
@ -208,10 +208,10 @@ const onDeleteMenu = async (id) => {
};
// 表单提交
const onSubmit = () => {
const onSubmit = () => {
if (!formRef.value) return;
formRef.value.validate(async (valid) => {
formRef.value.validate(async (valid) => {
if (!valid) return;
try {