45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
import axios from './http'
|
|
|
|
// 报修
|
|
export default class PatchRepair {
|
|
//获取工单列表
|
|
getorderWorkList(params) {
|
|
return axios.post('/exec/exec/pasterRepair/orderWorkList', params)
|
|
}
|
|
//查询条码对应的物料信息
|
|
findMaterialInfo(params) {
|
|
return axios.post("/exec/exec/pasterRepair/findMaterialInfo", params)
|
|
}
|
|
//报修
|
|
pasterRepairAdd(params) {
|
|
params.type=1
|
|
return axios.post("/exec/exec/pasterRepair/add",params)
|
|
}
|
|
//缺陷原因
|
|
defectList(params){
|
|
return axios.post("/exec/exec/pasterRepair/defectList",params)
|
|
}
|
|
//报修明细列表
|
|
pasterRepairDetailList(params){
|
|
return axios.get("/exec/exec/pasterRepair/detailList",{params})
|
|
}
|
|
//报修列表
|
|
pasterRepairList(params){
|
|
return axios.get("/exec/exec/pasterRepair/list",{params})
|
|
}
|
|
//维修明细列表
|
|
RepairdetailListByBar(params){
|
|
return axios.get("/exec/exec/pasterRepair/detailListByBar",{params})
|
|
}
|
|
//不良现象
|
|
phenomenonList(params){
|
|
return axios.post("/exec/exec/pasterRepair/phenomenonList",params)
|
|
}
|
|
//维修
|
|
|
|
pasterRepairUpdata(params) {
|
|
params.type=1
|
|
return axios.post("/exec/exec/pasterRepair/update",params)
|
|
}
|
|
|
|
} |