瀏覽代碼

隐藏机构删除按钮

Michael Wang 3 年之前
父節點
當前提交
ea89df62ce
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/features/subOrg/SubOrg.vue

+ 3 - 2
src/features/subOrg/SubOrg.vue

@@ -31,7 +31,8 @@
       <a-button @click="handleExport">批量导出</a-button>
       <a-button @click="handleToggleOrg(true, selectIds)">批量启用</a-button>
       <a-button @click="handleToggleOrg(false, selectIds)">批量禁用</a-button>
-      <a-button @click="handleDelOrg(selectIds)">批量删除</a-button>
+      <!-- 不做删除 https://zentao2.qmth.com.cn/bug-view-2612.html -->
+      <!-- <a-button @click="handleDelOrg(selectIds)">批量删除</a-button> -->
     </div>
 
     <div class="tw-bg-white tw-p-5 tw-rounded-xl">
@@ -60,7 +61,7 @@
             <a-button @click="handleToggleOrg(!record.enable, [record.id])">
               {{ record.enable ? "禁用" : "启用" }}
             </a-button>
-            <a-button @click="handleDelOrg([record.id])">删除</a-button>
+            <!-- <a-button @click="handleDelOrg([record.id])">删除</a-button> -->
           </span>
         </template>
       </a-table>