zcy il y a 4 ans
Parent
commit
7cd88b71cd
2 fichiers modifiés avec 5 ajouts et 13 suppressions
  1. 1 1
      src/router/index.js
  2. 4 12
      src/views/basics/pillar/index.vue

+ 1 - 1
src/router/index.js

@@ -114,7 +114,7 @@ export const constantRoutes = [
         path: 'pillar',
         component: () => import('@/views/basics/pillar/index'), // Parent router-view
         name: 'pillar',
-        meta: { title: '支柱数据管理' }
+        meta: { title: '支柱数据' }
       }
     ]
   },

+ 4 - 12
src/views/basics/pillar/index.vue

@@ -1,28 +1,20 @@
 <template>
-  <a-card :bordered="false" class="card-area">
+  <el-card style="margin: 15px">
 
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <!-- 搜索区域 -->
       <a-form layout="inline" @keyup.enter.native="searchQuery">
-        <a-row :gutter="24">
-          <a-col :md="6" :sm="8">
             <a-form-item label="名称" :label-col="{span: 5}" :wrapper-col="{span: 18, offset: 1}">
               <a-input v-model="queryParam.roleName" placeholder="请输入名称查询" />
             </a-form-item>
-          </a-col>
-          <a-col :md="6" :sm="8">
             <a-form-item label="创建时间" :label-col="{span: 5}" :wrapper-col="{span: 18, offset: 1}">
               <a-input v-model="queryParam.roleName" placeholder="请输入名称查询" />
             </a-form-item>
-          </a-col>
-          <span class="table-page-search-submitButtons">
-            <a-col :md="6" :sm="24">
+          <a-form-item>
               <a-button type="primary" @click="searchQuery">查询</a-button>
               <a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
-            </a-col>
-          </span>
-        </a-row>
+          </a-form-item>
       </a-form>
     </div>
 
@@ -87,7 +79,7 @@
     </div>
     <!-- table区域-end -->
     <!-- 表单区域 -->
-  </a-card>
+  </el-card>
 </template>
 <script>
 import { listMixin } from '@/mixin/listMixin'