Browse Source

202512022323-finish弹窗加上审核值isAudit

main
shihao0303 2 months ago
parent
commit
9d3b23d2e2
  1. 3
      src/components/reportAudit/finish.vue

3
src/components/reportAudit/finish.vue

@ -198,9 +198,11 @@ const closeAdd=()=>{
} }
// //
const submitFun = async ()=>{ const submitFun = async ()=>{
debugger
await auditForm.value.validate(); await auditForm.value.validate();
await feedback.confirm("是否确认通过?"); await feedback.confirm("是否确认通过?");
formData.value.reportId = props.reportId; formData.value.reportId = props.reportId;
formData.value.isAudit = props.isAudit;
//nextNode //nextNode
const res = await auditReport(formData.value); const res = await auditReport(formData.value);
@ -211,6 +213,7 @@ const submitFun = async ()=>{
watch(()=>props.dialog,(val)=>{ watch(()=>props.dialog,(val)=>{
debugger
if(val){ if(val){
if(props.node){ if(props.node){
// let index =flowNodes.value.findIndex(s=>s.value===props.node); // let index =flowNodes.value.findIndex(s=>s.value===props.node);

Loading…
Cancel
Save