|
@@ -28,9 +28,9 @@
|
|
|
<el-col :span="24" class="message">
|
|
|
<el-col :span="12" class="content">
|
|
|
<p>项目名称</p>
|
|
|
- <p>产品名称:{{ dealDetails.product_name }}</p>
|
|
|
+ <p>服务名称:{{ dealDetails.product_name }}</p>
|
|
|
<p>发布时间:{{ dealDetails.meta | getDate }}</p>
|
|
|
- <p>产品说明:{{ dealDetails.description }}</p>
|
|
|
+ <p>服务说明:{{ dealDetails.description }}</p>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="image">
|
|
|
<el-col :span="24" class="user"> 购买人:{{ dealDetails.username }} </el-col>
|
|
@@ -89,19 +89,17 @@ export default {
|
|
|
res.data.status = res.data.status + 1;
|
|
|
this.$set(this, `dealDetails`, res.data);
|
|
|
},
|
|
|
-
|
|
|
async onclick() {
|
|
|
- console.log(this.dealDetails.product_id);
|
|
|
- const res = await this.newfetch(this.dealDetails.product_id);
|
|
|
- let id = this.dealDetails.product_id;
|
|
|
- console.log(res.data.totaltype);
|
|
|
- if (res.data.totaltype == '0') {
|
|
|
- this.$router.push({ path: '/market/marketlists', query: { totaltype: 0, id: id, column_name: '技术供求', display: 2 } });
|
|
|
- } else if (res.data.totaltype == '1') {
|
|
|
- this.$router.push({ path: '/market/marketlists', query: { totaltype: 1, id: id, column_name: '科技产品', display: 2 } });
|
|
|
- } else if (res.data.totaltype == '2') {
|
|
|
- this.$router.push({ path: '/market/marketlists', query: { totaltype: 2, id: id, display: 2, column_name: '科技产品' } });
|
|
|
- }
|
|
|
+ console.log(this.dealDetails);
|
|
|
+ // const res = await this.newfetch(this.id);
|
|
|
+ // console.log(res);
|
|
|
+ // if (res.data.totaltype == '0') {
|
|
|
+ // this.$router.push({ path: '/market/marketlists', query: { totaltype: 0, id: this.dealDetails.product_id, column_name: '技术供求', display: 2 } });
|
|
|
+ // } else if (res.data.totaltype == '1') {
|
|
|
+ // this.$router.push({ path: '/market/marketlists', query: { totaltype: 1, id: this.dealDetails.product_id, column_name: '科技产品', display: 2 } });
|
|
|
+ // } else if (res.data.totaltype == '2') {
|
|
|
+ // this.$router.push({ path: '/market/marketlists', query: { totaltype: 2, id: this.dealDetails.product_id, display: 2, column_name: '科技产品' } });
|
|
|
+ // }
|
|
|
},
|
|
|
},
|
|
|
filters: {
|