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/QuickNavigation.vue | 7 +------ src/components/Home/Dynamic.vue | 12 +++++++++++- 2 files changed, 12 insertions(+), 7 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 diff --git a/src/components/Home/QuickNavigation.vue b/src/components/Home/QuickNavigation.vue index d6ae943..e6505b4 100644 --- a/src/components/Home/QuickNavigation.vue +++ b/src/components/Home/QuickNavigation.vue @@ -14,12 +14,7 @@ <a :class="toReview>0?'resColor':''" @click="toRev" v-if="userinfo.role.id == 2">待审核<span v-if="toReview > 0">({{toReview}})</span></a> </a-tooltip> <a href="massSend" v-if="userinfo.role.id == 3">发布通知</a> - <a-tooltip overlayClassName="tip"> - <template #title> - 数据统计模块待呈现 - </template> - <a>查看统计</a> - </a-tooltip> + <a href="audit" >查看统计</a> <a href="user" v-if="userinfo.role.id == 3">用户管理</a> <!-- <a-button><a-icon type="plus" />添加</a-button> --> </a-card> -- Gitblit v1.9.2