Browse Source

权限调整

Long 4 days ago
parent
commit
d761fadaf2
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/course/videoResource/index.vue

+ 5 - 5
src/views/course/videoResource/index.vue

@@ -23,7 +23,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['system:resource:add']"
+          v-hasPermi="['course:videoResource:add']"
         >新增</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -33,7 +33,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['system:resource:edit']"
+          v-hasPermi="['course:videoResource:edit']"
         >修改</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -43,7 +43,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['system:resource:remove']"
+          v-hasPermi="['course:videoResource:remove']"
         >删除</el-button>
       </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -83,14 +83,14 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:resource:edit']"
+            v-hasPermi="['course:videoResource:edit']"
           >修改</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['system:resource:remove']"
+            v-hasPermi="['course:videoResource:remove']"
           >删除</el-button>
         </template>
       </el-table-column>