From f8a8427cd0fd9ccbed8c8e1452c2b658447845af Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: Wed, 19 Jul 2023 19:27:00 +0800
Subject: [PATCH] 表述文字修改
---
src/views/Admin/list.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/Admin/list.vue b/src/views/Admin/list.vue
index f88ec4a..bbad73a 100644
--- a/src/views/Admin/list.vue
+++ b/src/views/Admin/list.vue
@@ -30,7 +30,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>
@@ -82,7 +82,7 @@
</template>
</a-table>
</div>
- <msg-edit-mod ref="msgEdit" @refresh="getData"></msg-edit-mod>
+ <msg-edit-mod ref="msgEdit" @refresh="getData()"></msg-edit-mod>
<msg-detail-mod ref="msgDetail"></msg-detail-mod>
<!-- 对话框 -->
<!-- <a-modal title="回执" -->
@@ -272,6 +272,11 @@
})
},
+ searchData(){
+ this.search.pageIndex = 1
+ this.getData()
+ },
+
resetSearch(){
const t = this
t.search = {
--
Gitblit v1.9.2