diff --git a/src/api/reviewers.js b/src/api/reviewers.js
index 8f160acc..8fa8a272 100644
--- a/src/api/reviewers.js
+++ b/src/api/reviewers.js
@@ -138,13 +138,11 @@ export function addOrUpdateResearchPublication(param) {
})
}
-export function getTrialExperience(doctorId) {
+export function getTrialExperience(data) {
return request({
url: `/trialExperience/getTrialExperience`,
method: 'post',
- data: {
- DoctorId: doctorId
- }
+ data
})
}
diff --git a/src/views/reviewers/components/TrialExperience.vue b/src/views/reviewers/components/TrialExperience.vue
index 6f926892..bf0676b3 100644
--- a/src/views/reviewers/components/TrialExperience.vue
+++ b/src/views/reviewers/components/TrialExperience.vue
@@ -72,7 +72,16 @@
prop="EvaluationContent"
:label="$t('system:TrialExperience:Indication')"
min-width="70"
- />
+ >
+
+
+ {{ scope.row.EvaluationContent }}
+
+
+ {{ $fd('Indication', scope.row.IndicationEnum) }}
+
+
+
-
+
-
+
+
+
+
+
+
-
+
-
-
+
+
+
+
@@ -436,7 +450,6 @@
import BaseModel from '@/components/BaseModel'
import { getBasicDataSelects } from '@/api/dictionary/dictionary'
import {
- getTrialExperience,
addOrUpdateTrialExperience,
deleteTrialExperience,
updateOtherExperience,
@@ -457,6 +470,7 @@ const defaultForm = () => {
EndTime: null,
OtherStages: '',
OtherCriterion: '',
+ IndicationEnum: null,
}
}
const defaultCertificateForm = () => {
@@ -528,6 +542,9 @@ export default {
{ required: true, message: 'Please specify', trigger: 'blur' },
{ max: 300, message: 'The maximum length is 300' },
],
+ IndicationEnum: [
+ { required: true, message: 'Please select', trigger: 'blur' },
+ ],
StartTime: [
{ required: true, message: 'Please specify', trigger: 'blur' },
],
@@ -600,6 +617,11 @@ export default {
this.form.OtherCriterion = null
}
},
+ IndicationEnum_isOther() {
+ if (!this.IndicationEnum_isOther) {
+ this.form.EvaluationContent = null
+ }
+ },
},
computed: {
GCPData() {
@@ -618,6 +640,13 @@ export default {
},
]
},
+ IndicationEnum_isOther() {
+ if (!this.form.IndicationEnum) return false
+ let value = this.$d.Indication.find(
+ (item) => item.value === this.form.IndicationEnum
+ ).label
+ return value === '其它' || value === 'Other'
+ },
Trial_Phase_isOther() {
if (!this.form.PhaseId) return false
let value = this.dictionaryList.Trial_Phase.find(
@@ -633,10 +662,10 @@ export default {
return false
return this.form.EvaluationCriteriaIdList.includes(this.otherId)
},
- ReadingStandard() {
- if (!this.dictionaryList.ReadingStandard) return []
+ CriterionType() {
+ if (!this.dictionaryList.CriterionType) return []
return [
- ...this.dictionaryList.ReadingStandard,
+ ...this.dictionaryList.CriterionType,
{
Id: this.otherId,
Value: 'Other',
@@ -880,7 +909,7 @@ export default {
return arr
},
getDicData() {
- getBasicDataSelects(['Trial_Phase', 'ReadingStandard']).then((res) => {
+ getBasicDataSelects(['Trial_Phase', 'CriterionType']).then((res) => {
this.dictionaryList = { ...res.Result }
})
},