From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 09 十一月 2021 18:01:59 +0800
Subject: [PATCH] 问题修复

---
 src/pages/library/components/carList.vue |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/pages/library/components/carList.vue b/src/pages/library/components/carList.vue
index 9e03c14..c1b0e7e 100644
--- a/src/pages/library/components/carList.vue
+++ b/src/pages/library/components/carList.vue
@@ -40,13 +40,13 @@
         <el-button size="small" type="primary" @click="handleSearch">鎼滅储</el-button>
       </el-col>
       <el-col :offset="8" :span="3">
-        <fTemplate authority="videoTable:edit">
+        <fTemplate authority="library:set">
           <el-button
             size="small"
             class="ml10"
             type="danger"
             @click="deleteBatch"
-            v-if="isShow('videoTable:edit')"
+            v-if="isShow('library:set')"
           >鎵归噺鍒犻櫎</el-button>
         </fTemplate>
       </el-col>
@@ -196,7 +196,6 @@
         tooltip-effect="dark"
         style="width: 100%;"
         :fit="true"
-        :max-height="tableHeight"
         :default-sort="{prop: 'createTime', order: 'descending'}"
         @selection-change="handleSelectionChange"
         :header-cell-style="{background:'#f8f8f8',color:'#222222'}"
@@ -272,7 +271,7 @@
             <el-switch
               v-model="scope.row.enable"
               :active-value="1"
-              :disabled="!isShow('videoTable:edit')"
+              :disabled="!isShow('library:set')"
               :inactive-value="0"
               @change="enable(scope.row)"
             ></el-switch>
@@ -280,7 +279,7 @@
         </el-table-column>
         <el-table-column label="鎿嶄綔" min-width="200" align="center">
           <template slot-scope="scope">
-            <fTemplate authority="videoTable:edit">
+            <fTemplate authority="library:set">
               <el-tooltip content="缂栬緫" placement="top" popper-class="atooltip">
                 <span
                   class="iconfont iconbianji iconStyle1"
@@ -292,7 +291,7 @@
             <el-tooltip content="鏌ユ壘姝や汉" placement="top" popper-class="atooltip">
               <span class="iconfont iconsousuoren iconStyle1" @click="tosearch(scope.row)"></span>
             </el-tooltip>
-            <fTemplate authority="videoTable:edit">
+            <fTemplate authority="library:set">
               <el-tooltip content="澶嶅埗" placement="top" popper-class="atooltip">
                 <span
                   class="iconfont iconfuzhi iconStyle1"
@@ -301,7 +300,7 @@
                 ></span>
               </el-tooltip>
             </fTemplate>
-            <fTemplate authority="videoTable:edit">
+            <fTemplate authority="library:set">
               <el-tooltip content="绉诲姩" placement="top" popper-class="atooltip">
                 <span
                   class="iconfont iconyidongzhi iconStyle1"
@@ -311,7 +310,7 @@
                 ></span>
               </el-tooltip>
             </fTemplate>
-            <fTemplate authority="videoTable:edit">
+            <fTemplate authority="library:set">
               <el-tooltip content="鍒犻櫎" placement="top" popper-class="atooltip">
                 <span
                   class="iconfont iconshanchu iconStyle1"
@@ -1294,8 +1293,8 @@
   .el-drawer.ltr,
   .el-drawer.rtl {
     width: 27% !important;
-    height: 90%;
-    top: 9%;
+    //height: 90%;
+    //top: 9%;
     .el-drawer__header {
       border-bottom: 2px solid #eee;
       padding-bottom: 10px;
@@ -1445,9 +1444,9 @@
 .el-drawer.rtl {
   min-width: 450px;
   width: 25% !important;
-  height: 90%;
-  min-height: 1100px;
-  top: 9%;
+  //height: 90%;
+  //min-height: 1100px;
+  //top: 9%;
   .el-drawer__header {
     border-bottom: 2px solid #eee;
     padding-bottom: 10px;
@@ -1460,7 +1459,8 @@
 }
 
 .drawerSpace {
-  height: 900px;
+  height: calc(100% - 140px);
+  box-sizing: border-box;
   margin-bottom: 30px;
   overflow-y: scroll;
   .uploadLine {
@@ -1515,8 +1515,8 @@
     }
   }
   .plateAttach {
-    width: calc(100% -40px);
-    height: calc(100% -40px);
+    width: calc(100% - 40px);
+    height: calc(100% - 40px);
     padding: 20px;
     p {
       margin-top: 20px;

--
Gitblit v1.8.0