diff --git a/.idea/misc.xml b/.idea/misc.xml index e342c81..dfc709c 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/common/tool.js b/common/tool.js index a65ade1..ee1c0d6 100644 --- a/common/tool.js +++ b/common/tool.js @@ -1,5 +1,5 @@ // export var basePath = "http://192.168.0.42:8099/"; -export var basePath = "http://192.168.0.49:8091"; +export var basePath = "http://192.168.0.49:8093/"; // export var basePath = "https://gateway.qhdsafety.com/"; export const baseImgPath = "https://file.zcloudchina.com/YTHFile"; export const adminPath = "http://192.168.0.18:8085"; diff --git a/pages/index/index.vue b/pages/index/index.vue index 72b526f..25434c6 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -24,7 +24,6 @@ {{mesCount}} 通知 - @@ -166,7 +165,7 @@ title: '请稍候' }) uni.request({ - url: basePath + '/app/notice/getRedPoint', + url: basePath + '/app/trafficNotice/getRedPoint', method: 'POST', dataType: 'json', header: { @@ -177,7 +176,6 @@ USER_ID:loginUser.USER_ID, }, success: (res) => { - if("success" == res.data.result){ uni.hideLoading(); _this.mesCount = res.data.count; diff --git a/pages/my/news/home.vue b/pages/my/news/home.vue index ed365f1..e176ad2 100644 --- a/pages/my/news/home.vue +++ b/pages/my/news/home.vue @@ -189,7 +189,7 @@ title: '请稍候' }) uni.request({ - url: basePath + '/app/notice/listForCp', + url: basePath + '/app/trafficNotice/getRedPoint', method: 'POST', dataType: 'json', header: { diff --git a/pages/news/home.vue b/pages/news/home.vue index 98d2f2a..1843a5d 100644 --- a/pages/news/home.vue +++ b/pages/news/home.vue @@ -41,7 +41,7 @@ - + @@ -75,17 +75,17 @@ - - {{item.SYNOPSIS}} + + {{item.LEVEL}} - {{item.CREATTIME}} + {{item.CREATETIME}} - + @@ -232,7 +232,7 @@ title: '请稍候' }) uni.request({ - url: basePath + '/app/notice/listForCp', + url: basePath + '/app/trafficNotice/listForCp', method: 'POST', dataType: 'json', header: { @@ -241,7 +241,7 @@ data: { showCount : _this.showCount, currentPage : _this.currentPage, - KEYWORDS:_this.KEYWORDS, + KEYWORDS:_this.KEYWORDS, loginUserId :loginUserId, CORPINFO_ID:loginUser.CORPINFO_ID, USER_ID:loginUser.USER_ID, @@ -285,14 +285,14 @@ title: '处理中' }) uni.request({ - url: basePath+'/app/notice/delete', + url: basePath+'/app/trafficNotice/delete', method: 'POST', dataType: 'json', header: { 'Content-type':'application/x-www-form-urlencoded' }, data: { - NOTICECORPUSERID_ID: ID + NOTIFICATION_ID: ID }, success: (res) => { uni.hideLoading(); diff --git a/pages/news/news-list-detail.vue b/pages/news/news-list-detail.vue index 1e8246f..2788a5f 100644 --- a/pages/news/news-list-detail.vue +++ b/pages/news/news-list-detail.vue @@ -6,24 +6,38 @@ - - {{pd.SYNOPSIS}} - + + 通知标题: + - - {{pd.CREATTIME}} - - - - - - - - - 附件 - - + {{pd.TITLE}} + + 通知内容: + + + {{pd.NOTIFICATIONCONTENT}} + + + {{pd.CREATETIME}} + + + + + + + + + + 附件 + + + + + 回复内容 + + + @@ -32,68 +46,133 @@