luowei 2 жил өмнө
parent
commit
241fa819c2

+ 2 - 2
src/views/core/accessPlan/index.vue

@@ -88,7 +88,7 @@
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
             <template slot-scope="scope">
               <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-                v-hasPermi="['core:accessPlan:edit']">修改</el-button>
+                v-hasPermi="['core:accessPlan:edit','core:accessPlan:query']">修改</el-button>
               <el-button size="mini" type="text" v-if="scope.row.isDistribute == 0" icon="el-icon-add"
                 @click="handDistribute(scope.row)" v-hasPermi="['core:accessPlan:add']">下发</el-button>
               <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
@@ -98,7 +98,7 @@
         </el-table>
 
         <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
-               @pagination="getList" />
+             @pagination="getList" />
       </el-col>
 
     </el-row>