From 6a0859aaab8a9c9f922f59a92e3722406ada213b Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 24 Jul 2025 15:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E8=B4=A8=E6=8E=A7=E7=9A=84?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E4=BB=BB=E5=8A=A1=E9=9C=80=E8=A6=81=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=BC=80=E5=85=B3=E5=92=8C=E4=BB=BB=E5=8A=A1=E5=88=86?= =?UTF-8?q?=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trial-config/components/logicalConfig.vue | 36 ++++++++++++++++++- .../qc-check/components/qualityAssurance.vue | 3 ++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue b/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue index dc33f012..a39f344a 100644 --- a/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue +++ b/src/views/trials/trials-panel/setting/trial-config/components/logicalConfig.vue @@ -109,6 +109,25 @@ + + + + + {{ item.label }} + + + + + + + + {{ item.label }} + + +
@@ -507,7 +526,9 @@ export default { TrialObjectNameList: [], TrialObjectNameConfigStr: '', StudyUseModalityList: [], - StudyUseStudyNameList: [] + StudyUseStudyNameList: [], + IsIQCAutoNextTask: false, + IsIQCAutoTaskDistinguishType: false // ClinicalDataSetNames: [], // ClinicalDataTrialSetIds: [], // ClinicalDataSetNamesStr: '' @@ -714,6 +735,9 @@ export default { }, }, methods: { + handleIsIQCAutoNextTaskChange(val) { + if (!val) this.form.IsIQCAutoTaskDistinguishType = false + }, selectableStudyName(row) { let select = this.trialStudyNameList.filter((item) => item.IsChoose) return (!this.form.StudyUseStudyNameList.includes(row.Name) && !this.form.StudyUseStudyNameList.includes(row.EnName)) || (!select.includes(row) && (this.form.StudyUseStudyNameList.includes(row.EnName) || this.form.StudyUseStudyNameList.includes(row.Name))) @@ -1234,6 +1258,16 @@ export default { NewVal: this.form.ChangeDefalutDays, OldVal: this.initialForm.ChangeDefalutDays, }, + { + Name: this.$t('trials:logincCfg:form:IsIQCAutoNextTask'), + NewVal: this.$fd('YesOrNo', this.form.IsIQCAutoNextTask), + OldVal: this.$fd('YesOrNo', this.initialForm.IsIQCAutoNextTask), + }, + { + Name: this.$t('trials:logincCfg:form:IsIQCAutoTaskDistinguishType'), + NewVal: this.$fd('YesOrNo', this.form.IsIQCAutoTaskDistinguishType), + OldVal: this.$fd('YesOrNo', this.initialForm.IsIQCAutoTaskDistinguishType), + }, // { // Name: '临床数据', // NewVal: this.form.ClinicalDataSetNames.join(', '), diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue index 1415839a..05a9ce82 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue @@ -1959,10 +1959,12 @@ export default { this.$emit('getList') return this.getQCInfo() } + if (!this.$store.state.trials.config.IsIQCAutoNextTask) return false this.$forceUpdate() getNextIQCQuality({ trialId: this.trialId, SubjectId: this.data.SubjectId, + SubjectVisitId: this.data.Id }).then((res) => { if (res.Result && res.Result.VisitId) { this.$confirm( @@ -1974,6 +1976,7 @@ export default { collectNextIQCQuality({ trialId: this.trialId, SubjectId: this.data.SubjectId, + SubjectVisitId: this.data.Id }).then((res) => { this.$emit('getList') this.$emit('nextTask', res.Result.VisitId)