From 58342270bc7f0452ef34a76891f88d7a56903183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Fri, 1 Nov 2024 11:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E8=B5=84=E8=B4=A8bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DepadminlxController.java | 7 ----- .../depfile/controller/DepfileController.java | 7 ----- .../controller/DepsbnczController.java | 8 +----- .../src/views/depadminlx/DepadminlxList.vue | 24 ++++++++-------- .../depadminlx/components/DepadminlxForm.vue | 26 ++++++++--------- .../src/views/depfile/DepfileList.vue | 24 ++++++++-------- .../views/depfile/components/DepfileForm.vue | 16 +++++------ .../src/views/depsbncz/DepsbnczList.vue | 24 ++++++++-------- .../depsbncz/components/DepsbnczForm.vue | 28 +++++++++---------- 9 files changed, 72 insertions(+), 92 deletions(-) diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depadminlx/controller/DepadminlxController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depadminlx/controller/DepadminlxController.java index 862f830..74a0703 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depadminlx/controller/DepadminlxController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depadminlx/controller/DepadminlxController.java @@ -40,7 +40,6 @@ import com.alibaba.fastjson.JSON; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.jeecg.common.aspect.annotation.AutoLog; -import org.apache.shiro.authz.annotation.RequiresPermissions; /** * @Description: 单位基本情况联系人 @@ -88,7 +87,6 @@ public class DepadminlxController extends JeecgController add(@RequestBody Depadminlx depadminlx) { LoginUser user= (LoginUser) SecurityUtils.getSubject().getPrincipal(); @@ -107,7 +105,6 @@ public class DepadminlxController extends JeecgController edit(@RequestBody Depadminlx depadminlx) { depadminlxService.updateById(depadminlx); @@ -122,7 +119,6 @@ public class DepadminlxController extends JeecgController delete(@RequestParam(name="id",required=true) String id) { depadminlxService.removeById(id); @@ -137,7 +133,6 @@ public class DepadminlxController extends JeecgController deleteBatch(@RequestParam(name="ids",required=true) String ids) { this.depadminlxService.removeByIds(Arrays.asList(ids.split(","))); @@ -167,7 +162,6 @@ public class DepadminlxController extends JeecgController importExcel(HttpServletRequest request, HttpServletResponse response) { return super.importExcel(request, response, Depadminlx.class); diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depfile/controller/DepfileController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depfile/controller/DepfileController.java index 6fcf93b..a163ee9 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depfile/controller/DepfileController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depfile/controller/DepfileController.java @@ -41,7 +41,6 @@ import com.alibaba.fastjson.JSON; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.jeecg.common.aspect.annotation.AutoLog; -import org.apache.shiro.authz.annotation.RequiresPermissions; /** * @Description: 单位技术研究资质情况 @@ -92,7 +91,6 @@ public class DepfileController extends JeecgController */ @AutoLog(value = "单位技术研究资质情况-添加") @ApiOperation(value="单位技术研究资质情况-添加", notes="单位技术研究资质情况-添加") - @RequiresPermissions("depfile:depfile:add") @PostMapping(value = "/add") public Result add(@RequestBody Depfile depfile) { LoginUser user= (LoginUser) SecurityUtils.getSubject().getPrincipal(); @@ -111,7 +109,6 @@ public class DepfileController extends JeecgController */ @AutoLog(value = "单位技术研究资质情况-编辑") @ApiOperation(value="单位技术研究资质情况-编辑", notes="单位技术研究资质情况-编辑") - @RequiresPermissions("depfile:depfile:edit") @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) public Result edit(@RequestBody Depfile depfile) { depfileService.updateById(depfile); @@ -126,7 +123,6 @@ public class DepfileController extends JeecgController */ @AutoLog(value = "单位技术研究资质情况-通过id删除") @ApiOperation(value="单位技术研究资质情况-通过id删除", notes="单位技术研究资质情况-通过id删除") - @RequiresPermissions("depfile:depfile:delete") @DeleteMapping(value = "/delete") public Result delete(@RequestParam(name="id",required=true) String id) { depfileService.removeById(id); @@ -141,7 +137,6 @@ public class DepfileController extends JeecgController */ @AutoLog(value = "单位技术研究资质情况-批量删除") @ApiOperation(value="单位技术研究资质情况-批量删除", notes="单位技术研究资质情况-批量删除") - @RequiresPermissions("depfile:depfile:deleteBatch") @DeleteMapping(value = "/deleteBatch") public Result deleteBatch(@RequestParam(name="ids",required=true) String ids) { this.depfileService.removeByIds(Arrays.asList(ids.split(","))); @@ -171,7 +166,6 @@ public class DepfileController extends JeecgController * @param request * @param depfile */ - @RequiresPermissions("depfile:depfile:exportXls") @RequestMapping(value = "/exportXls") public ModelAndView exportXls(HttpServletRequest request, Depfile depfile) { return super.exportXls(request, depfile, Depfile.class, "单位技术研究资质情况"); @@ -184,7 +178,6 @@ public class DepfileController extends JeecgController * @param response * @return */ - @RequiresPermissions("depfile:depfile:importExcel") @RequestMapping(value = "/importExcel", method = RequestMethod.POST) public Result importExcel(HttpServletRequest request, HttpServletResponse response) { return super.importExcel(request, response, Depfile.class); diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depsbncz/controller/DepsbnczController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depsbncz/controller/DepsbnczController.java index 9fbd656..fb903ae 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depsbncz/controller/DepsbnczController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/depsbncz/controller/DepsbnczController.java @@ -41,7 +41,7 @@ import com.alibaba.fastjson.JSON; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.jeecg.common.aspect.annotation.AutoLog; -import org.apache.shiro.authz.annotation.RequiresPermissions; + /** * @Description: 上年度(末)主要财务数据 @@ -91,7 +91,6 @@ public class DepsbnczController extends JeecgController add(@RequestBody Depsbncz depsbncz) { LoginUser user= (LoginUser) SecurityUtils.getSubject().getPrincipal(); @@ -110,7 +109,6 @@ public class DepsbnczController extends JeecgController edit(@RequestBody Depsbncz depsbncz) { depsbnczService.updateById(depsbncz); @@ -125,7 +123,6 @@ public class DepsbnczController extends JeecgController delete(@RequestParam(name="id",required=true) String id) { depsbnczService.removeById(id); @@ -140,7 +137,6 @@ public class DepsbnczController extends JeecgController deleteBatch(@RequestParam(name="ids",required=true) String ids) { this.depsbnczService.removeByIds(Arrays.asList(ids.split(","))); @@ -170,7 +166,6 @@ public class DepsbnczController extends JeecgController importExcel(HttpServletRequest request, HttpServletResponse response) { return super.importExcel(request, response, Depsbncz.class); diff --git a/jeecgboot-vue3/src/views/depadminlx/DepadminlxList.vue b/jeecgboot-vue3/src/views/depadminlx/DepadminlxList.vue index 0d70cd0..25118c7 100644 --- a/jeecgboot-vue3/src/views/depadminlx/DepadminlxList.vue +++ b/jeecgboot-vue3/src/views/depadminlx/DepadminlxList.vue @@ -29,7 +29,7 @@ @@ -80,16 +80,16 @@ const emit = defineEmits(['register', 'ok']); const formData = reactive>({ id: '', - bzs: '', - zzzgrs: '', - zjzcysyjrys: '', - dwlxrxm: '', - dwlxrzc: '', - dwlxrzw: '', - dwlxrdh: '', - dwlxrsj: '', - dwlxryx: '', - depid: '', + bzs: '', + zzzgrs: '', + zjzcysyjrys: '', + dwlxrxm: '', + dwlxrzc: '', + dwlxrzw: '', + dwlxrdh: '', + dwlxrsj: '', + dwlxryx: '', + depid: '', }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 5 } }); @@ -114,7 +114,7 @@ return props.formDisabled; }); - + /** * 新增 */ diff --git a/jeecgboot-vue3/src/views/depfile/DepfileList.vue b/jeecgboot-vue3/src/views/depfile/DepfileList.vue index 836673c..46b5229 100644 --- a/jeecgboot-vue3/src/views/depfile/DepfileList.vue +++ b/jeecgboot-vue3/src/views/depfile/DepfileList.vue @@ -11,7 +11,7 @@