sunlupeng 1 năm trước cách đây
mục cha
commit
10f3506927

+ 2 - 2
src/views/personnel/employee/data.vue

@@ -16,9 +16,9 @@
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template v-slot="scope">
           <el-button size="mini" type="text" icon="el-icon-detail" @click="handleDetail(scope.row)"
-                     v-hasPermi="['system:dict:detail']">详情</el-button>
+                     v-hasPermi="['personnel:employee:detail']">详情</el-button>
           <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
-                     v-hasPermi="['system:dict:delete']">删除</el-button>
+                     v-hasPermi="['personnel:employee:delete']">删除</el-button>
         </template>
       </el-table-column>
     </el-table>

+ 5 - 5
src/views/personnel/relations/index.vue

@@ -44,11 +44,11 @@
     <el-row :gutter="10" class="mb8">
       <el-col :span="1.5">
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
-          v-hasPermi="['system:dict:create']">新增</el-button>
+          v-hasPermi="['personnel:relations:create']">新增</el-button>
       </el-col>
       <el-col :span="1.5">
         <el-button type="warning" icon="el-icon-download" size="mini" @click="handleExport" :loading="exportLoading"
-          v-hasPermi="['system:dict:export']">导出</el-button>
+          v-hasPermi="['personnel:relations:export']">导出</el-button>
       </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
@@ -74,11 +74,11 @@
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template v-slot="scope">
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:dict:update']">修改</el-button>
+            v-hasPermi="['personnel:relations:update']">修改</el-button>
           <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
-            v-hasPermi="['system:dict:delete']">删除</el-button>
+            v-hasPermi="['personnel:relations:delete']">删除</el-button>
           <el-button size="mini" type="text" icon="el-icon-detail" @click="handleDetail(scope.row)"
-            v-hasPermi="['system:dict:detail']">详情</el-button>
+            v-hasPermi="['personnel:relations:detail']">详情</el-button>
         </template>
       </el-table-column>
     </el-table>