From 0a67905525c3819470cfe01e091fe788ea5db232 Mon Sep 17 00:00:00 2001 From: GGB <1223416496@qq.com> Date: Mon, 1 May 2023 02:54:46 +0800 Subject: [PATCH] ggb commit first progress in 2023/5/1 02:53 --- ui/src/assets/css/work/work.css | 32 +++++++ ui/src/components/Detail.vue | 38 +++++++++ ui/src/components/EditWork.vue | 135 +++++++++++++++++++++++++++++ ui/src/pages/work/AllTask.vue | 147 ++++++++++++++++++++++++++++++++ ui/src/pages/work/Complete.vue | 102 ++++++++++++++++++++++ ui/src/pages/work/Task.vue | 29 +++++++ ui/src/pages/work/Todo.vue | 98 ++++++++++++++++++++- 7 files changed, 578 insertions(+), 3 deletions(-) create mode 100644 ui/src/assets/css/work/work.css create mode 100644 ui/src/components/Detail.vue create mode 100644 ui/src/components/EditWork.vue create mode 100644 ui/src/pages/work/AllTask.vue create mode 100644 ui/src/pages/work/Complete.vue create mode 100644 ui/src/pages/work/Task.vue diff --git a/ui/src/assets/css/work/work.css b/ui/src/assets/css/work/work.css new file mode 100644 index 0000000..bd5431e --- /dev/null +++ b/ui/src/assets/css/work/work.css @@ -0,0 +1,32 @@ +:root { + --main-color: #00d4ff; +} +.main { + display: flex; + height: 100vh; + width: 98vw; + min-width: 600px; + min-height: 600px; + text-align: center; +} +.main-table { + position: relative; + display: flex; + height: 100%; + width: 100%; +} +.main-add-content { + position: fixed; + display: flex; + width: 100%; + z-index: 999; + bottom: 10vh; + justify-content: center; +} +.main-add-box { + display: flex; + padding: 16px 20px; + width: 80%; + left: 50%; + justify-content: center; +} \ No newline at end of file diff --git a/ui/src/components/Detail.vue b/ui/src/components/Detail.vue new file mode 100644 index 0000000..d96e164 --- /dev/null +++ b/ui/src/components/Detail.vue @@ -0,0 +1,38 @@ + + + {{ taskData.publisher_id }} + {{ taskData.createTime }} + {{ taskData.deadLine }} + + {{}} + + + {{ taskData.taskContent }} + + + + + + diff --git a/ui/src/components/EditWork.vue b/ui/src/components/EditWork.vue new file mode 100644 index 0000000..2107bd1 --- /dev/null +++ b/ui/src/components/EditWork.vue @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + 创建 + 重置 + 取消 + + + + + + + diff --git a/ui/src/pages/work/AllTask.vue b/ui/src/pages/work/AllTask.vue new file mode 100644 index 0000000..211c14e --- /dev/null +++ b/ui/src/pages/work/AllTask.vue @@ -0,0 +1,147 @@ + + + + + + + + + + + {{ item.userName }}, + + + + + + {{ formatDate(scope.row.deadLine) }} + + + + + + + + + + + 编辑 + + + 删除 + + + + + 完成 + + + + + + + + + 添加 + + + + + + + + + + + diff --git a/ui/src/pages/work/Complete.vue b/ui/src/pages/work/Complete.vue new file mode 100644 index 0000000..0a588d1 --- /dev/null +++ b/ui/src/pages/work/Complete.vue @@ -0,0 +1,102 @@ + + + + + + + + + + + {{ item.userName }}, + + + + + + {{ formatDate(scope.row.deadLine) }} + + + + + 查看 + + + 未完成 + + + + + + + + + + + + diff --git a/ui/src/pages/work/Task.vue b/ui/src/pages/work/Task.vue new file mode 100644 index 0000000..2f84aa2 --- /dev/null +++ b/ui/src/pages/work/Task.vue @@ -0,0 +1,29 @@ + + + 待办工作 + 已办工作 + + + + + diff --git a/ui/src/pages/work/Todo.vue b/ui/src/pages/work/Todo.vue index 73ec8c4..b0a8177 100644 --- a/ui/src/pages/work/Todo.vue +++ b/ui/src/pages/work/Todo.vue @@ -1,9 +1,101 @@ - + + + + + + + + + + + {{ item.userName }}, + + + + + + {{ formatDate(scope.row.deadLine) }} + + + + + 查看 + + + 完成 + + + + + + + + - +