所有页面-创建中英双语对照-优化翻译文档结构
This commit is contained in:
@@ -217,11 +217,11 @@
|
||||
},
|
||||
columnsFactory: () => [
|
||||
{ type: 'selection' },
|
||||
{ prop: 'name', label: 'table.columns.safeguard.tableName' },
|
||||
{ prop: 'comment', label: 'table.columns.safeguard.tableComment' },
|
||||
{ prop: 'engine', label: 'table.columns.safeguard.engine' },
|
||||
{ prop: 'collation', label: 'table.columns.safeguard.collation' },
|
||||
{ prop: 'create_time', label: 'table.columns.common.createTime' }
|
||||
{ prop: 'name', label: 'page.table.tableName' },
|
||||
{ prop: 'comment', label: 'page.table.tableComment' },
|
||||
{ prop: 'engine', label: 'page.table.engine' },
|
||||
{ prop: 'collation', label: 'page.table.collation' },
|
||||
{ prop: 'create_time', label: 'page.table.createTime' }
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
@@ -195,13 +195,13 @@
|
||||
},
|
||||
columnsFactory: () => [
|
||||
{ type: 'selection', width: 50 },
|
||||
{ prop: 'table_name', label: 'table.columns.safeguard.tableName', minWidth: 180, align: 'left' },
|
||||
{ prop: 'table_comment', label: 'table.columns.tool.tableDesc', minWidth: 150, align: 'left' },
|
||||
{ prop: 'template', label: 'table.columns.tool.template', minWidth: 120 },
|
||||
{ prop: 'namespace', label: 'table.columns.tool.namespace', minWidth: 120 },
|
||||
{ prop: 'stub', label: 'table.columns.tool.stub', minWidth: 120 },
|
||||
{ prop: 'tpl_category', label: 'table.columns.tool.tplCategory', minWidth: 120, useSlot: true },
|
||||
{ prop: 'update_time', label: 'table.columns.common.updateTime', width: 180, sortable: true },
|
||||
{ prop: 'table_name', label: 'page.table.tableName', minWidth: 180, align: 'left' },
|
||||
{ prop: 'table_comment', label: 'page.table.tableDesc', minWidth: 150, align: 'left' },
|
||||
{ prop: 'template', label: 'page.table.template', minWidth: 120 },
|
||||
{ prop: 'namespace', label: 'page.table.namespace', minWidth: 120 },
|
||||
{ prop: 'stub', label: 'page.table.stub', minWidth: 120 },
|
||||
{ prop: 'tpl_category', label: 'page.table.tplCategory', minWidth: 120, useSlot: true },
|
||||
{ prop: 'update_time', label: 'page.table.updateTime', width: 180, sortable: true },
|
||||
{ prop: 'operation', label: 'table.actions.operation', width: 220, fixed: 'right', useSlot: true }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
@search="handleSearch"
|
||||
>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.safeguard.tableName')" prop="table_name">
|
||||
<el-input v-model="formData.table_name" :placeholder="$t('table.searchBar.placeholderTableName')" clearable />
|
||||
<el-form-item :label="$t('page.search.tableName')" prop="table_name">
|
||||
<el-input v-model="formData.table_name" :placeholder="$t('page.search.placeholderTableName')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.searchBar.placeholderDataSource')" prop="source">
|
||||
<el-input v-model="formData.source" :placeholder="$t('table.searchBar.placeholderDataSource')" clearable />
|
||||
<el-form-item :label="$t('page.search.placeholderDataSource')" prop="source">
|
||||
<el-input v-model="formData.source" :placeholder="$t('page.search.placeholderDataSource')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</sa-search-bar>
|
||||
|
||||
@@ -115,19 +115,19 @@
|
||||
core: {
|
||||
apiFn: api.list,
|
||||
columnsFactory: () => [
|
||||
{ prop: 'id', label: 'table.columns.common.no', width: 100, align: 'center' },
|
||||
{ prop: 'name', label: 'table.columns.tool.taskName', minWidth: 120 },
|
||||
{ prop: 'id', label: 'page.table.no', width: 100, align: 'center' },
|
||||
{ prop: 'name', label: 'page.table.taskName', minWidth: 120 },
|
||||
{
|
||||
prop: 'type',
|
||||
label: 'table.columns.tool.taskType',
|
||||
label: 'page.table.taskType',
|
||||
saiType: 'dict',
|
||||
saiDict: 'crontab_task_type',
|
||||
minWidth: 120
|
||||
},
|
||||
{ prop: 'rule', label: 'table.columns.tool.rule', minWidth: 140 },
|
||||
{ prop: 'target', label: 'table.columns.safeguard.target', minWidth: 200, showOverflowTooltip: true },
|
||||
{ prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status', width: 100 },
|
||||
{ prop: 'update_time', label: 'table.columns.tool.updateDate', width: 180, sortable: true },
|
||||
{ prop: 'rule', label: 'page.table.rule', minWidth: 140 },
|
||||
{ prop: 'target', label: 'page.table.target', minWidth: 200, showOverflowTooltip: true },
|
||||
{ prop: 'status', label: 'page.table.status', saiType: 'dict', saiDict: 'data_status', width: 100 },
|
||||
{ prop: 'update_time', label: 'page.table.updateDate', width: 180, sortable: true },
|
||||
{ prop: 'operation', label: 'table.actions.operation', width: 180, fixed: 'right', useSlot: true }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -212,10 +212,10 @@
|
||||
},
|
||||
columnsFactory: () => [
|
||||
{ type: 'selection' },
|
||||
{ prop: 'create_time', label: 'table.columns.safeguard.executeTime', sortable: true },
|
||||
{ prop: 'target', label: 'table.columns.safeguard.target' },
|
||||
{ prop: 'parameter', label: 'table.columns.safeguard.parameter' },
|
||||
{ prop: 'status', label: 'table.columns.safeguard.executeStatus', useSlot: true, width: 100 }
|
||||
{ prop: 'create_time', label: 'page.table.executeTime', sortable: true },
|
||||
{ prop: 'target', label: 'page.table.target' },
|
||||
{ prop: 'parameter', label: 'page.table.parameter' },
|
||||
{ prop: 'status', label: 'page.table.executeStatus', useSlot: true, width: 100 }
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
@@ -9,18 +9,18 @@
|
||||
@expand="handleExpand"
|
||||
>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.tool.taskName')" prop="name">
|
||||
<el-input v-model="formData.name" :placeholder="$t('table.searchBar.placeholderTaskName')" clearable />
|
||||
<el-form-item :label="$t('page.search.taskName')" prop="name">
|
||||
<el-input v-model="formData.name" :placeholder="$t('page.search.placeholderTaskName')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.tool.taskType')" prop="type">
|
||||
<sa-select v-model="formData.type" dict="crontab_task_type" :placeholder="$t('table.searchBar.searchSelectPlaceholder')" clearable />
|
||||
<el-form-item :label="$t('page.search.taskType')" prop="type">
|
||||
<sa-select v-model="formData.type" dict="crontab_task_type" :placeholder="$t('page.search.searchSelectPlaceholder')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.common.status')" prop="status">
|
||||
<sa-select v-model="formData.status" dict="data_status" :placeholder="$t('table.searchBar.searchSelectPlaceholder')" clearable />
|
||||
<el-form-item :label="$t('page.search.status')" prop="status">
|
||||
<sa-select v-model="formData.status" dict="data_status" :placeholder="$t('page.search.searchSelectPlaceholder')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</sa-search-bar>
|
||||
|
||||
Reference in New Issue
Block a user