阅片结果导出配置更改
continuous-integration/drone/push Build is passing Details

main
caiyiling 2025-06-03 11:32:48 +08:00
parent 5386dba134
commit b85853aa5e
2 changed files with 4 additions and 4 deletions

View File

@ -457,7 +457,7 @@ export default {
question: {
type: Object,
default() {
return []
return {}
}
},
criterionId: {

View File

@ -45,7 +45,7 @@
<el-input
v-model="scope.row.CDISCCode"
size="mini"
:disabled="scope.row.HasChildren || scope.row.IsTableQuestion"
:disabled="scope.row.HasChildren || (scope.row.IsTableQuestion && exportInfo.CriterionType !== 0)"
v-show="!scope.row.IsGroup || !scope.row.HasChildren"
>
</el-input>
@ -68,7 +68,7 @@ export default {
data() {
return {
loading: false,
exportInfo: []
exportInfo: {}
}
},
mounted() {
@ -152,7 +152,7 @@ export default {
} else if ((this.exportInfo.CriterionGroup === 0 || this.exportInfo.CriterionType === 0 ) && item.Code === 1 && (row.HasChildren || row.IsTableQuestion)) {
// (1)
return true
} else if (item.Code === 8 && row.HasChildren) {
} else if (item.Code === 8 && (row.HasChildren || (row.IsTableQuestion && this.exportInfo.CriterionType !== 0))) {
// else if (item.Code === 8 && (row.HasChildren || row.IsTableQuestion))
// CDISC
return true