From b21b1c3c2d5f186edb5ebbed49e2756ae440f196 Mon Sep 17 00:00:00 2001
From: "1747191978@qq.com" <1942943850@qq.com>
Date: Tue, 18 Feb 2025 18:52:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E6=A1=A3=E6=A1=88=E6=89=8B?=
=?UTF-8?q?=E6=9C=BA=E5=8F=B7=E6=A0=A1=E9=AA=8C=E4=BB=A3=E7=A0=81=E6=9C=89?=
=?UTF-8?q?=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/followFile/index.vue | 4 +-
.../src/views/followFile/work.vue | 922 ++++++++----------
.../src/views/medicalFile/index.vue | 2 +-
.../src/views/patientFile/index.vue | 26 +-
4 files changed, 418 insertions(+), 536 deletions(-)
diff --git a/acupuncture-前台/src/views/followFile/index.vue b/acupuncture-前台/src/views/followFile/index.vue
index 99830a18e..9fb58ffc6 100644
--- a/acupuncture-前台/src/views/followFile/index.vue
+++ b/acupuncture-前台/src/views/followFile/index.vue
@@ -119,7 +119,7 @@
>
禁用
- 本院
+ 启用
公共
- 启用
+ 本院
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 男
- 女
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 男
+ 女
+
+
-
-
-
-
-
-
-
-
-
-
-
- {{ status[scope.row.status] }}
-
-
-
+
+
+
+
+ {{ status[scope.row.status] }}
+
+
+
-
+
-
-
-
-
- 随访
-
-
- 失访
-
-
-
-
+
+
+
+
+ 随访
+
+
+ 失访
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
+} -->
\ No newline at end of file
diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue
index 31a4ecc90..168012519 100644
--- a/acupuncture-前台/src/views/medicalFile/index.vue
+++ b/acupuncture-前台/src/views/medicalFile/index.vue
@@ -471,7 +471,7 @@
-
+
-
+
@@ -164,7 +164,7 @@
-
+
{
- // 返回true表示校验通过,返回false表示不通过
- // 过滤第一层,先判断输入为不为空,因为required: false,不是必填项,所以为空应该返回true
- let regs = /^1[3-9]\d{9}$/;
- if (!regs.test(this.form.phone)) {
- return false
- }else{
- return true
- }
- },
- message: '手机号码格式不正确',
- // 触发器可以同时用blur和change
- trigger: ['change','blur'],
- }
+ },{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式不正确', trigger: 'blur' }
],
ethnicity: [{
required: true,
@@ -456,6 +441,9 @@
this.title = "患者档案详情";
this.formDisabled = true;
this.form = JSON.parse(JSON.stringify(row));
+ // 字符串转数组
+ this.form.currentIllnessHistory =
+ this.form.currentIllnessHistory?.split(",") || []
},
/** 诊疗档案 */
handleArchives(row) {
@@ -465,8 +453,10 @@
},
/** 提交按钮 */
submitForm: function() {
+
this.$refs["form"].validate((valid) => {
if (valid) {
+
if (this.form.id != undefined) {
patientUpd(this.form).then((response) => {
this.$modal.msgSuccess("修改成功");