Commit 317317e0 authored by 仇晓婷's avatar 仇晓婷

消息

parent 329e6df2
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div slot="clear">历史消息</div> <div slot="clear">历史消息</div>
</NotificationTab> </NotificationTab>
</Notification> </Notification>
<Modal v-model="modal1" :title="msg.title"> <Modal v-model="modal1" :title="msg.title" width="1200">
<p class="content-in">发送时间:{{msg.creationTime}}</p> <p class="content-in">发送时间:{{msg.creationTime}}</p>
<p class="content-in">{{msg.content}}</p> <p class="content-in">{{msg.content}}</p>
<div slot="footer"> <div slot="footer">
......
...@@ -69,6 +69,7 @@ export default { ...@@ -69,6 +69,7 @@ export default {
action: Api.index, action: Api.index,
easySearch: { easySearch: {
keys: { op: "title", value: null }, keys: { op: "title", value: null },
receiverId: { op: "Equal", value: this.$store.state.userInfo.userId },
}, },
disabled: false, disabled: false,
entity: {}, entity: {},
...@@ -122,13 +123,13 @@ export default { ...@@ -122,13 +123,13 @@ export default {
width: 200, width: 200,
}, },
{ {
title: "发送人", title: "接受人",
key: "receiverId", key: "receiverId",
width: 120, width: 120,
type: "user", type: "user",
}, },
{ {
title: "接受人", title: "发送人",
key: "senderId", key: "senderId",
width: 120, width: 120,
type: "user", type: "user",
...@@ -137,17 +138,8 @@ export default { ...@@ -137,17 +138,8 @@ export default {
title: "状态", title: "状态",
key: "messageType", key: "messageType",
width: 120, width: 120,
render: (h, params) => { code: "message.status",
return h(
"div",
{
style: {
color: "red",
},
},
params.row.messageType == 1 ? "已读" : ""
);
},
}, },
{ {
title: this.l("action"), title: this.l("action"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment