From 3fea5132ce63e059129e14e90d3edb2f0138b997 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Sat, 4 Jun 2022 19:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=97=BB=E5=92=8C=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=9A=84=E5=A4=9A=E7=A7=9F=E6=88=B7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/controller/NewsCategoryController.java | 2 +- vue/src/views/index.vue | 4 ++-- vue/src/views/iot/news/index.vue | 13 ++++++++++--- vue/src/views/system/notice/index.vue | 10 +++++++++- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/springboot/wumei-iot/src/main/java/com/ruoyi/iot/controller/NewsCategoryController.java b/springboot/wumei-iot/src/main/java/com/ruoyi/iot/controller/NewsCategoryController.java index 8aa2e851..60f65e22 100644 --- a/springboot/wumei-iot/src/main/java/com/ruoyi/iot/controller/NewsCategoryController.java +++ b/springboot/wumei-iot/src/main/java/com/ruoyi/iot/controller/NewsCategoryController.java @@ -55,7 +55,7 @@ public class NewsCategoryController extends BaseController /** * 查询新闻分类简短列表 */ - @PreAuthorize("@ss.hasPermi('iot:newsCategory:list')") + @PreAuthorize("@ss.hasPermi('iot:news:list')") @GetMapping("/newsCategoryShortList") @ApiOperation("分类简短列表") public AjaxResult newsCategoryShortList() diff --git a/vue/src/views/index.vue b/vue/src/views/index.vue index 0e1059a1..32424c2d 100644 --- a/vue/src/views/index.vue +++ b/vue/src/views/index.vue @@ -147,12 +147,12 @@ 信息 {{item.noticeTitle}} -
{{ parseTime(item.createTime, '{y}-{m}-{d}') }}
+
{{ parseTime(item.createTime, '{y}-{m}-{d}') }}
- + diff --git a/vue/src/views/iot/news/index.vue b/vue/src/views/iot/news/index.vue index f162a4ac..d113ed93 100644 --- a/vue/src/views/iot/news/index.vue +++ b/vue/src/views/iot/news/index.vue @@ -1,6 +1,6 @@