From 1d5f54f31a1b0e030e0996fb20995d2e06ffa581 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 24 Apr 2024 16:07:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +- src/components/visitSelect/index.vue | 10 + .../components/add-trials-list.vue | 200 ++++++++++++++---- .../components/confirm-visit-list.vue | 55 +++-- src/views/trials/trials-myinfo/account.vue | 3 + src/views/trials/trials-myinfo/index.vue | 19 +- src/views/trials/trials-myinfo/mine.vue | 11 - src/views/trials/trials-myinfo/password.vue | 115 +++++----- .../study/components/edit-visit.vue | 6 +- .../subject-list/components/add-subject.vue | 90 +++++--- .../components/patient-study-list.vue | 132 ++++++++++++ .../subject/subject-list/index.vue | 25 ++- .../trial-summary/login-log/index.vue | 4 +- 13 files changed, 482 insertions(+), 192 deletions(-) create mode 100644 src/views/trials/trials-panel/subject/subject-list/components/patient-study-list.vue diff --git a/src/App.vue b/src/App.vue index cdebbf6..60d0099 100644 --- a/src/App.vue +++ b/src/App.vue @@ -192,8 +192,8 @@ export default { } else { this.tableData = Object.assign([], this.arr); } - console.log(JSON.stringify(this.$path)); - console.log(JSON.stringify(this.tableData)); + // console.log(JSON.stringify(this.$path)); + // console.log(JSON.stringify(this.tableData)); }, }, }; diff --git a/src/components/visitSelect/index.vue b/src/components/visitSelect/index.vue index 742b19b..2bf2203 100644 --- a/src/components/visitSelect/index.vue +++ b/src/components/visitSelect/index.vue @@ -71,6 +71,11 @@ export default { let res = await this.formatVisit(); if (!res) return; this.$emit("update:modelData", this.visit); + let data = { + StudyId: this.studyData.StudyId || this.studyData.SCPStudyId, + VisitId: this.visit, + }; + this.$emit("putVisit", data); } catch (err) { console.log(err); } @@ -120,6 +125,11 @@ export default { } ).then(() => { this.$emit("update:modelData", this.visit); + let data = { + StudyId: this.studyData.StudyId || this.studyData.SCPStudyId, + VisitId: this.visit, + }; + this.$emit("putVisit", data); }); } return true; diff --git a/src/views/trials/trials-inspection/components/add-trials-list.vue b/src/views/trials/trials-inspection/components/add-trials-list.vue index bdc3e77..13c64ec 100644 --- a/src/views/trials/trials-inspection/components/add-trials-list.vue +++ b/src/views/trials/trials-inspection/components/add-trials-list.vue @@ -19,13 +19,14 @@ :model="submitMessage" class="demo-form-inline" :rules="rules" - label-width="150px" + label-width="130px" >