diff --git a/src/views/reorganize/TransferHistoryView.vue b/src/views/reorganize/TransferHistoryView.vue
index 4e5b235f..63723c30 100644
--- a/src/views/reorganize/TransferHistoryView.vue
+++ b/src/views/reorganize/TransferHistoryView.vue
@@ -51,6 +51,7 @@ const headers = [
{ title: "状态", key: "status"},
{ title: "时间", key: "date"},
{ title: "失败原因", key: "errmsg"},
+ { title: "", key: "actions", sortable: false},
];
// 数据列表
@@ -84,8 +85,6 @@ const getStatusColor = (status: boolean) => {
// 加载时获取数据
onMounted(fetchData);
-const search = ref("");
-
@@ -127,9 +126,18 @@ const search = ref("");
{{ item.raw.errmsg }}
+
+
+
没有数据
+
+
diff --git a/src/views/subscribe/SubscribeListView.vue b/src/views/subscribe/SubscribeListView.vue
index d5cde7ac..cafec145 100644
--- a/src/views/subscribe/SubscribeListView.vue
+++ b/src/views/subscribe/SubscribeListView.vue
@@ -78,12 +78,20 @@ const getIcon = (type: string) => {
return "mdi-help-circle";
}
};
+
+// 计算百分比
+const getPercentage = (total: number, lack: number) => {
+ if (total === 0) {
+ return 0;
+ }
+ return Math.round(((total - lack) / total) * 100);
+};
-
+
-
+
{
icon="mdi-progress-clock"
color="white"
class="me-1"
- v-if="data.season"
+ v-if="data.total_episode"
/>
{{ (data.total_episode || 0) - (data.lack_episode || 0) }} /
@@ -128,14 +136,16 @@ const getIcon = (type: string) => {
>
+
+
-