|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
|
import useUserStore from "@/stores/modules/user"; |
|
|
|
|
const userStore = useUserStore(); |
|
|
|
|
const props = defineProps(['dialog','reportId','nextNode','message',"isWarning","isCityAudit","reportProject", 'currentNode']) |
|
|
|
|
const props = defineProps(['dialog','reportId','nextNode','message',"isWarning","isCityAudit","reportProject", 'currentNode', 'auditUnitId']) |
|
|
|
|
const emits = defineEmits(['submitFeedback',"closeFun"]) |
|
|
|
|
import { getDictValue } from "@/utils/util"; |
|
|
|
|
import { saveLastChoice, loadLastChoice } from '@/utils/lastChoice'; |
|
|
|
|
@ -93,6 +93,10 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const submitFun = async ()=>{ |
|
|
|
|
if (props.auditUnitId && formData.value.approverUnitId !== props.auditUnitId) { |
|
|
|
|
feedback.msgWarning("办理单位必须与审计单位一致!"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
debugger |
|
|
|
|
await auditForm.value.validate(); |
|
|
|
|
await feedback.confirm("是否确认通过?"); |
|
|
|
|
|