diff --git a/src/views/reviewers/components/TrialExperience.vue b/src/views/reviewers/components/TrialExperience.vue
index bf0676b3..5f761976 100644
--- a/src/views/reviewers/components/TrialExperience.vue
+++ b/src/views/reviewers/components/TrialExperience.vue
@@ -93,15 +93,16 @@
:disabled="$route.query.ReviewStatus === '1'"
@click="handleEdit(scope.row)"
>
- {{ $t('common:button:edit') }}
+ {{ $t('common:button:edit') }}
+
{{ $t('common:button:delete') }}
+ {{ $t('common:button:delete') }}
+
@@ -250,13 +251,33 @@
:min="0"
/>
+
+
+
+
+
+
-
+
{
OtherStages: '',
OtherCriterion: '',
IndicationEnum: null,
+ IndicationTypeId: null,
}
}
export default {
@@ -377,6 +399,17 @@ export default {
}
},
computed: {
+ IndicationOptions() {
+ if (!this.clinicalTrialForm.IndicationTypeId) return []
+ let indicationGrouping = this.$d.IndicationType.filter(
+ (item) => item.id === this.clinicalTrialForm.IndicationTypeId
+ )[0].raw.ChildGroup
+ let arr =
+ this.$d.Indication.filter(
+ (item) => indicationGrouping === item.raw.ChildGroup
+ ) || []
+ return arr
+ },
IndicationEnum_isOther() {
if (!this.clinicalTrialForm.IndicationEnum) return false
let value = this.$d.Indication.find(
@@ -431,7 +464,7 @@ export default {
},
IndicationEnum_isOther() {
if (!this.IndicationEnum_isOther) {
- this.form.EvaluationContent = null
+ this.clinicalTrialForm.EvaluationContent = null
}
},
},
@@ -487,6 +520,8 @@ export default {
VisitReadingCount,
OtherStages,
OtherCriterion,
+ IndicationEnum,
+ IndicationTypeId,
} = row
this.clinicalTrialForm = Object.assign({}, getClinicalTrialDefault())
this.clinicalTrialDialogTitle = 'Edit'
@@ -500,6 +535,8 @@ export default {
this.clinicalTrialForm.EvaluationContent = EvaluationContent
this.clinicalTrialForm.OtherStages = OtherStages
this.clinicalTrialForm.OtherCriterion = OtherCriterion
+ this.clinicalTrialForm.IndicationEnum = IndicationEnum
+ this.clinicalTrialForm.IndicationTypeId = IndicationTypeId
},
handleSave() {
this.$refs.clinicalTrialForm.validate((valid) => {
@@ -583,6 +620,10 @@ export default {
}
})
},
+ handleIndicationTypeChange(val) {
+ this.clinicalTrialForm.EvaluationContent = null
+ this.clinicalTrialForm.IndicationEnum = null
+ },
},
}
diff --git a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue
index 18be2ec1..fd809c46 100644
--- a/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue
+++ b/src/views/reviewers/curriculumVitae/components/info/clinicalTrials.vue
@@ -48,12 +48,14 @@
prop="EvaluationContent"
:label="$t('curriculumVitae:clinicalTrials:table:indication')"
>
-
- {{ scope.row.EvaluationContent }}
-
-
- {{ $fd('Indication', scope.row.IndicationEnum) }}
-
+
+
+ {{ scope.row.EvaluationContent }}
+
+
+ {{ $fd('Indication', scope.row.IndicationEnum) }}
+
+
+
+
+
+
+
+
-
+
{
OtherStages: '',
OtherCriterion: '',
IndicationEnum: null,
+ IndicationTypeId: null,
}
}
const defaultCertificateForm = () => {
@@ -624,6 +647,17 @@ export default {
},
},
computed: {
+ IndicationOptions() {
+ if (!this.form.IndicationTypeId) return []
+ let indicationGrouping = this.$d.IndicationType.filter(
+ (item) => item.id === this.form.IndicationTypeId
+ )[0].raw.ChildGroup
+ let arr =
+ this.$d.Indication.filter(
+ (item) => indicationGrouping === item.raw.ChildGroup
+ ) || []
+ return arr
+ },
GCPData() {
if (!this.DATA) return []
return [
@@ -927,6 +961,10 @@ export default {
this.certificateForm = defaultCertificateForm()
}
},
+ handleIndicationTypeChange(val) {
+ this.form.EvaluationContent = null
+ this.form.IndicationEnum = null
+ },
},
}