diff --git a/ebts-ui/src/api/sist/article.js b/ebts-ui/src/api/sist/article.js index 5022a89..90d88ef 100644 --- a/ebts-ui/src/api/sist/article.js +++ b/ebts-ui/src/api/sist/article.js @@ -26,6 +26,20 @@ export function getArticle(id) { method: 'get' }) } +// 查询系统文章详细 +export function getArticleType() { + return request({ + url: '/sist/article/type/', + method: 'get' + }) +} + +export function getArticleApprove(type) { + return request({ + url: '/sist/article/approve/'+type, + method: 'get' + }) +} // 新增系统文章 export function addArticle(data) { @@ -51,4 +65,4 @@ export function delArticle(id) { url: '/sist/article/' + id, method: 'delete' }) -} \ No newline at end of file +} diff --git a/ebts-ui/src/views/sist/article/components/article.vue b/ebts-ui/src/views/sist/article/components/article.vue index d4ea465..137b685 100644 --- a/ebts-ui/src/views/sist/article/components/article.vue +++ b/ebts-ui/src/views/sist/article/components/article.vue @@ -16,84 +16,103 @@ - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + {{ item.dictLabel }} + + + + + + + + {{ item.dictLabel }} + + + + + + + + {{ item.dictLabel }} - - - - - - - - - - - - - - - + + + + + + + - 选择菜单或者文章类型 + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -109,7 +128,8 @@