|
@@ -71,14 +71,14 @@
|
|
|
<el-tabs v-model="activeName">
|
|
|
<el-tab-pane label="参展项目(0)" name="first">
|
|
|
<el-table :data="tableData" stripe style="width: 100%">
|
|
|
- <el-table-column prop="classifi" label="行业分类" width="180"> </el-table-column>
|
|
|
+ <el-table-column prop="field" label="所属领域" width="180"> </el-table-column>
|
|
|
<el-table-column prop="name" label="项目名称" width="180"> </el-table-column>
|
|
|
<el-table-column prop="type" label="技术类型">
|
|
|
<template slot-scope="scope">
|
|
|
- <span class="bgColor">{{ scope.row.type }}</span>
|
|
|
+ <span class="bgColor">{{ scope.row.type == '0' ? '科技需求' : scope.row.type == '1' ? '技术成果' : '商务信息' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="mode" label="交易方式"> </el-table-column>
|
|
|
+ <el-table-column prop="cooperation" label="交易方式"> </el-table-column>
|
|
|
</el-table>
|
|
|
<el-col class="page1" :span="24">
|
|
|
<el-pagination
|
|
@@ -93,14 +93,18 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="参展需求(0)" name="second">
|
|
|
<el-table :data="tableData1" stripe style="width: 100%">
|
|
|
- <el-table-column prop="type" label="需求类别" width="180"> </el-table-column>
|
|
|
+ <el-table-column prop="type" label="需求类别">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.type == '0' ? '科技需求' : scope.row.type == '1' ? '技术成果' : '商务信息' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="name" label="需求名称" width="180"> </el-table-column>
|
|
|
- <el-table-column prop="money" label="投入预算">
|
|
|
+ <el-table-column prop="budget" label="投入预算">
|
|
|
<template slot-scope="scope">
|
|
|
- <span class="bgColor">{{ scope.row.money }}</span>
|
|
|
+ <span class="bgColor">{{ scope.row.budget || '暂无' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="site" label="所在地"> </el-table-column>
|
|
|
+ <el-table-column prop="degreeurgency" label="需求紧急程度"> </el-table-column>
|
|
|
</el-table>
|
|
|
<el-col class="page1" :span="24">
|
|
|
<el-pagination
|
|
@@ -295,7 +299,14 @@ export default {
|
|
|
let res = await this.dockFetch(this.id);
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `dockInfo`, res.data);
|
|
|
- console.log(this.dockInfo);
|
|
|
+ let czxm = res.data.apply.map(item => item.goodsList);
|
|
|
+ czxm = _.flattenDeep(czxm);
|
|
|
+ let czxmNew = czxm.filter(item => item.dockStatus == '1');
|
|
|
+ // 参展项目
|
|
|
+ this.$set(this, `tableData`, czxmNew);
|
|
|
+ // 科技需求
|
|
|
+ let techol = czxmNew.filter(i => i.type == '0');
|
|
|
+ this.$set(this, `tableData1`, techol);
|
|
|
}
|
|
|
}
|
|
|
//查询专家列表
|