|
|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
class="dialog-header-nopadding" |
|
|
|
|
style="--el-dialog-padding-primary: 10px; margin-bottom: 2vh" |
|
|
|
|
:lock-scroll="false" |
|
|
|
|
:close-on-press-escape="false" |
|
|
|
|
ref="dialogRef" |
|
|
|
|
> |
|
|
|
|
<template #header="{ close }"> |
|
|
|
|
@ -414,7 +415,7 @@ import {getComponents} from "@/utils/flow";
|
|
|
|
|
import {getDictLable} from "@/utils/util"; |
|
|
|
|
|
|
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
|
import {nextTick} from "vue"; |
|
|
|
|
|
|
|
|
|
import {getConfinementListAll} from "@/api/work/confinement"; |
|
|
|
|
import {getReportFile} from "@/api/superviseReport/superviseReport"; |
|
|
|
|
|
|
|
|
|
@ -623,20 +624,24 @@ async function handleExecute(action, data) {
|
|
|
|
|
if (action.actionKey === "update_verify") { |
|
|
|
|
verifyEditFlag.value = false; |
|
|
|
|
} |
|
|
|
|
await negativeExecute(props.id, { |
|
|
|
|
workId: work?.value.workId, |
|
|
|
|
actionKey: action.actionKey, |
|
|
|
|
nextFlowKey: action.nextFlowKey, |
|
|
|
|
actionName: action.actionName, |
|
|
|
|
data, |
|
|
|
|
}); |
|
|
|
|
feedback.msgSuccess("操作成功"); |
|
|
|
|
if (action.doClose) { |
|
|
|
|
emit("change"); |
|
|
|
|
emit("close"); |
|
|
|
|
return; |
|
|
|
|
try { |
|
|
|
|
await negativeExecute(props.id, { |
|
|
|
|
workId: work?.value.workId, |
|
|
|
|
actionKey: action.actionKey, |
|
|
|
|
nextFlowKey: action.nextFlowKey, |
|
|
|
|
actionName: action.actionName, |
|
|
|
|
data, |
|
|
|
|
}); |
|
|
|
|
feedback.msgSuccess("操作成功"); |
|
|
|
|
if (action.doClose) { |
|
|
|
|
emit("change"); |
|
|
|
|
emit("close"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
getDetails(); |
|
|
|
|
} catch(e) { |
|
|
|
|
loading.value = false; |
|
|
|
|
} |
|
|
|
|
getDetails(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async function handleSubmitExecute(data) { |
|
|
|
|
|