1
0

2 Incheckningar 8c5f6e8134 ... 8a2de76b0b

Upphovsman SHA1 Meddelande Datum
  jingbb 8a2de76b0b 项目档案-按钮权限更改 4 dagar sedan
  jingbb d2d0ad019b 产品分类-添加按钮权限 4 dagar sedan

+ 4 - 2
src/views/BasicData/productCassification.vue

@@ -2,7 +2,7 @@
   <!--定义表格-->
   <BasicTable @register="registerTable" :rowSelection="rowSelection">
     <template #tableTitle>
-      <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"> 新增(add)</a-button>
+      <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"  v-auth="'baseCode:base_product_class:add'"> 新增(add)</a-button>
       <a-dropdown v-if="selectedRowKeys.length > 0">
               <template #overlay>
                 <a-menu>
@@ -12,7 +12,7 @@
                   </a-menu-item>
                 </a-menu>
               </template>
-              <a-button v-auth="'baseCode:base_ship_archive:deleteBatch'">批量操作
+              <a-button v-auth="'baseCode:base_product_class:deleteBatch'">批量操作
                 <Icon icon="mdi:chevron-down"></Icon>
               </a-button>
         </a-dropdown>
@@ -106,6 +106,7 @@
       {
         label: '编辑',
         onClick: handleEdit.bind(null, record),
+        auth: 'baseCode:base_product_class:edit'
       },
       {
         label: '删除',
@@ -113,6 +114,7 @@
           title: '确定删除吗?',
           confirm: handleDelete.bind(null, record),
         },
+        auth: 'baseCode:base_product_class:delete'
       },
     ];
   }

+ 1 - 1
src/views/baseCode/ProjectArchive/BaseProjectArchiveList.vue

@@ -15,7 +15,7 @@
                   </a-menu-item>
                 </a-menu>
               </template>
-              <a-button v-auth="'baseCode:base_ship_archive:deleteBatch'">批量操作
+              <a-button v-auth="'baseCode:base_project_archive:deleteBatch'">批量操作
                 <Icon icon="mdi:chevron-down"></Icon>
               </a-button>
           </a-dropdown>