diff --git a/chenhai-ui/src/api/vet/article.js b/chenhai-ui/src/api/vet/article.js index eee61be..96dc4d0 100644 --- a/chenhai-ui/src/api/vet/article.js +++ b/chenhai-ui/src/api/vet/article.js @@ -84,6 +84,14 @@ export function getArticleOptions() { }); } +// 获取文章统计信息 +export function getMySimpleStats() { + return request({ + url: '/vet/article/my/simpleStats', + method: 'get' + }); +} + // 查询兽医经验文章列表 export function listArticle(query) { return request({ diff --git a/chenhai-ui/src/views/vet/article/index.vue b/chenhai-ui/src/views/vet/article/index.vue index a03d95b..a9ac69f 100644 --- a/chenhai-ui/src/views/vet/article/index.vue +++ b/chenhai-ui/src/views/vet/article/index.vue @@ -27,13 +27,13 @@ - - + + @@ -109,10 +109,10 @@
{{ tags.label }} @@ -139,12 +139,15 @@
+
+ +
- + @@ -155,97 +158,97 @@ - - 修改 - - - 删除 - - - 导出 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -347,7 +350,7 @@ - + @@ -444,7 +447,7 @@ export default { categoryId: null, categoryName: null, - taglistName: null, + tagOptionsName: null, tags: null, isTop: null, @@ -473,7 +476,7 @@ export default { // 分类列表 categories: [], // 标签列表 - taglist: [], + tagOptions: [], } }, @@ -500,13 +503,7 @@ export default { /* 查看我的所有文章 */ handleViewMyArticles() { this.flag = true - this.queryParams.pageNum = 1 this.queryParams.vetId = this.$store.state.user.userId; - const query = { - pageNum: 1, - pageSize: 10, - vetId: this.$store.state.user.userId - } getMyForumArticles(this.queryParams).then((response) => { if (response.code === 200) { this.articleList = response.data; @@ -784,6 +781,7 @@ export default { /* 操作按钮 */ .forum-main { flex: 1; + margin-left: 10px; } .forum-actions { diff --git a/chenhai-ui/src/views/vet/notification/index.vue b/chenhai-ui/src/views/vet/notification/index.vue index a09a43b..d2f734b 100644 --- a/chenhai-ui/src/views/vet/notification/index.vue +++ b/chenhai-ui/src/views/vet/notification/index.vue @@ -212,35 +212,35 @@ @pagination="getList" /> - + - - - + + + - - - + + + - - - - - - - - + + + + + + + +