| | |
| | | greeting: "", |
| | | imageSrc: require('../../assets/images/Group 407.png') , |
| | | dropdownList: [ |
| | | { name: '只显示第一代', src: 'Group 407.png' }, |
| | | { name: '显示至第二代', src: 'Group 407.png' }, |
| | | { name: '只显示第一代', src: 'Group 443.png' }, |
| | | { name: '显示至第二代', src: 'Group 444.png' }, |
| | | { name: '显示至第三代', src: 'Group 445.png' }, |
| | | { name: '显示全部', src: 'Group 407.png' } |
| | | ], |
| | |
| | | } |
| | | |
| | | }, |
| | | created() { |
| | | |
| | | created(){ |
| | | this.setGreeting(); |
| | | this.getUser(); |
| | | }, |
| | | mounted() { |
| | | this.getList(1); |
| | | }, |
| | | methods:{ |
| | | getInfo(src) |
| | |
| | | generation_1(){ |
| | | // alert(127) |
| | | // this.getList(1) |
| | | listRoot(1).then(response => { |
| | | this.rootList = response.data |
| | | this.isShow_1=true |
| | | this.isShow_2=false |
| | | this.isShow_3=false |
| | | this.isShow_4=false |
| | | }) |
| | | listRoot(1).then(response => { |
| | | this.rootList = response.data |
| | | this.isShow_1=true |
| | | this.isShow_2=false |
| | | this.isShow_3=false |
| | | this.isShow_4=false |
| | | }) |
| | | }, |
| | | getPersonInfo(id) |
| | | { |
| | | this.$router.push("/familymodel/jiagenwang/personInfo/" + id); |
| | | this.$router.push("/familymodel/jiagenwang/personInfo/" + id); |
| | | //alert(id) |
| | | }, |
| | | generation_2(){ |
| | |
| | | this.isShow_3=false |
| | | this.isShow_4=false |
| | | } |
| | | // console.log(this.rootSecList) |
| | | // console.log(this.rootSecList) |
| | | }) |
| | | |
| | | |
| | |
| | | |
| | | // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { |
| | | listRoot(depth).then(response => { |
| | | // alert(123) |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | // alert(90) |
| | | this.rootList = response.data; |
| | | this.isShow_1=true |
| | | // alert(this.rootList[0].url) |
| | | // alert(this.rootList[0].url) |
| | | // this.total = response.data.total; |
| | | this.loading = false; |
| | | console.log(this.rootList) |
| | | } |
| | | ); |
| | | }, |
| | |
| | | getUser() { |
| | | getUserProfile().then(response => { |
| | | this.user = response.data; |
| | | |
| | | this.getList(1); |
| | | }); |
| | | |
| | | } |
| | | } |
| | | } |