From 26a8369e79339f2246f8d3775c491700015b74c5 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 31 Mar 2022 17:33:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A2=98=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/theme/theme.js | 18 + src/views/ThemeGallery/index.vue | 471 +++++++++++++++--- src/views/components/ThemeGalleryList.vue | 277 +++------- src/views/components/upload.vue | 35 +- .../materialContent/materialList/index.vue | 3 +- .../publishContent/publishList/index.vue | 6 +- 6 files changed, 534 insertions(+), 276 deletions(-) diff --git a/src/api/theme/theme.js b/src/api/theme/theme.js index 95b7c52..2ac1f89 100644 --- a/src/api/theme/theme.js +++ b/src/api/theme/theme.js @@ -27,3 +27,21 @@ export function FetchAddOrEdit(parameter) { data: parameter }) } + +// 主题库素材历史列表 +export function FetchThemeHistoryList(parameter) { + return request({ + url: 'api/material/getThemeHistoryList', + method: 'get', + params: parameter + }) +} + +// 改变素材库状态 +export function FetchUpdateThemeState(parameter) { + return request({ + url: 'api/material/updateState', + method: 'post', + data: parameter + }) +} diff --git a/src/views/ThemeGallery/index.vue b/src/views/ThemeGallery/index.vue index a76c6c1..8e13b5d 100644 --- a/src/views/ThemeGallery/index.vue +++ b/src/views/ThemeGallery/index.vue @@ -1,31 +1,26 @@ diff --git a/src/views/components/upload.vue b/src/views/components/upload.vue index 1f29645..b9676b0 100644 --- a/src/views/components/upload.vue +++ b/src/views/components/upload.vue @@ -1,13 +1,17 @@