浏览代码

fix(#24819): 隐藏字段和改文案

gemercheung 3 年之前
父节点
当前提交
e1b1e9a665
共有 2 个文件被更改,包括 15 次插入14 次删除
  1. 2 1
      src/locales/lang/zh-CN/routes/devices.ts
  2. 13 13
      src/views/devices/list.vue

+ 2 - 1
src/locales/lang/zh-CN/routes/devices.ts

@@ -5,7 +5,7 @@ export default {
   browserDevice: '查看设备',
   address: '物理地址',
   balance: '初始点数',
-  cameraType: '相机类型',
+  cameraType: '设备类型',
   childName: '设备ID',
   companyId: '客户名称',
   phoneName: '手机号(用户名)',
@@ -44,6 +44,7 @@ export default {
   addeduser: '已添加账号数',
   num: '设备数量',
   subNum: '员工账号数量',
+
   // normalSales: '正常销售',
   // normalSales: '正常销售',
 };

+ 13 - 13
src/views/devices/list.vue

@@ -61,15 +61,15 @@
           width: 100,
         },
         {
-          title: t('routes.devices.phoneName'),
+          title: t('sys.login.email'),
           dataIndex: 'userName',
           width: 230,
         },
-        {
-          title: t('routes.devices.companyId'),
-          dataIndex: 'companyName',
-          width: 120,
-        },
+        // {
+        //   title: t('routes.devices.companyId'),
+        //   dataIndex: 'companyName',
+        //   width: 120,
+        // },
         // {
         //   title: t('routes.devices.cameraType'),
         //   dataIndex: 'cameraType',
@@ -92,11 +92,11 @@
           dataIndex: 'wifiName',
           width: 180,
         },
-        {
-          title: t('routes.devices.activationTime'),
-          dataIndex: 'activatedTime',
-          width: 150,
-        },
+        // {
+        //   title: t('routes.devices.activationTime'),
+        //   dataIndex: 'activatedTime',
+        //   width: 150,
+        // },
         {
           title: t('routes.devices.shipmentType'),
           dataIndex: 'own',
@@ -117,8 +117,8 @@
         schemas: [
           {
             field: 'searchKey',
-            label: t('routes.devices.phoneName'),
-            labelWidth: 220,
+            label: t('sys.login.email'),
+            labelWidth: 120,
             component: 'Input',
             colProps: {
               span: 12,