-
+
-
+
@@ -29,24 +29,39 @@
label="报表导出配置"
name="reportConfig"
>
-
+
-
-
+ :label="i.TrialReadingCriterionName"
+ :name="i.TrialReadingCriterionId"
+ v-for="i of trialCriterionList"
+ :key="i.TrialReadingCriterionId"
+ >
+
+
+
+
+
+
+
@@ -67,10 +82,11 @@ export default {
return {
loading: false,
trialCriterionList: [],
- trialReadingCriterionId: null,
+ reportCriterionId: null,
trialId: null,
- exportType:'report',
- configTrialReadingCriterionId: ''
+ activeName: 'report',
+ reportConfigCriterionId: '',
+ CDISCCriterionId: ''
}
},
props: {
@@ -91,8 +107,9 @@ export default {
let res = await getTrialCriterionList(this.trialId)
if (res.IsSuccess) {
this.trialCriterionList = res.Result
- this.trialReadingCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
- this.configTrialReadingCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
+ this.reportCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
+ this.reportConfigCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
+ this.CDISCCriterionId = this.trialCriterionList[0].TrialReadingCriterionId
}
} catch(e) {
console.log(e)
diff --git a/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue b/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue
index e70e07bd..dce78339 100644
--- a/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue
+++ b/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue
@@ -10,9 +10,15 @@
default-expand-all
:tree-props="{ children: 'Children', hasChildren: 'hasChildren' }"
>
-
+
-
+
changeState(scope, item.Code)"
@@ -20,6 +26,17 @@
+
+
+
+
+
+
@@ -31,6 +48,10 @@ export default {
trialReadingCriterionId: {
type: String,
required: true
+ },
+ exportType: {
+ type: Number,
+ required: true
}
},
data() {
@@ -60,6 +81,7 @@ export default {
this.loading = true
try {
let params= {
+ exportType: this.exportType,
questionList: [],
tableQuestionList: []
}
@@ -67,7 +89,8 @@ export default {
return {
questionId: i.QuestionId,
tableQuestionId: i.TableQuestionId,
- exportResult: i.ExportResult
+ exportResult: i.ExportResult,
+ CDISCCode: i.CDISCCode
}
})
this.exportInfo.QuestionList.forEach(i => {
@@ -76,6 +99,7 @@ export default {
questionId: i.QuestionId,
tableQuestionId: k.TableQuestionId,
exportResult: k.ExportResult,
+ CDISCCode: k.CDISCCode
}
})
params.tableQuestionList = params.tableQuestionList.concat(childlist)
@@ -92,11 +116,11 @@ export default {
},
// 获取状态
getCheckState(item, code) {
- return item.row.ExportResult.indexOf(code) > -1;
+ return item.row.ExportResult.indexOf(code) > -1
},
// 改变状态
changeState(item, code) {
- item.row.ExportResult.indexOf(code)>-1?item.row.ExportResult.splice(item.row.ExportResult.indexOf(code), 1):item.row.ExportResult.push(code);
+ item.row.ExportResult.indexOf(code) > -1 ? item.row.ExportResult.splice(item.row.ExportResult.indexOf(code), 1) : item.row.ExportResult.push(code);
},
}
}
diff --git a/src/views/trials/trials-panel/reading/reading-tracking/index.vue b/src/views/trials/trials-panel/reading/reading-tracking/index.vue
index be227c2d..d112f98e 100644
--- a/src/views/trials/trials-panel/reading/reading-tracking/index.vue
+++ b/src/views/trials/trials-panel/reading/reading-tracking/index.vue
@@ -837,7 +837,7 @@
:title="$t('trials:reviewTrack:button:export')"
:visible.sync="exportVisible"
:close-on-click-modal="false"
- width="80%"
+ width="60%"
append-to-body>