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)