fix 修复我的单据无法提交问题

This commit is contained in:
songgaoshuai 2023-08-11 10:32:02 +08:00
parent bace65610d
commit e81f31c225

View File

@ -102,7 +102,7 @@
<!-- 审批记录 --> <!-- 审批记录 -->
<approvalRecord ref="approvalRecordRef" /> <approvalRecord ref="approvalRecordRef" />
<!-- 提交组件 --> <!-- 提交组件 -->
<submitVerify ref="submitVerifyRef" :taskId="taskId" @submitCallback="getList"/> <submitVerify ref="submitVerifyRef" @submitCallback="getList" />
</div> </div>
</template> </template>
@ -147,8 +147,6 @@ type CategoryOption = {
}; };
const tab = ref('running'); const tab = ref('running');
// id
const taskId = ref('');
// //
const queryParams = ref<Record<string, any>>({ const queryParams = ref<Record<string, any>>({
pageNum: 1, pageNum: 1,
@ -254,8 +252,7 @@ const handleCancelProcessApply = async (row: any) => {
// //
const submitVerifyOpen = async (id: string) => { const submitVerifyOpen = async (id: string) => {
if (submitVerifyRef.value) { if (submitVerifyRef.value) {
taskId.value = id; submitVerifyRef.value.openDialog(true,id);
submitVerifyRef.value.openDialog(true);
} }
}; };
</script> </script>