From 33ab42ddaf95046dd5d4070527eb5ad9ede52f6a Mon Sep 17 00:00:00 2001
From: sk1551 <15175617877@163.com>
Date: Wed, 9 Sep 2020 15:56:42 +0800
Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E8=AE=A1=E5=88=92=E5=92=8C=E8=AF=A6?=
=?UTF-8?q?=E7=BB=86=20=20=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/src/views/benyi/planweek/data.vue | 12 ++++++------
.../benyi/controller/ByPlanweekitemController.java | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
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)