Browse Source

调整界面样式

jiawuxian 2 năm trước cách đây
mục cha
commit
b02ab262c2

+ 2 - 2
src/views/question/list/index.vue

@@ -86,6 +86,7 @@
                   >搜索</el-button
                 >
                 <el-button
+                type="primary"
                   icon="el-icon-refresh"
                   size="mini"
                   @click="resetQuery"
@@ -93,7 +94,6 @@
                 >
                 <el-button
                   type="primary"
-                  plain
                   icon="el-icon-download"
                   size="mini"
                   @click="handleExport"
@@ -108,7 +108,7 @@
             </el-row>
           </div>
 
-          <el-table v-loading="loading" :data="questionList">
+          <el-table v-loading="loading" :data="questionList" height="650">
             <el-table-column
               type="index"
               label="序号"

+ 1 - 2
src/views/question/reform/index.vue

@@ -77,7 +77,6 @@
                 >
                 <el-button
                   type="primary"
-                  plain
                   icon="el-icon-download"
                   size="mini"
                   @click="handleExport"
@@ -92,7 +91,7 @@
             </el-row>
           </div>
 
-          <el-table v-loading="loading" :data="questionList">
+          <el-table v-loading="loading" :data="questionList" height="650">
             <el-table-column
               type="index"
               label="序号"

+ 2 - 1
src/views/resumption/protection/index.vue

@@ -72,6 +72,7 @@
                   >搜索</el-button
                 >
                 <el-button
+                  type="primary"
                   icon="el-icon-refresh"
                   size="mini"
                   @click="resetQuery"
@@ -87,7 +88,6 @@
                 >
                 <el-button
                   type="primary"
-                  plain
                   icon="el-icon-download"
                   size="mini"
                   @click="handleExport()"
@@ -132,6 +132,7 @@
             v-loading="loading"
             :data="pageData"
             @selection-change="handleSelectionChange"
+            height="650"
           >
             <el-table-column
               type="index"

+ 1 - 1
src/views/resumption/rule/index.vue

@@ -91,7 +91,7 @@
             v-loading="loading"
             :data="pageData"
             @selection-change="handleSelectionChange"
-            max-height="calc(100% - 150px)"
+            height="650"
           >
             <el-table-column
               type="index"

+ 3 - 2
src/views/resumption/ruleManager/index.vue

@@ -20,13 +20,13 @@
       <el-col :span="20" :xs="24">
         <div class="main-right-box">
           <!--    搜索条件    -->
-          <div class="main-search-box">
+          <div class="main-search-box" v-show="showSearch && rule">
             <el-form
               :model="queryParams"
               ref="search"
               size="small"
               :inline="true"
-              v-show="showSearch && rule"
+              
               label-width="100px"
             >
               <el-form-item
@@ -131,6 +131,7 @@
             v-if="fresh"
             style="width: 100%"
             v-loading="loading"
+            height="650"
           >
             <el-table-column type="expand">
               <template slot-scope="props">

+ 1 - 1
src/views/resumption/taskManager/index.vue

@@ -90,6 +90,7 @@
                   >搜索</el-button
                 >
                 <el-button
+                  type="primary"
                   icon="el-icon-refresh"
                   size="mini"
                   @click="resetQuery"
@@ -97,7 +98,6 @@
                 >
                 <el-button
                   type="primary"
-                  plain
                   icon="el-icon-download"
                   size="mini"
                   @click="exportExcel()"

+ 2 - 0
src/views/safetycheck/rule/index.vue

@@ -63,6 +63,7 @@
                   >搜索</el-button
                 >
                 <el-button
+                  type="primary"
                   icon="el-icon-refresh"
                   size="mini"
                   @click="resetQuery"
@@ -89,6 +90,7 @@
             v-loading="loading"
             :data="pageData"
             @selection-change="handleSelectionChange"
+            height="650"
           >
             <el-table-column
               type="index"

+ 5 - 5
src/views/safetycheck/ruleManager/index.vue

@@ -21,13 +21,12 @@
       <el-col :span="20" :xs="24">
         <div class="main-right-box">
           <!--    搜索条件    -->
-          <div class="main-search-box">
+          <div class="main-search-box" v-show="showSearch && rule">
             <el-form
               :model="queryParams"
               ref="search"
               size="small"
               :inline="true"
-              v-show="showSearch && rule"
               label-width="100px"
             >
               <el-form-item
@@ -52,7 +51,7 @@
               </el-form-item>
             </el-form>
             <!--    按纽    -->
-            <el-row :gutter="10" class="mb8" v-show="showSearch && rule">
+            <el-row :gutter="10" class="mb8">
               <el-col :span="1.5">
                 <el-button
                   type="primary"
@@ -63,6 +62,7 @@
                   >搜索</el-button
                 >
                 <el-button
+                  type="primary"
                   icon="el-icon-refresh"
                   size="mini"
                   @click="resetQuery"
@@ -71,7 +71,6 @@
                 <el-button
                   type="primary"
                   size="mini"
-                  icon="el-icon-plus"
                   @click="onAddItem()"
                   :disabled="rule ? false : true"
                   v-hasPermi="['safetycheck:ruleManager:add']"
@@ -84,7 +83,7 @@
                 >选择</el-button
               > -->
                 <el-button
-                  type="warning"
+                  type="primary"
                   @click="dakai"
                   size="mini"
                   :disabled="rule ? false : true"
@@ -105,6 +104,7 @@
             v-if="fresh"
             style="width: 100%"
             v-loading="loading"
+            height="650"
           >
             <el-table-column type="expand">
               <template slot-scope="props">