diff --git a/src/api/trials.js b/src/api/trials.js index 82aa97ba..62f80680 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -357,10 +357,11 @@ export function getSubjectList(param) { }) } -export function getTrialSiteSelect(trialId) { +export function getTrialSiteSelect(trialId, params) { return request({ url: `/trialMaintenance/getTrialSiteSelect/${trialId}`, - method: 'get' + method: 'get', + params }) } diff --git a/src/views/research/components/BaseInfo.vue b/src/views/research/components/BaseInfo.vue index 0624c28f..4b896f15 100644 --- a/src/views/research/components/BaseInfo.vue +++ b/src/views/research/components/BaseInfo.vue @@ -366,7 +366,7 @@ export default { // 初始化 async initForm(trialInfo, trialSiteSurvey, notShowFieldList) { // 获取项目下的site - const { Result } = await getTrialSiteSelect(this.$route.query.trialId) + const { Result } = await getTrialSiteSelect(this.$route.query.trialId, { IgnoreDisable: true }) this.siteOptions = Result this.form.Id = trialSiteSurvey.Id this.form.Sponsor = trialInfo.Sponsor // 申办方