瀏覽代碼

修改会所管理菜单

zhengjinyi 5 年之前
父節點
當前提交
48d50fd635
共有 3 個文件被更改,包括 6 次插入8 次删除
  1. 3 2
      src/router/modules/club.js
  2. 1 3
      src/views/club/editForm.vue
  3. 2 3
      src/views/club/form.vue

+ 3 - 2
src/router/modules/club.js

@@ -12,13 +12,14 @@ const clubRouter = {
       path: 'list',
       name: 'List',
       component: () => import('@/views/club/list'),
-      meta: { title: '会所列表', icon: 'list' }
+      meta: { title: '会所列表', icon: 'tree' }
     },
     {
       path: 'form',
       name: 'Form',
       component: () => import('@/views/club/form'),
-      meta: { title: '上线会所', icon: 'form' }
+      meta: { title: '上线会所', icon: 'form' },
+      hidden: true
     },
     {
       path: 'operateList',

+ 1 - 3
src/views/club/editForm.vue

@@ -63,9 +63,7 @@
       </el-form-item>
     </el-form>
     <div slot="footer" class="dialog-footer" style="width:200px;margin:0 auto;padding:80px 0;float:right;margin-right:70px">
-      <router-link :to="'/club/list/'">
-        <el-button style="margin-right:10px">返回</el-button>
-      </router-link>
+      <el-button style="margin-right:10px" @click="backToList">返回</el-button>
       <el-button type="primary" :loading="loadingbut" @click="onSubmite()">{{ loadingbuttext }}</el-button>
     </div>
   </div>

+ 2 - 3
src/views/club/form.vue

@@ -64,9 +64,7 @@
       </el-form-item>
     </el-form>
     <div slot="footer" class="dialog-footer" style="width:200px;margin:0 auto;padding:80px 0;float:right;margin-right:70px">
-      <router-link :to="'/club/list/'">
-        <el-button style="margin-right:10px">返回</el-button>
-      </router-link>
+      <el-button style="margin-right:10px" @click="backToList">返回</el-button>
       <el-button type="primary" :loading="loadingbut" @click="onSubmite()">{{ loadingbuttext }}</el-button>
     </div>
   </div>
@@ -225,6 +223,7 @@ export default {
 }
 .form-el-upload{
   width: 150px;
+  height: 150px;
 }
 .el-upload__tip{
   margin-top: 0;