中心调研表格样式问题
continuous-integration/drone/push Build was killed Details

uat_us^2
wangxiaoshuang 2026-08-12 17:41:43 +08:00
parent 9f8cab4e50
commit a13bad3a1f
3 changed files with 67 additions and 161 deletions

View File

@ -3,7 +3,7 @@
<el-table v-loading="loading" :data="tableData" v-adaptive="{ bottomOffset: 40 }" height="100" style="width: 100%">
<el-table-column prop="CreateTime" :label="时间" min-width="120" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.CreateTime ? moment(scope.row.CreateTime).format('YYYY-MM-DD HH:MM:SS') : '' }}
{{ scope.row.CreateTime ? moment(scope.row.CreateTime).format('YYYY-MM-DD HH:mm:ss') : '' }}
</template>
</el-table-column>
<el-table-column prop="Name" label="姓名" min-width="100" show-overflow-tooltip>

View File

@ -74,7 +74,7 @@
</el-table-column>
<!-- 扫描设备 -->
<el-table-column
v-if="equipmentControlFieldList.includes('EquipmentTypeEnum')"
v-show="equipmentControlFieldList.includes('EquipmentTypeEnum')"
prop="EquipmentTypeEnum"
:label="$t('trials:equiptResearch:form:equipment')"
min-width="120"
@ -86,14 +86,14 @@
</el-table-column>
<!-- 扫描参数 -->
<el-table-column
v-if="equipmentControlFieldList.includes('Parameters')"
v-show="equipmentControlFieldList.includes('Parameters')"
prop="Parameters"
:label="$t('trials:equiptResearch:form:param')"
min-width="100"
show-overflow-tooltip />
<!-- 扫描仪器制造商名称 -->
<el-table-column
v-if="equipmentControlFieldList.includes('ManufacturerType')"
v-show="equipmentControlFieldList.includes('ManufacturerType')"
min-width="120"
prop="ManufacturerType"
:label="$t('trials:equiptResearch:form:manufacturer')"
@ -105,14 +105,14 @@
</el-table-column>
<!-- 扫描仪型号 -->
<el-table-column
v-if="equipmentControlFieldList.includes('ScannerType')"
v-show="equipmentControlFieldList.includes('ScannerType')"
min-width="120"
prop="ScannerType"
:label="$t('trials:equiptResearch:form:model')"
show-overflow-tooltip />
<!-- 磁场强度 -->
<el-table-column
v-if="equipmentControlFieldList.includes('MagneticFieldStrengthType')"
v-show="equipmentControlFieldList.includes('MagneticFieldStrengthType')"
min-width="120"
prop="MagneticFieldStrengthType"
:label="$t('trials:equiptResearch:form:MagneticFieldStrengthType')"
@ -123,7 +123,7 @@
</el-table-column>
<!-- 体部线圈通道数 -->
<el-table-column
v-if="equipmentControlFieldList.includes('BodyCoilChannelCount')"
v-show="equipmentControlFieldList.includes('BodyCoilChannelCount')"
min-width="120"
prop="BodyCoilChannelCount"
:label="$t('trials:equiptResearch:form:BodyCoilChannelCount')"
@ -134,7 +134,7 @@
</el-table-column>
<!-- 是否具备专用的PDFF脂肪定量序列CSE-MRI序列 -->
<el-table-column
v-if="equipmentControlFieldList.includes('HasDedicatedPdfFatQuantificationSequence')"
v-show="equipmentControlFieldList.includes('HasDedicatedPdfFatQuantificationSequence')"
min-width="120"
prop="HasDedicatedPdfFatQuantificationSequence"
:label="$t('trials:equiptResearch:form:HasDedicatedPdfFatQuantificationSequence')"
@ -145,7 +145,7 @@
</el-table-column>
<!-- 专用的PDFF脂肪定量序列类型 -->
<el-table-column
v-if="equipmentControlFieldList.includes('PdfFatQuantificationSequenceType')"
v-show="equipmentControlFieldList.includes('PdfFatQuantificationSequenceType')"
min-width="120"
prop="PdfFatQuantificationSequenceType"
:label="$t('trials:equiptResearch:form:PdfFatQuantificationSequenceType')"
@ -157,7 +157,7 @@
</el-table-column>
<!-- 是否包含 T2/R2 校正用于铁沉积校正 -->
<el-table-column
v-if="equipmentControlFieldList.includes('HasT2R2Correction')"
v-show="equipmentControlFieldList.includes('HasT2R2Correction')"
min-width="120"
prop="HasT2R2Correction"
:label="$t('trials:equiptResearch:form:HasT2R2Correction')"
@ -168,7 +168,7 @@
</el-table-column>
<!-- 是否可完整导出 PDFF 参数图及全部原始 DICOM 数据 -->
<el-table-column
v-if="equipmentControlFieldList.includes('CanFullyExportPdfParameterMapsAndRawDicom')"
v-show="equipmentControlFieldList.includes('CanFullyExportPdfParameterMapsAndRawDicom')"
prop="CanFullyExportPdfParameterMapsAndRawDicom"
:label="$t('trials:equiptResearch:form:CanFullyExportPdfParameterMapsAndRawDicom')"
min-width="120"
@ -179,7 +179,7 @@
</el-table-column>
<!-- 备注 -->
<el-table-column
v-if="equipmentControlFieldList.includes('Note')"
v-show="equipmentControlFieldList.includes('Note')"
min-width="120"
prop="Note"
:label="$t('trials:equiptResearch:form:precautions')"

