|
@@ -25,9 +25,22 @@ export default {
|
|
|
src: require('@/assets/achieveCenter.png'),
|
|
|
liebiaoList: [{ title: '平台建设' }, { title: '项目成果' }, { title: '知识产权' }, { title: '科技合作' }],
|
|
|
}),
|
|
|
- created() {},
|
|
|
- computed: {},
|
|
|
+ created() {
|
|
|
+ this.search();
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ col_name() {
|
|
|
+ return this.$route.query.col_name;
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ async search() {
|
|
|
+ let title = this.col_name;
|
|
|
+ if (title == '科技合作') {
|
|
|
+ let index = 3;
|
|
|
+ this.clickUrl(title, index);
|
|
|
+ }
|
|
|
+ },
|
|
|
clickUrl(title, index) {
|
|
|
if (title == '平台建设') {
|
|
|
this.menuIndex = index;
|