guhongwei 4 years ago
parent
commit
3d3cf3ae3a
2 changed files with 8 additions and 8 deletions
  1. 4 4
      src/views/halltwo/directTwo.vue
  2. 4 4
      src/views/halltwo/xmcg.vue

+ 4 - 4
src/views/halltwo/directTwo.vue

@@ -136,10 +136,10 @@
                       <achieve :list="achievefourList" @xmdjBtn="xmdjBtn"></achieve>
                     </el-tab-pane>
                   </el-tabs>
-                  <el-link :underline="false" class="more" @click="$router.push({ path: '/halltwo/xmcg', query: { id: dockInfo.id } })">更多></el-link>
+                  <el-link :underline="false" class="more" @click="$router.push({ path: '/halltwo/xmcg', query: { dock_id: dockInfo.id } })">更多></el-link>
                 </el-col>
                 <el-col :span="24" class="leftbtn">
-                  <el-button @click="$router.push({ path: '/halltwo/xmcg', query: { id: dockInfo.id } })">查看所有项目</el-button>
+                  <el-button @click="$router.push({ path: '/halltwo/xmcg', query: { dock_id: dockInfo.id } })">查看所有项目</el-button>
                 </el-col>
               </el-col>
               <el-col :span="12" class="right">
@@ -158,10 +158,10 @@
                       <achieve :list="techolfourList" @xmdjBtn="xmdjBtn"></achieve>
                     </el-tab-pane>
                   </el-tabs>
-                  <el-link :underline="false" class="more" @click="$router.push({ path: '/halltwo/xmcg', query: { id: dockInfo.id } })">更多></el-link>
+                  <el-link :underline="false" class="more" @click="$router.push({ path: '/halltwo/xmcg', query: { dock_id: dockInfo.id } })">更多></el-link>
                 </el-col>
                 <el-col :span="24" class="leftbtn">
-                  <el-button @click="$router.push({ path: '/halltwo/xmcg', query: { id: dockInfo.id } })">查看所有需求</el-button>
+                  <el-button @click="$router.push({ path: '/halltwo/xmcg', query: { dock_id: dockInfo.id } })">查看所有需求</el-button>
                 </el-col>
               </el-col>
             </el-col>

+ 4 - 4
src/views/halltwo/xmcg.vue

@@ -155,8 +155,8 @@ export default {
     ...dock({ dockQuery: 'query', dockFetch: 'fetch', goodsquery: 'goodsquery' }),
     async searchInfo() {
       // 查询展会详情
-      if (this.id) {
-        let res = await this.dockFetch(this.id);
+      if (this.dock_id) {
+        let res = await this.dockFetch(this.dock_id);
         if (this.$checkRes(res)) {
           this.$set(this, `dockInfo`, res.data);
           let czxm = res.data.apply.map(item => item.goodsList);
@@ -198,8 +198,8 @@ export default {
   },
   computed: {
     ...mapState(['user']),
-    id() {
-      return this.$route.query.id;
+    dock_id() {
+      return this.$route.query.dock_id;
     },
   },
   watch: {