From 5244d65ef7e1f333495b59a6470b254bde7ec2ca Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 15 九月 2023 17:16:51 +0800
Subject: [PATCH] update

---
 src/components/view/technical.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/components/view/technical.vue b/src/components/view/technical.vue
index 4bcdbda..8905596 100644
--- a/src/components/view/technical.vue
+++ b/src/components/view/technical.vue
@@ -39,8 +39,8 @@
     <div class="technical-table">
       <div class="table-box">
         <el-table
-        height="500"
-          border style="width: 100%"
+          border 
+          height="calc(90vh - 250px)"
           :data="technicalTable"
           >
           <el-table-column
@@ -99,7 +99,7 @@
               <template slot-scope="scope">
                 <!-- <el-button type="text" size="small" @click="showDetails(scope.row)">鏌ョ湅璇︽儏</el-button>
                 <el-button type="text" size="small">缂栬緫闄勪欢</el-button> -->
-                <el-button type="text" size="small" @click="authorizedstrength(scope.row)">缂栧埗</el-button>
+                <el-button v-if="scope.row.type===0" type="text" size="small" @click="authorizedstrength(scope.row)">缂栧埗</el-button>
               </template>
             </el-table-column>
       </el-table>
@@ -262,8 +262,8 @@
               id:this.compiledata.id
         }).then( res =>{
         this.$message.success('缂栧埗瀹屾垚')
-      })
         this.getTechnicalTableData()
+      })
       },
 
       async showDetails(row){
@@ -393,7 +393,7 @@
 } */
 .technical-table .table-box {
   flex: 1;
-  /* overflow-y: scroll; */
+  overflow-y: scroll;
 }
 .technical-table .el-pagination{
   margin-top: 23px;

--
Gitblit v1.9.3