desc: 国际化
This commit is contained in:
parent
468e624383
commit
e376b141cf
@ -142,6 +142,7 @@ export default {
|
|||||||
meter: '米',
|
meter: '米',
|
||||||
|
|
||||||
code: '编码:',
|
code: '编码:',
|
||||||
|
codeC: '编码',
|
||||||
imageName: '图片名称:',
|
imageName: '图片名称:',
|
||||||
imageWidth: '图片宽度:',
|
imageWidth: '图片宽度:',
|
||||||
imageHeight: '图片高度:',
|
imageHeight: '图片高度:',
|
||||||
@ -329,6 +330,7 @@ export default {
|
|||||||
|
|
||||||
trainCode: '列车编号:',
|
trainCode: '列车编号:',
|
||||||
groupNumber: '车组号:',
|
groupNumber: '车组号:',
|
||||||
|
trainNumber: '车组号',
|
||||||
modelCode: '车类型:',
|
modelCode: '车类型:',
|
||||||
|
|
||||||
trainmodelCreate: '新建车类型',
|
trainmodelCreate: '新建车类型',
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-tabs v-model="activeName" class="card">
|
<el-tabs v-model="activeName" class="card">
|
||||||
<el-tab-pane class="view-control" label="操作" name="second">
|
<el-tab-pane class="view-control" :label="$t('map.operation')" name="second">
|
||||||
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: cardHeight +'px' }">
|
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: cardHeight +'px' }">
|
||||||
<el-table :data="trainList.filter(data => !search || data.groupNumber.toLowerCase().includes(search.toLowerCase()))" style="width: 100%">
|
<el-table :data="trainList.filter(data => !search || data.groupNumber.toLowerCase().includes(search.toLowerCase()))" style="width: 100%">
|
||||||
<el-table-column label="车组号" prop="groupNumber" />
|
<el-table-column :label="$t('map.trainNumber')" prop="groupNumber" />
|
||||||
<el-table-column label="编码" prop="code" />
|
<el-table-column :label="$t('map.codeC')" prop="code" />
|
||||||
<el-table-column align="right">
|
<el-table-column align="right">
|
||||||
<template slot="header">
|
<template slot="header">
|
||||||
<el-input v-model="search" size="mini" placeholder="输入关键字搜索" />
|
<el-input v-model="search" size="mini" :placeholder="$t('map.pleaseSelect')" />
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="danger" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
|
<el-button size="mini" type="danger" @click="handleDelete(scope.$index, scope.row)">{{ $t('map.deleteObj') }}</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
<div class="button_box">
|
<div class="button_box">
|
||||||
<el-button-group class="map-draft-group">
|
<el-button-group class="map-draft-group">
|
||||||
<el-button type="primary" size="small" @click="handleCreate">创建</el-button>
|
<el-button type="primary" size="small" @click="handleCreate">{{ $t('map.create') }}</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
Loading…
Reference in New Issue
Block a user