| | |
| | | |
| | | |
| | | const getData = async () => { |
| | | const res = await request.post(`/qlyIsptItem/page`, { ispectId, isptStatus: '0' }); |
| | | const res = await request.post(`/qlyIsptItem/ispts/page`, { ispectId }); |
| | | if (res?.data?.code === 200) { |
| | | const data = res.data.data.records.map(item => { |
| | | return { |
| | |
| | | ), |
| | | }, |
| | | |
| | | { |
| | | field: 'isptResult', headerName: translate('table.field.qlyIsptItem.isptResult'), width: 150, type: 'singleSelect', |
| | | editable: true, valueOptions: [{ value: '1', label: '合格' }, { value: '2', label: '不合格' }, { value: '3', label: '待定' }, { value: '4', label: '部分合格' }], |
| | | }, |
| | | // { |
| | | // field: 'isptResult', headerName: translate('table.field.qlyIsptItem.isptResult'), width: 150, type: 'singleSelect', |
| | | // editable: true, valueOptions: [{ value: '1', label: '合格' }, { value: '2', label: '不合格' }, { value: '3', label: '待定' }, { value: '4', label: '部分合格' }], |
| | | // }, |
| | | ]) |
| | | |
| | | const processRowUpdate = (newRow, oldRow) => { |