外层修试通过接口
This commit is contained in:
parent
ffcff6ab25
commit
fdb9cd241b
|
|
@ -73,7 +73,7 @@ export function sendList(data) {
|
|||
})
|
||||
}
|
||||
|
||||
//维修合格
|
||||
//内层维修合格
|
||||
export function auditPass(data) {
|
||||
return request({
|
||||
url: '/material/repair/batchQualified',
|
||||
|
|
@ -83,6 +83,16 @@ export function auditPass(data) {
|
|||
})
|
||||
}
|
||||
|
||||
//外层修试审核通过
|
||||
export function outerAudit(data) {
|
||||
return request({
|
||||
url: '/material/repair_audit_details/outerAudit',
|
||||
method: 'put',
|
||||
data: data,
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
//获取维修任务单信息
|
||||
export function getRepairDocumentInfo(taskId) {
|
||||
return request({
|
||||
|
|
|
|||
|
|
@ -227,16 +227,10 @@
|
|||
<script>
|
||||
import {
|
||||
getListTestExamineApply,
|
||||
// getPurchaseCheckInfo,
|
||||
// getAcceptanceForm,
|
||||
// purchaseCheckInfoRemove,
|
||||
// queryStatusDataApi,
|
||||
// getApplyInfo,
|
||||
// applyRemove,
|
||||
// applySend,
|
||||
// applySendAll,
|
||||
} from "@/api/repair/testExamine";
|
||||
|
||||
import {
|
||||
outerAudit,
|
||||
} from "@/api/repair/repair";
|
||||
export default {
|
||||
name: "Home",
|
||||
dicts: ["repair_task_status"],
|
||||
|
|
@ -373,7 +367,7 @@ export default {
|
|||
});
|
||||
return;
|
||||
} else {
|
||||
auditPass(this.passTemp).then((response) => {
|
||||
outerAudit(this.passTemp).then((response) => {
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("通过成功");
|
||||
}
|
||||
|
|
@ -390,7 +384,7 @@ export default {
|
|||
});
|
||||
return;
|
||||
} else {
|
||||
auditPass(this.failTemp).then((response) => {
|
||||
outerAudit(this.failTemp).then((response) => {
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("驳回成功");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue