8a1f86fb by lxs

数据资产登记更新

1 parent 5eccc477
...@@ -1986,8 +1986,19 @@ onBeforeMount(() => { ...@@ -1986,8 +1986,19 @@ onBeforeMount(() => {
1986 const data = res.data || {} 1986 const data = res.data || {}
1987 let { approveVO } = data; 1987 let { approveVO } = data;
1988 draftDetailInfo.value = data; 1988 draftDetailInfo.value = data;
1989 deploymentId.value = approveVO?.camundaDeploymentId; 1989 if (approveVO) {
1990 processInstanceId.value = approveVO?.camundaInstanceId 1990 deploymentId.value = approveVO.camundaDeploymentId;
1991 processInstanceId.value = approveVO.camundaInstanceId;
1992 } else {
1993 getCamundaDeploymentId('10017', userData.tenantGuid, userData.staffGuid).then((res: any) => {
1994 if (res.code == proxy.$passCode) {
1995 deploymentId.value = res.data;
1996 } else {
1997 ElMessage.error(res.msg);
1998 }
1999 })
2000 }
2001
1991 let coverageArea = ''; 2002 let coverageArea = '';
1992 let coverageAreas = []; 2003 let coverageAreas = [];
1993 let damTypeItem = baseFormItems.value.find(item => item.field == 'damType'); 2004 let damTypeItem = baseFormItems.value.find(item => item.field == 'damType');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!