diff --git a/acupuncture-后台/src/views/medicalFile/index.vue b/acupuncture-后台/src/views/medicalFile/index.vue index 04438cd4..d7450a5b 100644 --- a/acupuncture-后台/src/views/medicalFile/index.vue +++ b/acupuncture-后台/src/views/medicalFile/index.vue @@ -6,7 +6,7 @@ size="small" :inline="true" v-show="showSearch" - label-width="80px" + label-width="100px" > - + + + + + + + + + + + - + + + { + this.managerList = res.data.list; + }); + }, // 组织列表 getTenantsList() { tenantsList({ @@ -1470,6 +1133,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(); }, /** 重置按钮操作 */ @@ -1485,6 +1156,8 @@ export default { endAge: "", doctor: "", status: "", + tenantId: "", + managementId: "", }; this.handleQuery(); }, @@ -1636,35 +1309,6 @@ export default { } }); }, - // 诊疗详情 - submitDetailsForm: function () { - this.$refs["detailsForm"].validate((valid) => { - if (valid) { - let codeAndAnswerList = []; - for (let key in this.detailsForm) { - let data = { - questionCode: key, - answer: "", - }; - if (typeof this.detailsForm[key] === "string") { - data.answer = this.detailsForm[key].split(","); - } else { - data.answer = this.detailsForm[key]; - } - codeAndAnswerList.push(data); - } - - saveAidRecord({ - treatmentId: this.form.id, - codeAndAnswerList, - }).then((response) => { - this.$modal.msgSuccess("保存成功"); - this.drawer = false; - this.getList(); - }); - } - }); - }, /** 删除按钮操作 */ handleDelete(row) { const idList = row.id ? [row.id] : this.ids; diff --git a/acupuncture-后台/src/views/report/manage.vue b/acupuncture-后台/src/views/report/manage.vue index b0f0bea5..46bb0d5e 100644 --- a/acupuncture-后台/src/views/report/manage.vue +++ b/acupuncture-后台/src/views/report/manage.vue @@ -395,7 +395,7 @@ export default { handleDetails(row) { this.$router.push({ path: "/medicalFile/index", - query: { id: row.id }, + query: { managementId: row.id }, }); }, // 获取上报类型切换处理