| | |
| | | import { DftGrpRelease, dftGrpactionColumn } from './basDefectGrp'; |
| | | import { DftGrpRelease, dftGrpActionItem, dftGrpactionColumn } from './basDefectGrp'; |
| | | import { DeleteEntity } from '/@/api/tigerapi/system'; |
| | | import { ActionItem, BasicColumn } from '/@/components/Table'; |
| | | |
| | |
| | | ] as ActionItem[]; |
| | | switch (params.entityName) { |
| | | case 'BAS_DEFECT_GRP': |
| | | const _d = [ |
| | | // { |
| | | // icon: 'release|svg', |
| | | // tooltip: '下发', |
| | | // onClick: DftGrpRelease.bind(null, args[1], params), |
| | | // }, |
| | | ]; |
| | | const _d = dftGrpActionItem; |
| | | _d[0].onClick = DftGrpRelease.bind(null, args[1], params); |
| | | data = [...data, ..._d]; |
| | | break; |
| | | } |