From ffb5cf79a2d5d7603cb97e79bd04f598eceb0352 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 20 三月 2025 10:41:29 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/physical.vue | 82 ++++++++++++++++++++--------------------- 1 files changed, 40 insertions(+), 42 deletions(-) diff --git a/src/views/patient/patient/physical.vue b/src/views/patient/patient/physical.vue index 39c8821..f53258a 100644 --- a/src/views/patient/patient/physical.vue +++ b/src/views/patient/patient/physical.vue @@ -49,7 +49,7 @@ <el-select v-model="queryParams.tagIds" multiple - filterable + filterable placeholder="璇烽�夋嫨" > <el-option @@ -162,17 +162,18 @@ <el-table-column type="selection" width="50" align="center" /> <el-table-column label="搴忓彿" + fixed align="center" - key="patid" - prop="patid" + key="id" + prop="id" /> + <el-table-column label="濮撳悕" fixed align="center" key="patname" prop="patname" /> <el-table-column label="浣撴缂栧彿" align="center" - key="Patientnumber" - prop="Patientnumber" + key="projectcode" + prop="projectcode" /> - <el-table-column label="濮撳悕" align="center" key="name" prop="name" /> <el-table-column label="鎬у埆" align="center" key="sex" prop="sex"> <template slot-scope="scope"> <span>{{ scope.row.sex == 1 ? "鐢�" : "濂�" }}</span> @@ -188,12 +189,12 @@ <el-table-column label="鑱旂郴鐢佃瘽" align="center" - key="telephone" - prop="telephone" + key="telcode" + prop="telcode" width="120" /> <el-table-column - label="鎮h�呮爣绛�" + label="鎮h�呮爣绛撅紙缂猴級" align="center" key="tagList" prop="tagList" @@ -207,12 +208,12 @@ <el-table-column label="浣撴濂楅" align="center" - key="combo" - prop="combo" + key="projectname " + prop="projectname " width="120" /> <el-table-column - label="浣撴绫诲瀷" + label="浣撴绫诲瀷锛堢己锛�" align="center" key="idcardtype" prop="idcardtype" @@ -221,12 +222,12 @@ <el-table-column label="浣撴鐘舵��" align="center" - key="telcode" - prop="telcode" + key="state" + prop="state" width="120" /> <el-table-column - label="浣撴鎶ュ憡" + label="浣撴鎶ュ憡锛堝緟瀹氾級" align="center" key="idcardno" prop="idcardno" @@ -236,27 +237,27 @@ <el-table-column label="绉戝" align="center" - key="telcode" - prop="telcode" + key="hospitalname" + prop="hospitalname" width="120" /> - <el-table-column + <!-- <el-table-column label="鍖荤敓" align="center" - key="telcode" - prop="telcode" + key="drname" + prop="drname" width="120" - /> + /> --> <el-table-column label="灏辫瘖鏃堕棿" align="center" - key="archivetime" - prop="archivetime" + key="createTime" + prop="createTime" width="160" > <template slot-scope="scope"> - <span>{{ parseTime(scope.row.createTime) }}</span> + <span>{{ formatTime(scope.row.createTime) }}</span> </template> </el-table-column> <el-table-column @@ -266,11 +267,12 @@ width="160" > <template slot-scope="scope"> - <span>{{ parseTime(scope.row.createTime) }}</span> + <span>{{ formatTime(scope.row.createTime) }}</span> </template> </el-table-column> <el-table-column label="鎿嶄綔" + fixed="right" align="center" width="160" class-name="small-padding fixed-width" @@ -525,22 +527,16 @@ <script> import { delUser } from "@/api/system/user"; + import { - listpat_archive, - getpat_archive, - addpat_archive, - updatepat_archive, - delpat_archive, -} from "@/api/smartorpor/pat_archive"; -import { - messagelistpatient, - alterpatient, - addpatient, - particularpatient, - deletepatient, + listPatphysical, + getPatphysical, + addPatphysical, + updatePatphysical, + delPatphysical, Exporterrorpatient, toleadpatient, -} from "@/api/patient/homepage"; +} from "@/api/smartor/patphysical"; import { listtag } from "@/api/system/label"; import { getToken } from "@/utils/auth"; import Treeselect from "@riophae/vue-treeselect"; @@ -706,7 +702,7 @@ /** 鏌ヨ鎮h�呭垪琛� */ getList() { this.loading = true; - messagelistpatient(this.queryParams).then((response) => { + listPatphysical(this.queryParams).then((response) => { console.log(response); this.userList = response.rows; this.total = response.total; @@ -775,8 +771,10 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.resetForm("queryForm"); - this.$refs.tree.setCurrentKey(null); + this.queryParams= { + pageNum: 1, + pageSize: 10, + }, this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 @@ -862,7 +860,7 @@ /** 涓嬭浇妯℃澘鎿嶄綔 */ importTemplate() { this.download( - "system/user/importTemplate", + "smartor/import/getImportPatTemplate", {}, `user_template_${new Date().getTime()}.xlsx` ); -- Gitblit v1.9.3