项目阅片单元配置更改
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-08-07 10:27:32 +08:00
parent 6e72825dff
commit e26d40f885
2 changed files with 14 additions and 2 deletions

View File

@ -336,7 +336,13 @@ export default {
this.isLook = true
this.rowData.ReadingQuestionCriterionTrialId = this.trialCriterionId
this.rowData.ReadingCriterionPageId = this.readingCriterionPageId
this.addOrEdit.title = this.$t('trials:readingUnit:qsList:title:view')// ''
let title = ''
if (this.$i18n.locale === 'zh' && (row.QuestionName || row.GroupName)) {
title =`${row.QuestionName ? row.QuestionName : row.GroupName}`
} else if (this.$i18n.locale === 'en' && (row.QuestionEnName || row.GroupEnName)) {
title =`: ${row.QuestionEnName ? row.QuestionEnName : row.GroupEnName}`
}
this.addOrEdit.title = `${this.$t('trials:readingUnit:qsList:title:view')} ${title} `// ''
this.addOrEdit.visible = true
},
handleEdit(row) {

View File

@ -256,7 +256,13 @@ export default {
handleLook(row) {
this.rowData = { ...row }
this.type = 'look'
this.addOrEdit.title = this.$t('trials:readingPeriod:button:view')
let title = ''
if (this.$i18n.locale === 'zh' && (row.QuestionName || row.GroupName)) {
title =`${row.QuestionName ? row.QuestionName : row.GroupName}`
} else if (this.$i18n.locale === 'en' && (row.QuestionEnName || row.GroupEnName)) {
title =`: ${row.QuestionEnName ? row.QuestionEnName : row.GroupEnName}`
}
this.addOrEdit.title = `${this.$t('trials:readingPeriod:button:view')}${title}`
this.addOrEdit.visible = true
},
handleDelete(row) {