|
@@ -391,29 +391,29 @@ export default {
|
|
|
// 嘉宾访谈
|
|
|
jiabinlist: [
|
|
|
{
|
|
|
- url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
|
|
|
+ url: require('@/assets/test.jpeg'),
|
|
|
title: '测试title',
|
|
|
date: '2017-03-04',
|
|
|
- context: '1231232121212121212121212121212121212121231111111111111111111111111111111111111111121212121212121212121212121212121212121212121212121321',
|
|
|
+ context: '测试内容测试内容测试内容测试内容测试内容测试内容测试内容测试内容',
|
|
|
},
|
|
|
{
|
|
|
- url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
|
|
|
+ url: require('@/assets/test.jpeg'),
|
|
|
title: '测试title',
|
|
|
date: '2017-03-04',
|
|
|
- context: '1231232121212121212121212121212121212121231111111111111111111111111111111111111111121212121212121212121212121212121212121212121212121321',
|
|
|
+ context: '测试内容测试内容测试内容测试内容测试内容测试内容测试内容测试内容',
|
|
|
},
|
|
|
{
|
|
|
- url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
|
|
|
+ url: require('@/assets/test.jpeg'),
|
|
|
title: '测试title',
|
|
|
date: '2017-03-04',
|
|
|
- context: '1231232121212121212121212121212121212121231111111111111111111111111111111111111111121212121212121212121212121212121212121212121212121321',
|
|
|
+ context: '测试内容测试内容测试内容测试内容测试内容测试内容测试内容测试内容',
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
|
|
|
+ url: require('@/assets/test.jpeg'),
|
|
|
title: '测试title',
|
|
|
date: '2017-03-04',
|
|
|
- context: '1231232121212121212121212121212121212121231111111111111111111111111111111111111111121212121212121212121212121212121212121212121212121321',
|
|
|
+ context: '测试内容测试内容测试内容测试内容测试内容测试内容测试内容测试内容',
|
|
|
},
|
|
|
],
|
|
|
superOne: require('@/assets/live/main1.png'),
|
|
@@ -431,12 +431,10 @@ export default {
|
|
|
...market({ marketFetch: 'fetch' }),
|
|
|
...dock({ dockQuery: 'query' }),
|
|
|
...expertsuser({ expertQuery: 'query' }),
|
|
|
- //jishu
|
|
|
+ //技术
|
|
|
async searchInfo(newname) {
|
|
|
- console.log(newname);
|
|
|
let res = await this.mapProductQuery({ skip: 0, limit: 10, totaltype: '0', name: newname });
|
|
|
if (this.$checkRes(res)) this.$set(this, `jishulist`, res.data);
|
|
|
-
|
|
|
// res = await this.mapProductQuery({ skip: 0, limit: 10, totaltype: '1' });
|
|
|
// if (this.$checkRes(res)) this.$set(this, `demandList`, res.data);
|
|
|
// res = await this.mapProductQuery({ skip: 0, limit: 10, totaltype: '2' });
|
|
@@ -444,45 +442,21 @@ export default {
|
|
|
// res = await this.expertQuery({ skip: 0, limit: 10 });
|
|
|
// if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
|
},
|
|
|
- //chanpin
|
|
|
+ //产品
|
|
|
async searchchanpin(newname) {
|
|
|
let res = await this.mapProductQuery({ skip: 0, limit: 10, totaltype: '1', name: newname });
|
|
|
if (this.$checkRes(res)) this.$set(this, `demandList`, res.data);
|
|
|
},
|
|
|
- //fuwu
|
|
|
+ //服务
|
|
|
async searchfuwu(newname) {
|
|
|
let res = await this.mapProductQuery({ skip: 0, limit: 10, totaltype: '2', name: newname });
|
|
|
if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
|
|
|
},
|
|
|
-
|
|
|
- //zhuanjia
|
|
|
+ //专家
|
|
|
async searchzhanjia(newname) {
|
|
|
let res = await this.expertQuery({ skip: 0, limit: 10, name: newname });
|
|
|
if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
|
},
|
|
|
-
|
|
|
- // 直播详情
|
|
|
- btnDirectDetail() {
|
|
|
- this.$router.push({ path: '/live/hallDetail', query: { id: this.$route.query.id } });
|
|
|
- },
|
|
|
- // 技术,产品,服务详情
|
|
|
- oneBtnDetail(data) {
|
|
|
- this.dialogVisible = true;
|
|
|
- this.$set(this, `directInfo`, data);
|
|
|
- },
|
|
|
- // 关闭dialog
|
|
|
- handleClose(done) {
|
|
|
- done();
|
|
|
- },
|
|
|
- // 专家详情
|
|
|
- twoBtnDetail(data) {
|
|
|
- this.dialogExport = true;
|
|
|
- this.$set(this, `exportInfo`, data);
|
|
|
- },
|
|
|
- // 关闭专家详情
|
|
|
- handleCloseExport(done) {
|
|
|
- done();
|
|
|
- },
|
|
|
//tabs
|
|
|
handleClick(tab, event) {
|
|
|
if (event.target.getAttribute('id') == 'tab-0') {
|
|
@@ -507,6 +481,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ // 点击查询
|
|
|
resetForm(name) {
|
|
|
if (this.panduan == '找技术') {
|
|
|
if (name) {
|
|
@@ -534,6 +509,29 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ // 直播详情
|
|
|
+ btnDirectDetail() {
|
|
|
+ this.$router.push({ path: '/live/hallDetail', query: { id: this.$route.query.id } });
|
|
|
+ },
|
|
|
+ // 技术,产品,服务详情
|
|
|
+ oneBtnDetail(data) {
|
|
|
+ this.dialogVisible = true;
|
|
|
+ console.log(data.introduction.length);
|
|
|
+ this.$set(this, `directInfo`, data);
|
|
|
+ },
|
|
|
+ // 关闭dialog
|
|
|
+ handleClose(done) {
|
|
|
+ done();
|
|
|
+ },
|
|
|
+ // 专家详情
|
|
|
+ twoBtnDetail(data) {
|
|
|
+ this.dialogExport = true;
|
|
|
+ this.$set(this, `exportInfo`, data);
|
|
|
+ },
|
|
|
+ // 关闭专家详情
|
|
|
+ handleCloseExport(done) {
|
|
|
+ done();
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
pageTitle() {
|