From 2c659de3b0e4cfbcb57c6521c443a9cb44ab45b6 Mon Sep 17 00:00:00 2001
From: "1747191978@qq.com" <1942943850@qq.com>
Date: Mon, 12 May 2025 17:08:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E6=A1=A3=E6=A1=88=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E5=90=8C=E6=AD=A5=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
acupuncture-前台/src/api/patientFile.js | 8 +++++
.../src/views/patientFile/index.vue | 33 ++++++++++++++++++
...南宁针灸前台-1.zip => 南妮针灸前台ssl-5.zip} | Bin 4690012 -> 4690129 bytes
acupuncture-前台/南宁针灸前台client-1.zip | Bin 4689853 -> 0 bytes
acupuncture-前台/南宁针灸前台clientssl-1.zip | Bin 4689729 -> 0 bytes
5 files changed, 41 insertions(+)
rename acupuncture-前台/{南宁针灸前台-1.zip => 南妮针灸前台ssl-5.zip} (97%)
delete mode 100644 acupuncture-前台/南宁针灸前台client-1.zip
delete mode 100644 acupuncture-前台/南宁针灸前台clientssl-1.zip
diff --git a/acupuncture-前台/src/api/patientFile.js b/acupuncture-前台/src/api/patientFile.js
index f36a872e..b913488c 100644
--- a/acupuncture-前台/src/api/patientFile.js
+++ b/acupuncture-前台/src/api/patientFile.js
@@ -32,3 +32,11 @@ export function patientDel(data) {
data: data,
});
}
+// 同步身高体重
+export function weightHeight(data) {
+ return request({
+ url: "/api/http/getWeightHeight",
+ method: "post",
+ data: data,
+ });
+}
diff --git a/acupuncture-前台/src/views/patientFile/index.vue b/acupuncture-前台/src/views/patientFile/index.vue
index d9eaf263..9c1ffc5e 100644
--- a/acupuncture-前台/src/views/patientFile/index.vue
+++ b/acupuncture-前台/src/views/patientFile/index.vue
@@ -323,6 +323,12 @@
width="780px"
append-to-body
>
+
+
+
{
+ console.log("res", res);
+ this.form.height = res.data.height;
+ this.form.weight = res.data.weight;
+ this.$modal.msgSuccess("同步成功");
+ });
+ },
calculateBMI(WEIGHT, HEIGHT) {
if (WEIGHT && HEIGHT) {
const weight = parseFloat(WEIGHT);
@@ -944,6 +959,24 @@ export default {