全局下拉修改

This commit is contained in:
孙景学
2025-07-17 15:28:18 +08:00
parent 5c505150e5
commit 75acc55222
8 changed files with 80 additions and 80 deletions

View File

@ -62,18 +62,6 @@ const OtherAttachmentsTab: React.FC<Props> = (props) => {
setIsViewMode(false);
setFormVisible(true);
};
// 作废 修改
const handleEdit = (record: attachmentsAdd) => {
setEditingRecord(record);
setIsViewMode(false);
setFormVisible(true);
};
// 作废 查看
const handleView = (record: attachmentsAdd) => {
setEditingRecord(record);
setIsViewMode(true);
setFormVisible(true);
};
//是否作废
const handleObsoleteChange = async (checked: boolean, id:string) => {
// 调用你的作废接口
@ -128,20 +116,6 @@ const OtherAttachmentsTab: React.FC<Props> = (props) => {
},
},
// ...(viewType ? [] : [
// {
// title: 'page.workbench.attachments.action',
// dataIndex: 'option',
// width: 120,
// render: (_: any, record: attachmentsAdd) => (
// <>
// <a style={{ marginRight: 8 }} onClick={() => handleView(record)}>查看</a>
// <a onClick={() => handleEdit(record)}>修改</a>
// </>
// ),
// },
// ]),
];
return (
<div style={{ padding: '0 30px 0 0' }}>