| | |
| | | <template> |
| | | <a-card title="最新叫应记录"> |
| | | <a slot="extra" href="callRecord" class="tapBtn">查看全部</a> |
| | | <a-list item-layout="horizontal" :data-source="lists"> |
| | | <a-list-item slot="renderItem" slot-scope="item"> |
| | | <a-list-item-meta |
| | | :description="item.responseTime | filterTime" |
| | | > |
| | | <a slot="title" href="#" @click="openDetails(item.warnInfoId)">{{ item.publishingUnit }} 发布了 {{item.title}}</a> |
| | | <a slot="title" href="#" @click="openDetails(item.warnInfoId)">{{item.receiveUnit}} 的 {{ item.responseRealName }} 在 {{item.title}} 进行了“已安排部署”叫应</a> |
| | | <a-avatar |
| | | slot="avatar" |
| | | :src="userImg" |
| | |
| | | const t = this |
| | | const res = await getResponseRecord(this.search) |
| | | if(res.data.code == 100){ |
| | | t.lists = res.data.data |
| | | if(res.data.data && res.data.data.length>0){ |
| | | t.lists = res.data.data |
| | | }else{ |
| | | t.lists = [] |
| | | } |
| | | }else{ |
| | | this.$message.error(res.data.msg) |
| | | } |
| | | }, |
| | | |
| | | openDetails(id){ |
| | | const t = this |
| | | t.$refs.msgDetail.getDetails(id) |
| | |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | .tapBtn{ |
| | | color: #333; |
| | | &:hover{ |
| | | color: @link; |
| | | } |
| | | } |
| | | </style> |