|
@@ -145,9 +145,9 @@ export default {
|
|
|
const {FlowName,ReportType,ClassifyFirstId,ClassifySecondId,Nodes,ClassifyThirdId} = res.Data||{}
|
|
|
this.approveForm.name = FlowName||''
|
|
|
//递归获取所有父级id
|
|
|
- const classify = this.classifyTree.find(i=>i.ClassifyId===ReportType)||{}
|
|
|
- const tempArr = findParentNode(classify.Children||[],ClassifySecondId)
|
|
|
- tempArr.push(ReportType)
|
|
|
+ // const classify = this.classifyTree.find(i=>i.ClassifyId===ReportType)||{}
|
|
|
+ // const tempArr = findParentNode(classify.Children||[],ClassifySecondId)
|
|
|
+ // tempArr.push(ReportType)
|
|
|
// this.approveForm.classify = tempArr.reverse()
|
|
|
this.approveForm.classify = ClassifyThirdId
|
|
|
? [ReportType,ClassifyFirstId,ClassifySecondId,ClassifyThirdId]
|