From 182247ccf29a324bfb2ef4acabd5976f55574a23 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Tue, 18 Jun 2024 15:30:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=BA=94=E7=94=A8V1?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=AE=8C=E7=BB=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/taskapi/management.ts | 9 + src/components/DesignForm/app/formPage.vue | 10 +- src/components/DesignForm/app/index.vue | 6 + .../DesignForm/public/form/childTable.vue | 4 + .../DesignForm/public/form/formGroup.vue | 1 + .../DesignForm/tableListPage/formPageCont.vue | 25 +- .../tableListPage/formPageContApp.vue | 23 +- .../regularPage/completedMattersPage.vue | 13 + .../runApp/regularPage/myCreate.vue | 1 + .../runApp/regularPage/myDrafts.vue | 31 ++- .../runApp/regularPage/myToDoPage.vue | 30 ++- .../runApp/regularPage/sendCopy.vue | 39 ++- .../taskmanagement/lookFlowInfoApp.vue | 218 +++++++++++++++ .../taskmanagement/runFlowStep.vue | 18 +- .../taskmanagement/runFlowStepApp.vue | 249 ++++++++++++++++++ src/widget/number/index.vue | 4 +- 16 files changed, 652 insertions(+), 29 deletions(-) create mode 100644 src/views/taskplatform/taskmanagement/lookFlowInfoApp.vue create mode 100644 src/views/taskplatform/taskmanagement/runFlowStepApp.vue diff --git a/src/api/taskapi/management.ts b/src/api/taskapi/management.ts index 7213dc2c9..15fecf442 100644 --- a/src/api/taskapi/management.ts +++ b/src/api/taskapi/management.ts @@ -84,6 +84,7 @@ export function gainTaskFormInfo(data: customerFormLogo):AxiosPromise({}) //监听是否为流程表单 watch(()=>props.isWorkFlow,(val:number)=>{ - console.log("获取流程----->",val) + console.log("监听是否为流程表单----->",val,formProps) if(val == 1){ getFlowInitSwps() } @@ -734,9 +734,12 @@ const appFormSubmit = (params = {}) => { .then((data:any)=>{ console.log("流程提交成功--------1---------->",data) }) + .finally(() =>{ + afterSubmit('success', data) + }) }) } - afterSubmit('success', data) + }) .catch(res => { afterSubmit('fail', res) @@ -986,8 +989,9 @@ const changeKeyVal = (key:any,val:any,type:any,attribute:any) => { }) } } + console.log("isUpdateFlowChart",isUpdateFlowChart) //更新工作流图 - if(isUpdateFlowChart){ + if(isUpdateFlowChart && gainFlowChart.id !=0){ flowLoading.value = true //获取工作流不进图 gainFlowChart.conditionList=flowFactor diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue index 9344339e4..ce14444b7 100644 --- a/src/components/DesignForm/app/index.vue +++ b/src/components/DesignForm/app/index.vue @@ -16,6 +16,8 @@ import { Picture,InfoFilled,QuestionFilled } from '@element-plus/icons-vue' import { softDeletion,retractRunWorkFlow } from '@/api/taskapi/management' + + //引入组件 import FormPageCont from '@/components/DesignForm/tableListPage/formPageCont.vue' import TableFlow from '@/views/sysworkflow/lowcodepage/pageFlow/appTableFlow.vue' @@ -63,6 +65,9 @@ const props = withDefaults( versionid:() =>{ return "" }, + signCode:() =>{ + return "" + }, versiontitle:() =>{ return "" }, @@ -581,6 +586,7 @@ const editFormSendFlow = (val:any) => {