View File

@ -6,12 +6,8 @@
<!-- 中心编号 -->
<el-form-item :label="$t('trials:researchStaff:table:siteId')">
<el-select v-model="searchData.TrialSiteId" clearable filterable style="width:120px;">
<el-option
v-for="(item,index) of siteOptions"
:key="index"
:label="item.TrialSiteCode"
:value="item.TrialSiteId"
/>
<el-option v-for="(item, index) of siteOptions" :key="index" :label="item.TrialSiteCode"
:value="item.TrialSiteId" />
</el-select>
</el-form-item>
<!-- 中心名称 -->
@ -32,11 +28,7 @@
</el-form-item>
<!-- 导出 -->
<el-form-item>
<el-button
type="primary"
icon="el-icon-download"
:disabled="list.length === 0"
>
<el-button type="primary" icon="el-icon-download" :disabled="list.length === 0">
{{ $t('common:button:export') }}
</el-button>
</el-form-item>
@ -44,17 +36,10 @@
</template>
<template slot="main-container">
<el-table
ref="list"
v-loading="loading"
v-adaptive="{ bottomOffset: 55 }"
:data="list"
stripe
height="100"
@sort-change="handleSortByColumn"
>
<el-table ref="list" v-loading="loading" v-adaptive="{ bottomOffset: 55 }" :data="list" stripe height="100"
@sort-change="handleSortByColumn">
<el-table-column type="index" width="50" />
<!-- 项目编号 -->
<!-- <el-table-column
prop="TrialCode"
@ -87,121 +72,68 @@
sortable="custom"
min-width="100"
/> -->
<!-- 适应症类型 -->
<!-- <el-table-column
<!-- 适应症类型 -->
<!-- <el-table-column
prop="IndicationType"
:label="$t('trials:researchForm:form:decleareType')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/> -->
<!-- 中心编号 -->
<el-table-column
prop="TrialSiteCode"
:label="$t('trials:researchStaff:table:siteId')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/>
<el-table-column prop="TrialSiteCode" :label="$t('trials:researchStaff:table:siteId')" show-overflow-tooltip
sortable="custom" min-width="100" />
<!-- 中心名称 -->
<el-table-column
prop="SiteName"
:label="$t('trials:researchStaff:table:siteName')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/>
<el-table-column prop="SiteName" :label="$t('trials:researchStaff:table:siteName')" show-overflow-tooltip
sortable="custom" min-width="100" />
<!-- 联系人 -->
<el-table-column
prop="UserName"
:label="$t('trials:researchForm:form:contactor')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/>
<el-table-column prop="UserName" :label="$t('trials:researchForm:form:contactor')" show-overflow-tooltip
sortable="custom" min-width="100" />
<!-- 联系电话 -->
<el-table-column
prop="Phone"
:label="$t('trials:researchForm:form:contactorPhone')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/>
<el-table-column prop="Phone" :label="$t('trials:researchForm:form:contactorPhone')" show-overflow-tooltip
sortable="custom" min-width="100" />
<!-- 联系邮箱 -->
<el-table-column
prop="Email"
:label="$t('trials:researchForm:form:contactorEmail')"
show-overflow-tooltip
sortable="custom"
min-width="100"
/>
<el-table-column
v-if="otherInfo.IsSupportUploadFile"
prop="SiteSurveyFile.FileName"
:label="$t('trials:researchForm:form:contactorEmail')"
show-overflow-tooltip
min-width="100"
>
<el-table-column prop="Email" :label="$t('trials:researchForm:form:contactorEmail')" show-overflow-tooltip
sortable="custom" min-width="100" />
<el-table-column v-show="otherInfo.IsSupportUploadFile" prop="SiteSurveyFile.FileName"
:label="$t('trials:researchForm:form:contactorEmail')" show-overflow-tooltip min-width="100">
<template slot-scope="scope">
<el-button v-if="scope.row.SiteSurveyFile.FileName" type="text" @click="viewFile(scope.row.SiteSurveyFile)">
<el-button v-if="scope.row.SiteSurveyFile && scope.row.SiteSurveyFile.FileName" type="text"
@click="viewFile(scope.row.SiteSurveyFile)">
{{ scope.row.SiteSurveyFile.FileName }}
</el-button>
</template>
</el-table-column>
<!-- 平均刻盘周期 -->
<el-table-column
v-if="!notShowFieldList.includes('AverageEngravingCycle')"
prop="AverageEngravingCycle"
:label="$t('trials:researchForm:form:engravingCycle')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('AverageEngravingCycle')" prop="AverageEngravingCycle"
:label="$t('trials:researchForm:form:engravingCycle')" show-overflow-tooltip />
<!-- MRI-PDFF 是否为本中心该适应症的常规诊疗检查项目 -->
<el-table-column
v-if="!notShowFieldList.includes('IsRoutineMRIPDEE')"
prop="IsRoutineMRIPDEE"
:label="$t('trials:researchForm:form:IsRoutineMRIPDEE')"
show-overflow-tooltip
>
<el-table-column v-show="!notShowFieldList.includes('IsRoutineMRIPDEE')" prop="IsRoutineMRIPDEE"
:label="$t('trials:researchForm:form:IsRoutineMRIPDEE')" show-overflow-tooltip>
<template slot-scope="scope">
{{ $fd('YesOrNo', scope.row.IsRoutineMRIPDEE) }}
</template>
</el-table-column>
<!-- MRI-PDFF 检查的检测周期含单次检查时长预约等待时长等 -->
<el-table-column
v-if="!notShowFieldList.includes('MRIPDFFScanTime') || !notShowFieldList.includes('MRIPDFFLeadTime') || !notShowFieldList.includes('MRIPDFFOther')"
:label="$t('trials:researchForm:form:IsRoutineMRIPDEE')"
>
v-show="!notShowFieldList.includes('MRIPDFFScanTime') || !notShowFieldList.includes('MRIPDFFLeadTime') || !notShowFieldList.includes('MRIPDFFOther')"
:label="$t('trials:researchForm:form:IsRoutineMRIPDEE')">
<!-- 单次检查时长分钟 -->
<el-table-column
v-if="!notShowFieldList.includes('MRIPDFFScanTime')"
prop="MRIPDFFScanTime"
:label="$t('trials:researchForm:form:MRIPDFFScanTime')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('MRIPDFFScanTime')" prop="MRIPDFFScanTime"
:label="$t('trials:researchForm:form:MRIPDFFScanTime')" show-overflow-tooltip />
<!-- 平均预约等待时长 -->
<el-table-column
v-if="!notShowFieldList.includes('MRIPDFFLeadTime')"
prop="MRIPDFFLeadTime"
:label="$t('trials:researchForm:form:MRIPDFFLeadTime')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('MRIPDFFLeadTime')" prop="MRIPDFFLeadTime"
:label="$t('trials:researchForm:form:MRIPDFFLeadTime')" show-overflow-tooltip />
<!-- 特殊情况备注-->
<el-table-column
v-if="!notShowFieldList.includes('MRIPDFFOther')"
prop="MRIPDFFOther"
:label="$t('trials:researchForm:form:MRIPDFFOther')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('MRIPDFFOther')" prop="MRIPDFFOther"
:label="$t('trials:researchForm:form:MRIPDFFOther')" show-overflow-tooltip />
</el-table-column>
<!-- 如已选择研究者评估项目是否会授权影像科老师参与本试验如不单独授权是否可在试验中保持 1-2 名固定技师操作 -->
<el-table-column
v-if="!notShowFieldList.includes('IsAuthorizeRadiologistsParticipate') || !notShowFieldList.includes('AssignFixedTechnologists')"
prop="IsAuthorize"
:label="$t('trials:researchForm:form:IsAuthorize')"
show-overflow-tooltip
>
v-show="!notShowFieldList.includes('IsAuthorizeRadiologistsParticipate') || !notShowFieldList.includes('AssignFixedTechnologists')"
prop="IsAuthorize" :label="$t('trials:researchForm:form:IsAuthorize')" show-overflow-tooltip>
<template slot-scope="scope">
<span v-if="scope.row.IsAuthorizeRadiologistsParticipate">
{{ $t('trials:researchForm:form:IsAuthorizeRadiologistsParticipate') }}
@ -212,70 +144,44 @@
</template>
</el-table-column>
<!-- 请确认参与本项目影像采集的影像技师具备对应的资质技师证对应设备的大型设备上岗证 -->
<el-table-column
v-if="!notShowFieldList.includes('IsConfirmImagingTechnologist')"
prop="IsConfirmImagingTechnologist"
:label="$t('trials:researchForm:form:isQualified')"
show-overflow-tooltip
>
<el-table-column v-show="!notShowFieldList.includes('IsConfirmImagingTechnologist')"
prop="IsConfirmImagingTechnologist" :label="$t('trials:researchForm:form:isQualified')" show-overflow-tooltip>
<template slot-scope="scope">
{{ $fd('YesOrNo', scope.row.IsConfirmImagingTechnologist) }}
</template>
</el-table-column>
<!-- 原因 -->
<el-table-column
v-if="!notShowFieldList.includes('NotConfirmReson')"
prop="NotConfirmReson"
:label="$t('trials:researchForm:form:notQualifiedReason')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('NotConfirmReson')" prop="NotConfirmReson"
:label="$t('trials:researchForm:form:notQualifiedReason')" show-overflow-tooltip />
<!-- 研究单位疗效评估人员类型 -->
<el-table-column
v-if="!notShowFieldList.includes('EfficacyEvaluatorType')"
prop="EfficacyEvaluatorType"
:label="$t('trials:researchForm:form:staffType')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('EfficacyEvaluatorType')" prop="EfficacyEvaluatorType"
:label="$t('trials:researchForm:form:staffType')" show-overflow-tooltip />
<!-- 是否严格按照研究单位影像手册参数完成图像采集 -->
<el-table-column
v-if="!notShowFieldList.includes('IsFollowStudyParameters')"
prop="IsFollowStudyParameters"
:label="$t('trials:researchForm:form:isFollowStudyParam')"
show-overflow-tooltip
>
<el-table-column v-show="!notShowFieldList.includes('IsFollowStudyParameters')" prop="IsFollowStudyParameters"
:label="$t('trials:researchForm:form:isFollowStudyParam')" show-overflow-tooltip>
<template slot-scope="scope">
{{ $fd('YesOrNo', scope.row.IsFollowStudyParameters) }}
</template>
</el-table-column>
<!-- 不能严格按照研究单位影像手册参数采集图像原因 -->
<el-table-column
v-if="!notShowFieldList.includes('NotFollowReson')"
prop="NotFollowReson"
:label="$t('trials:researchForm:form:notFollowStudyParam')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('NotFollowReson')" prop="NotFollowReson"
:label="$t('trials:researchForm:form:notFollowStudyParam')" show-overflow-tooltip />
<!-- 是否严格按照影像手册参数完成刻盘 -->
<el-table-column
v-if="!notShowFieldList.includes('ISStrictManualBurnFlag')"
prop="ISStrictManualBurnFlag"
:label="$t('trials:researchForm:form:ISStrictManualBurnFlag')"
show-overflow-tooltip
>
<el-table-column v-show="!notShowFieldList.includes('ISStrictManualBurnFlag')" prop="ISStrictManualBurnFlag"
:label="$t('trials:researchForm:form:ISStrictManualBurnFlag')" show-overflow-tooltip>
<template slot-scope="scope">
{{ $fd('YesOrNo', scope.row.ISStrictManualBurnFlag) }}
</template>
</el-table-column>
<!-- 不能严格按照影像手册参数完成刻盘原因 -->
<el-table-column
v-if="!notShowFieldList.includes('NotStrictManualBurnFlagReason')"
prop="NotStrictManualBurnFlagReason"
:label="$t('trials:researchForm:form:NotStrictManualBurnFlagReason')"
show-overflow-tooltip
/>
<el-table-column v-show="!notShowFieldList.includes('NotStrictManualBurnFlagReason')"
prop="NotStrictManualBurnFlagReason" :label="$t('trials:researchForm:form:NotStrictManualBurnFlagReason')"
show-overflow-tooltip />
</el-table>
<!-- 分页组件 -->
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize" @pagination="getList" />
<pagination class="page" :total="total" :page.sync="searchData.PageIndex" :limit.sync="searchData.PageSize"
@pagination="getList" />
</template>
</BaseContainer>
</template>
@ -327,7 +233,7 @@ export default {
this.otherInfo = res.OtherInfo
this.notShowFieldList = res.OtherInfo.NotShowFieldList
}
} catch(e) {
} catch (e) {
console.log(e)
} finally {
this.loading = false