tangning 1 tahun lalu
induk
melakukan
ddfa13feac
2 mengubah file dengan 16 tambahan dan 13 penghapusan
  1. 15 12
      src/views/product/rtk/data.ts
  2. 1 1
      src/views/product/rtk/list.vue

+ 15 - 12
src/views/product/rtk/data.ts

@@ -14,6 +14,7 @@ export const rtksearchForm: Partial<FormProps> = {
       field: 'cameraSnCode',
       label: '相机Sn',
       component: 'Input',
+      labelWidth: 60,
       colProps: {
         xl: 8,
         xxl: 8,
@@ -22,6 +23,7 @@ export const rtksearchForm: Partial<FormProps> = {
     {
       field: 'rtkSnCode',
       label: '板卡SN号',
+      labelWidth: 70,
       component: 'Input',
       colProps: {
         xl: 8,
@@ -40,7 +42,7 @@ export const rtksearchForm: Partial<FormProps> = {
   ],
 };
 export const rtkusersearchForm: Partial<FormProps> = {
-  labelWidth: 120,
+  labelWidth: 60,
   autoSubmitOnEnter: true,
   schemas: [
     {
@@ -65,7 +67,7 @@ export const rtkusersearchForm: Partial<FormProps> = {
 };
 
 export const rtklogsearchForm: Partial<FormProps> = {
-  labelWidth: 120,
+  labelWidth: 70,
   autoSubmitOnEnter: true,
   schemas: [
     {
@@ -89,6 +91,7 @@ export const rtklogsearchForm: Partial<FormProps> = {
     {
       field: 'sgRtkSn',
       label: '深光rtk插件SN号',
+      labelWidth: 120,
       component: 'Input',
       colProps: {
         xl: 8,
@@ -176,7 +179,7 @@ export const rtkuserColumns: any[] = [
     title: '创建时间',
     ellipsis: true,
     dataIndex: 'createTime',
-    width: 160,
+    width: 100,
   },
   {
     title: '状态',
@@ -231,24 +234,24 @@ export const rtkdeviceColumns: any[] = [
     title: '板卡SN号',
     ellipsis: true,
     dataIndex: 'rtkSnCode',
-    width: 150,
+    width: 180,
   },
   {
     title: '深光rtk插件SN号',
     ellipsis: true,
     dataIndex: 'sgRtkSn',
-    width: 120,
+    width: 180,
   },
   {
     title: '创建时间',
     ellipsis: true,
     dataIndex: 'createTime',
-    width: 160,
+    width: 100,
   },
   {
     title: '状态',
     dataIndex: 'useStatus',
-    width: 80,
+    width: 60,
     // ifShow: getCheckPerm('recruit-publish'),
     customRender: ({ record }) => {
       if (!Reflect.has(record, 'pendingStatus')) {
@@ -283,19 +286,19 @@ export const rtklogColumns: any[] = [
     title: '板卡SN',
     ellipsis: true,
     dataIndex: 'rtkSnCode',
-    width: 150,
+    width: 160,
   },
   {
     title: '深光rtk插件SN号',
     ellipsis: true,
     dataIndex: 'sgRtkSn',
-    width: 120,
+    width: 160,
   },
   {
     title: '调用时间',
     ellipsis: true,
     dataIndex: 'createTime',
-    width: 160,
+    width: 100,
   },
   {
     title: '调用账号',
@@ -307,13 +310,13 @@ export const rtklogColumns: any[] = [
     title: '运营商',
     ellipsis: true,
     dataIndex: 'operator',
-    width: 120,
+    width: 80,
   },
   {
     title: '类型',
     dataIndex: 'useType',
     ellipsis: true,
-    width: 120,
+    width: 50,
     customRender: ({ record }) => {
       return record.useType == 1 ? '回收' : '调用';
     },

+ 1 - 1
src/views/product/rtk/list.vue

@@ -186,7 +186,7 @@
           totalField: 'total',
         },
         actionColumn: {
-          width: 160,
+          width: 80,
           title: '操作',
           dataIndex: 'action',
           slots: { customRender: 'action' },