From 53f04621086436f709cf7d7047c62bb606e4d1f7 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 18 Nov 2024 17:21:05 +0800 Subject: [PATCH 01/28] =?UTF-8?q?=E7=AE=80=E5=8E=86=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reviewers/ReviewersResearch.vue | 7 ++++++- .../curriculumVitae/components/info/clinicalTrials.vue | 7 +++++++ .../curriculumVitae/components/info/summarize.vue | 7 +++++++ src/views/reviewers/curriculumVitae/index.vue | 7 ++++++- .../attachments/enrollment/components/Selection.vue | 4 ++-- 5 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/views/reviewers/ReviewersResearch.vue b/src/views/reviewers/ReviewersResearch.vue index 3c18be08..e03aaf27 100644 --- a/src/views/reviewers/ReviewersResearch.vue +++ b/src/views/reviewers/ReviewersResearch.vue @@ -226,6 +226,9 @@ export default { emailOrPhone: this.form.EmailOrPhone, verificationCode: this.form.VerificationCode, } + if (this.$route.query.trialId) { + param.TrialId = this.$route.query.trialId + } verifyEmialGetDoctorInfo(param) .then(async (res) => { this.btnLoading = false @@ -242,7 +245,9 @@ export default { res.Result.DoctorId ? res.Result.DoctorId : '' }&tabActive=BasicInfo&ReviewStatus=${ res.Result.ReviewStatus - }&lang=${this.$route.query.lang}`, + }&trialId=${this.$route.query.trialId}&lang=${ + this.$route.query.lang + }`, }) }) .catch(() => { diff --git a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue index fea28d75..26f681fc 100644 --- a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue +++ b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue @@ -525,6 +525,10 @@ export default { } }, }, + trialId: { + type: String, + default: '', + }, reviewerId: { type: String, default: '', @@ -773,6 +777,9 @@ export default { console.log(validate, 'validate') if (!validate) return false this.form.DoctorId = this.reviewerId + if (this.trialId) { + this.form.TrialId = this.trialId + } this.loading = true let res = await addOrUpdateTrialExperience(this.form) this.loading = false diff --git a/src/views/reviewers/curriculumVitae/components/info/summarize.vue b/src/views/reviewers/curriculumVitae/components/info/summarize.vue index 7770dc5b..b7cd23b1 100644 --- a/src/views/reviewers/curriculumVitae/components/info/summarize.vue +++ b/src/views/reviewers/curriculumVitae/components/info/summarize.vue @@ -92,6 +92,10 @@ export default { type: String, default: '', }, + trialId: { + type: String, + default: '', + }, isEN: { type: Boolean, default: false, @@ -132,6 +136,9 @@ export default { if (this.reviewerId) { this.form.Id = this.reviewerId } + if (this.trialId) { + this.form.trialId = this.trialId + } this.loading = true let res = await updateGneralSituation(this.form) this.loading = false diff --git a/src/views/reviewers/curriculumVitae/index.vue b/src/views/reviewers/curriculumVitae/index.vue index 78aae7ae..e6437aa6 100644 --- a/src/views/reviewers/curriculumVitae/index.vue +++ b/src/views/reviewers/curriculumVitae/index.vue @@ -78,6 +78,7 @@ ...reviewerData.SummarizeInfo, }" :reviewerId.sync="reviewerId" + :trialId="trialId" :isEN="isEN" @getInfo="getDetail" /> @@ -121,6 +122,7 @@ :DATA="{ ...reviewerData.TrialExperienceView }" :isEN="isEN" :reviewerId.sync="reviewerId" + :trialId="trialId" @getInfo="getDetail" /> @@ -223,6 +225,7 @@ export default { visible: false, loading: false, reviewerId: null, + trialId: null, reviewerData: { BasicInfoView: {}, EmploymentView: {}, @@ -251,6 +254,7 @@ export default { }, async created() { this.$i18n.locale = this.$route.query.lang + this.trialId = this.$route.query.trialId await this.setLanguage(this.$route.query.lang) if (sessionStorage.getItem('reviewerId')) { this.reviewerId = sessionStorage.getItem('reviewerId') @@ -277,8 +281,9 @@ export default { async getDetail() { try { let id = this.reviewerId + let trialId = this.trialId this.loading = true - let res = await getDetail(id) + let res = await getDetail(id, trialId) this.loading = false if (res.IsSuccess) { this.reviewerData = res.Result diff --git a/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue b/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue index e20f2886..8bdb8c40 100644 --- a/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue +++ b/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue @@ -484,7 +484,7 @@ export default { }, // 简历采集 resumeCollection() { - this.shareLink = `${location.protocol}//${location.host}/ReviewersResearch?lang=${this.$store.getters.language}` + this.shareLink = `${location.protocol}//${location.host}/ReviewersResearch?lang=${this.$store.getters.language}&trialId=${this.$route.query.trialId}` this.email = null this.share_model.visible = true }, @@ -497,7 +497,7 @@ export default { this.emailLoading = true let res = await doctorSendEmail({ Email: this.email, - Url: `ReviewersResearch?lang=${this.$store.getters.language}`, + Url: `ReviewersResearch?lang=${this.$store.getters.language}&trialId=${this.$route.query.trialId}`, }) this.emailLoading = false if (res.IsSuccess) { From 174f4b0c4b587e11680a1f8d2ee9d73499707e1c Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 18 Nov 2024 17:57:20 +0800 Subject: [PATCH 02/28] =?UTF-8?q?=E8=B6=85=E9=95=BF=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/info/clinicalTrials.vue | 1 + .../curriculumVitae/components/info/other.vue | 1 + .../info/scientificResearchProject.vue | 1 + .../components/info/treatise.vue | 1 + .../reviewers/curriculumVitae/preview.vue | 18 ++++++++++-------- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue index 26f681fc..d7d3e92c 100644 --- a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue +++ b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue @@ -999,6 +999,7 @@ export default { background-color: #eee; padding: 10px; line-height: 30px; + word-wrap: break-word; border-radius: 5px; } } diff --git a/src/views/reviewers/curriculumVitae/components/info/other.vue b/src/views/reviewers/curriculumVitae/components/info/other.vue index f884e43f..ca22f568 100644 --- a/src/views/reviewers/curriculumVitae/components/info/other.vue +++ b/src/views/reviewers/curriculumVitae/components/info/other.vue @@ -163,6 +163,7 @@ export default { padding: 10px; line-height: 30px; border-radius: 5px; + word-wrap: break-word; } } .el-select, diff --git a/src/views/reviewers/curriculumVitae/components/info/scientificResearchProject.vue b/src/views/reviewers/curriculumVitae/components/info/scientificResearchProject.vue index d585f58c..53e9ab20 100644 --- a/src/views/reviewers/curriculumVitae/components/info/scientificResearchProject.vue +++ b/src/views/reviewers/curriculumVitae/components/info/scientificResearchProject.vue @@ -221,6 +221,7 @@ export default { padding: 10px; line-height: 30px; border-radius: 5px; + word-wrap: break-word; } } .el-select, diff --git a/src/views/reviewers/curriculumVitae/components/info/treatise.vue b/src/views/reviewers/curriculumVitae/components/info/treatise.vue index 73a33394..f0f663b6 100644 --- a/src/views/reviewers/curriculumVitae/components/info/treatise.vue +++ b/src/views/reviewers/curriculumVitae/components/info/treatise.vue @@ -156,5 +156,6 @@ export default { line-height: 30px; border-radius: 5px; white-space: pre-wrap; + word-wrap: break-word; } \ No newline at end of file diff --git a/src/views/reviewers/curriculumVitae/preview.vue b/src/views/reviewers/curriculumVitae/preview.vue index ac510f20..33ee5cd6 100644 --- a/src/views/reviewers/curriculumVitae/preview.vue +++ b/src/views/reviewers/curriculumVitae/preview.vue @@ -305,20 +305,20 @@ - {{ + {{ reviewerData.ResearchPublicationView.Research }} - {{ + {{ reviewerData.ResearchPublicationView.ResearchCN }} - {{ + {{ reviewerData.ResearchPublicationView.Grants }} - {{ + {{ reviewerData.ResearchPublicationView.GrantsCN }} @@ -446,7 +446,7 @@ reviewerData.TrialExperienceView.OtherClinicalExperienceCN " > -
+
{{ isEN ? reviewerData.TrialExperienceView.OtherClinicalExperience @@ -461,7 +461,7 @@ >
{{ $t('curriculumVitae:treatise:title') }}
@@ -469,7 +469,7 @@
- - - + + + - + - + - + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + @@ -68,7 +148,7 @@ --> - + + + + - - - + + + - + - + {{ $t('common:button:search') }} - + {{ $t('common:button:reset') }} - + {{ $t('common:button:export') }} @@ -116,7 +222,7 @@ From f8ddeb311c6e92794684e5e92374e46b84f5d35d Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 19 Nov 2024 15:16:00 +0800 Subject: [PATCH 04/28] =?UTF-8?q?=E7=AE=80=E5=8E=86=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E9=99=90=E5=88=B6=E3=80=81=E9=83=A8=E5=88=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BaseModel/index.vue | 12 +- src/permission.js | 1 - src/views/reviewers/components/Agreements.vue | 8 + src/views/reviewers/components/BasicInfo.vue | 45 +++++- .../components/EducationTraining.vue | 151 ++++++++++++++++-- src/views/reviewers/components/Employment.vue | 64 +++++++- .../reviewers/components/GcpCertificate.vue | 16 +- src/views/reviewers/components/Pay.vue | 64 +++++++- .../components/ResearchPublication.vue | 59 +++++++ src/views/reviewers/components/Setting.vue | 41 ++++- src/views/reviewers/components/Specialty.vue | 46 +++++- src/views/reviewers/components/Summarize.vue | 23 ++- .../reviewers/components/TrialExperience.vue | 24 ++- .../components/info/clinicalTrials.vue | 51 +++++- .../components/info/continuingTraining.vue | 44 ++++- .../components/info/educationalExperience.vue | 56 ++++++- .../curriculumVitae/components/info/info.vue | 125 +++++++++++++-- .../curriculumVitae/components/info/other.vue | 25 ++- .../curriculumVitae/components/info/pay.vue | 40 ++++- .../info/scientificResearchProject.vue | 43 ++++- .../components/info/specialty.vue | 44 ++++- .../components/info/summarize.vue | 25 ++- .../components/info/treatise.vue | 15 +- src/views/reviewers/curriculumVitae/index.vue | 6 +- .../reviewers/curriculumVitae/preview.vue | 75 +++++---- src/views/reviewers/index.vue | 6 +- .../enrollment/components/Selection.vue | 6 +- 27 files changed, 971 insertions(+), 144 deletions(-) diff --git a/src/components/BaseModel/index.vue b/src/components/BaseModel/index.vue index d8d55449..66e8f250 100644 --- a/src/components/BaseModel/index.vue +++ b/src/components/BaseModel/index.vue @@ -8,6 +8,7 @@ :visible.sync="config.visible" :close-on-click-modal="false" :show-close="config.showClose" + :top="config.top" :width="config.width" :fullscreen="config.fullscreen" > @@ -22,24 +23,25 @@ \ No newline at end of file diff --git a/src/views/reviewers/curriculumVitae/index.vue b/src/views/reviewers/curriculumVitae/index.vue index 09bfc018..a7e70e6b 100644 --- a/src/views/reviewers/curriculumVitae/index.vue +++ b/src/views/reviewers/curriculumVitae/index.vue @@ -47,6 +47,9 @@
{{ $t('curriculumVitae:content:title') }}
+ + {{ $t('curriculumVitae:button:seeting') }} + {{ $t('curriculumVitae:button:holiday') }} @@ -165,6 +168,7 @@ @@ -180,6 +184,11 @@ :reviewerId.sync="reviewerId" :visible.sync="holidayVisible" /> +
From b2f0923df252a1dfaf30cef8f0246562ebc4ef5d Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 20 Nov 2024 15:34:17 +0800 Subject: [PATCH 07/28] =?UTF-8?q?=E7=AE=80=E5=8E=86=E5=A1=AB=E5=86=99?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/info/clinicalTrials.vue | 15 +- .../components/info/continuingTraining.vue | 186 +++++++------ .../components/info/educationalExperience.vue | 253 ++++++++---------- .../curriculumVitae/components/info/info.vue | 11 +- .../curriculumVitae/components/info/other.vue | 9 +- .../info/scientificResearchProject.vue | 18 +- .../components/info/summarize.vue | 7 +- 7 files changed, 255 insertions(+), 244 deletions(-) diff --git a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue index 163e022f..302ea51c 100644 --- a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue +++ b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue @@ -430,18 +430,19 @@ v-loading="loading" :model="otherForm" :rules="otherRules" - label-width="100px" + label-width="120px" size="small" > - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -148,6 +148,7 @@ prop="TrialSiteCode" :label="$t('trials:researchRecord:table:siteId')" min-width="100" + sortable="custom" show-overflow-tooltip /> @@ -189,7 +190,7 @@ {{ scope.row.PreliminaryUser ? scope.row.PreliminaryUser.RealName - : "" + : '' }} @@ -201,7 +202,7 @@ show-overflow-tooltip > @@ -213,16 +214,16 @@ > @@ -235,10 +236,10 @@ > @@ -248,6 +249,7 @@ :label="$t('trials:researchRecord:table:updateTime')" min-width="150" show-overflow-tooltip + sortable="custom" /> @@ -408,9 +451,8 @@ import store from '@/store' import { mapGetters } from 'vuex' import { getSelectionReviewerList, selectReviewers } from '@/api/trials' import BaseModel from '@/components/BaseModel' -import reviewerAdd from '@/views/reviewers/new' -import reviewerEdit from '@/views/reviewers/edit' -import { doctorSendEmail } from '@/api/reviewers' +import curriculumVitae from '@/views/reviewers/curriculumVitae' +import { doctorSendEmail, useEmialGetDoctorInfo } from '@/api/reviewers' const getListQueryDefault = () => { return { TrialId: '', @@ -435,8 +477,7 @@ export default { BaseContainer, Pagination, BaseModel, - reviewerAdd, - reviewerEdit, + curriculumVitae, }, dicts: ['ReadingType', 'Subspeciality', 'Position', 'Rank'], data() { @@ -456,10 +497,33 @@ export default { }, shareLink: null, email: null, - emailLoading: false, visible: false, - resumeType: 'add', reviewerId: null, + + emailVisible: false, + emailLoading: false, + emailForm: { + EmailOrPhone: null, + }, + emailRule: { + EmailOrPhone: [ + { + required: true, + message: this.$t('passwordReset:formRule:email'), + trigger: 'blur', + }, + { + type: 'email', + message: this.$t('rules:email'), + trigger: 'blur,change', + }, + { + max: 400, + message: this.$t('form:rules:maxLength:400'), + trigger: 'blur', + }, + ], + }, } }, computed: { @@ -469,6 +533,31 @@ export default { this.initPage() }, methods: { + handleCancle() { + Object.keys(this.emailForm).forEach((key) => { + this.emailForm[key] = null + }) + this.emailVisible = false + }, + async handleSave() { + try { + let validate = await this.$refs.emailForm.validate() + if (!validate) return false + this.emailLoading = true + this.emailForm.trialId = this.$route.query.trialId + let res = await useEmialGetDoctorInfo(this.emailForm) + this.emailLoading = false + if (res.IsSuccess) { + this.handleCancle() + sessionStorage.setItem('reviewerId', res.Result.DoctorId) + zzSessionStorage.setItem('trialId', this.$route.query.trialId) + this.visible = true + } + } catch (err) { + this.emailLoading = false + console.log(err) + } + }, copyCode() { this.$copyText( `${this.$t('reviewers-list:button:copyCode')}: ${this.shareLink}` @@ -494,13 +583,19 @@ export default { }, // 发送邮件 async sendEmail() { - var pattern = - /^([A-Za-z0-9_\-\.\u4e00-\u9fa5])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,8})$/ - if (!pattern.test(this.email)) - return this.$message.warning(this.$t('rules:email')) + let emailList = this.email.split('|') + let isError = false + emailList.forEach((item) => { + var pattern = + /^([A-Za-z0-9_\-\.\u4e00-\u9fa5])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,8})$/ + if (!pattern.test(item)) { + isError = true + } + }) + if (isError) return this.$message.warning(this.$t('rules:email')) this.emailLoading = true let res = await doctorSendEmail({ - Email: this.email, + Email: emailList, Url: `ReviewersResearch?lang=${this.$store.getters.language}&trialId=${this.$route.query.trialId}`, }) this.emailLoading = false @@ -513,10 +608,13 @@ export default { }, // 打开新增或修改简历弹框 openViewer(type, row) { - this.resumeType = type - if (row) { - this.reviewerId = row.Id + if (type === 'add') { + return (this.emailVisible = true) } + if (row) { + sessionStorage.setItem('reviewerId', row.Id) + } + zzSessionStorage.setItem('trialId', this.$route.query.trialId) this.visible = true }, go(path) { From 30ee433de38e8e3e7a47393d0534fddacdb0d824 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 21 Nov 2024 16:50:18 +0800 Subject: [PATCH 11/28] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E7=AE=80=E5=8E=86?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E7=9B=B2=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/enrolled-reviewers/resume/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue b/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue index 3c245266..26f1e8d1 100644 --- a/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue +++ b/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue @@ -24,6 +24,7 @@ export default { isInit: false, reviewerId: '', trialId: null, + isAll: true, } }, created() { @@ -34,11 +35,12 @@ export default { isEN() { return this.$i18n.locale !== 'zh' }, - isAll() { - return this.hasPermi(['role:pm', 'role:admin', 'role:apm', 'role:ir']) - }, + // isAll() { + // return this.hasPermi(['role:pm', 'role:admin', 'role:apm', 'role:ir']) + // }, }, mounted() { + this.isAll = this.$route.query.blindState !== '0' const token = getQueryString('token') if (token) { store.dispatch('user/setToken', token) From 0b09bcb702d2f4b632bb10fed5fce8cfd1c3b4df Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 21 Nov 2024 16:55:21 +0800 Subject: [PATCH 12/28] 1 --- .../trials/trials-panel/enrolled-reviewers/resume/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue b/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue index 26f1e8d1..6883faf6 100644 --- a/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue +++ b/src/views/trials/trials-panel/enrolled-reviewers/resume/index.vue @@ -40,7 +40,7 @@ export default { // }, }, mounted() { - this.isAll = this.$route.query.blindState !== '0' + this.isAll = !this.$route.query.blindState const token = getQueryString('token') if (token) { store.dispatch('user/setToken', token) From d82e009206ed002e35333dfb57c6be4a76b880b7 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 21 Nov 2024 17:19:41 +0800 Subject: [PATCH 13/28] =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../attachments/site-research/index.vue | 4 + .../reading/read-task-allocation/index.vue | 4 + .../email-manage/components/EmailList.vue | 6 +- .../visit/consistency-check/index.vue | 1 + .../trials-panel/visit/crc-question/index.vue | 163 ++++----- .../trials-panel/visit/qc-question/index.vue | 339 +++++++++++++----- 6 files changed, 340 insertions(+), 177 deletions(-) diff --git a/src/views/trials/trials-panel/attachments/site-research/index.vue b/src/views/trials/trials-panel/attachments/site-research/index.vue index 1ac34f64..7b665215 100644 --- a/src/views/trials/trials-panel/attachments/site-research/index.vue +++ b/src/views/trials/trials-panel/attachments/site-research/index.vue @@ -156,6 +156,7 @@ prop="SiteName" :label="$t('trials:researchRecord:table:siteName')" min-width="100" + sortable="custom" show-overflow-tooltip /> @@ -163,6 +164,7 @@ prop="UserName" :label="$t('trials:researchRecord:table:contactor')" min-width="100" + sortable="custom" show-overflow-tooltip /> @@ -210,6 +212,7 @@ prop="State" :label="$t('trials:researchRecord:table:status')" min-width="150" + sortable="custom" show-overflow-tooltip > - + diff --git a/src/views/trials/trials-panel/visit/crc-upload/index.vue b/src/views/trials/trials-panel/visit/crc-upload/index.vue index b3fd41fd..8f3c6ae1 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/index.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/index.vue @@ -1085,6 +1085,7 @@ @@ -1496,6 +1497,7 @@ import { cRCCancelConfirmClinical, getClinicalTableList, getClinicalDateList, + getVisitClinicalDataName, } from '@/api/trials' import { cRCRequestToQC } from '@/api/trials/visit' import { cRCVisitList_Export } from '@/api/export' @@ -1578,6 +1580,7 @@ export default { selectArr: [], signVisible: false, signCode: null, + signReplaceText: null, currentUser: zzSessionStorage.getItem('userName'), pickerOption: { disabledDate: (time) => { @@ -1970,9 +1973,17 @@ export default { .then(() => { if (this.rowData.IsBaseLine) { if (this.otherInfo.ClinicalInformationTransmissionEnum > 0) { - const { ClinicalDataConfirmation } = const_.processSignature - this.signCode = ClinicalDataConfirmation - this.signVisible = true + getVisitClinicalDataName({ id: this.rowData.Id }) + .then((res) => { + this.signReplaceText = res.Result.ClinicalDataName + const { ClinicalDataConfirmation } = + const_.processSignature + this.signCode = ClinicalDataConfirmation + this.signVisible = true + }) + .catch((err) => { + console.log(err) + }) } else { this.submit() } From 2f875d94c72778b8eee2870b1184259e70ec384a Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 25 Nov 2024 16:00:08 +0800 Subject: [PATCH 27/28] 1 --- .../trials-panel/attachments/enrollment/components/Selection.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue b/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue index 5b20a67f..3b2d03ee 100644 --- a/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue +++ b/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue @@ -330,6 +330,7 @@ :title="$t('common:button:edit')" @click.stop="openViewer('edit', scope.row)" v-hasPermi="['trials:trials-panel:attachments:enrollment:viewer']" + v-if="scope.row.DoctorTrialState !== 1" circle /> From 5784a4eb9317649cf1b1c13636120265a29ec6a8 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 25 Nov 2024 16:39:30 +0800 Subject: [PATCH 28/28] 1 --- .../attachments/enrollment/components/Selection.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue b/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue index 3b2d03ee..3b08fd53 100644 --- a/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue +++ b/src/views/trials/trials-panel/attachments/enrollment/components/Selection.vue @@ -330,7 +330,7 @@ :title="$t('common:button:edit')" @click.stop="openViewer('edit', scope.row)" v-hasPermi="['trials:trials-panel:attachments:enrollment:viewer']" - v-if="scope.row.DoctorTrialState !== 1" + :disabled="scope.row.IsEnroll" circle />