diff --git a/src/api/routine/NotificationManagement.js b/src/api/routine/NotificationManagement.js new file mode 100644 index 0000000..cfa3e7f --- /dev/null +++ b/src/api/routine/NotificationManagement.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + +// 查询通知管理列表 +export function listNotificationManagement(query) { + return request({ + url: '/routine/NotificationManagement/my-sent', + method: 'get', + params: query + }) +} + +// 查询通知管理详细 +export function getNotificationManagement(id) { + return request({ + url: '/routine/NotificationManagement/' + id, + method: 'get' + }) +} + +// 新增通知管理 +export function addNotificationManagement(data) { + return request({ + url: '/routine/NotificationManagement/add', + method: 'post', + data: data + }) +} + +// 修改通知管理 +export function updateNotificationManagement(data) { + return request({ + url: '/routine/NotificationManagement/update', + method: 'post', + data: data + }) +} + +// 删除通知管理 +export function delNotificationManagement(id) { + return request({ + url: '/routine/NotificationManagement/' + id, + method: 'post' + }) +} + +// 获取年级列表 +export function getGradeList() { + return request({ + url: '/routine/NotificationManagement/gradeList', + method: 'get' + }) +} + +// 按年级发送通知 +export function sendNotificationByGrades(data) { + return request({ + url: '/routine/NotificationManagement/sendByGrades', + method: 'post', + data: data + }) +} + + + diff --git a/src/views/Home/index-new-blue.vue b/src/views/Home/index-new-blue.vue index 6274453..fd63cce 100644 --- a/src/views/Home/index-new-blue.vue +++ b/src/views/Home/index-new-blue.vue @@ -8,57 +8,57 @@
-
姓名:
+
姓名:
{{ user.nickName }}
-
用户名称:
+
用户名称:
{{ user.userName }}
-
手机号码:
+
手机号码:
{{ user.phonenumber }}
-
用户邮箱:
+
用户邮箱:
{{ user.email }}
-
所属角色:
+
所属角色:
{{ displayRole(roleGroup) }}
-
+
我的消息
-
更多 >
+
更多 >
-
+
{{ v.content }}
-
- +
-
+
公示栏
-
更多 >
+
更多 >
-
+
{{ v.submitterName }}--{{ v.projectName }} -- 审核通过
{{ formatTime(v.createTime) }}
@@ -236,8 +236,107 @@
+ + + +
+ + + + + + + + +
+ +

暂无消息数据

+
+
+
+ + + +
+ + + + + + + + + + + + +
+ +

暂无公示数据

+
+
+
+ + +
+
+
+

消息详情

+
+ {{ formatTime(currentMessageDetail.createTime) }} +
+ +
+
+
+
{{ currentMessageDetail.content || '暂无内容' }}
+
+
+
+
+ + +
+
+
+

公示详情

+
+ {{ formatTime(currentAnnouncementDetail.createTime) }} +
+ +
+
+
+
{{ currentAnnouncementDetail.projectName || '暂无项目名称' }} - {{ currentAnnouncementDetail.submitterName || '暂无提交人' }} - 审核通过
+
+
+
+
+ + \ No newline at end of file diff --git a/src/views/routine/NotificationManagement/index.vue b/src/views/routine/NotificationManagement/index.vue new file mode 100644 index 0000000..70fc32d --- /dev/null +++ b/src/views/routine/NotificationManagement/index.vue @@ -0,0 +1,344 @@ + + +