From 737578d7bdeca8e4d38dc64093ee2b1efa45ab21 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 28 六月 2023 17:12:45 +0800 Subject: [PATCH] 修改接口 --- src/components/Home/Dynamic.vue | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/components/Home/Dynamic.vue b/src/components/Home/Dynamic.vue index 7fc8b45..c4422a9 100644 --- a/src/components/Home/Dynamic.vue +++ b/src/components/Home/Dynamic.vue @@ -1,11 +1,12 @@ <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.recipienterName }} 在 {{item.title}} 进行了“已安排部署”叫应</a> <a-avatar slot="avatar" :src="userImg" @@ -52,6 +53,7 @@ this.$message.error(res.data.msg) } }, + openDetails(id){ const t = this t.$refs.msgDetail.getDetails(id) @@ -60,3 +62,11 @@ } }; </script> +<style lang="less" scoped> +.tapBtn{ + color: #333; + &:hover{ + color: @link; + } +} +</style> \ No newline at end of file -- Gitblit v1.9.2