|
@@ -352,15 +352,15 @@
|
|
|
<div class="workspace_message-title">
|
|
|
标题: {{ item.noticetitle }}
|
|
|
</div>
|
|
|
- <div class="workspace_message-date">
|
|
|
- 时间:{{ item.inserttime }}
|
|
|
- </div>
|
|
|
<div class="workspace_message-content">
|
|
|
内容:{{ item.noticecontent }}
|
|
|
</div>
|
|
|
<div class="workspace_message-from">
|
|
|
来自: {{ item.insertusername }}
|
|
|
</div>
|
|
|
+ <div class="workspace_message-date">
|
|
|
+ 时间:{{ item.inserttime }}
|
|
|
+ </div>
|
|
|
<div style="height: 20px"></div>
|
|
|
<el-divider></el-divider>
|
|
|
</div>
|
|
@@ -663,10 +663,10 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="centerDialogVisible"
|
|
|
>
|
|
|
- <div style="margin-left: 300px;font-size: 20px">
|
|
|
+ <div style="margin-left: 30px; font-size: 20px">
|
|
|
<h1>{{noticedata1.noticetitle}}</h1>
|
|
|
</div>
|
|
|
- <div style="height: 10px"></div>
|
|
|
+ <div style="height: 20px"></div>
|
|
|
<div style="margin-left: 30px">
|
|
|
<i class="el-icon-document"></i>{{noticedata1.noticecontent}}
|
|
|
</div>
|
|
@@ -675,7 +675,6 @@
|
|
|
<i class="el-icon-user-solid"></i>
|
|
|
{{noticedata1.insertusername}}
|
|
|
</div>
|
|
|
- <el-divider></el-divider>
|
|
|
<div style="margin-left: 30px">
|
|
|
<i></i>{{noticedata1.inserttime}}
|
|
|
</div>
|
|
@@ -1154,12 +1153,22 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
//弹框删除
|
|
|
- makeSure(){
|
|
|
+ async makeSure(){
|
|
|
+ let noticeid=this.noticedata1.noticeid
|
|
|
+ console.log(this.noticedata1)
|
|
|
this.noticedata1=[] ;
|
|
|
this.centerDialogVisible=false;
|
|
|
- this.badgeshow=true;
|
|
|
- this.axios.post("/api/v1/ams/updateNoticeStatus",
|
|
|
- {userId:this.userId})
|
|
|
+ await this.axios.post("/api/v1/ams/updateNoticeStatus",
|
|
|
+ {userId:this.userId,
|
|
|
+ noticeId:noticeid}).then((res)=>{
|
|
|
+ console.log(res.data)
|
|
|
+ if (res.data.data ===0){
|
|
|
+ this.badgeshow=true;
|
|
|
+ }else {
|
|
|
+ console.log('进入了小红点标记区')
|
|
|
+ this.taskAllNum=res.data.data;
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
// 判断是否为公司其他平台模块且处于开发模式
|
|
|
isDev(url) {
|
|
@@ -2670,7 +2679,8 @@ export default {
|
|
|
noticetitle:item.noticetitle,
|
|
|
noticecontent:item.noticecontent,
|
|
|
insertusername:item.insertusername,
|
|
|
- inserttime:item.inserttime
|
|
|
+ inserttime:item.inserttime,
|
|
|
+ noticeid:item.noticeId
|
|
|
}
|
|
|
this.noticedata1=data
|
|
|
this.centerDialogVisible=true;
|
|
@@ -2688,9 +2698,9 @@ export default {
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.Web_Notice {
|
|
|
- width: 500px;
|
|
|
+ width: 400px;
|
|
|
position: absolute;
|
|
|
- left: -150px;
|
|
|
+ left: -200px;
|
|
|
height: 500px;
|
|
|
background-color: #f1f6fd;
|
|
|
}
|