考勤-班次管理

This commit is contained in:
FLL
2025-07-21 11:50:09 +08:00
parent 5d8ba35a66
commit b74cde4531
3 changed files with 31 additions and 13 deletions

View File

@@ -33,6 +33,7 @@ export const columns: VxeGridProps['columns'] = [
title: '班次名称',
field: 'name',
},
{
title: '考勤开始时间',
field: 'startTime',
@@ -69,6 +70,7 @@ export const modalSchema: FormSchemaGetter = () => [
label: '班次名称',
fieldName: 'name',
component: 'Input',
rules: 'required',
},
{
label: '考勤时间',
@@ -85,8 +87,8 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'RadioGroup',
componentProps: {
options: [
{ label: '不休息', value: '0' },
{ label: '休息', value: '1' },
{ label: '不休息', value: 0 },
{ label: '休息', value: 1 },
],
},
rules: 'required',
@@ -104,13 +106,13 @@ export const modalSchema: FormSchemaGetter = () => [
triggerFields: ['isRest'],
},
},
{
label: '状态',
fieldName: 'status',
component: 'Select',
componentProps: {
options: getDictOptions('wy_state'),
},
rules: 'required',
},
// {
// label: '状态',
// fieldName: 'status',
// component: 'Select',
// componentProps: {
// options: getDictOptions('wy_state'),
// },
// rules: 'required',
// },
];