From 4286e9f2fae448c6f8f48cb23ba08326a8c3de6a Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Fri, 26 May 2023 16:26:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=97=E8=AF=95=E8=80=85=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subjectMgt/ecrf/add-or-update.vue | 4 ++-- .../subjectMgt/patient-subject/index.vue | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue index 8fe3c33..9b1d2a7 100644 --- a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue +++ b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/ecrf/add-or-update.vue @@ -84,7 +84,7 @@ export default { this.visible = true this.$nextTick(() => { this.$refs.dataForm.resetFields() - this.dataForm.projectId = window.SITE_CONFIG['projectId'] + this.dataForm.projectId = this.$route.query.projectId if (this.dataForm.id) { this.getInfo() } else { @@ -113,7 +113,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/crf/template', { ...this.dataForm, content: Base64.encode(this.dataForm.content) }).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/project/crf/template', { ...this.dataForm, content: Base64.encode(this.dataForm.content) }).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-subject/index.vue b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-subject/index.vue index b5105f6..8d58b10 100644 --- a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-subject/index.vue +++ b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/patient-subject/index.vue @@ -59,15 +59,15 @@ - - - + + + + + + + + +