|
@@ -19,7 +19,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="btn">
|
|
<el-col :span="24" class="btn">
|
|
- <el-button type="primary" size="mini">查看更多项目</el-button>
|
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="moreBtn('1')">查看更多项目</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane label="科技需求" name="second">
|
|
<el-tab-pane label="科技需求" name="second">
|
|
@@ -36,7 +36,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="btn">
|
|
<el-col :span="24" class="btn">
|
|
- <el-button type="primary" size="mini">查看更多项目</el-button>
|
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="moreBtn('0')">查看更多项目</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</el-tabs>
|
|
@@ -77,6 +77,10 @@ export default {
|
|
res = await this.productQuery({ skip, limit, type: '0', dock_id: this.id, ...info });
|
|
res = await this.productQuery({ skip, limit, type: '0', dock_id: this.id, ...info });
|
|
if (this.$checkRes(res)) this.$set(this, `techolList`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `techolList`, res.data);
|
|
},
|
|
},
|
|
|
|
+ // 查看更多项目
|
|
|
|
+ moreBtn(type) {
|
|
|
|
+ this.$router.push({ path: '/achieveLive/product/index', query: { dock_id: this.id, type } });
|
|
|
|
+ },
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState(['user']),
|
|
...mapState(['user']),
|