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