mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 22:36:23 +00:00
fix: 修复工单查看受理人翻译问题、颜色问题;修复button focus状态下颜色问题
This commit is contained in:
@@ -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",
|
||||
|
@@ -1165,6 +1165,7 @@
|
||||
"OpenTicket": "ワークオーダーの作成",
|
||||
"HandleTicket": "作業指示の処理",
|
||||
"FinishedTicket": "ワークオーダーの完了",
|
||||
"CheckViewAcceptor": "クリックして受付人を表示",
|
||||
"IP": "IP",
|
||||
"Hostname": "ホスト名",
|
||||
"Asset": "資産",
|
||||
|
@@ -1167,6 +1167,7 @@
|
||||
"OpenTicket": "创建工单",
|
||||
"HandleTicket": "处理工单",
|
||||
"FinishedTicket": "完成工单",
|
||||
"CheckViewAcceptor": "点击查看受理人",
|
||||
"IP": "IP",
|
||||
"Hostname": "主机名",
|
||||
"Asset": "资产",
|
||||
|
@@ -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')
|
||||
|
@@ -19,7 +19,11 @@
|
||||
<div slot="description">
|
||||
<el-tag size="medium" :type="`${thisCopy.statusMap[item.state].type}`"> {{ `${thisCopy.statusMap[item.state].title}` }} </el-tag>
|
||||
</div>
|
||||
<div slot="description"><el-button type="text" style="color: blue" @click="lookOver(item.assignees_display)">点击查看 受理人</el-button></div>
|
||||
<div slot="description">
|
||||
<el-button type="text" @click="lookOver(item.assignees_display)">
|
||||
{{ $t('tickets.CheckViewAcceptor') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-if="item.state==='closed'" slot="description">
|
||||
<div>{{ `${thisCopy.$t('tickets.Assignee')}:${object.rel_snapshot.applicant}` }}</div>
|
||||
<div>{{ `${thisCopy.$t('common.dateFinished')}: ${toSafeLocalDateStr(item.approval_date)}` }}</div>
|
||||
|
Reference in New Issue
Block a user