From 187c516a9f390e59846a592bd3325afa4a8dc325 Mon Sep 17 00:00:00 2001 From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com> Date: 星期四, 20 七月 2023 14:43:15 +0800 Subject: [PATCH] 增加短信发送条数统计 --- src/views/Admin/msgRecord.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/Admin/msgRecord.vue b/src/views/Admin/msgRecord.vue index 15daf6b..514b098 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> @@ -25,8 +25,9 @@ </div> <a-divider type="vertical" /> <div class="tit"> - 任务ID:<span>{{item.id}}</span> + 任务ID:<span>{{item.id}}</span> </div> + 发送人数:{{item.recipients.length}} </template> <p> {{item.content}} @@ -102,6 +103,11 @@ } }, + searchData(){ + this.search.pageIndex = 1 + this.getData() + }, + resetSearch(){ const t = this t.search = { @@ -167,6 +173,7 @@ align-items: center !important; .tit{ width: 50%; + color: @base } } /deep/ .ant-card-actions{ -- Gitblit v1.9.2