| | |
| | | |
| | | } |
| | | |
| | | |
| | | const BulkResortButton = () => { |
| | | const record = useRecordContext(); |
| | | const bulkResort = () => { |
| | | resortTask([record]) |
| | | }; |
| | | //批量排序 |
| | | const resortTask = async (row) => { } |
| | | return ( |
| | | <Button |
| | | onClick={bulkResort} |
| | | label="toolbar.resort"> |
| | | <SwapVertIcon /> |
| | | </Button> |
| | | ) |
| | | } |
| | | |
| | | |
| | | const ModalTable = ({ tabelData, setTableData, selectedRows, setSelectedRows, tableRef }) => { |
| | | const translate = useTranslate(); |
| | | const notify = useNotify(); |
| | |
| | | <EditButton label="toolbar.detail" /> |
| | | <DoneButton sx={{ padding: '1px', fontSize: '.75rem' }} ></DoneButton> |
| | | <CancelButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> |
| | | {/* <SetTopButton sx={{ padding: '1px', fontSize: '.75rem' }} ></SetTopButton> */} |
| | | <SetTopButton sx={{ padding: '1px', fontSize: '.75rem' }} ></SetTopButton> |
| | | </WrapperField> |
| | | </StyledDatagrid> |
| | | </List> |
| | |
| | | } |
| | | |
| | | export default TaskList; |
| | | |
| | | |
| | | const PickButton = () => { |
| | | const record = useRecordContext(); |
| | | const notify = useNotify(); |
| | | const refresh = useRefresh(); |
| | | |
| | | return ( |
| | | record?.taskStatus == 103 ? <ConfirmButton label={""} /> |
| | | ) |
| | | } |
| | | |
| | | |
| | | /** |