From 35805f42f675eee7b12d745268f5254ae2b0f44b Mon Sep 17 00:00:00 2001 From: "hechao.zhu" Date: Fri, 13 Oct 2023 10:45:40 +0800 Subject: [PATCH] =?UTF-8?q?cms=20=E6=96=87=E7=AB=A0=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/cms/admin/articel/CmsArticle.api.ts | 6 + .../cms/admin/articel/CmsArticleList.vue | 317 +++++++++--------- 2 files changed, 158 insertions(+), 165 deletions(-) diff --git a/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.api.ts b/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.api.ts index b22c34cd..a386a46b 100644 --- a/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.api.ts +++ b/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticle.api.ts @@ -11,6 +11,7 @@ enum Api { deleteBatch = '/cms/cmsArticle/deleteBatch', importExcel = '/cms/cmsArticle/importExcel', exportXls = '/cms/cmsArticle/exportXls', + operationStatus = '/cms/cmsArticle/operationStatus', } /** * 导出api @@ -21,6 +22,11 @@ export const getExportUrl = Api.exportXls; * 导入api */ export const getImportUrl = Api.importExcel; + + +export const updateStatus = (params) => defHttp.post({url: Api.operationStatus, params}); + + /** * 列表接口 * @param params diff --git a/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticleList.vue b/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticleList.vue index 65959e75..9493afc2 100644 --- a/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticleList.vue +++ b/jeecgboot-vue3-master/src/views/cms/admin/articel/CmsArticleList.vue @@ -1,70 +1,32 @@