|
@@ -80,7 +80,7 @@
|
|
|
</el-carousel>
|
|
|
</div>
|
|
|
<div class="gongqiu">
|
|
|
- <div class="gongqiuTop">
|
|
|
+ <div class="gongqiuTop" style="display:none">
|
|
|
<img :src="img.main2" />
|
|
|
</div>
|
|
|
<div class="gongqiuInfo">
|
|
@@ -148,14 +148,14 @@
|
|
|
<el-col :span="24">
|
|
|
<ul class="expert">
|
|
|
<li class="expertList" v-for="(item, index) in expertList" :key="index">
|
|
|
- <el-image :src="item.logo"></el-image>
|
|
|
+ <el-image :src="item.imgpath"></el-image>
|
|
|
<div>
|
|
|
<p>
|
|
|
<span>{{ item.name }}</span>
|
|
|
- <span>{{ item.address }}</span>
|
|
|
+ <span>{{ item.nation }}</span>
|
|
|
</p>
|
|
|
- <p>从事领域:{{ item.csly }}</p>
|
|
|
- <p>擅长能力:{{ item.scnl }}</p>
|
|
|
+ <p>职务:{{ item.position }}</p>
|
|
|
+ <p>从事领域:{{ item.field }}</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -224,9 +224,10 @@
|
|
|
import chat from './parts/chat.vue';
|
|
|
import liveFoot from '@/layout/live/foot.vue';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
-const { mapActions: mapProduct } = createNamespacedHelpers('enterpriseproject');
|
|
|
+const { mapActions: mapProduct } = createNamespacedHelpers('marketproduct');
|
|
|
const { mapActions: market } = createNamespacedHelpers('market');
|
|
|
const { mapActions: dock } = createNamespacedHelpers('dock');
|
|
|
+const { mapActions: talentExperts } = createNamespacedHelpers('talentExperts');
|
|
|
|
|
|
import _ from 'loadsh';
|
|
|
export default {
|
|
@@ -380,23 +381,16 @@ export default {
|
|
|
...mapProduct({ mapProductQuery: 'query' }),
|
|
|
...market({ marketFetch: 'fetch' }),
|
|
|
...dock({ dockQuery: 'query' }),
|
|
|
- async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
- let res = await this.mapProductQuery({ skip, limit, totaltype: 0, ...info });
|
|
|
- if (res.errcode === 0) {
|
|
|
- this.$set(this, `technologyList`, res.data);
|
|
|
- }
|
|
|
- res = await this.mapProductQuery({ skip, limit, totaltype: 1, ...info });
|
|
|
- if (res.errcode === 0) {
|
|
|
- this.$set(this, `demandList`, res.data);
|
|
|
- }
|
|
|
- res = await this.mapProductQuery({ skip, limit, totaltype: 2, ...info });
|
|
|
- if (res.errcode === 0) {
|
|
|
- for (const val of res.data) {
|
|
|
- const userInfo = await this.marketFetch(val.userid);
|
|
|
- val.companyName = userInfo.data.institution_name;
|
|
|
- }
|
|
|
- this.$set(this, `serviceList`, res.data);
|
|
|
- }
|
|
|
+ ...talentExperts({ expertQuery: 'query' }),
|
|
|
+ async searchInfo() {
|
|
|
+ let res = await this.mapProductQuery({ skip: 0, limit: 4, totaltype: '0' });
|
|
|
+ if (this.$checkRes(res)) this.$set(this, `technologyList`, res.data);
|
|
|
+ res = await this.mapProductQuery({ skip: 0, limit: 4, totaltype: '1' });
|
|
|
+ if (this.$checkRes(res)) this.$set(this, `demandList`, res.data);
|
|
|
+ res = await this.mapProductQuery({ skip: 0, limit: 4, totaltype: '2' });
|
|
|
+ if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
|
|
|
+ res = await this.expertQuery({ skip: 0, limit: 4 });
|
|
|
+ if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
|
},
|
|
|
async searchDock() {
|
|
|
let res = await this.dockQuery({});
|