luojun 2 жил өмнө
parent
commit
1417d677e2

+ 4 - 0
src/views/system/dept/extend.vue

@@ -205,6 +205,7 @@
           >
             <template slot-scope="scope">
               <el-button
+              v-if="scope.row.certificate"
                 size="mini"
                 type="text"
                 icon="el-icon-edit"
@@ -365,6 +366,7 @@
           >
             <template slot-scope="scope">
               <el-button
+              v-if="scope.row.certificate"
                 size="mini"
                 type="text"
                 icon="el-icon-edit"
@@ -488,6 +490,7 @@
           >
             <template slot-scope="scope">
               <el-button
+              v-if="scope.row.certificate"
                 size="mini"
                 type="text"
                 icon="el-icon-edit"
@@ -605,6 +608,7 @@
           >
             <template slot-scope="scope">
               <el-button
+              v-if="scope.row.certificate"
                 size="mini"
                 type="text"
                 icon="el-icon-edit"