tangning hace 7 meses
padre
commit
a5688d4497
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      src/views/scenes/list.vue

+ 6 - 1
src/views/scenes/list.vue

@@ -131,7 +131,10 @@
                 tooltip: t('routes.scenes.downloadSceneE57'),
                 tooltip: t('routes.scenes.downloadSceneE57'),
                 disabled: record.status != -2,
                 disabled: record.status != -2,
                 ifShow:
                 ifShow:
-                  (tableType === 2 || tableType === 5) && record.location === 4 && !record.isCopy,
+                  (tableType === 2 || tableType === 5) &&
+                  record.location === 4 &&
+                  record.isCopy &&
+                  !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
                 icon: 'gis:layer-download',
                 icon: 'gis:layer-download',
                 popConfirm: {
                 popConfirm: {
                   placement: 'left',
                   placement: 'left',
@@ -157,6 +160,7 @@
 <script lang="ts">
 <script lang="ts">
   import { defineComponent, computed, h, ref } from 'vue';
   import { defineComponent, computed, h, ref } from 'vue';
   import { openUrl } from '/@/utils/auth';
   import { openUrl } from '/@/utils/auth';
+  import dayjs from 'dayjs';
   import { PageWrapper } from '/@/components/Page';
   import { PageWrapper } from '/@/components/Page';
   import {
   import {
     BasicTable,
     BasicTable,
@@ -659,6 +663,7 @@
         handleUpdateSwitch,
         handleUpdateSwitch,
         handleDownloadSceneE57,
         handleDownloadSceneE57,
         registerDownloadE57Modal,
         registerDownloadE57Modal,
+        dayjs,
       };
       };
     },
     },
   });
   });