权限配置页面
This commit is contained in:
parent
4ceee6584d
commit
ea5cdade9e
@ -160,7 +160,7 @@ const columns = ref([
|
|||||||
enum: [],
|
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']) },
|
{ 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;
|
if (!formRef.value) return;
|
||||||
|
|
||||||
formRef.value.validate(async (valid) => {
|
formRef.value.validate(async (valid) => {
|
||||||
if (!valid) return;
|
if (!valid) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user