feat: i18n
parent
731bc2ab0f
commit
f2ea548f26
|
@ -42,7 +42,7 @@ function handleAudit(record: Recordable) {
|
||||||
<template v-if="column.key === 'action'">
|
<template v-if="column.key === 'action'">
|
||||||
<TableAction
|
<TableAction
|
||||||
:actions="[
|
:actions="[
|
||||||
{ icon: IconEnum.VIEW, label: '详情', onClick: openDetail.bind(null, record) },
|
{ icon: IconEnum.VIEW, label: t('action.detail'), onClick: openDetail.bind(null, record) },
|
||||||
{ icon: IconEnum.VIEW, label: '流程', onClick: handleAudit.bind(null, record) },
|
{ icon: IconEnum.VIEW, label: '流程', onClick: handleAudit.bind(null, record) },
|
||||||
]"
|
]"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -42,7 +42,7 @@ function handleShowInfo(record: Recordable) {
|
||||||
<TableAction
|
<TableAction
|
||||||
:actions="[
|
:actions="[
|
||||||
{
|
{
|
||||||
label: '详情',
|
label: t('action.detail'),
|
||||||
icon: IconEnum.LOG,
|
icon: IconEnum.LOG,
|
||||||
onClick: handleShowInfo.bind(null, record),
|
onClick: handleShowInfo.bind(null, record),
|
||||||
},
|
},
|
||||||
|
|
|
@ -112,7 +112,7 @@ function handleInfo(record: any) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: IconEnum.LOG,
|
icon: IconEnum.LOG,
|
||||||
label: '详情',
|
label: t('action.detail'),
|
||||||
onClick: handleInfo.bind(null, record),
|
onClick: handleInfo.bind(null, record),
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
|
|
Loading…
Reference in New Issue