| | |
| | | }, |
| | | |
| | | // 查询自检信息 |
| | | getSelfInspection(params: any) { |
| | | return request<BaseResult<any>>({ |
| | | url: "/app/getSelfInspection", |
| | | method: "GET", |
| | | data: params, |
| | | getSelfInspection(data: any) { |
| | | return request<BaseResult<any[]>>({ |
| | | url: "/wireInspection/getDrawInspectInfoListByGetDrawInspect", |
| | | method: "POST", |
| | | data: data, |
| | | }); |
| | | }, |
| | | |
| | | // 新增自检 |
| | | addSelfInspection(data: any) { |
| | | return request<BaseResult<any[]>>({ |
| | | url: "/wireInspection/saveDrawInspectionRecord", |
| | | method: "POST", |
| | | data: data, |
| | | }); |
| | | }, |
| | | |
| | | // 删除自检 |
| | | deleteSelfInspection(ids: string | number) { |
| | | return request<BaseResult<any[]>>({ |
| | | url: `/wireInspection/deleteDrawWireInspectionRecord/${ids}`, |
| | | method: "POST", |
| | | }); |
| | | }, |
| | | |
| | | // 获取自检样式数据 |
| | | getDrawInspectStyleByGetDrawInspect(data: any) { |
| | | return request<BaseResult<any[]>>({ |
| | | url: "/wireInspection/getDrawInspectStyleByGetDrawInspect", |
| | | method: "POST", |
| | | data: data, |
| | | }); |
| | | }, |
| | | |