From e7a5c6735f7f406124c864ad98bdae77970abbe0 Mon Sep 17 00:00:00 2001 From: liuzhipeng <1747191978@qq.com> Date: Thu, 19 Jun 2025 22:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E8=AF=8A=E7=96=97=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E6=B7=BB=E5=8A=A0=E8=AF=8A=E7=96=97=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E3=80=81=E5=A1=AB=E6=8A=A5=E7=B1=BB=E5=9E=8B=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acupuncture-前台/src/api/medicalFile.js | 7 ++ .../src/views/medicalFile/index.vue | 67 ++++++++++++++++++- 2 files changed, 72 insertions(+), 2 deletions(-) diff --git a/acupuncture-前台/src/api/medicalFile.js b/acupuncture-前台/src/api/medicalFile.js index e0fc3b59..4e8b27bd 100644 --- a/acupuncture-前台/src/api/medicalFile.js +++ b/acupuncture-前台/src/api/medicalFile.js @@ -40,6 +40,13 @@ export function managerMy(data) { data: data, }); } +export function reportList(data) { + return request({ + url: "/report/list", + method: "post", + data: data, + }); +} // 档案详情 export function queryRecord(data) { return request({ diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue index 9d8f88d3..3e0cd82c 100644 --- a/acupuncture-前台/src/views/medicalFile/index.vue +++ b/acupuncture-前台/src/views/medicalFile/index.vue @@ -6,7 +6,6 @@ size="small" :inline="true" v-show="showSearch" - label-width="80px" > - + + + + + + + + + + + + + { + this.reporTypeList = res.data.list; + }); + }, getManagerMy() { managerMy({ pageNum: -1, @@ -1099,6 +1152,14 @@ export default { /** 搜索按钮操作 */ handleQuery() { this.queryParams.pageNum = 1; + // 处理time,拼接时分秒,开始时间 + 00:00:00,结束时间 + 23:59:59 + if (this.time?.length > 0) { + this.queryParams.param.startTime = this.time[0] + " 00:00:00"; + this.queryParams.param.endTime = this.time[1] + " 23:59:59"; + } else { + this.queryParams.param.startTime = ""; + this.queryParams.param.endTime = ""; + } this.getList(); }, /** 重置按钮操作 */ @@ -1115,7 +1176,9 @@ export default { doctor: "", status: "", managementId: "", + reportTypeId: "", }; + this.time = []; this.handleQuery(); }, // 多选框选中数据