Browse Source

feature(opms):
1、报表数据添加权限

niezch 2 years ago
parent
commit
094ff9d2b9
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/views/system/report/index.vue

+ 2 - 4
src/views/system/report/index.vue

@@ -55,11 +55,9 @@
       </el-table-column>
       <el-table-column align="center" label="操作" show-overflow-tooltip width="125">
         <template #default="{ row }">
-          <el-button v-permissions="['system:report:edit']" type="text" @click="handleApplication(row)">应用</el-button>
+          <el-button type="text" @click="handleApplication(row)">应用</el-button>
           <el-button v-permissions="['system:report:edit']" type="text" @click="handleEdit(row)">编辑</el-button>
-          <el-button v-permissions="['system:report:application']" type="text" @click="handleDelete(row)">
-            删除
-          </el-button>
+          <el-button v-permissions="['system:report:delete']" type="text" @click="handleDelete(row)">删除</el-button>
         </template>
       </el-table-column>
       <template #empty>