#
vincentlu
2025-04-22 0f27101ca5f012db03af7fb50de28c22029cfc24
zy-acs-flow/src/page/segment/SegmentList.jsx
@@ -58,7 +58,7 @@
    '& .column-name': {
    },
    '& .opt': {
        width: 120
        width: 130
    },
}));
@@ -260,13 +260,17 @@
                                    <DateField source="createTime" label="common.field.createTime" showTime />
                                    <BooleanField source="statusBool" label="common.field.status" sortable={false} />
                                    <TextField source="memo" label="common.field.memo" sortable={false} />
                                    {(filterValues.state === 'WAITING' || filterValues.state === 'RUNNING') && (
                                    {(
                                        filterValues.state === 'INIT'
                                        || filterValues.state === 'WAITING'
                                        || filterValues.state === 'RUNNING'
                                    ) && (
                                        <FunctionField label="common.field.opt" cellClassName="opt" render={record => (
                                            <>
                                                <ConfirmButton
                                                    label="common.action.deprecate"
                                                    size="small"
                                                    color="error"
                                                        color="inherit"
                                                    startIcon={<ClearIcon />}
                                                    sx={{
                                                        padding: '1px',