From bc0331a7354b15c0fd967d87a7ea5730131910fb Mon Sep 17 00:00:00 2001 From: xiexiang <9ga-8vwj45xe1@dingtalk.com> Date: Sat, 7 Aug 2021 18:21:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=B9=A6=E7=B1=8D=E7=AE=A1=E7=90=86=E3=80=81?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E7=AE=A1=E7=90=86=E9=9D=99=E6=80=81=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/books-management.js | 12 +- .../components/gather-state-dialog.vue | 97 ++++++ .../components/timing-gather-books.vue | 132 +++++++ .../books-management/ShuYuan-page/index.vue | 314 +++++++++++++++++ src/views/books-management/ShuYuan.vue | 14 - .../article-page/components/edit-dialog.vue | 126 +++++++ .../books-management/article-page/index.vue | 325 ++++++++++++++++++ src/views/books-management/article.vue | 14 - .../components/check-books-dialog.vue | 240 +++++++++++++ .../components/edit-dialog.vue | 116 +++++++ src/views/sort-management/index.vue | 133 ++++--- 11 files changed, 1450 insertions(+), 73 deletions(-) create mode 100644 src/views/books-management/ShuYuan-page/components/gather-state-dialog.vue create mode 100644 src/views/books-management/ShuYuan-page/components/timing-gather-books.vue create mode 100644 src/views/books-management/ShuYuan-page/index.vue delete mode 100644 src/views/books-management/ShuYuan.vue create mode 100644 src/views/books-management/article-page/components/edit-dialog.vue create mode 100644 src/views/books-management/article-page/index.vue delete mode 100644 src/views/books-management/article.vue create mode 100644 src/views/sort-management/components/check-books-dialog.vue create mode 100644 src/views/sort-management/components/edit-dialog.vue diff --git a/src/router/modules/books-management.js b/src/router/modules/books-management.js index 8d79e26..b4feb88 100644 --- a/src/router/modules/books-management.js +++ b/src/router/modules/books-management.js @@ -14,16 +14,16 @@ const booksManagement = { children: [ { path: 'article', - component: () => import('@/views/books-management/article'), + component: () => import('@/views/books-management/article-page/index'), name: 'articleManagement', meta: { title: '文章管理' } }, { - path: 'ShuYuan', - component: () => import('@/views/books-management/ShuYuan'), - name: 'memberManagement', - meta: { title: '书源管理' } - } + path: 'ShuYuan', + component: () => import('@/views/books-management/ShuYuan-page/index'), + name: 'memberManagement', + meta: { title: '书源管理' } + } ] } export default booksManagement diff --git a/src/views/books-management/ShuYuan-page/components/gather-state-dialog.vue b/src/views/books-management/ShuYuan-page/components/gather-state-dialog.vue new file mode 100644 index 0000000..c9a6733 --- /dev/null +++ b/src/views/books-management/ShuYuan-page/components/gather-state-dialog.vue @@ -0,0 +1,97 @@ + + + + + + + + + + + 正在采集书源 5个预计需要时间 01:18 + + 合计采集书源 69个 + + + + + + + + diff --git a/src/views/books-management/ShuYuan-page/components/timing-gather-books.vue b/src/views/books-management/ShuYuan-page/components/timing-gather-books.vue new file mode 100644 index 0000000..7a9f368 --- /dev/null +++ b/src/views/books-management/ShuYuan-page/components/timing-gather-books.vue @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + 每日定时 + + + 每周定时 + + + 每月定时 + + + + + + + + + + + + + + + + + {{ dialogTitle === '定时采集书籍' ? '提交' : '开始采集' }} + + + 取消 + + + + + + + + + diff --git a/src/views/books-management/ShuYuan-page/index.vue b/src/views/books-management/ShuYuan-page/index.vue new file mode 100644 index 0000000..b0ce193 --- /dev/null +++ b/src/views/books-management/ShuYuan-page/index.vue @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + 搜索 + + + 重置 + + + + + + + + + + + 一键采集书籍 + + + 定时采集书籍 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/books-management/ShuYuan.vue b/src/views/books-management/ShuYuan.vue deleted file mode 100644 index 5c43d1a..0000000 --- a/src/views/books-management/ShuYuan.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - 书源管理 - - - - - - diff --git a/src/views/books-management/article-page/components/edit-dialog.vue b/src/views/books-management/article-page/components/edit-dialog.vue new file mode 100644 index 0000000..9c7f467 --- /dev/null +++ b/src/views/books-management/article-page/components/edit-dialog.vue @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 确认 + + + 取消 + + + + + + + + + diff --git a/src/views/books-management/article-page/index.vue b/src/views/books-management/article-page/index.vue new file mode 100644 index 0000000..df1674a --- /dev/null +++ b/src/views/books-management/article-page/index.vue @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + 提交 + + + 重置 + + + + + + + + + + + 书源 + + + 黄金糕 + + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/books-management/article.vue b/src/views/books-management/article.vue deleted file mode 100644 index 7973c30..0000000 --- a/src/views/books-management/article.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - 文章管理 - - - - - - diff --git a/src/views/sort-management/components/check-books-dialog.vue b/src/views/sort-management/components/check-books-dialog.vue new file mode 100644 index 0000000..e286f4f --- /dev/null +++ b/src/views/sort-management/components/check-books-dialog.vue @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + 提交 + + + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/sort-management/components/edit-dialog.vue b/src/views/sort-management/components/edit-dialog.vue new file mode 100644 index 0000000..cfe04f9 --- /dev/null +++ b/src/views/sort-management/components/edit-dialog.vue @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + 确认 + + + 取消 + + + + + + + + + diff --git a/src/views/sort-management/index.vue b/src/views/sort-management/index.vue index 56b0b6e..5276e6b 100644 --- a/src/views/sort-management/index.vue +++ b/src/views/sort-management/index.vue @@ -2,42 +2,67 @@ - - - - - - + + + + + + + @onClick="openCheckBooksDialog(scope.row)" + /> + @onClick="openEditDialog(scope.row)" + /> + /> @@ -51,61 +76,91 @@ :total="totalCount" @size-change="handleSizeChange" @current-change="handleCurrentChange" - > - + /> + + + +
+ 正在采集书源 5个预计需要时间 01:18 +
合计采集书源 69个