From ce88e217a2acea35652ef5c2a47afe53653e02a3 Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: Mon, 04 Sep 2023 15:43:41 +0800
Subject: [PATCH] update src/views/Admin/components/msgDetailMod.vue.
---
src/views/Admin/msgRecord.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/Admin/msgRecord.vue b/src/views/Admin/msgRecord.vue
index 3faef87..e73e250 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}}
@@ -72,9 +73,8 @@
details: {},
riskOptions: [
{name: '地震',value: 1},
- {name: '洪涝',value: 2},
{name: '气象',value: 3},
- {name: '泥石流',value: 4},
+ {name: '地质灾害',value: 4},
{name: '水旱',value: 5},
{name: '森林草原火灾',value: 6}
],
@@ -102,6 +102,11 @@
}
},
+ searchData(){
+ this.search.pageIndex = 1
+ this.getData()
+ },
+
resetSearch(){
const t = this
t.search = {
--
Gitblit v1.9.2