Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2025-01-06 15:37:00 +08:00
commit be5b9efa7b
3 changed files with 29 additions and 3 deletions

View File

@ -24,6 +24,20 @@
label="CDISC导出" label="CDISC导出"
name="CDISC" name="CDISC"
> >
<el-tabs type="border-card" v-model="CDISCCriterionId">
<el-tab-pane
:label="i.TrialReadingCriterionName"
:name="i.TrialReadingCriterionId"
v-for="i of trialCriterionList"
:key="i.TrialReadingCriterionId"
>
<exportList
v-if="CDISCCriterionId === i.TrialReadingCriterionId && activeName === 'CDISC'"
:trialReadingCriterionId="i.TrialReadingCriterionId"
:data="data"
/>
</el-tab-pane>
</el-tabs>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="报表导出配置" label="报表导出配置"
@ -85,6 +99,7 @@ export default {
reportCriterionId: null, reportCriterionId: null,
trialId: null, trialId: null,
activeName: 'report', activeName: 'report',
CDISCCriterionId:'',
reportConfigCriterionId: '', reportConfigCriterionId: '',
CDISCCriterionId: '' CDISCCriterionId: ''
} }
@ -108,6 +123,7 @@ export default {
if (res.IsSuccess) { if (res.IsSuccess) {
this.trialCriterionList = res.Result this.trialCriterionList = res.Result
this.reportCriterionId = this.trialCriterionList[0].TrialReadingCriterionId this.reportCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
this.CDISCCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
this.reportConfigCriterionId = this.trialCriterionList[0].TrialReadingCriterionId this.reportConfigCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
this.CDISCCriterionId = this.trialCriterionList[0].TrialReadingCriterionId this.CDISCCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
} }

View File

@ -33,7 +33,12 @@
width="500" width="500"
> >
<template v-slot="scope"> <template v-slot="scope">
<el-input v-model="scope.row.CDISCCode" placeholder="CDISC编码"></el-input> <el-input
v-model="scope.row.CDISCCode"
placeholder="CDISC编码"
size="mini"
>
</el-input>
</template> </template>
</el-table-column> </el-table-column>
@ -67,7 +72,12 @@ export default {
async getConfigInfo() { async getConfigInfo() {
try { try {
this.loading = true this.loading = true
let res = await getTrialQuestionExportResult({trialReadingCriterionId: this.trialReadingCriterionId}) let res = await getTrialQuestionExportResult(
{
trialReadingCriterionId: this.trialReadingCriterionId,
exportType: this.exportType
}
)
if (res.IsSuccess) { if (res.IsSuccess) {
this.exportInfo = res.Result this.exportInfo = res.Result
} }

View File

@ -5,7 +5,7 @@
border border
stripe stripe
height="500"> height="500">
<el-table-column label="" :min-width="50"> <el-table-column label="" width="50">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.$index + 1 }} {{ scope.$index + 1 }}
</template> </template>