|
@@ -115,7 +115,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4" class="btn">
|
|
<el-col :span="4" class="btn">
|
|
<el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
|
|
<el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
|
|
- <el-button size="mini" type="success" @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id } })"
|
|
|
|
|
|
+ <el-button size="mini" type="success" @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: id } })"
|
|
>对接</el-button
|
|
>对接</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -145,7 +145,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4" class="btn">
|
|
<el-col :span="4" class="btn">
|
|
<el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
|
|
<el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
|
|
- <el-button size="mini" type="success" @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id } })"
|
|
|
|
|
|
+ <el-button size="mini" type="success" @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: id } })"
|
|
>对接</el-button
|
|
>对接</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -175,7 +175,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4" class="btn">
|
|
<el-col :span="4" class="btn">
|
|
<el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
|
|
<el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
|
|
- <el-button size="mini" type="success" @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id } })"
|
|
|
|
|
|
+ <el-button size="mini" type="success" @click="$router.push({ path: '/live/hall/dock/dockDetail', query: { id: item.id, dockid: id } })"
|
|
>对接</el-button
|
|
>对接</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -490,7 +490,7 @@ export default {
|
|
this.$set(this, `file_path`, res.data.file_path);
|
|
this.$set(this, `file_path`, res.data.file_path);
|
|
console.log(res.data);
|
|
console.log(res.data);
|
|
// 交易实况
|
|
// 交易实况
|
|
- let aaa = await this.tquery();
|
|
|
|
|
|
+ let aaa = await this.tquery({ dockid: this.id });
|
|
let newaaa = aaa.data.filter(f => f.status == '1' || f.status == '2');
|
|
let newaaa = aaa.data.filter(f => f.status == '1' || f.status == '2');
|
|
for (const val of newaaa) {
|
|
for (const val of newaaa) {
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
@@ -498,10 +498,10 @@ export default {
|
|
}
|
|
}
|
|
this.$set(this, `directlist`, newaaa);
|
|
this.$set(this, `directlist`, newaaa);
|
|
// 洽谈
|
|
// 洽谈
|
|
- let abb = await this.tquery({ status: 0 });
|
|
|
|
|
|
+ let abb = await this.tquery({ status: 0, dockid: this.id });
|
|
this.$set(this, `qiatan`, abb.total);
|
|
this.$set(this, `qiatan`, abb.total);
|
|
// 意向
|
|
// 意向
|
|
- let acc = await this.tquery({ status: 1 });
|
|
|
|
|
|
+ let acc = await this.tquery({ status: 1, dockid: this.id });
|
|
|
|
|
|
for (const val of acc.data) {
|
|
for (const val of acc.data) {
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
@@ -511,7 +511,7 @@ export default {
|
|
this.$set(this, `dacheng`, acc.total);
|
|
this.$set(this, `dacheng`, acc.total);
|
|
this.$set(this, `yixianglist`, acc.data);
|
|
this.$set(this, `yixianglist`, acc.data);
|
|
// 成果
|
|
// 成果
|
|
- let aee = await this.tquery({ status: 2 });
|
|
|
|
|
|
+ let aee = await this.tquery({ status: 2, dockid: this.id });
|
|
for (const val of aee.data) {
|
|
for (const val of aee.data) {
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
|
|
val.time = time;
|
|
val.time = time;
|
|
@@ -545,7 +545,7 @@ export default {
|
|
},
|
|
},
|
|
//专家
|
|
//专家
|
|
async searchzhanjia(newname) {
|
|
async searchzhanjia(newname) {
|
|
- let res = await this.expertQuery({ skip: 0, limit: 10, name: newname });
|
|
|
|
|
|
+ let res = await this.expertQuery({ skip: 0, limit: 10, name: newname, role: 6 });
|
|
if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
},
|
|
},
|
|
//tabs
|
|
//tabs
|
|
@@ -621,7 +621,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
zhuanjiaduijies(data) {
|
|
zhuanjiaduijies(data) {
|
|
- this.$router.push({ path: '/live/hall/dock/zhanjiaduijie', query: { id: data.id } });
|
|
|
|
|
|
+ this.$router.push({ path: '/live/hall/dock/zhanjiaduijie', query: { id: data.id, dockid: this.id } });
|
|
},
|
|
},
|
|
handleClicks(tab, event) {
|
|
handleClicks(tab, event) {
|
|
console.log(tab, event);
|
|
console.log(tab, event);
|