|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<div class="warn-main-left" v-if="item.alertManner == 2">
|
|
|
|
|
<div class="warn-main-img"><img src="@/assets/images/warn-green.png" alt=""></div>
|
|
|
|
|
<div class="warn-main-content">
|
|
|
|
|
<div class="content-title">【{{ item.declarationName }}】【预计{{ item.daysAdvance }}天后建设完成】</div>
|
|
|
|
|
<div class="content-title">【{{ item.declarationName }}】【预计{{ item.daysAdvance }}天后{{ item.alertRecipients == 1 ? "填报结束" : item.alertRecipients == 2 ? "建设完成" : "" }}】</div>
|
|
|
|
|
<div class="content-middle">{{ item.alertContent }}</div>
|
|
|
|
|
<div class="content-time">{{ item.alertTime }}</div>
|
|
|
|
|
</div>
|
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="warn-main-right">
|
|
|
|
|
<div class="warn-main-right-chakan" @click="putMemo(item)">
|
|
|
|
|
查看
|
|
|
|
|
{{ item.isRead == 1 ? '标记已读' : '已读' }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="warn-main-right-status" :class="item.isRead == 1 ? 'status-unread' : ''">
|
|
|
|
|
{{ item.isRead == 1 ? '未读' : '已读' }}
|
|
|
|
@ -96,7 +96,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import { chiefAll, jSmartRemindersNew } from "@/api/jin_ji_hu/intelligentReminder/index"
|
|
|
|
|
import { chiefAll, jSmartRemindersNew, changeIsRead } from "@/api/jin_ji_hu/intelligentReminder/index"
|
|
|
|
|
import myDialog from "@/views/components/myDialog/index.vue"
|
|
|
|
|
export default {
|
|
|
|
|
name:"tabFive",
|
|
|
|
@ -179,6 +179,14 @@ export default {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 修改已读
|
|
|
|
|
putMemo(item){
|
|
|
|
|
if(item.isRead == 1) {
|
|
|
|
|
changeIsRead({id:item.id}).then(res=>{
|
|
|
|
|
this.getList();
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|