linwenxin 1 سال پیش
والد
کامیت
24458f3988
1فایلهای تغییر یافته به همراه4 افزوده شده و 5 حذف شده
  1. 4 5
      src/components/NotifyBox/index.vue

+ 4 - 5
src/components/NotifyBox/index.vue

@@ -33,9 +33,9 @@
         <el-table-column align="center" label="标题" prop="title" min-width="160" show-overflow-tooltip />
         <el-table-column align="center" label="来源" prop="source" min-width="160" show-overflow-tooltip />
         <el-table-column align="center" label="时间" prop="issueTime" min-width="160" show-overflow-tooltip />
-        <el-table-column align="center" label="时间" prop="issueTime" min-width="160" show-overflow-tooltip >
+        <el-table-column align="center" label="是否已读" prop="isTopRead" min-width="160" show-overflow-tooltip >
           <template slot-scope="scope">
-            {{scope.row.readFlag ? '已读':'未读'}}
+            {{scope.row.isTopRead ? '已读':'未读'}}
           </template>
         </el-table-column>
         <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
@@ -536,7 +536,6 @@ export default {
         readFlag: false
       }
       const res = await getNoticeList(data)
-      console.log(res)
       this.dataList = res.data.records
       this.listTotal = res.data.total
     },
@@ -656,10 +655,10 @@ export default {
     },
     // 查看
     async lookInDialog(id) {
-      const res = await getNoticeDetail({ id })
+      const res = await getNoticeDetail({ id, isTopRead: true })
       this.detailData = res.data
       this.inDialog = true
-      confirmCheck({ noticeIds: id }).then(res => {})
+      this.getDataList()
     },
     // 下载
     async downloadFn(id) {