liuqiao 4 年之前
父節點
當前提交
11c4f526a9

+ 1 - 1
src/store/getters.js

@@ -11,6 +11,6 @@ const getters = {
     workbench: state => state.user.workbench,
     backgroundFileid: state => state.user.backgroundFileid,
     userRole: state => state.user.userRole,
-    lesseeId: state => state.config.lesseeId,
+     lesseeId: state => state.config.lesseeId,
 }
 export default getters

+ 1 - 10
src/views/megagame/topic/index.vue

@@ -209,16 +209,7 @@ export default {
       }
       }
       }else{
-         switch(id){
-              case 0:
-            this.$router.replace({
-                path: '/detailafa' })
-                break 
-              case 1:
-              this.$router.replace({
-                path: '/detailafa' })
-                break   
-         }
+       
 
       }
      

+ 2 - 2
src/views/user/integral/index.vue

@@ -23,14 +23,14 @@
         :pagination-config="paginationConfig"
         @putPagination="getPagination"
       ></Pagination>
-      <el-button
+      <!-- <el-button
         type="danger"
         size="mini"
         plain
         round
         @click.native.prevent="charge"
         >去充值</el-button
-      >
+      > -->
     </div>
 
     <Charge :charge-config="chargeConfig" @putCharge="getCharge" />

+ 3 - 3
src/views/user/resource/index.vue

@@ -62,15 +62,15 @@
         :pagination-config="paginationConfig"
         @putPagination="getPagination"
       ></Pagination>
-      <el-button
+      <!-- <el-button
         v-if="userType != 2"
         type="danger"
         size="mini"
         plain
         round
         @click.native.prevent="getResource"
-        >购买资源</el-button
-      >
+        >购买资源</el-button 
+      > -->
     </div>
 
     <ViewResource :view-config="viewConfig" @putView="getView" />

+ 2 - 2
src/views/user/userLayout.vue

@@ -19,9 +19,9 @@
           <el-menu-item v-if="userRole == 2 ||userRole ==3"  index="/userLayout/menu"
             >参赛情况</el-menu-item
           >
-          <el-menu-item v-if="userType != 2" index="/userLayout/invoice"
+          <!-- <el-menu-item v-if="userType != 2" index="/userLayout/invoice"
             >发票管理</el-menu-item
-          >
+          > -->
           <el-menu-item v-if="userType != 2" index="/userLayout/integral"
             >我的积分</el-menu-item
           >