Forráskód Böngészése

下载高密度e57

tangning 2 hónapja
szülő
commit
4107b1772b
2 módosított fájl, 7 hozzáadás és 5 törlés
  1. 1 1
      src/views/scenes/downloadE57Modal.vue
  2. 6 4
      src/views/scenes/list.vue

+ 1 - 1
src/views/scenes/downloadE57Modal.vue

@@ -131,7 +131,7 @@
           num: sceneNum,
           isObj: isObj.value,
         };
-        if(splitType.value){
+        if (splitType.value) {
           param.splitType = splitType.value;
         }
         downloadInfo.timer = setInterval(async () => {

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

@@ -25,7 +25,7 @@
             {{ t('routes.archive.patchArchive') }}</a-button
           >
           <!-- <a-button type="primary" color="warning" @click="() => {}"> 编辑</a-button>-->
-        <!-- <a-button type="primary" color="error" @click="() => {}"> 新建文件夹</a-button>  -->
+          <!-- <a-button type="primary" color="error" @click="() => {}"> 新建文件夹</a-button>  -->
         </template>
         <template #mapShow="{ record }">
           <Switch
@@ -139,7 +139,8 @@
                 ifShow:
                   (tableType === 2 || tableType === 5) &&
                   record.location === 4 &&
-                  !record.isCopy && !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
+                  !record.isCopy &&
+                  !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
                 icon: 'gis:layer-download',
                 popConfirm: {
                   placement: 'left',
@@ -153,7 +154,8 @@
                 ifShow:
                   (tableType === 2 || tableType === 5) &&
                   record.location === 4 &&
-                  !record.isCopy && !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
+                  !record.isCopy &&
+                  !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
                 icon: 'streamline-ultimate:laptop-download',
                 popConfirm: {
                   placement: 'left',
@@ -654,7 +656,7 @@
       async function handleDownloadSceneGmdE57(record: Recordable) {
         let param = {
           num: record.num,
-          splitType: 'SPLIT_V32'
+          splitType: 'SPLIT_V32',
         };
         const checker = await checkDownloadE57Api(param);
         console.log('checker', checker);