diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/note/NmNoteController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/note/NmNoteController.java index 8ee2b8c36..189f79359 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/note/NmNoteController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/note/NmNoteController.java @@ -69,8 +69,8 @@ public class NmNoteController extends BaseController *用户 获取便签详细信息 然后修改 */ - @GetMapping(value = "/user/{noteId}") - public AjaxResult userGetInfo(@PathVariable("noteId") Long noteId) + @GetMapping(value = "/userGetNoteInfo/{noteId}") + public AjaxResult userGetNoteInfo(@PathVariable("noteId") Long noteId) { SysUser sysUser=getAuthUser(); return AjaxResult.success(nmNoteService.selectNmNoteuserById(noteId,sysUser.getUserId())); diff --git a/ruoyi-ui/src/api/note/note.js b/ruoyi-ui/src/api/note/note.js index db5cd3b7d..7c4bd6110 100644 --- a/ruoyi-ui/src/api/note/note.js +++ b/ruoyi-ui/src/api/note/note.js @@ -1,5 +1,30 @@ import request from '@/utils/request' +// 查询便签管理列表 +export function selectBymenuNote(query) { + return request({ + url: '/note/note/selectBymenuNote', + method: 'get', + params: query + }) +} + +// 查询便签管理详细 +export function userGetNoteInfo(noteId) { + return request({ + url: '/note/note/userGetNoteInfo' + noteId, + method: 'get' + }) +} + + + + + + + + + // 查询便签管理列表 export function listNote(query) { return request({ @@ -50,4 +75,4 @@ export function exportNote(query) { method: 'get', params: query }) -} \ No newline at end of file +} diff --git a/ruoyi-ui/src/components/BookmarkList/index.vue b/ruoyi-ui/src/components/BookmarkList/index.vue index ea1a40f71..843567521 100644 --- a/ruoyi-ui/src/components/BookmarkList/index.vue +++ b/ruoyi-ui/src/components/BookmarkList/index.vue @@ -2,35 +2,75 @@
-
-
- - - - - {{bm.title}} - - - 2020-10-10 +
+
+ {{bm.title}} +
{{bm.createTime|changeTime}}
+
+
+ {{bm.description}} +
+
+
+
+ +
+
{{bm.urls}} · 
+
{{bm.createTime|changeTime}}
+
+ + {{t.name}} + +
+ +
+
diff --git a/ruoyi-ui/src/views/bookmark/bookmark/index.vue b/ruoyi-ui/src/views/bookmark/bookmark/index.vue index 2651c3bc9..a183f9676 100644 --- a/ruoyi-ui/src/views/bookmark/bookmark/index.vue +++ b/ruoyi-ui/src/views/bookmark/bookmark/index.vue @@ -290,6 +290,7 @@
+
部分网站不允许内嵌套打开,请在设置中选择自己喜欢的打开方式!