From c7ccbc6510a9350e0a0a5a39a84f46c382d080b3 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期五, 15 九月 2023 15:00:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before

---
 src/components/view/technical.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/components/view/technical.vue b/src/components/view/technical.vue
index 488e2ad..aa90cdd 100644
--- a/src/components/view/technical.vue
+++ b/src/components/view/technical.vue
@@ -39,6 +39,7 @@
     <div class="technical-table">
       <div class="table-box">
         <el-table
+        height="490"
           border style="width: 100%"
           :data="technicalTable"
           >
@@ -98,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>
@@ -261,8 +262,8 @@
               id:this.compiledata.id
         }).then( res =>{
         this.$message.success('缂栧埗瀹屾垚')
-      })
         this.getTechnicalTableData()
+      })
       },
 
       async showDetails(row){
@@ -379,7 +380,7 @@
 /* 鎶�鏈枃浠惰〃鏍兼牱寮� */
 .technical-table{
   margin-top: 11px;
-  height: calc(100% - 140px);
+  /* height: calc(100% - 140px); */
   background: #fff;
   padding: 23px 21px ;
   font-size: 14px;

--
Gitblit v1.9.3