diff --git a/app/src/pages/workplace/statics.vue b/app/src/pages/workplace/statics.vue index 2332c8a..0850262 100644 --- a/app/src/pages/workplace/statics.vue +++ b/app/src/pages/workplace/statics.vue @@ -119,26 +119,6 @@ -
- - 清理无效记录 - - - - 刷新数据 - -
@@ -167,7 +147,7 @@
-
+
@@ -240,192 +220,6 @@ - - - -
- -
- -
-
-
- -
- -
- - {{ coverImageLoading.has(video.id) ? '加载中...' : '暂无封面' }} -
- -
- -
- -
{{ formatDuration(video.duration) }}
-
- -
-
{{ video.videoTitle || '未命名视频' }}
-
- {{ video.viedoCate || '未分类' }} - {{ video.syncTimeStr }} -
-
-
-
- - -
- -
-
-
- - - -
- -
- -
-
-
- -
- -
- - {{ coverImageLoading.has(video.id) ? '加载中...' : '暂无封面' }} -
- -
- -
- -
{{ formatDuration(video.duration) }}
-
- -
-
{{ video.videoTitle || '未命名视频' }}
-
- {{ video.viedoCate || '未分类' }} - {{ video.syncTimeStr }} -
-
-
-
- - -
- -
-
-
- - - -
-
- -
-

- 是否删除该作者「{{ selectedAuthorForDelete?.name }}」的数据? -

-

- 您可以选择以下操作: -

-
- - 删除并加入黑名单(不再同步) - - - 仅删除当前数据(后续继续同步) - -
-
-
- - -
@@ -485,11 +279,6 @@ const videoSeriesSize = ref('0.00'); const categories = ref([]); const authors = ref([]); - -// 删除作者相关 -const deleteAuthorModalVisible = ref(false); -const selectedAuthorForDelete = ref(null); -const deleteLoading = ref(false); const currentTab = ref('author'); const tabCount = ref(0); @@ -816,15 +605,6 @@ watch( onMounted(() => { generateSyncData(); loadDashboardData(); - - // 每60秒自动刷新一次数据 - const timer = setInterval(() => { - loadDashboardData(); - }, 60000); - - onUnmounted(() => { - clearInterval(timer); - }); }); // 新增:窗口关闭时销毁全屏图表 @@ -837,7 +617,6 @@ const changeTab = (e: string) => { }; const loadDashboardData = async () => { - loading.value = true; try { const res = await useApiStore().VideoStatics(); totalAuthors.value = res.data.authorCount; @@ -868,8 +647,6 @@ const loadDashboardData = async () => { }); } catch (err) { console.error('加载仪表盘数据失败:', err); - } finally { - loading.value = false; } }; @@ -1275,11 +1052,6 @@ const handleDeleteItem = (item: Author) => { border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); - position: relative; -} - -.author-card { - cursor: pointer; } .author-card:hover { transform: translateY(-3px); @@ -1343,7 +1115,6 @@ const handleDeleteItem = (item: Author) => { border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); - cursor: pointer; } .category-card:hover { transform: translateY(-3px);