|
|
@ -132,6 +132,7 @@ |
|
|
|
:key="tempIdeaRefViewKey" |
|
|
|
:closeOnClickModal="true" |
|
|
|
:title="tempIdeaRefViewTitle" |
|
|
|
:vLoading="tempDialogLoading" |
|
|
|
> |
|
|
|
<div style="text-align: center;"> |
|
|
|
<el-checkbox ref="checkBoxTempDue" v-model="isTemporary">临时措施</el-checkbox> |
|
|
@ -150,6 +151,7 @@ |
|
|
|
:maxHeight="760" |
|
|
|
:style="{height:'500px'}" |
|
|
|
:before-close="handleBeforeConfirmClose" |
|
|
|
:vLoading="confirmDialogLoading" |
|
|
|
> |
|
|
|
<el-form class="demo-form-inline"> |
|
|
|
<el-form-item label="确认意见"> |
|
|
@ -185,6 +187,7 @@ |
|
|
|
:maxHeight="700" |
|
|
|
:style="{height:'450px'}" |
|
|
|
:before-close="handleBeforeVerifyClose" |
|
|
|
:vLoading="formLoading" |
|
|
|
> |
|
|
|
<el-form :model="verifyFormValue" class="demo-form-inline"> |
|
|
|
<el-form-item label="验证意见"> |
|
|
@ -261,6 +264,9 @@ const verifyFormValue = ref({ |
|
|
|
verifyContent: '', |
|
|
|
}) |
|
|
|
const openRowValue = ref() |
|
|
|
const formLoading = ref(false) |
|
|
|
const tempDialogLoading = ref(false) |
|
|
|
const confirmDialogLoading = ref(false) |
|
|
|
routeName.value = route.name |
|
|
|
const tableColumns = ref(MoldMaintenanceMain.allSchemas.tableColumns) |
|
|
|
|
|
|
@ -614,6 +620,7 @@ function finishOrder(row) { |
|
|
|
} |
|
|
|
|
|
|
|
function confirmFinish(row) { |
|
|
|
tempDialogLoading.value = true |
|
|
|
let param = { |
|
|
|
id: row.id, |
|
|
|
number: row.number, |
|
|
@ -622,6 +629,7 @@ function confirmFinish(row) { |
|
|
|
requestNumber: row.requestNumber, |
|
|
|
} |
|
|
|
MoldMaintenanceMainApi.finishOrder(param).then(res => { |
|
|
|
tempDialogLoading.value = false |
|
|
|
getList() |
|
|
|
showTempIdeaRefView.value = false; |
|
|
|
message.success('操作成功') |
|
|
@ -637,6 +645,7 @@ function verifyOrder(row) { |
|
|
|
|
|
|
|
// 验证 |
|
|
|
function verifySubmit() { |
|
|
|
formLoading.value = true |
|
|
|
const row = openRowValue.value |
|
|
|
let param = { |
|
|
|
id: row.id, |
|
|
@ -646,6 +655,7 @@ function verifySubmit() { |
|
|
|
content: verifyFormValue.value.verifyContent |
|
|
|
} |
|
|
|
MoldMaintenanceMainApi.verifyOrder(param).then(res => { |
|
|
|
formLoading.value = false |
|
|
|
verifyDialogVisible.value = false |
|
|
|
getList() |
|
|
|
message.success('操作成功') |
|
|
@ -667,6 +677,7 @@ function confirmOrder(row) { |
|
|
|
|
|
|
|
// 确认 |
|
|
|
function confirmSubmit() { |
|
|
|
confirmDialogLoading.value = true |
|
|
|
const row = openRowValue.value |
|
|
|
let param = { |
|
|
|
id: row.id, |
|
|
@ -677,6 +688,7 @@ function confirmSubmit() { |
|
|
|
content: confirmFormValue.value.confirmContent, |
|
|
|
} |
|
|
|
MoldMaintenanceMainApi.confirmOrder(param).then(res => { |
|
|
|
confirmDialogLoading.value = false |
|
|
|
confirmDialogVisible.value = false |
|
|
|
getList() |
|
|
|
message.success('操作成功') |
|
|
@ -807,8 +819,8 @@ const detailSubmitForm= async (formType,data,formRef,tableList) => { |
|
|
|
}) |
|
|
|
item.itemNumbers1 = str.substring(0, str.length - 1) |
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
await getList() |
|
|
|
} finally { |
|
|
|
formRef.value.formLoading = false |
|
|
|
} |
|
|
|