whj há 2 anos atrás
pai
commit
4cc860d864
1 ficheiros alterados com 3 adições e 4 exclusões
  1. 3 4
      src/views/fill/task/FillGatherTask.vue

+ 3 - 4
src/views/fill/task/FillGatherTask.vue

@@ -36,7 +36,7 @@
               icon="download"
               @click="doExport">导出
             </a-button>
-            <a-dropdown v-action:edit v-if="selectedRowKeys.length > 0 && $auth('fill-fills-del')">
+            <a-dropdown v-action:edit v-if="selectedRowKeys.length > 0">
               <a-menu slot="overlay">
                 <a-popconfirm title="是否要删除所选数据?" @confirm="batchDelete()">
                   <a-menu-item key="1">
@@ -105,11 +105,10 @@
               v-show="record.status!== 2 && record.status!==5 && record.status!== 6"
               @click="handlePause(record)"
             >暂停</operation-button> -->
-            <!-- <operation-button
-              v-if="$auth('fill-fills-del')"
+            <operation-button
               :type="2"
               title="是否要删除该条数据?"
-              @confirm="batchDelete(record.id)">删除</operation-button> -->
+              @confirm="batchDelete(record.id)">删除</operation-button>
           </template>
         </span>
       </s-table>