|
@@ -1520,9 +1520,9 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
const obj=sessionStorage.getItem('predictEdbTreeData')
|
|
const obj=sessionStorage.getItem('predictEdbTreeData')
|
|
if(obj||this.$route.query.code){
|
|
if(obj||this.$route.query.code){
|
|
- let code=obj?JSON.parse(obj).code:this.$route.query.code
|
|
|
|
- let id=obj?JSON.parse(obj).id:this.$route.query.id
|
|
|
|
- let classifyId=obj?JSON.parse(obj).classifyId:this.$route.query.classifyId
|
|
|
|
|
|
+ let code=obj?this.$route.query.code:JSON.parse(obj).code
|
|
|
|
+ let id=obj?this.$route.query.id:JSON.parse(obj).id
|
|
|
|
+ let classifyId=obj?this.$route.query.classifyId:JSON.parse(obj).classifyId
|
|
this.getTreeData({code: code,id: Number(id),classifyId:Number(classifyId)})
|
|
this.getTreeData({code: code,id: Number(id),classifyId:Number(classifyId)})
|
|
}else{
|
|
}else{
|
|
this.getTreeData()
|
|
this.getTreeData()
|