|
@@ -31,7 +31,7 @@
|
|
@searchData="searchData"
|
|
@searchData="searchData"
|
|
></achieve>
|
|
></achieve>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="column_name == '商务信息'">
|
|
|
|
|
|
+ <span v-else-if="column_name == '商务服务'">
|
|
<business
|
|
<business
|
|
:businessList="businessList"
|
|
:businessList="businessList"
|
|
:column_name="column_name"
|
|
:column_name="column_name"
|
|
@@ -40,7 +40,7 @@
|
|
@searchData="searchData"
|
|
@searchData="searchData"
|
|
></business>
|
|
></business>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="column_name == '专家服务'">
|
|
|
|
|
|
+ <span v-else-if="column_name == '专家智库'">
|
|
<expert :expertList="expertList" :column_name="column_name" :total="expertTotal" @clickDetail="clickDetail" @searchData="searchData"></expert>
|
|
<expert :expertList="expertList" :column_name="column_name" :total="expertTotal" @clickDetail="clickDetail" @searchData="searchData"></expert>
|
|
</span>
|
|
</span>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -62,7 +62,7 @@
|
|
<achiDetail :detailInfo="achiDetail" @onSubmit="techSubmit" :displayBtn="displayBtn"></achiDetail>
|
|
<achiDetail :detailInfo="achiDetail" @onSubmit="techSubmit" :displayBtn="displayBtn"></achiDetail>
|
|
</el-col>
|
|
</el-col>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="column_name == '商务信息'">
|
|
|
|
|
|
+ <span v-else-if="column_name == '商务服务'">
|
|
<el-col :span="24" style="text-align:right;">
|
|
<el-col :span="24" style="text-align:right;">
|
|
<el-button type="primary" size="mini" @click="display = 'list'">返回</el-button>
|
|
<el-button type="primary" size="mini" @click="display = 'list'">返回</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -70,7 +70,7 @@
|
|
<busiDetail :detailInfo="busiDetail" @onSubmit="techSubmit" :displayBtn="displayBtn"></busiDetail>
|
|
<busiDetail :detailInfo="busiDetail" @onSubmit="techSubmit" :displayBtn="displayBtn"></busiDetail>
|
|
</el-col>
|
|
</el-col>
|
|
</span>
|
|
</span>
|
|
- <span v-else-if="column_name == '专家服务'">
|
|
|
|
|
|
+ <span v-else-if="column_name == '专家智库'">
|
|
<el-col :span="24" style="text-align:right;">
|
|
<el-col :span="24" style="text-align:right;">
|
|
<el-button type="primary" size="mini" @click="display = 'list'">返回</el-button>
|
|
<el-button type="primary" size="mini" @click="display = 'list'">返回</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -111,10 +111,10 @@ export default {
|
|
// 技术成果
|
|
// 技术成果
|
|
achieve,
|
|
achieve,
|
|
achiDetail,
|
|
achiDetail,
|
|
- // 商务信息
|
|
|
|
|
|
+ // 商务服务
|
|
business,
|
|
business,
|
|
busiDetail,
|
|
busiDetail,
|
|
- // 专家服务
|
|
|
|
|
|
+ // 专家智库
|
|
expert,
|
|
expert,
|
|
expeDetail,
|
|
expeDetail,
|
|
},
|
|
},
|
|
@@ -122,7 +122,7 @@ export default {
|
|
return {
|
|
return {
|
|
squareImage: require('@/assets/live/square_big.png'),
|
|
squareImage: require('@/assets/live/square_big.png'),
|
|
// 菜单
|
|
// 菜单
|
|
- menuList: [{ name: '科技需求' }, { name: '技术成果' }, { name: '商务信息' }, { name: '专家服务' }],
|
|
|
|
|
|
+ menuList: [{ name: '科技需求' }, { name: '技术成果' }, { name: '商务服务' }, { name: '专家智库' }],
|
|
menuIndex: '0',
|
|
menuIndex: '0',
|
|
menuColor: 'rgb(254, 149, 14)',
|
|
menuColor: 'rgb(254, 149, 14)',
|
|
// 右侧显示
|
|
// 右侧显示
|
|
@@ -141,7 +141,7 @@ export default {
|
|
achieveList: [],
|
|
achieveList: [],
|
|
achieveTotal: 0,
|
|
achieveTotal: 0,
|
|
achiDetail: {},
|
|
achiDetail: {},
|
|
- // 商务信息
|
|
|
|
|
|
+ // 商务服务
|
|
businessList: [],
|
|
businessList: [],
|
|
businessTotal: 0,
|
|
businessTotal: 0,
|
|
busiDetail: {},
|
|
busiDetail: {},
|
|
@@ -198,11 +198,11 @@ export default {
|
|
let res = await this.productList({ skip, type: '1', status: '1', name, ...info });
|
|
let res = await this.productList({ skip, type: '1', status: '1', name, ...info });
|
|
if (this.$checkRes(res)) this.$set(this, `achieveList`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `achieveList`, res.data);
|
|
this.$set(this, `achieveTotal`, res.total);
|
|
this.$set(this, `achieveTotal`, res.total);
|
|
- } else if (columnName == '商务信息') {
|
|
|
|
|
|
+ } else if (columnName == '商务服务') {
|
|
let res = await this.productList({ skip, type: '2', status: '1', name, ...info });
|
|
let res = await this.productList({ skip, type: '2', status: '1', name, ...info });
|
|
if (this.$checkRes(res)) this.$set(this, `businessList`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `businessList`, res.data);
|
|
this.$set(this, `businessTotal`, res.total);
|
|
this.$set(this, `businessTotal`, res.total);
|
|
- } else if (columnName == '专家服务') {
|
|
|
|
|
|
+ } else if (columnName == '专家智库') {
|
|
let res = await this.expertsuserList({ skip, name, ...info });
|
|
let res = await this.expertsuserList({ skip, name, ...info });
|
|
if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
|
|
this.$set(this, `expertTotal`, res.total);
|
|
this.$set(this, `expertTotal`, res.total);
|
|
@@ -216,7 +216,7 @@ export default {
|
|
} else if (columnName == '技术成果') {
|
|
} else if (columnName == '技术成果') {
|
|
let res = await this.productFetch(id);
|
|
let res = await this.productFetch(id);
|
|
if (this.$checkRes(res)) this.$set(this, `achiDetail`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `achiDetail`, res.data);
|
|
- } else if (columnName == '商务信息') {
|
|
|
|
|
|
+ } else if (columnName == '商务服务') {
|
|
let res = await this.productFetch(id);
|
|
let res = await this.productFetch(id);
|
|
if (this.$checkRes(res)) this.$set(this, `busiDetail`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `busiDetail`, res.data);
|
|
} else {
|
|
} else {
|
|
@@ -230,7 +230,7 @@ export default {
|
|
this.display = 'detail';
|
|
this.display = 'detail';
|
|
this.searchDetail(column_name, id);
|
|
this.searchDetail(column_name, id);
|
|
},
|
|
},
|
|
- // 科技需求,技术成果,商务信息洽谈
|
|
|
|
|
|
+ // 科技需求,技术成果,商务服务洽谈
|
|
async techSubmit({ data }) {
|
|
async techSubmit({ data }) {
|
|
let form = {
|
|
let form = {
|
|
userid: this.user.uid,
|
|
userid: this.user.uid,
|
|
@@ -253,7 +253,7 @@ export default {
|
|
this.$checkRes(res, '购买申请成功', res.errmsg || '购买申请失败');
|
|
this.$checkRes(res, '购买申请成功', res.errmsg || '购买申请失败');
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- // 专家服务
|
|
|
|
|
|
+ // 专家智库
|
|
async expertSuubmit({ data }) {
|
|
async expertSuubmit({ data }) {
|
|
let form = {
|
|
let form = {
|
|
userid: this.user.uid,
|
|
userid: this.user.uid,
|