|
|
@@ -131,7 +131,10 @@
|
|
|
tooltip: t('routes.scenes.downloadSceneE57'),
|
|
|
disabled: record.status != -2,
|
|
|
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',
|
|
|
popConfirm: {
|
|
|
placement: 'left',
|
|
|
@@ -157,6 +160,7 @@
|
|
|
<script lang="ts">
|
|
|
import { defineComponent, computed, h, ref } from 'vue';
|
|
|
import { openUrl } from '/@/utils/auth';
|
|
|
+ import dayjs from 'dayjs';
|
|
|
import { PageWrapper } from '/@/components/Page';
|
|
|
import {
|
|
|
BasicTable,
|
|
|
@@ -659,6 +663,7 @@
|
|
|
handleUpdateSwitch,
|
|
|
handleDownloadSceneE57,
|
|
|
registerDownloadE57Modal,
|
|
|
+ dayjs,
|
|
|
};
|
|
|
},
|
|
|
});
|