Merge branch 'main' of http://113.45.157.195:3003/linfeng/staff_data
This commit is contained in:
commit
7a13fa4e57
|
@ -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"
|
||||
|
|
|
@ -111,8 +111,6 @@ const StaffInfoWrite = () => {
|
|||
// 检查字段是否应禁用
|
||||
const isDisabled = shouldFieldBeDisabled(field, groupName);
|
||||
|
||||
// 如果是工作信息相关的字段,添加额外的类名
|
||||
const isWorkInfo = groupName === "工作信息";
|
||||
|
||||
// 根据字段类型渲染不同的组件
|
||||
switch (field.type) {
|
||||
|
|
Loading…
Reference in New Issue