tangning 9 meses atrás
pai
commit
5533743670

+ 1 - 1
src/components/Table/src/components/settings/ColumnSetting.vue

@@ -193,7 +193,7 @@
 
       function getColumns() {
         const ret: Options[] = [];
-        table.getColumns({ ignoreIndex: true, ignoreAction: true }).forEach((item) => {
+        table.getColumns({ ignoreIndex: true, ignoreAction: false }).forEach((item) => {
           ret.push({
             label: (item.title as string) || (item.customTitle as string),
             value: (item.dataIndex || item.title) as string,

+ 10 - 12
src/views/productOperation/cameraScene.vue

@@ -325,6 +325,15 @@
           },
         },
         {
+          title: '是否复制',
+          dataIndex: 'isCopy',
+          width: 80,
+          defaultHidden: true,
+          customRender: ({ record }) => {
+            return record.isCopy ? '是' : '否';
+          },
+        },
+        {
           title: '计算完成时间',
           dataIndex: 'amount',
           width: 180,
@@ -356,15 +365,6 @@
           },
         },
         {
-          title: '是否复制',
-          dataIndex: 'isCopy',
-          width: 80,
-          defaultHidden: true,
-          customRender: ({ record }) => {
-            return record.isCopy ? '是' : '否';
-          },
-        },
-        {
           title: '复制时间',
           dataIndex: 'copyTime',
           width: 180,
@@ -382,9 +382,7 @@
           title: '操作',
           dataIndex: 'action',
           slots: { customRender: 'action' },
-          ifShow: true,
-          fixed: 'right',
-          flag: 'ACTION',
+          // fixed: 'right',
           width: 400,
         },
       ];