- 基本信息:{{ device_code }}
+ {{ $t('device.driver_configuration.basic_information') }}:{{ device_code }}
-
+
-
+
@@ -35,13 +35,13 @@
-
+
-
+
-
+
-
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
@@ -97,7 +106,7 @@
-
+
@@ -116,25 +125,21 @@
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
- {{ scope.row.device_name }}
-
-
-
+
+
+
+
{{ scope.row.device_type_name }}
-
+
{{ scope.row.region_name }}
-
-
+
+
是
否
@@ -142,8 +147,8 @@
-
-
+
+
- 驱动配置
+ {{ $t('common.driver_configuration') }}
@@ -192,7 +197,10 @@ const defaultForm = {
device_type: null,
region: null,
is_config: null,
- remark: null
+ remark: null,
+ zh_device_name: null,
+ en_device_name: null,
+ in_device_name: null
}
export default {
name: 'Device',
diff --git a/acs/nladmin-ui/src/views/acs/device/opc/index.vue b/acs/nladmin-ui/src/views/acs/device/opc/index.vue
index 1a50838..47d5736 100644
--- a/acs/nladmin-ui/src/views/acs/device/opc/index.vue
+++ b/acs/nladmin-ui/src/views/acs/device/opc/index.vue
@@ -9,7 +9,7 @@
v-model="query.blurry"
clearable
size="small"
- placeholder="输入名称、编码或者地址搜索"
+ :placeholder="$t('opc.placeholder.enter_name_code_path')"
style="width: 250px;"
class="filter-item"
@keyup.enter.native="crud.toQuery"
@@ -26,32 +26,32 @@
width="550px"
>
-
+
-
+
-
+
-
+
-
+
详情
-
+
-
+
-
+
@@ -64,16 +64,16 @@
-
+
-
+
-
+
-
+
@@ -98,23 +98,23 @@
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
- 修改
- 删除
+ {{ $t('common.Update') }}
+ {{ $t('common.Delete') }}
- 新增PLC
+ {{ $t('opc.table_title.plc_add') }}
diff --git a/acs/nladmin-ui/src/views/acs/device/protocol/index.vue b/acs/nladmin-ui/src/views/acs/device/protocol/index.vue
index 323ff64..b3320d6 100644
--- a/acs/nladmin-ui/src/views/acs/device/protocol/index.vue
+++ b/acs/nladmin-ui/src/views/acs/device/protocol/index.vue
@@ -9,7 +9,7 @@
v-model="query.blurry"
size="small"
clearable
- placeholder="输入名称或者编码"
+ :placeholder="$t('device.placeholder.enter_name_code')"
style="width: 200px;"
class="filter-item"
@keyup.enter.native="crud.toQuery"
@@ -19,7 +19,7 @@
clearable
filterable
size="small"
- placeholder="设备类型"
+ :placeholder="$t('device.placeholder.device_type')"
class="filter-item"
style="width: 190px"
@change="crud.toQuery"
@@ -56,7 +56,7 @@
:loading="downLoadcsvLoading"
@click="doExportCSV()"
>
- 导出CSV
+ {{ $t('common.Export') }} CSV
- 导出SMARTCSV
+ {{ $t('common.Export') }} SMARTCSV
- 导出FX5UCSV
+ {{ $t('common.Export') }} FX5UCSV
@@ -92,20 +92,20 @@
>
-
-
-
+
+
+
{{ scope.row.driver_code }}
-
+
{{ scope.row.extra_code }}
-
+
{{ scope.row.extra_name }}
diff --git a/acs/nladmin-ui/src/views/acs/device/storageCell/index.vue b/acs/nladmin-ui/src/views/acs/device/storageCell/index.vue
index e35fd92..c3f9ef7 100644
--- a/acs/nladmin-ui/src/views/acs/device/storageCell/index.vue
+++ b/acs/nladmin-ui/src/views/acs/device/storageCell/index.vue
@@ -8,7 +8,7 @@
v-model="query.storage_code"
size="small"
clearable
- placeholder="输入货位编码"
+ :placeholder="$t('storageCell.placeholder.enter_location_code')"
style="width: 200px;"
class="filter-item"
/>
@@ -16,7 +16,7 @@
v-model="query.parent_storage_code"
size="small"
clearable
- placeholder="输入父级货位编码"
+ :placeholder="$t('storageCell.placeholder.enter_parent_location_code')"
style="width: 200px;"
class="filter-item"
/>
@@ -24,7 +24,7 @@
v-model="query.address"
size="small"
clearable
- placeholder="输入agv站点"
+ :placeholder="$t('storageCell.placeholder.enter_agv_site')"
style="width: 200px;"
class="filter-item"
/>
@@ -38,45 +38,45 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+