From b7092c2bf77696eb13fd680cb006211c17b48f5c Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 15 五月 2025 18:00:15 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/follow/index.vue | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/views/patient/follow/index.vue b/src/views/patient/follow/index.vue index 02ca1e1..6c7d903 100644 --- a/src/views/patient/follow/index.vue +++ b/src/views/patient/follow/index.vue @@ -11,7 +11,8 @@ v-show="showSearch" label-width="98px" > - <el-form-item label="濮撳悕" prop="name"> + <el-form-item label="濮撳悕" + width="100" prop="name"> <el-input v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" @@ -73,11 +74,12 @@ <el-table-column fixed label="濮撳悕" + width="100" align="center" key="name" prop="name" /> - <el-table-column label="鎬у埆" align="center" key="sex" prop="sex"> + <el-table-column label="鎬у埆"width="100" align="center" key="sex" prop="sex"> <template slot-scope="scope"> <span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span> </template> @@ -180,7 +182,7 @@ @click=" $router.push({ path: '/patient/patient/profile/', - query: { id: scope.row.patid }, + query: { id: scope.row.id }, }) " @@ -219,7 +221,7 @@ import { delUser } from "@/api/system/user"; import { - messagelistpatient, + patarchivelist, alterpatient, addfiltration, particularpatient, @@ -367,8 +369,7 @@ /** 鏌ヨ鎮h�呭垪琛� */ getList() { this.loading = true; - - messagelistpatient(this.queryParams).then((response) => { + patarchivelist(this.queryParams).then((response) => { console.log(response); this.userList = response.rows; this.total = response.total; @@ -436,9 +437,12 @@ }, /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { - this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams={ + pageNum: 1, + pageSize: 10, + allhosp: "1", + notrequiredFlag: 1, + }, this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 @@ -518,7 +522,7 @@ /** 涓嬭浇妯℃澘鎿嶄綔 */ importTemplate() { this.download( - "system/user/importTemplate", + "smartor/import/getImportPatTemplate", {}, `user_template_${new Date().getTime()}.xlsx` ); -- Gitblit v1.9.3