@@ -2,7 +2,7 @@
<div class="custom-notification">
<div class="titleWrapper">
<img class="alarmIcon" :src="alarmIcon" />
- <div class="title"> 告警通知 </div>
+ <div class="title"> 告警提醒 </div>
<div class="close">
<img :src="closeIcon" alt="close" @click.stop="item.clear" />
</div>
@@ -39,10 +39,7 @@ export function getNewIssueList() {
// 更新已读问题id
export function updateReadIssueId(issueId: number) {
return http.request({
- url: '/issue/updateLastReadIssueId',
+ url: `/issue/updateLastReadIssueId?issueId=${issueId}`,
method: 'post',
- params: {
- issueId,
- },
});
}
@@ -23,7 +23,7 @@ const useViolationRealtimeCompany = () => {
if (!showItem) return;
- const renderTime = dayjs(showItem.createdAt).format('yyyy-MM-dd HH:mm:ss');
+ const renderTime = dayjs(showItem.createdAt).format('YYYY-MM-DD HH:mm:ss');
const renderPlace = getPlace([showItem.workshopName, showItem.workspaceName]);
push.success({
props: {