guhongwei 5 роки тому
батько
коміт
755dadafd9

+ 0 - 2
src/layout/market/zhuanjia.vue

@@ -127,8 +127,6 @@ export default {
           obj.seller_id = this.zhuanjiainfo.userid;
           obj.seller_name = this.zhuanjiainfo.name;
         }
-        console.log(obj);
-
         let res = await this.create(obj);
         if (this.$checkRes(res)) {
           this.$set(this, `room`, res.data);

+ 3 - 3
src/views/dynamic/dealDetail.vue

@@ -90,9 +90,9 @@ export default {
       this.$set(this, `dealDetails`, res.data);
     },
     async onclick() {
-      console.log(this.dealDetails);
-      // const res = await this.newfetch(this.id);
-      // console.log(res);
+      let product_id = this.dealDetails.product_id;
+      const res = await this.newfetch(product_id);
+      console.log(res.errcode);
       // 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') {

+ 1 - 0
src/views/hall/dock/zhanjiaduijie.vue

@@ -199,6 +199,7 @@ export default {
       form.market_userid = this.detailInfo.id;
       form.market_username = this.detailInfo.name;
       form.status = '0';
+      form.type = '1';
       if (!this.user.uid) {
         this.$message.error('游客身份无法与卖家对话,请先注册');
         return;

+ 3 - 1
src/views/market/marketlists.vue

@@ -241,7 +241,7 @@ export default {
       } else {
       }
     },
-
+    // 专家
     async zjsubmit() {
       let form = {};
       form.userid = this.user.uid;
@@ -251,6 +251,7 @@ export default {
       form.market_userid = this.zhuanjiainfo.id;
       form.market_username = this.zhuanjiainfo.name;
       form.status = '0';
+      form.type = '1';
       if (!this.user.uid) {
         this.$message.error('游客身份无法与卖家对话,请先注册');
         return;
@@ -259,6 +260,7 @@ export default {
         this.$checkRes(res, '购买申请成功', res.errmsg || '购买申请失败');
       }
     },
+    // 技术产品服务
     async onSubmit() {
       let form = {};
       form.userid = this.user.uid;