From ca439d226974fdcda222367e7d153b0b7c5e4501 Mon Sep 17 00:00:00 2001
From: JustAnotherID
Date: Sat, 16 Sep 2023 20:46:01 +0800
Subject: [PATCH] =?UTF-8?q?feat(story):=20=E8=B7=91=E5=9B=A2=E6=97=A5?=
=?UTF-8?q?=E5=BF=97=E5=92=8C=E6=97=A5=E5=BF=97=E8=A1=8C=E9=87=87=E7=94=A8?=
=?UTF-8?q?=E5=88=86=E9=A1=B5=20(#37)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* feat(story): 跑团日志和日志行采用分页
* feat(story): 增加删除跑团日志时的二次确认
---
src/components/mod/PageHelpDoc.vue | 2 +-
src/components/mod/PageStory.vue | 332 ++++++++++++++++++-----------
2 files changed, 208 insertions(+), 126 deletions(-)
diff --git a/src/components/mod/PageHelpDoc.vue b/src/components/mod/PageHelpDoc.vue
index 0f254417..9563783d 100644
--- a/src/components/mod/PageHelpDoc.vue
+++ b/src/components/mod/PageHelpDoc.vue
@@ -121,7 +121,7 @@
diff --git a/src/components/mod/PageStory.vue b/src/components/mod/PageStory.vue
index b18787f0..1553ff68 100644
--- a/src/components/mod/PageStory.vue
+++ b/src/components/mod/PageStory.vue
@@ -1,11 +1,11 @@
+
-
-
-
跑团日志 / Story
- 刷新日志列表
-
- 记录过 {{ sum_log }} 份日志
- 共计 {{ sum_item }} 条消息
-
+
+
+
+ 跑团日志 / Story
+
+
+ 记录过 {{ sum_log }} 份日志,共计 {{ sum_item }} 条消息
+ 现有 {{ cur_log }} 份日志,共计 {{ cur_item }} 条消息
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+ v.pitch = !v.pitch)">全选
+
+ 删除所选
+
+
+
+
+
+
+
+ {{ i.name }}
+ ({{ i.groupId }})
+
+
+ 查看
+
+ 上传到云端
+
+ 删除
+
+
+
+
+
+
+ 包含 {{ i.size }} 条消息
+
+
+ 创建于:{{ dayjs.unix(i.createdAt).format('YYYY-MM-DD') }}
+ {{ dayjs.unix(i.createdAt).fromNow() }}
+
+
+ 更新于:{{ dayjs.unix(i.updatedAt).format('YYYY-MM-DD') }}
+ {{ dayjs.unix(i.updatedAt).fromNow() }}
+
+
+
-
-
- v.pitch = v.pitch ? false : true)" :icon="Select">全选
-
-
-
-
- 日志名:{{ i.name }}
-
-
- 创建于: {{ i.groupId }}
- 创建时:{{ dayjs.unix(i.createdAt).format('YYYY-MM-DD') }}
- {{ dayjs.unix(i.createdAt).fromNow() }}
- 更新时:{{ dayjs.unix(i.updatedAt).format('YYYY-MM-DD') }}
- {{ dayjs.unix(i.updatedAt).fromNow() }}
-
- 查看
-
- 上传到云端
- 删除
-
-
-
+
+
+
+
-
-
跑团日志 / Story
- 返回日志列表
-
+
+
+ 跑团日志 / Story
+ 返回列表
+
+
@@ -269,5 +339,17 @@ onBeforeMount(() => {
+
+
+
-
\ No newline at end of file
+
+
+
\ No newline at end of file