This commit is contained in:
linfeng 2025-03-27 08:59:03 +08:00
commit 7a13fa4e57
2 changed files with 7 additions and 7 deletions

View File

@ -257,7 +257,7 @@ export default function StaffTable() {
field: 'hasTrain', headerName: '是否参加培训',
cellRenderer: (params: any) => (
<div>
<Input value="false" disabled />
<Input value="" disabled />
</div>
)
}
@ -272,7 +272,7 @@ export default function StaffTable() {
field: 'hasCert', headerName: '是否参加鉴定',
cellRenderer: (params: any) => (
<div>
<Input value="false" disabled />
<Input value="" disabled />
</div>
)
}
@ -666,7 +666,9 @@ export default function StaffTable() {
<Button onClick={() => setImportVisible(true)} className="bg-orange-500 text-white px-4 py-2 rounded hover:bg-orange-600">
Excel
</Button>
<Button onClick={handleExportTemplate} className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600">
</Button>
<Button
onClick={handleResetFilters}
className="bg-gray-500 text-white px-4 py-2 rounded hover:bg-gray-600"

View File

@ -111,8 +111,6 @@ const StaffInfoWrite = () => {
// 检查字段是否应禁用
const isDisabled = shouldFieldBeDisabled(field, groupName);
// 如果是工作信息相关的字段,添加额外的类名
const isWorkInfo = groupName === "工作信息";
// 根据字段类型渲染不同的组件
switch (field.type) {