diff --git a/ruoyi-ui/src/views/benyi/planweek/data.vue b/ruoyi-ui/src/views/benyi/planweek/data.vue
index 59fea12dc..3f077f5d8 100644
--- a/ruoyi-ui/src/views/benyi/planweek/data.vue
+++ b/ruoyi-ui/src/views/benyi/planweek/data.vue
@@ -45,7 +45,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
- v-hasPermi="['benyi:planweekitem:add']"
+ v-hasPermi="['benyi:planweek:add']"
>新增
@@ -55,7 +55,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
- v-hasPermi="['benyi:planweekitem:edit']"
+ v-hasPermi="['benyi:planweek:edit']"
>修改
@@ -65,7 +65,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['benyi:planweekitem:remove']"
+ v-hasPermi="['benyi:planweek:remove']"
>删除
@@ -74,7 +74,7 @@
icon="el-icon-download"
size="mini"
@click="handleExport"
- v-hasPermi="['benyi:planweekitem:export']"
+ v-hasPermi="['benyi:planweek:export']"
>导出
@@ -107,14 +107,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
- v-hasPermi="['benyi:planweekitem:edit']"
+ v-hasPermi="['benyi:planweek:edit']"
>修改
删除
diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByPlanweekitemController.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByPlanweekitemController.java
index 1b56c8e8a..f6fa4a52f 100644
--- a/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByPlanweekitemController.java
+++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByPlanweekitemController.java
@@ -41,7 +41,7 @@ public class ByPlanweekitemController extends BaseController
/**
* 查询周计划(家长和教育部门细化)列表
*/
-@PreAuthorize("@ss.hasPermi('benyi:planweekitem:list')")
+@PreAuthorize("@ss.hasPermi('benyi:planweek:list')")
@GetMapping("/list")
public TableDataInfo list(ByPlanweekitem byPlanweekitem)
{
@@ -53,7 +53,7 @@ public class ByPlanweekitemController extends BaseController
/**
* 导出周计划(家长和教育部门细化)列表
*/
- @PreAuthorize("@ss.hasPermi('benyi:planweekitem:export')")
+ @PreAuthorize("@ss.hasPermi('benyi:planweek:export')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(ByPlanweekitem byPlanweekitem)
@@ -66,7 +66,7 @@ public class ByPlanweekitemController extends BaseController
/**
* 获取周计划(家长和教育部门细化)详细信息
*/
- @PreAuthorize("@ss.hasPermi('benyi:planweekitem:query')")
+ @PreAuthorize("@ss.hasPermi('benyi:planweek:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@@ -76,7 +76,7 @@ public class ByPlanweekitemController extends BaseController
/**
* 新增周计划(家长和教育部门细化)
*/
- @PreAuthorize("@ss.hasPermi('benyi:planweekitem:add')")
+ @PreAuthorize("@ss.hasPermi('benyi:planweek:add')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ByPlanweekitem byPlanweekitem)
@@ -105,7 +105,7 @@ public class ByPlanweekitemController extends BaseController
/**
* 修改周计划(家长和教育部门细化)
*/
- @PreAuthorize("@ss.hasPermi('benyi:planweekitem:edit')")
+ @PreAuthorize("@ss.hasPermi('benyi:planweek:edit')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ByPlanweekitem byPlanweekitem)
@@ -134,7 +134,7 @@ public class ByPlanweekitemController extends BaseController
/**
* 删除周计划(家长和教育部门细化)
*/
- @PreAuthorize("@ss.hasPermi('benyi:planweekitem:remove')")
+ @PreAuthorize("@ss.hasPermi('benyi:planweek:remove')")
@Log(title = "周计划(家长和教育部门细化)", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)