From 778d8b1aeeb164466643f0312807285656b18b03 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Wed, 02 Aug 2023 14:03:20 +0800
Subject: [PATCH] 村级响应措施对接
---
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