From d87eaec0b07649dc356db0619ee7b87dd8cf558a Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期二, 14 二月 2023 16:16:50 +0800
Subject: [PATCH] 2023/2/14 肖辉 修改部门管理

---
 src/views/systemSetting/device/bayonet/index.vue |   51 +++++++++++++++++++++++++++++++--------------------
 1 files changed, 31 insertions(+), 20 deletions(-)

diff --git a/src/views/systemSetting/device/bayonet/index.vue b/src/views/systemSetting/device/bayonet/index.vue
index 76a09ac..8705eca 100644
--- a/src/views/systemSetting/device/bayonet/index.vue
+++ b/src/views/systemSetting/device/bayonet/index.vue
@@ -4,12 +4,13 @@
       <div class="header-content">
         <div class="search">
           <span style="padding-right: 20px">绛涢�夋潯浠�:</span>
-          <el-input v-model="context" placeholder="璇疯緭鍏�" @change="getBayonetListData"></el-input>
+          <el-input
+            v-model="context"
+            placeholder="璇疯緭鍏�"
+            @change="getBayonetListData"
+          ></el-input>
         </div>
-      </div>
-    </header>
-    <main>
-      <div class="main-content">
+
         <div class="main-title">
           <el-button
             class="el-icon-plus button-addition"
@@ -17,10 +18,20 @@
             @click="showDialog(false, null)"
             >娣诲姞</el-button
           >
-          <el-button @click="handleExport">瀵煎嚭鍗″彛</el-button>
+          <el-button @click="handleExport" 
+            type="primary">瀵煎嚭鍗″彛</el-button>
         </div>
+      </div>
+    </header>
+    <main>
+      <div class="main-content">
         <!-- 鏁版嵁灞曠ず -->
-        <MyTable :tableOption="tableOption" :get-table-list="getBayonetListData" :tableData="list" :pageShow="false">
+        <MyTable
+          :tableOption="tableOption"
+          :get-table-list="getBayonetListData"
+          :tableData="list"
+          :pageShow="true"
+        >
           <template #operation="info">
             <el-link
               :underline="false"
@@ -166,7 +177,7 @@
         .exportBayonetList({
           bayonetName: this.context,
           current: this.current,
-          size: this.size
+          size: this.size,
         })
         .then((res) => {
           downloadFile(res);
@@ -198,14 +209,14 @@
 <style lang="scss" scoped>
 .userList {
   text-align: left;
-  margin: 10px 20px;
+  padding: 10px 20px;
   // color: #4b9bb7;
-
+  border: 1px solid #ccc;
   header {
-    background-color: white;
+    // background-color: white;
 
     .header-content {
-      padding: 0 40px;
+      padding: 0;
       display: flex;
       line-height: 100px;
       justify-content: space-between;
@@ -229,6 +240,11 @@
           // }
         }
       }
+
+      .main-title {
+        line-height: 60px;
+        padding: 10px 0px;
+      }
     }
   }
 
@@ -236,11 +252,6 @@
     // background-color: #09152f;
     margin-top: 20px;
     padding-bottom: 50px;
-
-    .main-title {
-      line-height: 60px;
-      padding: 10px 20px;
-    }
 
     .tools {
       display: flex;
@@ -307,8 +318,8 @@
     }
 
     .el-table {
-      color: #4b9bb7;
-      font-size: 10px;
+      // color: #4b9bb7;
+      // font-size: 10px;
 
       .cell {
         display: flex;
@@ -327,4 +338,4 @@
 .line {
   padding: 0 5px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0