mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-12 20:05:57 +00:00
Merge pull request #3744 from jumpserver/pr@v4@translate
perf: 修改工作台相关翻译
This commit is contained in:
commit
8a6f0b57d4
@ -56,12 +56,6 @@ export default {
|
|||||||
return <span>{row.job?.name || '-'}</span>
|
return <span>{row.job?.name || '-'}</span>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
material: {
|
|
||||||
width: '160px'
|
|
||||||
},
|
|
||||||
job_type: {
|
|
||||||
width: '96px'
|
|
||||||
},
|
|
||||||
is_finished: {
|
is_finished: {
|
||||||
width: '96px',
|
width: '96px',
|
||||||
formatter: (row) => {
|
formatter: (row) => {
|
||||||
|
@ -53,10 +53,9 @@
|
|||||||
multiple
|
multiple
|
||||||
>
|
>
|
||||||
<i class="el-icon-upload" />
|
<i class="el-icon-upload" />
|
||||||
<div class="el-upload__text">
|
<div class="el-upload__text" style="margin-bottom: 10px">
|
||||||
{{ $t('DragUploadFileInfo') }}
|
{{ $t('DragUploadFileInfo') }}
|
||||||
</div>
|
</div>
|
||||||
<br>
|
|
||||||
<span>
|
<span>
|
||||||
{{ $t('UploadFileLthHelpText', {limit: SizeLimitMb}) }}
|
{{ $t('UploadFileLthHelpText', {limit: SizeLimitMb}) }}
|
||||||
</span>
|
</span>
|
||||||
@ -81,7 +80,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
<b>{{ $tc('Output') }}:</b>
|
<div style="margin-bottom: 5px;font-weight: bold">{{ $tc('Output') }}:</div>
|
||||||
<span v-if="executionInfo.status && summary" style="float: right">
|
<span v-if="executionInfo.status && summary" style="float: right">
|
||||||
<span>
|
<span>
|
||||||
<span><b>{{ $tc('Status') }}: </b></span>
|
<span><b>{{ $tc('Status') }}: </b></span>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
:value.sync="command"
|
:value.sync="command"
|
||||||
style="margin-bottom: 20px"
|
style="margin-bottom: 20px"
|
||||||
/>
|
/>
|
||||||
<b>{{ $tc('Output') }}:</b>
|
<div style="margin-bottom: 5px;font-weight: bold">{{ $tc('Output') }}:</div>
|
||||||
<span v-if="executionInfo.status" style="float: right">
|
<span v-if="executionInfo.status" style="float: right">
|
||||||
<span>
|
<span>
|
||||||
<span><b>{{ $tc('Status') }}: </b></span>
|
<span><b>{{ $tc('Status') }}: </b></span>
|
||||||
|
@ -36,6 +36,7 @@ export default {
|
|||||||
],
|
],
|
||||||
columnsMeta: {
|
columnsMeta: {
|
||||||
name: {
|
name: {
|
||||||
|
width: '140px',
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
can: true
|
can: true
|
||||||
}
|
}
|
||||||
@ -51,19 +52,16 @@ export default {
|
|||||||
},
|
},
|
||||||
summary: {
|
summary: {
|
||||||
label: this.$t('Summary(success/total)'),
|
label: this.$t('Summary(success/total)'),
|
||||||
width: '140px',
|
|
||||||
formatter: (row) => {
|
formatter: (row) => {
|
||||||
return row.summary['success'] + '/' + row.summary['total']
|
return row.summary['success'] + '/' + row.summary['total']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
average_time_cost: {
|
average_time_cost: {
|
||||||
width: '140px',
|
|
||||||
formatter: (row) => {
|
formatter: (row) => {
|
||||||
return row.average_time_cost.toFixed(2) + 's'
|
return row.average_time_cost.toFixed(2) + 's'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
asset_amount: {
|
asset_amount: {
|
||||||
width: '140px',
|
|
||||||
label: this.$t('AssetAmount'),
|
label: this.$t('AssetAmount'),
|
||||||
formatter: (row) => {
|
formatter: (row) => {
|
||||||
return row.assets.length
|
return row.assets.length
|
||||||
|
@ -16,7 +16,7 @@ export default {
|
|||||||
url: '/api/v1/ops/adhocs/',
|
url: '/api/v1/ops/adhocs/',
|
||||||
columnsShow: {
|
columnsShow: {
|
||||||
min: ['name', 'actions'],
|
min: ['name', 'actions'],
|
||||||
default: ['name', 'module', 'comment', 'args', 'comment', 'date_created', 'actions']
|
default: ['name', 'module', 'args', 'comment', 'date_created', 'actions']
|
||||||
},
|
},
|
||||||
columnsMeta: {
|
columnsMeta: {
|
||||||
name: {
|
name: {
|
||||||
|
@ -112,7 +112,7 @@ export default {
|
|||||||
value: this.licenseData.date_expired
|
value: this.licenseData.date_expired
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: this.$t('AssetCount'),
|
key: this.$t('AssetAmount'),
|
||||||
value: this.licenseData.asset_count !== null ? this.licenseData.asset_count + '' : ''
|
value: this.licenseData.asset_count !== null ? this.licenseData.asset_count + '' : ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user