diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 171da36f1..c0fb284eb 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -1108,6 +1108,7 @@ "OpenTicket": "Open Ticket", "HandleTicket": "Handle Ticket", "FinishedTicket": "Finished Ticket", + "CheckViewAcceptor": "Click to view the acceptor", "Assignees": "Assignees", "Close": "Close", "OpenStatus":"Open", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index cb10ec4f7..bae80eec8 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -1165,6 +1165,7 @@ "OpenTicket": "ワークオーダーの作成", "HandleTicket": "作業指示の処理", "FinishedTicket": "ワークオーダーの完了", + "CheckViewAcceptor": "クリックして受付人を表示", "IP": "IP", "Hostname": "ホスト名", "Asset": "資産", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 6ac77adc3..1d680c3e0 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -1167,6 +1167,7 @@ "OpenTicket": "创建工单", "HandleTicket": "处理工单", "FinishedTicket": "完成工单", + "CheckViewAcceptor": "点击查看受理人", "IP": "IP", "Hostname": "主机名", "Asset": "资产", diff --git a/src/utils/theme/index.js b/src/utils/theme/index.js index 3b4b182de..02f1bbb85 100644 --- a/src/utils/theme/index.js +++ b/src/utils/theme/index.js @@ -16,14 +16,22 @@ export function changeElementColor(themeColors) { .color-${key}{color: ${value}!important;} .bg-${key}{background-color: ${value}!important;} .border-${key}{border-color: ${value}!important;} - .el-button--${key}.is-disabled, - .el-button--${key}.is-disabled:active, - .el-button--${key}.is-disabled:focus, - .el-button--${key}:hover{ - background-color: ${blendColor}!important; - border-color: ${blendColor}!important; - } ` + if (['primary', 'success', 'info', 'warning', 'danger'].includes(key)) { + colorsCssText = colorsCssText + ` + .el-button--${key}:focus { + background-color: ${value}!important; + border-color: ${value}!important; + } + .el-button--${key}.is-disabled, + .el-button--${key}.is-disabled:active, + .el-button--${key}.is-disabled:focus, + .el-button--${key}:hover{ + background-color: ${blendColor}!important; + border-color: ${blendColor}!important; + } + ` + } } let styleTag = document.getElementById('themeStyle') diff --git a/src/views/tickets/components/Steps.vue b/src/views/tickets/components/Steps.vue index e452a0b0a..379829aaa 100644 --- a/src/views/tickets/components/Steps.vue +++ b/src/views/tickets/components/Steps.vue @@ -19,7 +19,11 @@
{{ `${thisCopy.statusMap[item.state].title}` }}
-
点击查看 受理人
+
+ + {{ $t('tickets.CheckViewAcceptor') }} + +
{{ `${thisCopy.$t('tickets.Assignee')}:${object.rel_snapshot.applicant}` }}
{{ `${thisCopy.$t('common.dateFinished')}: ${toSafeLocalDateStr(item.approval_date)}` }}