From cc7f03bcbb427ce334f6935311d22f36a61c21fd Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: Thu, 20 Jul 2023 11:52:48 +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..6a98088 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.responseRealName }} 在 {{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