소스 검색

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

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

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