|
|
@ -261,7 +261,8 @@ export default { |
|
|
|
yjyList: [], |
|
|
|
zyzxList: [], |
|
|
|
zyzxType: 1, |
|
|
|
navId: '' |
|
|
|
navId: '', |
|
|
|
timer:null |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted () { |
|
|
@ -277,6 +278,11 @@ export default { |
|
|
|
seedPowerCompanyList({}).then((res) => { |
|
|
|
this.yjyList = res.data.list |
|
|
|
}) |
|
|
|
let that = this |
|
|
|
clearInterval(this.timer) |
|
|
|
this.timer = setInterval(()=>{ |
|
|
|
this.switchZYZX() |
|
|
|
},5000) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
...mapActions({ |
|
|
@ -287,6 +293,9 @@ export default { |
|
|
|
set_zdyf_ggqy: 'SET_ZDYF_GGQY', |
|
|
|
set_research_id: 'SET_RESEARCH_ID' |
|
|
|
}), |
|
|
|
switchZYZX(){ |
|
|
|
this.zyzxType = this.zyzxType === 1?2:1 |
|
|
|
}, |
|
|
|
handelClickTalents () { |
|
|
|
this.set_talents(true) |
|
|
|
}, |
|
|
@ -325,7 +334,11 @@ export default { |
|
|
|
}, |
|
|
|
components: {}, |
|
|
|
computed: {}, |
|
|
|
watch: {} |
|
|
|
watch: {}, |
|
|
|
destroyed(){ |
|
|
|
clearInterval(this.timer); |
|
|
|
this.timer = null; |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|