You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
155 lines
2.3 KiB
155 lines
2.3 KiB
import request from "@/utils/request.js"; |
|
import functions from "@/utils/functions.js"; |
|
|
|
/** |
|
* 冲压巡检审核 |
|
* @param {Object} data |
|
*/ |
|
export function cyCheckSure(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/cy-check-sure`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 喷涂巡检审核 |
|
* @param {Object} data |
|
*/ |
|
export function ptCheckSure(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/pt-check-sure`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
/** |
|
* 喷涂详情 |
|
* @param {Object} data |
|
*/ |
|
export function ptCheckDetail(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/pt-check-detail`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 组装巡检审核 |
|
* @param {Object} data |
|
*/ |
|
export function zzCheckSure(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/zz-check-sure`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 组装巡检详情 |
|
* @param {Object} data |
|
*/ |
|
export function zzCheckDetail(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/zz-check-detail`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 五金巡检审核 |
|
* @param {Object} data |
|
*/ |
|
export function wjCheckSure(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/wj-check-sure`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 五金巡检详情 |
|
* @param {Object} data |
|
*/ |
|
export function wjCheckDetail(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/wj-check-detail`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 不良原因 |
|
* @param {Object} data |
|
*/ |
|
export function reasonNo(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/reason-no`, |
|
method: "get", |
|
data |
|
}); |
|
} |
|
|
|
|
|
|
|
/** |
|
* 不良品提交 |
|
* @param {Object} data |
|
*/ |
|
export function badReasons(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/bad-reasons`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 返修 |
|
* @param {Object} data |
|
*/ |
|
export function repair(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/repair`, |
|
method: "post", |
|
data |
|
}); |
|
} |
|
|
|
|
|
/** |
|
* 下线 |
|
* @param {Object} data |
|
*/ |
|
export function offline(data) { |
|
console.log(data) |
|
return request({ |
|
url: `${functions.getDomain()}/api/offline`, |
|
method: "post", |
|
data |
|
}); |
|
} |