From c44c229f9bc125a6db4de34b823b42c7b648d3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=A6=E5=93=A5?= <17630302050@163.com> Date: Mon, 14 Jul 2025 21:15:02 +0800 Subject: [PATCH] xxxx --- src/views/news/index.vue | 40 ++++++++++++++++++++++++++--------- src/views/user/index.vue | 28 +++++++++++++++--------- src/views/user/userDetail.vue | 2 +- 3 files changed, 49 insertions(+), 21 deletions(-) diff --git a/src/views/news/index.vue b/src/views/news/index.vue index 0e9712a..e8146fc 100644 --- a/src/views/news/index.vue +++ b/src/views/news/index.vue @@ -47,15 +47,17 @@ - +
+ +
@@ -117,7 +119,19 @@ const query = ref({ start_time: '', end_time: '', }) - +const handleReset = () => { + dateTime.value = [] + query.value = { + username: '', + mobile: '', + operative_date: '', + next_follow_date: '', + risk_type: '', + page: 1, + page_size: 20 + } + getNews() +} const total = ref(0) const getNews = () => { news(query.value).then(res => { @@ -160,4 +174,10 @@ onMounted(() => { .el-link+ .el-link { margin-left: 10px; } + .user-pagination { + margin-top: 20px; + text-align: right; + display: flex; + justify-content: right; + } \ No newline at end of file diff --git a/src/views/user/index.vue b/src/views/user/index.vue index 454e12e..a2c840d 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -32,7 +32,7 @@ 导出
- + - +
+ +
@@ -176,4 +178,10 @@ onMounted(() => { .user-search { margin-bottom: 10px; } + .user-pagination { + margin-top: 20px; + text-align: right; + display: flex; + justify-content: right; + } \ No newline at end of file diff --git a/src/views/user/userDetail.vue b/src/views/user/userDetail.vue index de03390..6519c23 100644 --- a/src/views/user/userDetail.vue +++ b/src/views/user/userDetail.vue @@ -35,7 +35,7 @@ {{ userInfo.birth_number }} 未知 - 自认受孕 + 自然受孕 辅助生殖技术