|
@@ -41,9 +41,18 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="专家智库" name="third">
|
|
|
<el-col :span="24" class="two">
|
|
|
- <el-col :span="24" class="twoList" v-for="(item, index) in twoList" :key="index">
|
|
|
- <el-col :span="24" class="name">{{ item.name }}</el-col>
|
|
|
- <el-col :span="24" class="field">所属领域:{{ item.field }}</el-col>
|
|
|
+ <el-col :span="24" class="twoList" v-for="(item, index) in expertList" :key="index">
|
|
|
+ <el-col :span="5" class="image">
|
|
|
+ <el-image :src="item.expertimage" style="width:70px;height: 70px;border: 1px solid #f1f1f1;" v-if="item.expertimage != ''"></el-image>
|
|
|
+ <el-image :src="expertimage" style="width:70px;height: 70px;border: 1px solid #f1f1f1;" v-else></el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="19" class="info1">
|
|
|
+ <el-col :span="24" class="name textOver">
|
|
|
+ {{ item.name }}
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="txt textOver"> {{ item.zwzc || '暂无' }} </el-col>
|
|
|
+ <el-col :span="24" class="txt textOver"> {{ item.company || '暂无' }} </el-col>
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
@@ -58,7 +67,7 @@
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: dock } = createNamespacedHelpers('dock');
|
|
|
import chat from '@/components/parts/chat.vue';
|
|
|
-// const { mapActions: expertsuser } = createNamespacedHelpers('expertsuser');
|
|
|
+const { mapActions: exportuser } = createNamespacedHelpers('exportuser');
|
|
|
|
|
|
export default {
|
|
|
name: 'videoDetail',
|
|
@@ -84,10 +93,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
...dock({ dockQuery: 'query', palcefetch: 'fetch' }),
|
|
|
- // ...expertsuser({ expertQuery: 'query' }),
|
|
|
+ ...exportuser({ expertQuery: 'query' }),
|
|
|
async seachInfo({ skip = 0, limit = 5, ...info } = {}) {
|
|
|
let res = await this.palcefetch(this.id);
|
|
|
- console.log(res);
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `file_path`, res.data.file_path);
|
|
|
}
|
|
@@ -97,15 +105,13 @@ export default {
|
|
|
//科技需求
|
|
|
var jishuData = czxmNew.filter(item => item.type === '0');
|
|
|
this.$set(this, `twoList`, jishuData);
|
|
|
- // console.log(jishuData);
|
|
|
//技术成果
|
|
|
var chanpinData = czxmNew.filter(item => item.type === '1');
|
|
|
if (chanpinData) this.$set(this, `demandList`, chanpinData);
|
|
|
- // console.log(chanpinData);
|
|
|
// 专家智库
|
|
|
- // let exportdata = await this.expertQuery({ role: 6, limit: 8 });
|
|
|
- // if (this.$checkRes(exportdata)) this.$set(this, `expertList`, exportdata.data);
|
|
|
- // console.log(this.expertList);
|
|
|
+ let exportdata = await this.expertQuery({ role: 6, limit: 6 });
|
|
|
+ if (this.$checkRes(exportdata)) this.$set(this, `expertList`, exportdata.data);
|
|
|
+ console.log(this.expertList);
|
|
|
},
|
|
|
onSubmit() {
|
|
|
console.log(this.input);
|
|
@@ -170,6 +176,15 @@ export default {
|
|
|
color: #666;
|
|
|
}
|
|
|
}
|
|
|
+ .image {
|
|
|
+ margin-top: 5px;
|
|
|
+ .el-image {
|
|
|
+ border-radius: 90%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info1 {
|
|
|
+ padding: 6px 0px 1px 20px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
/deep/.video-js {
|