File tree Expand file tree Collapse file tree
views/projects/workflow/relation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,10 @@ interface WorkFlowRelationList {
4343}
4444
4545interface WorkflowRes {
46- workFlowRelationDetailList : WorkFlowRelationDetailListRes [ ]
47- workFlowRelationList : WorkFlowRelationList [ ]
46+ data : {
47+ workFlowRelationDetailList : WorkFlowRelationDetailListRes [ ]
48+ workFlowRelationList : WorkFlowRelationList [ ]
49+ }
4850}
4951
5052interface DependentTaskReq extends WorkflowCodeReq {
Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ export function useRelation() {
4040 variables . seriesData = [ ]
4141 variables . links = [ ]
4242
43- variables . seriesData = obj . workFlowRelationDetailList . map ( ( item ) => {
43+ variables . seriesData = obj . data . workFlowRelationDetailList . map ( ( item ) => {
4444 return {
4545 name : item . workFlowName ,
4646 id : item . workFlowCode ,
4747 ...item
4848 }
4949 } ) as any
5050
51- variables . links = obj . workFlowRelationList . map ( ( item ) => {
51+ variables . links = obj . data . workFlowRelationList . map ( ( item ) => {
5252 return {
5353 source : String ( item . sourceWorkFlowCode ) ,
5454 target : String ( item . targetWorkFlowCode )
You can’t perform that action at this time.
0 commit comments