tangning 1 ano atrás
pai
commit
283c38a845
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4 4
      src/views/product/rtk/list.vue

+ 4 - 4
src/views/product/rtk/list.vue

@@ -2,8 +2,8 @@
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button type="primary" @click="handleEdit" v-if="getCheckPerm('algorithm-add')"
-          >授权</a-button
+        <a-button type="primary" @click="handleEdit" v-if="getCheckPerm('rtk-add')"
+          >新增</a-button
         >
       </template>
       <template #copy="{ record }">
@@ -16,13 +16,13 @@
           :actions="[
             {
               label: '编辑',
-              ifShow: getCheckPerm('algorithm-updata'),
+              ifShow: getCheckPerm('rtk-updata'),
               onClick: handleEdit.bind(null, record),
             },
             {
               label: '删除',
               color: 'error',
-              ifShow: getCheckPerm('algorithm-delete'),
+              ifShow: getCheckPerm('rtk-delete'),
               onClick: handleDelete.bind(null, record),
             },
           ]"