Browse Source

隐藏按钮

tangning 1 month ago
parent
commit
f58fe80924
1 changed files with 15 additions and 15 deletions
  1. 15 15
      src/views/scenes/list.vue

+ 15 - 15
src/views/scenes/list.vue

@@ -148,21 +148,21 @@
                   confirm: handleDownloadSceneE57.bind(null, record),
                 },
               },
-              {
-                tooltip: t('routes.scenes.downloadSceneGmdE57'),
-                disabled: record.status != -2,
-                ifShow:
-                  (tableType === 2 || tableType === 5) &&
-                  record.location === 4 &&
-                  !record.isCopy &&
-                  !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
-                icon: 'streamline-ultimate:laptop-download',
-                popConfirm: {
-                  placement: 'left',
-                  title: t('routes.scenes.downloadSceneGmdConfirmE57'),
-                  confirm: handleDownloadSceneGmdE57.bind(null, record),
-                },
-              },
+              //{
+              //  tooltip: t('routes.scenes.downloadSceneGmdE57'),
+              //  disabled: record.status != -2,
+              //  ifShow:
+              //    (tableType === 2 || tableType === 5) &&
+              //    record.location === 4 &&
+              //    !record.isCopy &&
+              //    !dayjs(record.createTime).isBefore(dayjs('2025-01-01')),
+              //  icon: 'streamline-ultimate:laptop-download',
+              //  popConfirm: {
+              //    placement: 'left',
+              //    title: t('routes.scenes.downloadSceneGmdConfirmE57'),
+              //    confirm: handleDownloadSceneGmdE57.bind(null, record),
+              //  },
+              //},
             ]"
           />
         </template>