正在显示
1 个修改的文件
包含
40 行增加
和
19 行删除
@@ -17,52 +17,66 @@ | @@ -17,52 +17,66 @@ | ||
17 | </el-col> | 17 | </el-col> |
18 | </el-row> | 18 | </el-row> |
19 | </div> | 19 | </div> |
20 | - <div :index="item.msgid+''" v-for="item in messageNote_page.messageNoteList" :key="item.msgid" style="margin-left: 30px;margin-top: 30px"> | 20 | + <div class="ft" :index="item.msgid+''" v-for="item in messageNote_page.messageNoteList" :key="item.msgid" style="margin-left: 30px;margin-top: 30px"> |
21 | + <el-row style="min-height: 200px"> | ||
21 | <el-row> | 22 | <el-row> |
22 | - <el-col :span="4"> | 23 | + <el-col :span="7"> |
23 | <span>消息id:</span> | 24 | <span>消息id:</span> |
24 | <el-tag>{{item.msgid}}</el-tag> | 25 | <el-tag>{{item.msgid}}</el-tag> |
25 | </el-col> | 26 | </el-col> |
26 | - <el-col :span="2"> | 27 | + <el-col :span="8"> |
28 | + <span>发送时间:</span> | ||
29 | + <el-tag>{{item.ddtm}}</el-tag> | ||
30 | + </el-col> | ||
31 | + | ||
32 | + </el-row> | ||
33 | + <el-row> | ||
34 | + <el-col :span="7"> | ||
27 | <span>发送人:</span> | 35 | <span>发送人:</span> |
28 | <el-tag>{{item.sndr}}</el-tag> | 36 | <el-tag>{{item.sndr}}</el-tag> |
29 | </el-col> | 37 | </el-col> |
30 | - <el-col :span="1"> | 38 | + <el-col :span="3"> |
31 | <span>消息大类:</span> | 39 | <span>消息大类:</span> |
32 | <el-tag type="success">{{item.btype}}</el-tag> | 40 | <el-tag type="success">{{item.btype}}</el-tag> |
33 | </el-col> | 41 | </el-col> |
34 | - <el-col :span="1"> | 42 | + <el-col :span="3"> |
35 | <span>消息子类:</span> | 43 | <span>消息子类:</span> |
36 | <el-tag type="success">{{item.stype}}</el-tag> | 44 | <el-tag type="success">{{item.stype}}</el-tag> |
37 | </el-col> | 45 | </el-col> |
38 | - <el-col :span="2"> | ||
39 | - <span>发送时间:</span> | ||
40 | - <el-tag>{{item.ddtm}}</el-tag> | ||
41 | - </el-col> | ||
42 | - <el-col :span="6"> | 46 | + <el-col :span="4"> |
47 | + <div> | ||
43 | <span>路由接收者:</span> | 48 | <span>路由接收者:</span> |
49 | + </div> | ||
44 | <template v-for="reciver in item.rcvrs"> | 50 | <template v-for="reciver in item.rcvrs"> |
45 | <el-tag type="danger">{{reciver.username}}</el-tag> | 51 | <el-tag type="danger">{{reciver.username}}</el-tag> |
46 | </template> | 52 | </template> |
47 | - | ||
48 | </el-col> | 53 | </el-col> |
49 | - <el-col :span="6"> | ||
50 | - <span>消息接收者:</span> | 54 | + <el-col :span="4"> |
55 | + <div> | ||
56 | + <span >消息接收者:</span> | ||
57 | + </div> | ||
51 | <template v-for="logitem in item.rcvlog"> | 58 | <template v-for="logitem in item.rcvlog"> |
52 | <el-tag type="warning">{{logitem.username}} [{{logitem.rvtm}}]</el-tag> | 59 | <el-tag type="warning">{{logitem.username}} [{{logitem.rvtm}}]</el-tag> |
53 | </template> | 60 | </template> |
54 | - | ||
55 | </el-col> | 61 | </el-col> |
62 | + </el-row> | ||
63 | + </el-row> | ||
64 | + <div class="sun"> | ||
65 | + <el-row> | ||
56 | <el-col :span="2"> | 66 | <el-col :span="2"> |
57 | <el-button type="primary" @click="messageNote_toViewContentDialogDialog(item)" size="small">查看内容 | 67 | <el-button type="primary" @click="messageNote_toViewContentDialogDialog(item)" size="small">查看内容 |
58 | </el-button> | 68 | </el-button> |
59 | </el-col> | 69 | </el-col> |
60 | - </el-row> | ||
61 | - <el-row> | ||
62 | - <el-col style="width: 90%" :span="22"> | 70 | + <el-col style="width: 45%;margin-left: -10px" :span="14"> |
63 | <el-input v-model="item.msg" readonly type="textarea" :rows="3"></el-input> | 71 | <el-input v-model="item.msg" readonly type="textarea" :rows="3"></el-input> |
64 | </el-col> | 72 | </el-col> |
65 | </el-row> | 73 | </el-row> |
74 | + <el-row> | ||
75 | + | ||
76 | + </el-row> | ||
77 | + </div> | ||
78 | + | ||
79 | + | ||
66 | <el-divider></el-divider> | 80 | <el-divider></el-divider> |
67 | </div> | 81 | </div> |
68 | 82 | ||
@@ -203,7 +217,7 @@ | @@ -203,7 +217,7 @@ | ||
203 | if (res.code !== '200') { | 217 | if (res.code !== '200') { |
204 | // 关闭加载 | 218 | // 关闭加载 |
205 | _this.messageNote_loading.listLoading = false; | 219 | _this.messageNote_loading.listLoading = false; |
206 | - return _this.$message.error(res.msg); | 220 | + return _this.$message.error('获取消息收发记录,失败!'); |
207 | } | 221 | } |
208 | // 获取列表数据 | 222 | // 获取列表数据 |
209 | _this.messageNote_page.messageNoteList = res.data.content; | 223 | _this.messageNote_page.messageNoteList = res.data.content; |
@@ -247,5 +261,12 @@ | @@ -247,5 +261,12 @@ | ||
247 | </script> | 261 | </script> |
248 | 262 | ||
249 | <style scoped> | 263 | <style scoped> |
250 | - | 264 | + .ft{ |
265 | + position: relative; | ||
266 | + } | ||
267 | + .sun{ | ||
268 | + position: absolute; | ||
269 | + top:100px; | ||
270 | + width: 100%; | ||
271 | + } | ||
251 | </style> | 272 | </style> |
-
请 注册 或 登录 后发表评论