考勤-班次管理
This commit is contained in:
@@ -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',
|
||||
// },
|
||||
];
|
||||
|
Reference in New Issue
Block a user