|
@@ -47,7 +47,7 @@
|
|
|
<el-button type="primary" size="mini" @click="display = 'list'">返回</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
- <guidetail></guidetail>
|
|
|
+ <guidetail :detailinfo="guidetail"></guidetail>
|
|
|
</el-col>
|
|
|
</span>
|
|
|
<span v-else-if="column_name == '项目路演'">
|
|
@@ -55,7 +55,7 @@
|
|
|
<el-button type="primary" size="mini" @click="display = 'list'">返回</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
- <roadetail></roadetail>
|
|
|
+ <roadetail :detailinfo="roadetail"></roadetail>
|
|
|
</el-col>
|
|
|
</span>
|
|
|
</span>
|
|
@@ -127,6 +127,10 @@ export default {
|
|
|
expdetail: {},
|
|
|
// 行业研究
|
|
|
inddetail: {},
|
|
|
+ // 嘉宾访谈
|
|
|
+ guidetail: {},
|
|
|
+ // 项目路演
|
|
|
+ roadetail: {},
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
@@ -136,8 +140,8 @@ export default {
|
|
|
methods: {
|
|
|
...column({ columnList: 'query', columnInfo: 'fetch' }),
|
|
|
...news({ newsList: 'query', newsFetch: 'fetch' }),
|
|
|
- ...newsguidance({ danceQuery: 'query' }),
|
|
|
- ...newsroadshow({ adshowQuery: 'query' }),
|
|
|
+ ...newsguidance({ danceQuery: 'query', danceFetch: 'fetch' }),
|
|
|
+ ...newsroadshow({ adshowQuery: 'query', adshowFetch: 'fetch' }),
|
|
|
// 查询栏目,列表,详情
|
|
|
async searchColumn() {
|
|
|
if (this.type == 1) {
|
|
@@ -207,6 +211,17 @@ export default {
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `inddetail`, res.data);
|
|
|
}
|
|
|
+ } else if (columnName == '嘉宾访谈') {
|
|
|
+ let res = await this.danceFetch(id);
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ console.log(res.data);
|
|
|
+ // this.$set(this, `guidetail`, res.data);
|
|
|
+ }
|
|
|
+ } else if (columnName == '项目路演') {
|
|
|
+ let res = await this.adshowFetch(id);
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `roadetail`, res.data);
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
// 点击查看详情
|