diff --git a/test_client/src/api/cms.js b/test_client/src/api/cms.js index 0f65da2..a35be50 100644 --- a/test_client/src/api/cms.js +++ b/test_client/src/api/cms.js @@ -32,3 +32,9 @@ export function getArticle(id) { method: 'get', }) } +export function topArticle(id) { + return request({ + url: `/cms/article/${id}/top/`, + method: 'put', + }) +} diff --git a/test_client/src/views/analyse/examtest.vue b/test_client/src/views/analyse/examtest.vue index 70c8dc8..08a6547 100644 --- a/test_client/src/views/analyse/examtest.vue +++ b/test_client/src/views/analyse/examtest.vue @@ -69,6 +69,9 @@ + + + diff --git a/test_client/src/views/crm/consumer.vue b/test_client/src/views/crm/consumer.vue index 15859ab..33ca475 100644 --- a/test_client/src/views/crm/consumer.vue +++ b/test_client/src/views/crm/consumer.vue @@ -33,7 +33,7 @@ --> + + + + + + @@ -41,6 +50,22 @@