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"
>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.visitTime, "{y}-{m}-{d}") }}
+
+
+
{
+ 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();
},
// 多选框选中数据