|
@@ -7,7 +7,7 @@ import { fetchAttendanceList, unlinkAttendance, deleteAttendance } from '@/servi
|
|
|
import ConnectModal from '@/pages/role/System/components/ConnectModal'
|
|
|
import ProForm, { ProFormText } from '@ant-design/pro-form'
|
|
|
|
|
|
-const itemTitleOptions = [
|
|
|
+const titleOptions = [
|
|
|
{ label: '加班申请人', value: '0' },
|
|
|
{ label: '销假参数', value: '1' }
|
|
|
]
|
|
@@ -126,7 +126,7 @@ const Attendance: React.FC = () => {
|
|
|
|
|
|
return (
|
|
|
<div className="h-full w-full flex flex-row">
|
|
|
- <ShowTitleMenu onSelect={onSelect} itemTitle={itemTitleOptions} selectDefaultValue="0" />
|
|
|
+ <ShowTitleMenu onSelect={onSelect} option={titleOptions} selectDefaultValue="0" />
|
|
|
<div className="w-max-3/4">
|
|
|
<div className="ml-8 bg-white p-4 shadow-md shadow-hex-3e2c5a relative">
|
|
|
{state.id === '0' ? (
|
|
@@ -174,7 +174,7 @@ const Attendance: React.FC = () => {
|
|
|
</div>
|
|
|
<ProForm.Group>
|
|
|
<span>每月</span>
|
|
|
- <ProFormText name="attendanceNum" label="" initialValue={5} />
|
|
|
+ <ProFormText name="CLD_parameters" label="" initialValue={5} />
|
|
|
<span>号</span>
|
|
|
</ProForm.Group>
|
|
|
</ProForm>
|