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 @@