瀏覽代碼

🎨 feat<任务列表>: 固定列

xinyan 8 月之前
父節點
當前提交
c376eb2c67
共有 1 個文件被更改,包括 17 次插入11 次删除
  1. 17 11
      src/views/reportManage/TaskManage/utils/columns.ts

+ 17 - 11
src/views/reportManage/TaskManage/utils/columns.ts

@@ -2,56 +2,62 @@ import { ref } from 'vue';
 
 // 任务管理表格列
 export const taskColumns = ref([
-  { type: 'checkbox', width: 50 },
+  { type: 'checkbox', width: 50 ,fixed: 'left'},
   {
     field: 'platformNumber',
     title: '平台编号',
+    fixed: 'left',
     editRender: { autofocus: '.vxe-input--inner' },
     slots: { edit: 'number_edit' },
-    minWidth: 87
+    minWidth: 77
   },
   {
     field: 'platformName',
     title: '平台名称',
+    fixed: 'left',
     editRender: { autofocus: '.vxe-input--inner' },
     slots: { edit: 'name_edit' },
     align: 'center',
-    minWidth: 138, isEditing: false
+    minWidth: 100, isEditing: false
   },
   {
     field: 'country',
     title: '国家',
+    fixed: 'left',
     editRender: { autofocus: '.vxe-input--inner' },
     slots: { edit: 'country_edit' },
-    minWidth: 85,
+    minWidth: 80,
     align: 'center'
   },
   {
     field: 'brandName',
     title: '品牌',
+    fixed: 'left',
     editRender: {},
     slots: { edit: 'brand_edit' },
     align: 'center',
-    minWidth: 89,
+    minWidth: 70,
   },
   {
     field: 'user_name',
     title: '填写人',
+    fixed: 'left',
     editRender: {},
     slots: {
       edit: 'operation_edit',
       //default: 'operation_default'
     },
     align: 'center',
-    minWidth: 120
+    minWidth: 104
   },
   {
     field: 'operater',
     title: '运营',
+    fixed: 'left',
     editRender: {},
     slots: { edit: 'operater_name_edit' },
     align: 'center',
-    minWidth: 104
+    minWidth: 97
   },
   {
     field: 'currencyCode',
@@ -59,14 +65,14 @@ export const taskColumns = ref([
     editRender: {},
     slots: { edit: 'currency_edit' },
     align: 'center',
-    minWidth: 90
+    minWidth: 76
   },
   {
     field: 'currencyCodePlatform',
     title: '回款/余额币种',
     editRender: {},
     slots: { edit: 'currencyCodePlatform_edit' },
-    minWidth: 120,
+    minWidth: 110,
     align: 'center'
   },
   {
@@ -75,9 +81,9 @@ export const taskColumns = ref([
     editRender: {},
     slots: { edit: 'platform_edit' },
     align: 'center',
-    minWidth: 89
+    minWidth: 82
   },
-  { field: 'line', title: '线路', editRender: {}, slots: { edit: 'line_edit' }, align: 'center', minWidth: 89 },
+  { field: 'line', title: '线路', editRender: {}, slots: { edit: 'line_edit' }, align: 'center', minWidth: 72 },
   { field: 'ipaddress', title: 'IP地址', editRender: {}, slots: { edit: 'ipaddress_edit' }, minWidth: 135 },
   {
     field: 'company',