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

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-07 10:37:24 +08:00
commit 7f462a8b18
2 changed files with 14 additions and 2 deletions

View File

@ -336,7 +336,13 @@ export default {
this.isLook = true this.isLook = true
this.rowData.ReadingQuestionCriterionTrialId = this.trialCriterionId this.rowData.ReadingQuestionCriterionTrialId = this.trialCriterionId
this.rowData.ReadingCriterionPageId = this.readingCriterionPageId 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 this.addOrEdit.visible = true
}, },
handleEdit(row) { handleEdit(row) {

View File

@ -256,7 +256,13 @@ export default {
handleLook(row) { handleLook(row) {
this.rowData = { ...row } this.rowData = { ...row }
this.type = 'look' 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 this.addOrEdit.visible = true
}, },
handleDelete(row) { handleDelete(row) {