| | |
| | | }); |
| | | }, |
| | | |
| | | // 新增单丝领用检查 |
| | | // 新增绞线单丝领用检查 |
| | | addSingleDishInspection(data: any) { |
| | | return request<BaseResult<any>>({ |
| | | url: "/wireInspection/saveSingleDishInspection", |
| | |
| | | data: data, |
| | | }); |
| | | }, |
| | | |
| | | // 删除单丝领用 |
| | | deleteStrandedWireDish(id: number) { |
| | | return request<BaseResult<any>>({ |
| | | url: `/strandedWire/deleteStrandedWireDish/${id}`, |
| | | method: "DELETE", |
| | | }); |
| | | }, |
| | | |
| | | // 删除绞线报工 |
| | | deleteWireOutput(params: { id: number }) { |
| | | // 将参数拼接到 URL 作为 query 参数 |
| | | const queryString = `?id=${params.id}`; |
| | | return request<BaseResult<any>>({ |
| | | url: `/strandedWire/deleteWireOutput${queryString}`, |
| | | method: "DELETE", |
| | | }); |
| | | }, |
| | | }; |
| | | |
| | | export default TwistApi; |