中心调研调整
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-06-14 10:42:52 +08:00
parent d429f00733
commit 16f0d72917
2 changed files with 25 additions and 14 deletions

View File

@ -59,7 +59,7 @@
<el-input-number v-model="form.AverageEngravingCycle" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory" controls-position="right" :min="0" /> <el-input-number v-model="form.AverageEngravingCycle" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory" controls-position="right" :min="0" />
</el-form-item> </el-form-item>
<!-- 请确认参与本项目影像采集的影像技师具备对应的资质技师证对应设备的大型设备上岗证 --> <!-- 请确认参与本项目影像采集的影像技师具备对应的资质技师证对应设备的大型设备上岗证 -->
<el-form-item :label="$t('trials:researchForm:form:isQualified')"> <el-form-item v-if="!notShowFieldList.includes('IsConfirmImagingTechnologist')" :label="$t('trials:researchForm:form:isQualified')">
<el-radio-group v-model="form.IsConfirmImagingTechnologist" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory"> <el-radio-group v-model="form.IsConfirmImagingTechnologist" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory">
<el-radio <el-radio
v-for="item of $d.YesOrNo" v-for="item of $d.YesOrNo"
@ -70,7 +70,7 @@
</el-form-item> </el-form-item>
<!-- 原因 --> <!-- 原因 -->
<el-form-item <el-form-item
v-if="form.IsConfirmImagingTechnologist === false" v-if="!notShowFieldList.includes('NotConfirmReson') && form.IsConfirmImagingTechnologist === false"
:label="$t('trials:researchForm:form:notQualifiedReason')" :label="$t('trials:researchForm:form:notQualifiedReason')"
> >
<el-input <el-input
@ -81,13 +81,13 @@
/> />
</el-form-item> </el-form-item>
<!-- 研究单位疗效评估人员类型 --> <!-- 研究单位疗效评估人员类型 -->
<el-form-item :label="$t('trials:researchForm:form:staffType')"> <el-form-item v-if="!notShowFieldList.includes('EfficacyEvaluatorType')" :label="$t('trials:researchForm:form:staffType')">
<el-radio-group v-model="form.EfficacyEvaluatorType" :disabled="!(state === 0 && userTypeEnumInt === 0)|| isHistory"> <el-radio-group v-model="form.EfficacyEvaluatorType" :disabled="!(state === 0 && userTypeEnumInt === 0)|| isHistory">
<el-radio v-for="item of $d.EfficacyEvaluatorType" :key="`EfficacyEvaluatorType${item.value}`" :label="item.value">{{ item.label }}</el-radio> <el-radio v-for="item of $d.EfficacyEvaluatorType" :key="`EfficacyEvaluatorType${item.value}`" :label="item.value">{{ item.label }}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<!-- 是否严格按照研究单位影像手册参数完成图像采集 --> <!-- 是否严格按照研究单位影像手册参数完成图像采集 -->
<el-form-item> <el-form-item v-if="!notShowFieldList.includes('IsFollowStudyParameters')">
<span slot="label" v-html="$t('trials:researchForm:form:isFollowStudyParam')" /> <span slot="label" v-html="$t('trials:researchForm:form:isFollowStudyParam')" />
<el-radio-group v-model="form.IsFollowStudyParameters" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory"> <el-radio-group v-model="form.IsFollowStudyParameters" :disabled="!(state === 0 && userTypeEnumInt === 0) || isHistory">
<el-radio v-for="item of $d.YesOrNo" :key="`IsFollowStudyParameters${item.value}`" :label="item.value">{{ item.label }}</el-radio> <el-radio v-for="item of $d.YesOrNo" :key="`IsFollowStudyParameters${item.value}`" :label="item.value">{{ item.label }}</el-radio>
@ -95,7 +95,7 @@
</el-form-item> </el-form-item>
<!-- 不能严格按照研究单位影像手册参数采集图像原因 --> <!-- 不能严格按照研究单位影像手册参数采集图像原因 -->
<el-form-item <el-form-item
v-if="!form.IsFollowStudyParameters" v-if="!notShowFieldList.includes('NotFollowReson') && !form.IsFollowStudyParameters"
> >
<span slot="label" v-html="$t('trials:researchForm:form:notFollowStudyParam')" /> <span slot="label" v-html="$t('trials:researchForm:form:notFollowStudyParam')" />
<el-input <el-input
@ -189,7 +189,8 @@ export default {
btnLoading: false, btnLoading: false,
state: null, state: null,
userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1, userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
isShow: false isShow: false,
notShowFieldList: []
} }
}, },
methods: { methods: {
@ -234,7 +235,7 @@ export default {
}, },
// //
async initForm(trialInfo, trialSiteSurvey) { async initForm(trialInfo, trialSiteSurvey, notShowFieldList) {
// site // site
const { Result } = await getTrialSiteSelect(this.$route.query.trialId) const { Result } = await getTrialSiteSelect(this.$route.query.trialId)
this.siteOptions = Result this.siteOptions = Result
@ -258,6 +259,8 @@ export default {
this.form.NotFollowReson = trialSiteSurvey.NotFollowReson this.form.NotFollowReson = trialSiteSurvey.NotFollowReson
this.state = trialSiteSurvey.State this.state = trialSiteSurvey.State
this.isShow = true this.isShow = true
if (!notShowFieldList) return
this.notShowFieldList = notShowFieldList
}, },
handleSiteChange(val) { handleSiteChange(val) {
var selected = this.siteOptions.find(item => item.TrialSiteId === val) var selected = this.siteOptions.find(item => item.TrialSiteId === val)

View File

@ -93,7 +93,11 @@
<el-card shadow="hover" class="mt10"> <el-card shadow="hover" class="mt10">
<!-- 注意事项 --> <!-- 注意事项 -->
<h4>{{ $t('trials:equiptResearch:form:precautions') }}</h4> <h4>{{ $t('trials:equiptResearch:form:precautions') }}</h4>
<ol> <ol v-if="siteSurveyNoteInfo">
<div v-if="$i18n.locale === 'zh'" v-html="siteSurveyNoteInfo.ReplaceContentCN" />
<div v-else v-html="siteSurveyNoteInfo.ReplaceContent" />
</ol>
<ol v-else>
<!-- 只要有可能请确保受试者使用上述指定的扫描仪器采集影像 --> <!-- 只要有可能请确保受试者使用上述指定的扫描仪器采集影像 -->
<li>{{ $t('trials:equiptResearch:form:item1') }}</li> <li>{{ $t('trials:equiptResearch:form:item1') }}</li>
<!-- 请确保对每位受试者的扫描参数在整个研究过程中保持一致 --> <!-- 请确保对每位受试者的扫描参数在整个研究过程中保持一致 -->
@ -203,7 +207,8 @@ export default {
rejectForm: { reason: '' }, rejectForm: { reason: '' },
btnLoading: false, btnLoading: false,
isFullscreen: false, isFullscreen: false,
historyVisible: false historyVisible: false,
siteSurveyNoteInfo: null
} }
}, },
mounted() { mounted() {
@ -221,9 +226,12 @@ export default {
if (res.Result) { if (res.Result) {
// this.trialSiteSurveyEquipmentType = res.Result.TrialInfo.TrialSiteSurveyEquipmentType // this.trialSiteSurveyEquipmentType = res.Result.TrialInfo.TrialSiteSurveyEquipmentType
// this.trialSiteSurveyUserRoles = res.Result.TrialInfo.TrialSiteSurveyUserRoles // this.trialSiteSurveyUserRoles = res.Result.TrialInfo.TrialSiteSurveyUserRoles
if (res.Result.SiteSurveyFiledConfig && res.Result.SiteSurveyFiledConfig.ModifyFiledList.length > 0) {
this.siteSurveyNoteInfo = res.Result.SiteSurveyFiledConfig.ModifyFiledList.find(i => i.NeedModifyFiled === 'SiteSurveyNote')
}
this.state = res.Result.TrialSiteSurvey.State this.state = res.Result.TrialSiteSurvey.State
this.siteId = res.Result.TrialSiteSurvey.TrialSiteId this.siteId = res.Result.TrialSiteSurvey.TrialSiteId
this.$refs['baseResearchInfo'].initForm(res.Result.TrialInfo, res.Result.TrialSiteSurvey) this.$refs['baseResearchInfo'].initForm(res.Result.TrialInfo, res.Result.TrialSiteSurvey, res.Result.SiteSurveyFiledConfig ? res.Result.SiteSurveyFiledConfig.NotShowFieldList : null)
var historicalArr = [] var historicalArr = []
var newArr = [] var newArr = []
res.Result.TrialSiteUserSurveyList.map(i => { res.Result.TrialSiteUserSurveyList.map(i => {
@ -256,7 +264,7 @@ export default {
this.submit(type) this.submit(type)
} }
}, },
submit() { submit(type) {
// //
this.$confirm(this.userTypeEnumInt === 0 ? this.$t('trials:researchForm:message:submitWarning') : this.$t('trials:researchForm:message:submitWarning2'), { this.$confirm(this.userTypeEnumInt === 0 ? this.$t('trials:researchForm:message:submitWarning') : this.$t('trials:researchForm:message:submitWarning2'), {
type: 'warning', type: 'warning',