|
@@ -5,7 +5,7 @@
|
|
|
<div class="livetop">
|
|
|
<div class="w_1200">
|
|
|
<el-col :span="24" class="title">
|
|
|
- {{ title }}
|
|
|
+ {{ dockInfo.title }}
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="zhuban">
|
|
|
<span>主办方:</span>
|
|
@@ -14,27 +14,27 @@
|
|
|
<el-col :span="24" class="num">
|
|
|
<p>
|
|
|
<span>同时在线</span>
|
|
|
- <span>1人</span>
|
|
|
+ <span>{{ statNum.tszx }}人</span>
|
|
|
</p>
|
|
|
<p>
|
|
|
<span>特邀嘉宾</span>
|
|
|
- <span>{{ expertList.length }}人</span>
|
|
|
+ <span>{{ statNum.tyjb }}人</span>
|
|
|
</p>
|
|
|
<p>
|
|
|
<span>洽谈合作</span>
|
|
|
- <span>{{ qiatan }}项</span>
|
|
|
+ <span>{{ statNum.qthz }}项</span>
|
|
|
</p>
|
|
|
<p>
|
|
|
<span>达成意愿</span>
|
|
|
- <span>{{ dacheng }}项</span>
|
|
|
+ <span>{{ statNum.dcyx }}项</span>
|
|
|
</p>
|
|
|
<p>
|
|
|
<span>交易完成</span>
|
|
|
- <span>{{ chengguo }}项</span>
|
|
|
+ <span>{{ statNum.jywc }}项</span>
|
|
|
</p>
|
|
|
<p>
|
|
|
<span>参展项目</span>
|
|
|
- <span>{{ xuqiu }}项</span>
|
|
|
+ <span>{{ statNum.czxm }}项</span>
|
|
|
</p>
|
|
|
</el-col>
|
|
|
</div>
|
|
@@ -43,12 +43,12 @@
|
|
|
<el-col :span="24" class="livemain">
|
|
|
<el-col :span="24" class="livevideo">
|
|
|
<el-col :span="24" class="left">
|
|
|
- <el-col :span="24" class="title" @click.native="btnDirectDetail">
|
|
|
+ <el-col :span="24" class="title" @click.native="$router.push({ path: '/live/hallDetail', query: { id: this.$route.query.id } })">
|
|
|
<span style="color: rgb(255, 132, 0);">现场</span>
|
|
|
<span>直播</span>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="video">
|
|
|
- <video :src="file_path" controls="controls" style="height: 395px; width: 100%;">
|
|
|
+ <video :src="dockInfo.file_path" controls="controls" style="height: 395px; width: 100%;">
|
|
|
您的浏览器不支持 video 标签。
|
|
|
</video>
|
|
|
<!-- <videoPlayer ref="videoPlayer" :options="videoOptions" class="vjs-custom-skin videoPlayer" :playsinline="true" /> -->
|
|
@@ -142,7 +142,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="success"
|
|
|
- @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: id, user_id: user_id } })"
|
|
|
+ @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item._id, dockid: dock_id, user_id: user_id } })"
|
|
|
>对接</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -152,7 +152,8 @@
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
- @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '技术' } })"
|
|
|
+ @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '技术', dockid: dock_id } })"
|
|
|
+ v-if="jishulist.length > 5"
|
|
|
>查看所有项目</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -173,7 +174,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="success"
|
|
|
- @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: id, user_id: user_id } })"
|
|
|
+ @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: this.id, user_id: this.user_id } })"
|
|
|
>对接</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -226,7 +227,8 @@
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
- @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '产品' } })"
|
|
|
+ @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '产品', dockid: dock_id } })"
|
|
|
+ v-if="demandList.length > 5"
|
|
|
>查看所有项目</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -248,7 +250,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="success"
|
|
|
- @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: id, user_id: user_id } })"
|
|
|
+ @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item._id, dockid: dock_id, user_id: user_id } })"
|
|
|
>对接</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -281,7 +283,8 @@
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
- @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '服务' } })"
|
|
|
+ @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '服务', dockid: dock_id } })"
|
|
|
+ v-if="serviceList.length > 10"
|
|
|
>查看所有项目</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -298,7 +301,12 @@
|
|
|
<el-col :span="20" class="info">
|
|
|
<p>
|
|
|
<span class="textOver">{{ item.name }}</span>
|
|
|
- <el-button size="mini" type="success" @click="zhuanjiaduijies(item)">对接</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="success"
|
|
|
+ @click="$router.push({ path: '/live/hall/dock/zhanjiaduijie', query: { id: item._id, dockid: dock_id, user_id: user_id } })"
|
|
|
+ >对接</el-button
|
|
|
+ >
|
|
|
<el-button size="mini" type="primary" @click="twoBtnDetail(item)" style="margin:0 5px 0 5px">详情</el-button>
|
|
|
</p>
|
|
|
|
|
@@ -316,7 +324,8 @@
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
- @click="$router.push({ path: '/hall/productList/expertList', query: { dockid: id, user_id: user_id } })"
|
|
|
+ @click="$router.push({ path: '/hall/productList/expertList', query: { dockid: dock_id, user_id: user_id } })"
|
|
|
+ v-if="expertList.length > 1"
|
|
|
>查看所有项目</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -415,7 +424,6 @@ import 'video.js/dist/video-js.css';
|
|
|
import 'vue-video-player/src/custom-theme.css';
|
|
|
import { videoPlayer } from 'vue-video-player';
|
|
|
import 'videojs-flash';
|
|
|
-
|
|
|
import liveFoot from '@/layout/live/foot.vue';
|
|
|
import chat from '@/components/parts/chat.vue';
|
|
|
import directDetail from '@/layout/direct/directDetail.vue';
|
|
@@ -427,7 +435,6 @@ const { mapActions: market } = createNamespacedHelpers('market');
|
|
|
const { mapActions: dock } = createNamespacedHelpers('dock');
|
|
|
const { mapActions: expertsuser } = createNamespacedHelpers('expertsuser');
|
|
|
import moment from 'moment';
|
|
|
-
|
|
|
import _ from 'loadsh';
|
|
|
export default {
|
|
|
name: 'hall',
|
|
@@ -451,15 +458,6 @@ export default {
|
|
|
},
|
|
|
data: () => ({
|
|
|
activeName: 'second',
|
|
|
- name: '',
|
|
|
-
|
|
|
- // 详情显示
|
|
|
- dialogVisible: false,
|
|
|
- // 技术,产品,服务详情
|
|
|
- directInfo: {},
|
|
|
- // 专家详情
|
|
|
- dialogExport: false,
|
|
|
- exportInfo: {},
|
|
|
//搜索判断用
|
|
|
panduan: '找技术',
|
|
|
// 找技术
|
|
@@ -470,88 +468,15 @@ export default {
|
|
|
serviceList: [],
|
|
|
// 找专家
|
|
|
expertList: [],
|
|
|
- //对接会创建人id
|
|
|
- user_id: '',
|
|
|
- // 路演
|
|
|
- luyanList: [
|
|
|
- {
|
|
|
- title: '项目路演',
|
|
|
- num: '1234',
|
|
|
- city: '吉林省',
|
|
|
- hy: '所属行业',
|
|
|
- xurz: '股权融资',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '项目路演',
|
|
|
- num: '1234',
|
|
|
- city: '吉林省',
|
|
|
- hy: '所属行业',
|
|
|
- xurz: '股权融资',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '项目路演',
|
|
|
- num: '1234',
|
|
|
- city: '吉林省',
|
|
|
- hy: '所属行业',
|
|
|
- xurz: '股权融资',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '项目路演',
|
|
|
- num: '1234',
|
|
|
- city: '吉林省',
|
|
|
- hy: '所属行业',
|
|
|
- xurz: '股权融资',
|
|
|
- },
|
|
|
- ],
|
|
|
+ // 详情显示
|
|
|
+ dialogVisible: false,
|
|
|
+ // 技术,产品,服务详情
|
|
|
+ directInfo: {},
|
|
|
+ // 专家详情
|
|
|
+ dialogExport: false,
|
|
|
+ exportInfo: {},
|
|
|
// 交易实况
|
|
|
- directlist: [
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- time: '2019-03-05',
|
|
|
- name1: '中科院宁波先进制造所',
|
|
|
- name2: '深圳市华尔威体育用品',
|
|
|
- },
|
|
|
- ],
|
|
|
+ directlist: [],
|
|
|
//达成意向
|
|
|
yixianglist: [],
|
|
|
//合作成功
|
|
@@ -584,15 +509,58 @@ export default {
|
|
|
context: '测试内容测试内容测试内容测试内容测试内容测试内容测试内容测试内容',
|
|
|
},
|
|
|
],
|
|
|
+ // 路演
|
|
|
+ luyanList: [
|
|
|
+ {
|
|
|
+ title: '项目路演',
|
|
|
+ num: '1234',
|
|
|
+ city: '吉林省',
|
|
|
+ hy: '所属行业',
|
|
|
+ xurz: '股权融资',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '项目路演',
|
|
|
+ num: '1234',
|
|
|
+ city: '吉林省',
|
|
|
+ hy: '所属行业',
|
|
|
+ xurz: '股权融资',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '项目路演',
|
|
|
+ num: '1234',
|
|
|
+ city: '吉林省',
|
|
|
+ hy: '所属行业',
|
|
|
+ xurz: '股权融资',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '项目路演',
|
|
|
+ num: '1234',
|
|
|
+ city: '吉林省',
|
|
|
+ hy: '所属行业',
|
|
|
+ xurz: '股权融资',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ // 使用手册开始
|
|
|
superOne: require('@/assets/live/main1.png'),
|
|
|
two: require('@/assets/live/top_bg.png'),
|
|
|
superOnes: require('@/assets/live/测试图片.jpg'),
|
|
|
- title: '',
|
|
|
- file_path: '',
|
|
|
- xuqiu: '',
|
|
|
- chengguo: '',
|
|
|
- qiatan: '',
|
|
|
- dacheng: '',
|
|
|
+ // 使用手册结束
|
|
|
+ // 统计数字
|
|
|
+ statNum: {
|
|
|
+ tszx: 0,
|
|
|
+ tyjb: 0,
|
|
|
+ qthz: 0,
|
|
|
+ dcyx: 0,
|
|
|
+ jywc: 0,
|
|
|
+ czxm: 0,
|
|
|
+ },
|
|
|
+ // 对接会详情
|
|
|
+ dockInfo: {
|
|
|
+ title: '',
|
|
|
+ file_path: '',
|
|
|
+ },
|
|
|
+ //对接会创建人id
|
|
|
+ user_id: '',
|
|
|
videoSrc: '',
|
|
|
videoOptions: {
|
|
|
playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度
|
|
@@ -622,12 +590,12 @@ export default {
|
|
|
fullscreenToggle: true, //全屏按钮
|
|
|
},
|
|
|
},
|
|
|
+ name: '',
|
|
|
+ dock_id: '',
|
|
|
}),
|
|
|
created() {
|
|
|
- this.searchInfo();
|
|
|
- this.searchzhanjia();
|
|
|
- this.searchchanpin();
|
|
|
- this.searchfuwu();
|
|
|
+ this.$set(this, `dock_id`, this.$route.query.id);
|
|
|
+ // 对接会详情
|
|
|
this.searchdock();
|
|
|
},
|
|
|
methods: {
|
|
@@ -636,130 +604,138 @@ export default {
|
|
|
...dock({ dockQuery: 'query', dockFetch: 'fetch' }),
|
|
|
...expertsuser({ expertQuery: 'query' }),
|
|
|
...transaction({ tquery: 'query' }),
|
|
|
+ // 查询详情
|
|
|
async searchdock() {
|
|
|
// 标题
|
|
|
- let res = await this.dockFetch(this.id);
|
|
|
- this.$set(this, `title`, res.data.title);
|
|
|
- this.$set(this, `file_path`, res.data.file_path);
|
|
|
- this.$set(this, `user_id`, res.data.user_id);
|
|
|
- console.log(res.data);
|
|
|
- // 交易实况
|
|
|
- let aaa = await this.tquery({ dockid: this.id });
|
|
|
- let newaaa = aaa.data.filter(f => f.status == '1' || f.status == '2');
|
|
|
- for (const val of newaaa) {
|
|
|
+ let res = await this.dockFetch(this.dock_id);
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ // 对接会标题
|
|
|
+ this.$set(this.dockInfo, `title`, res.data.title);
|
|
|
+ // 对接会视频
|
|
|
+ this.$set(this.dockInfo, `file_path`, res.data.file_path);
|
|
|
+ // 对接会创建人id
|
|
|
+ this.$set(this, `user_id`, res.data.user_id);
|
|
|
+ // 参展项目
|
|
|
+ let czxm = res.data.apply.map(item => item.goodsList);
|
|
|
+ // let czxm = res.data.map(item => item.apply.map(apply => apply.goodsList));
|
|
|
+ czxm = _.flattenDeep(czxm);
|
|
|
+ this.$set(this.statNum, `czxm`, czxm.length);
|
|
|
+ // 找技术
|
|
|
+ var jishuData = czxm.filter(item => item.totaltype === '0');
|
|
|
+ this.$set(this, `jishulist`, jishuData);
|
|
|
+ // 找产品
|
|
|
+ var chanpinData = czxm.filter(item => item.totaltype === '1');
|
|
|
+ this.$set(this, `demandList`, chanpinData);
|
|
|
+ // 找服务
|
|
|
+ var fuwuData = czxm.filter(item => item.totaltype === '2');
|
|
|
+ this.$set(this, `serviceList`, fuwuData);
|
|
|
+ // 找专家
|
|
|
+ let exportdata = await this.expertQuery({ role: 6 });
|
|
|
+ if (this.$checkRes(exportdata)) this.$set(this, `expertList`, exportdata.data);
|
|
|
+ }
|
|
|
+ // 查询特邀嘉宾
|
|
|
+ let arr = await this.expertQuery({ role: 6 });
|
|
|
+ this.$set(this.statNum, `tyjb`, arr.data.length);
|
|
|
+ // 洽谈合作
|
|
|
+ let qthe = await this.tquery({ status: 0, dockid: this.id });
|
|
|
+ this.$set(this.statNum, `qthz`, arr.data.length);
|
|
|
+ // 达成意向
|
|
|
+ let dcyx = await this.tquery({ status: 1, dockid: this.id });
|
|
|
+ for (const val of dcyx.data) {
|
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
|
val.time = time;
|
|
|
}
|
|
|
- this.$set(this, `directlist`, newaaa);
|
|
|
- // 洽谈
|
|
|
- let abb = await this.tquery({ status: 0, dockid: this.id });
|
|
|
- this.$set(this, `qiatan`, abb.total);
|
|
|
- // 意向
|
|
|
- let acc = await this.tquery({ status: 1, dockid: this.id });
|
|
|
-
|
|
|
- for (const val of acc.data) {
|
|
|
+ this.$set(this.statNum, `dcyx`, dcyx.total);
|
|
|
+ this.$set(this, `yixianglist`, dcyx.data);
|
|
|
+ // 交易完成&合作成功
|
|
|
+ let jywc = await this.tquery({ status: 2, dockid: this.id });
|
|
|
+ for (const val of jywc.data) {
|
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
|
val.time = time;
|
|
|
}
|
|
|
-
|
|
|
- this.$set(this, `dacheng`, acc.total);
|
|
|
- this.$set(this, `yixianglist`, acc.data);
|
|
|
- // 成果
|
|
|
- let aee = await this.tquery({ status: 2, dockid: this.id });
|
|
|
- for (const val of aee.data) {
|
|
|
+ this.$set(this.statNum, `jywc`, jywc.total);
|
|
|
+ this.$set(this, `successlist`, jywc.data);
|
|
|
+ //交易实况
|
|
|
+ let jysk = await this.tquery({ dockid: this.id });
|
|
|
+ let newjysk = jysk.data.filter(f => f.status == '1' || f.status == '2');
|
|
|
+ for (const val of newjysk) {
|
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
|
val.time = time;
|
|
|
}
|
|
|
- this.$set(this, `chengguo`, aee.total);
|
|
|
- this.$set(this, `successlist`, aee.data);
|
|
|
- // 需求
|
|
|
- let aff = await this.mapProductQuery();
|
|
|
- this.$set(this, `xuqiu`, aff.total);
|
|
|
- },
|
|
|
- //技术
|
|
|
- async searchInfo(newname) {
|
|
|
- let res = await this.mapProductQuery({ skip: 0, limit: 10, totaltype: '0', name: newname });
|
|
|
- console.log(res);
|
|
|
- if (this.$checkRes(res)) this.$set(this, `jishulist`, res.data);
|
|
|
- },
|
|
|
- //产品
|
|
|
- async searchchanpin(newname) {
|
|
|
- let res = await this.mapProductQuery({ skip: 0, limit: 5, totaltype: '1', name: newname });
|
|
|
- if (this.$checkRes(res)) this.$set(this, `demandList`, res.data);
|
|
|
- },
|
|
|
- //服务
|
|
|
- async searchfuwu(newname) {
|
|
|
- let res = await this.mapProductQuery({ skip: 0, limit: 5, totaltype: '2', name: newname });
|
|
|
- if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
|
|
|
+ this.$set(this, `directlist`, newjysk);
|
|
|
},
|
|
|
- //专家
|
|
|
- async searchzhanjia(newname) {
|
|
|
- let res = await this.expertQuery({ skip: 0, limit: 6, name: newname, role: 6 });
|
|
|
- if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
|
- },
|
|
|
- //tabs
|
|
|
- handleClick(tab, event) {
|
|
|
- if (event.target.getAttribute('id') == 'tab-0') {
|
|
|
- this.panduan = '找技术';
|
|
|
- if (this.name) {
|
|
|
- this.searchInfo();
|
|
|
- }
|
|
|
- } else if (event.target.getAttribute('id') == 'tab-1') {
|
|
|
- this.panduan = '找产品';
|
|
|
- if (this.name) {
|
|
|
- this.searchchanpin();
|
|
|
- }
|
|
|
- } else if (event.target.getAttribute('id') == 'tab-2') {
|
|
|
- this.panduan = '找服务';
|
|
|
- if (this.name) {
|
|
|
- this.searchfuwu();
|
|
|
- }
|
|
|
- } else if (event.target.getAttribute('id') == 'tab-3') {
|
|
|
- this.panduan = '找专家';
|
|
|
- if (this.name) {
|
|
|
- this.searchzhanjia();
|
|
|
- }
|
|
|
+ // 交易实况
|
|
|
+ handleClicks(tab, event) {
|
|
|
+ if (tab.name == 'four') {
|
|
|
+ this.$router.push('/tltest');
|
|
|
+ } else if (tab.name == 'five') {
|
|
|
+ this.$router.push('/tllltest');
|
|
|
+ } else if (tab.name == 'six') {
|
|
|
+ this.$router.push('/tltest2');
|
|
|
}
|
|
|
},
|
|
|
// 点击查询
|
|
|
resetForm(name) {
|
|
|
if (this.panduan == '找技术') {
|
|
|
if (name) {
|
|
|
- this.searchInfo(name);
|
|
|
+ var filterdata = this.jishulist.filter(item => item.name === name);
|
|
|
+ this.$set(this, `jishulist`, filterdata);
|
|
|
} else {
|
|
|
- this.searchInfo();
|
|
|
+ this.searchdock();
|
|
|
}
|
|
|
} else if (this.panduan == '找产品') {
|
|
|
if (name) {
|
|
|
- this.searchchanpin(name);
|
|
|
+ var filterdata = this.demandList.filter(item => item.name === name);
|
|
|
+ this.$set(this, `demandList`, filterdata);
|
|
|
} else {
|
|
|
- this.searchchanpin();
|
|
|
+ this.searchdock();
|
|
|
}
|
|
|
} else if (this.panduan == '找服务') {
|
|
|
if (name) {
|
|
|
- this.searchfuwu(name);
|
|
|
+ var filterdata = this.serviceList.filter(item => item.name === name);
|
|
|
+ this.$set(this, `serviceList`, filterdata);
|
|
|
} else {
|
|
|
- this.searchfuwu();
|
|
|
+ this.searchdock();
|
|
|
}
|
|
|
} else if (this.panduan == '找专家') {
|
|
|
if (name) {
|
|
|
- this.searchzhanjia(name);
|
|
|
+ var filterdata = this.expertList.filter(item => item.name === name);
|
|
|
+ this.$set(this, `expertList`, filterdata);
|
|
|
} else {
|
|
|
- this.searchzhanjia();
|
|
|
+ this.searchdock();
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // 直播详情
|
|
|
- btnDirectDetail() {
|
|
|
- this.$router.push({ path: '/live/hallDetail', query: { id: this.$route.query.id } });
|
|
|
+ //找技术,找产品,找服务,找专家
|
|
|
+ handleClick(tab, event) {
|
|
|
+ if (event.target.getAttribute('id') == 'tab-0') {
|
|
|
+ this.panduan = '找技术';
|
|
|
+ if (this.name) {
|
|
|
+ console.log('找技术');
|
|
|
+ }
|
|
|
+ } else if (event.target.getAttribute('id') == 'tab-1') {
|
|
|
+ this.panduan = '找产品';
|
|
|
+ if (this.name) {
|
|
|
+ console.log('找产品');
|
|
|
+ }
|
|
|
+ } else if (event.target.getAttribute('id') == 'tab-2') {
|
|
|
+ this.panduan = '找服务';
|
|
|
+ if (this.name) {
|
|
|
+ console.log('找服务');
|
|
|
+ }
|
|
|
+ } else if (event.target.getAttribute('id') == 'tab-3') {
|
|
|
+ this.panduan = '找专家';
|
|
|
+ if (this.name) {
|
|
|
+ console.log('找专家');
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
// 技术,产品,服务详情
|
|
|
oneBtnDetail(data) {
|
|
|
this.dialogVisible = true;
|
|
|
- console.log(data);
|
|
|
this.$set(this, `directInfo`, data);
|
|
|
},
|
|
|
- // 关闭dialog
|
|
|
+ // 关闭技术,产品,服务详情
|
|
|
handleClose(done) {
|
|
|
done();
|
|
|
},
|
|
@@ -770,39 +746,24 @@ export default {
|
|
|
data.cardnumber = this.cardnumberNumFilter(data.cardnumber);
|
|
|
this.$set(this, `exportInfo`, data);
|
|
|
},
|
|
|
+ // 过滤隐藏手机号
|
|
|
phoneNumFilter(phone) {
|
|
|
let start = phone.slice(0, 3);
|
|
|
let end = phone.slice(-4);
|
|
|
return `${start}****${end}`;
|
|
|
},
|
|
|
+ // 过滤隐藏身份证号
|
|
|
cardnumberNumFilter(cardnumber) {
|
|
|
let start = cardnumber.slice(0, 4);
|
|
|
let end = cardnumber.slice(-3);
|
|
|
return `${start}****${end}`;
|
|
|
},
|
|
|
-
|
|
|
- zhuanjiaduijies(data) {
|
|
|
- this.$router.push({ path: '/live/hall/dock/zhanjiaduijie', query: { id: data.id, dockid: this.id } });
|
|
|
- },
|
|
|
- handleClicks(tab, event) {
|
|
|
- if (tab.name == 'four') {
|
|
|
- this.$router.push('/tltest');
|
|
|
- } else if (tab.name == 'five') {
|
|
|
- this.$router.push('/tllltest');
|
|
|
- } else if (tab.name == 'six') {
|
|
|
- this.$router.push('/tltest2');
|
|
|
- }
|
|
|
- },
|
|
|
-
|
|
|
// 关闭专家详情
|
|
|
handleCloseExport(done) {
|
|
|
done();
|
|
|
},
|
|
|
},
|
|
|
computed: {
|
|
|
- id() {
|
|
|
- return this.$route.query.id;
|
|
|
- },
|
|
|
...mapState(['user']),
|
|
|
pageTitle() {
|
|
|
return `${this.$route.meta.title}`;
|
|
@@ -1372,8 +1333,10 @@ export default {
|
|
|
// 技术
|
|
|
.demandList {
|
|
|
.topList {
|
|
|
+ height: 430px;
|
|
|
+ overflow: hidden;
|
|
|
.list {
|
|
|
- padding: 11px 0;
|
|
|
+ padding: 6px 0;
|
|
|
border-bottom: 1px dashed #ccc;
|
|
|
.name {
|
|
|
height: 30px;
|
|
@@ -1420,6 +1383,8 @@ export default {
|
|
|
// 服务
|
|
|
.serviceList {
|
|
|
.topList {
|
|
|
+ height: 430px;
|
|
|
+ overflow: hidden;
|
|
|
.list {
|
|
|
padding: 11px 0;
|
|
|
border-bottom: 1px dashed #ccc;
|
|
@@ -1460,6 +1425,7 @@ export default {
|
|
|
position: fixed;
|
|
|
top: 15px;
|
|
|
text-align: right;
|
|
|
+ z-index: 999;
|
|
|
span {
|
|
|
color: #fff;
|
|
|
font-weight: bold;
|