ysy 1 год назад
Родитель
Сommit
f307d3bfdc
1 измененных файлов с 4 добавлено и 13 удалено
  1. 4 13
      src/views/productionPlan/index.vue

+ 4 - 13
src/views/productionPlan/index.vue

@@ -103,7 +103,7 @@
           </span>
         </template>
         <!-- 操作列 -->
-        <template v-slot:action="{ row }">
+        <template v-slot:action="{ row }" >
           <el-link
             type="primary"
             :underline="false"
@@ -147,6 +147,7 @@
 
           <el-link
             type="danger"
+            v-if="activeName == 'first'"
             :underline="false"
             @click="handleDelete(row)"
             icon="el-icon-delete"
@@ -486,17 +487,7 @@
               return obj && obj.label;
             }
           }
-          // ...(this.activeName === 'second'
-          //   ? [
-          //       {
-          //         prop: 'releaseTime',
-          //         label: '发布时间',
-          //         align: 'center',
-          //         showOverflowTooltip: true,
-          //         minWidth: 110
-          //       }
-          //     ]
-          //   : []),
+   
         ];
       }
     },
@@ -581,7 +572,7 @@
             privateColumn.push({
               columnKey: 'action',
               label: '操作',
-              width: 250,
+              width: 220,
               align: 'center',
               resizable: false,
               fixed: 'right',