From cc7f03bcbb427ce334f6935311d22f36a61c21fd Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: 星期四, 20 七月 2023 11:52:48 +0800
Subject: [PATCH] 修改“我发布的”,为本级发出

---
 src/views/Admin/msgRecord.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/Admin/msgRecord.vue b/src/views/Admin/msgRecord.vue
index 87c3624..9969882 100644
--- a/src/views/Admin/msgRecord.vue
+++ b/src/views/Admin/msgRecord.vue
@@ -12,7 +12,7 @@
         />
       </a-col>
       <a-col :span="4">
-        <a-button type="primary" @click="getData">查询</a-button>
+        <a-button type="primary" @click="searchData()">查询</a-button>
         <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button>
       </a-col>
     </a-row>
@@ -33,7 +33,7 @@
           </p>
           <template #actions>
             <div>
-              接收号码:<span>{{item.recipients.map(i=>i.name + '(' + i.phone + ')').join('、')}}</span>
+              接收号码:<span>{{item.recipients.map(i=>i.realName + '(' + i.phone + ')').join('、')}}</span>
             </div>
             <div>
               <a-button type="primary" @click="viewDetails(item)">查看详情</a-button>
@@ -102,6 +102,11 @@
       }
     },
 
+    searchData(){
+      this.search.pageIndex = 1
+      this.getData()
+    },
+
     resetSearch(){
       const t = this
       t.search = {
@@ -167,6 +172,7 @@
       align-items: center !important;
       .tit{
         width: 50%;
+        color: @base
       }
     }
     /deep/ .ant-card-actions{

--
Gitblit v1.9.2