From f91c24d2b2b513716ffe9f4259a8a343c841bb00 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期六, 30 七月 2022 18:10:28 +0800
Subject: [PATCH] 数据对接

---
 src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue |   68 +++++++++++++++++++--------------
 1 files changed, 39 insertions(+), 29 deletions(-)

diff --git a/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue b/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue
index cf5809b..d11aa95 100644
--- a/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue
+++ b/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue
@@ -2,7 +2,7 @@
   <div class="system-user-container">
     <el-card shadow="hover">
       <div class="button_Line">
-        <div class="button_Left">
+        <div class="button_Left mb15">
           <el-button size="default" type="primary"  @click="onOpenAdd">
             <el-icon>
               <Plus />
@@ -15,21 +15,21 @@
           </el-button>
         </div>
         <div class="button_Right">
-          <el-button @click="upButton">
-            <el-icon>
-              <Upload />
-            </el-icon>
-          </el-button>
-          <el-button>
-            <el-icon>
-              <Download />
-            </el-icon>
-          </el-button>
-          <el-button>
-            <el-icon>
-              <Refresh />
-            </el-icon>
-          </el-button>
+<!--          <el-button @click="upButton">-->
+<!--            <el-icon>-->
+<!--              <Upload />-->
+<!--            </el-icon>-->
+<!--          </el-button>-->
+<!--          <el-button>-->
+<!--            <el-icon>-->
+<!--              <Download />-->
+<!--            </el-icon>-->
+<!--          </el-button>-->
+<!--          <el-button>-->
+<!--            <el-icon>-->
+<!--              <Refresh />-->
+<!--            </el-icon>-->
+<!--          </el-button>-->
         </div>
       </div>
       <el-table
@@ -109,9 +109,9 @@
 import {
   Plus,
   Delete,
-  Upload,
-  Download,
-  Refresh,
+  // Upload,
+  // Download,
+  // Refresh,
   View,
   VideoPlay,
   EditPen,
@@ -120,7 +120,7 @@
 import OpenAdd from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openAdd.vue';
 // import FlowChart from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/flowChart.vue';
 import UpData from '/@/views/contingencyManagement/panManagement/component/upData.vue';
-import { releaseDrillPlanApi } from '/@/api/releaseDrillPlan';
+import { releaseDrillPlanApi } from '/@/api/emergencyDrillPlan';
 
 export default defineComponent({
   name: 'systemUser',
@@ -130,9 +130,9 @@
     Plus,
     View,
     Delete,
-    Upload,
-    Download,
-    Refresh,
+    // Upload,
+    // Download,
+    // Refresh,
     VideoPlay,
     UpData,
     // FlowChart,
@@ -143,6 +143,7 @@
       pageIndex: 1,
       pageSize: 10,
       searchParams: {
+        drillName: ''
       },
     });
     // 定义表格数据
@@ -167,10 +168,10 @@
       listApi();
     });
     // 上传
-    const upShow=ref()
-    const upButton=()=>{
-      upShow.value.openDialog()
-    }
+    // const upShow=ref()
+    // const upButton=()=>{
+    //   upShow.value.openDialog()
+    // }
 
     // 打开新增弹窗
     const addRef = ref();
@@ -301,8 +302,8 @@
       })
     }
     return {
-      upButton,
-      upShow,
+      // upButton,
+      // upShow,
       tableData,
       // onflowChart,
       // flowRef,
@@ -343,6 +344,15 @@
   flex-direction: row;
   justify-content: space-between;
 }
+//表头
+::v-deep .el-table th.el-table__cell {
+  background-color: #f6f7fa;
+  font-weight: 400;
+  color: #909399;
+}
+.el-table .sort-caret.ascending{
+  border-bottom-color: #c0c4cc;
+}
 //分页
 .pages{
   display: flex;

--
Gitblit v1.9.2