提交 69511d72 编写于 作者: guangjun.yang's avatar guangjun.yang

未读消息

上级 78f57230
......@@ -791,14 +791,15 @@ export default {
};
this.POST(`/im/msg/read/all`, params).then(res => {
if (res.code === "000000") {
let session = this.findItemByKeyAndVal(
this.sessionListData.sessionList,
"id",
this.currentTaskLogId
);
if (session) {
session.unreadCount = 0;
}
// let session = this.findItemByKeyAndVal(
// this.sessionListData.sessionList,
// "taskLogId",
// this.currentTaskLogId
// );
// if (session) {
// session.unreadCount = 0;
// }
this.currentSession.unreadCount = 0;
} else {
this.$message({
message: res.message,
......
......@@ -10,7 +10,7 @@
<el-table-column prop="userName" label="用户名" min-width="50" align="center"></el-table-column>
<el-table-column prop="waitTime" label="等待时间" min-width="100" align="center">
<template slot-scope="scope">
<span>{{scope.row.waitTime | continueTimesFilter}}</span>
<span>{{scope.row.waitTime * 1000 | continueTimesFilter}}</span>
</template>
</el-table-column>
<el-table-column prop="idType" label="用户类型" min-width="50" align="center">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册