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" >
-
-
- - - + + - - - - + + + + + + + {{ $t("trials:selectSubject:button:add") }} + +
+ + {{ + bindPatientTip.map((item) => item.PatientIdStr).join(", ") + }} + +
+
+ + + + \ No newline at end of file diff --git a/src/views/trials/trials-panel/subject/subject-list/index.vue b/src/views/trials/trials-panel/subject/subject-list/index.vue index 8a90acf..1453050 100644 --- a/src/views/trials/trials-panel/subject/subject-list/index.vue +++ b/src/views/trials/trials-panel/subject/subject-list/index.vue @@ -111,6 +111,10 @@ {{ index === scope.row.PatientList.length - 1 @@ -280,10 +284,18 @@ @handleOpenDialog="handleOpenDialog" @getList="getList" /> + +