|
|
|
@ -188,3 +188,92 @@ export function wjCheckAdd(data) {
|
|
|
|
|
data |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 开线 |
|
|
|
|
* @param {Object} data |
|
|
|
|
*/ |
|
|
|
|
export function openLine(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
return request({ |
|
|
|
|
url: `${functions.getDomain()}/api/open-line`, |
|
|
|
|
method: "post", |
|
|
|
|
data |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 投入统计 |
|
|
|
|
* @param {Object} data |
|
|
|
|
*/ |
|
|
|
|
export function trtj(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
return request({ |
|
|
|
|
url: `${functions.getDomain()}/api/i-s`, |
|
|
|
|
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 badReasons(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
return request({ |
|
|
|
|
url: `${functions.getDomain()}/api/bad-reasons`, |
|
|
|
|
method: "post", |
|
|
|
|
data |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 下线记录 |
|
|
|
|
* @param {Object} data |
|
|
|
|
*/ |
|
|
|
|
export function offline(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
return request({ |
|
|
|
|
url: `${functions.getDomain()}/api/offline`, |
|
|
|
|
method: "post", |
|
|
|
|
data |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 停线原因 |
|
|
|
|
* @param {Object} data |
|
|
|
|
*/ |
|
|
|
|
export function stopLineReason(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
return request({ |
|
|
|
|
url: `${functions.getDomain()}/api/stop-line-reason`, |
|
|
|
|
method: "get", |
|
|
|
|
data |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 停线记录 |
|
|
|
|
* @param {Object} data |
|
|
|
|
*/ |
|
|
|
|
export function stopRecord(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
return request({ |
|
|
|
|
url: `${functions.getDomain()}/api/stop-record`, |
|
|
|
|
method: "post", |
|
|
|
|
data |
|
|
|
|
}); |
|
|
|
|
} |