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

main
wangxiaoshuang 2025-06-03 13:54:34 +08:00
commit 330b1cf644
2 changed files with 4 additions and 4 deletions

View File

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

View File

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