tangning 4 月之前
父節點
當前提交
5d8e720942
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      src/views/productOperation/data.ts

+ 12 - 0
src/views/productOperation/data.ts

@@ -441,42 +441,50 @@ export const getColumns = (val) => {
       dataIndex: 'sceneSize',
       width: 80,
       customRender: ({ record }) => {
+        // 自定义渲染场景大小
         return record.sceneSize && record.sceneSize != 0
           ? h('span', { class: 'sceneSize' }, Math.ceil(record.sceneSize / 1024 / 1024) + 'M')
           : '-';
       },
     },
+    // slam帧数列
     {
       title: 'slam帧数',
       ifShow: isobj || val == 6,
       dataIndex: 'slamCount',
       width: 80,
     },
+    // 拍摄位置列
     {
       title: '拍摄位置',
       dataIndex: 'addressComponent',
       width: 100,
       ifShow: val != 57 && val != 58,
       customRender: ({ record }) => {
+        // 自定义渲染拍摄位置
         if (!record.addressComponent) {
           return '-';
         }
         return (record && record.addressComponent && record.addressComponent.city) || '-'; // + district + township;
       },
     },
+    // 是否复制列
     {
       title: '是否复制',
       dataIndex: 'isCopy',
       width: 80,
       customRender: ({ record }) => {
+        // 自定义渲染是否复制
         return record.isCopy ? '是' : '否';
       },
     },
+    // 复制时间列
     {
       title: '复制时间',
       dataIndex: 'copyTime',
       width: 180,
       customRender: ({ record }) => {
+        // 自定义渲染复制时间
         return record.copyTime
           ? h(Time, {
               value: record.copyTime,
@@ -485,23 +493,27 @@ export const getColumns = (val) => {
           : '-';
       },
     },
+    // 绑定账号列
     {
       title: '绑定账号',
       dataIndex: 'userName',
       width: 100,
     },
+    // 浏览量列
     {
       title: '浏览量',
       dataIndex: 'viewCount',
       sorter: true,
       width: 80,
     },
+    // 状态列
     {
       title: '状态',
       dataIndex: 'statusString',
       width: 120,
       slots: { customRender: 'status' },
     },
+    // 操作列
     {
       title: '操作',
       dataIndex: 'action',