diff --git a/admin/src/api/qa.js b/admin/src/api/qa.js index 13ae8182..c13a1441 100644 --- a/admin/src/api/qa.js +++ b/admin/src/api/qa.js @@ -9,13 +9,11 @@ export function login(data) { } // 获取子集列表 -export function getQaList(city_id) { +export function getQaList(params) { return request({ url: '/admin/qa/getQaList', method: 'get', - params: { - city_id - } + params: params }) } diff --git a/admin/src/router/index.js b/admin/src/router/index.js index ef638ee2..56f77af6 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -184,6 +184,15 @@ export const asyncRoutes = [ roles: ['order_index', 'editor'] }, children: [ + { + path: 'problem', + component: () => import('@/views/qa/problem.vue'), + name: 'problem', + meta: { + title: 'QA常见问题', + roles: ['admin'] + } + }, { path: 'qa', component: () => import('@/views/qa/qa.vue'), diff --git a/admin/src/views/qa/problem.vue b/admin/src/views/qa/problem.vue new file mode 100644 index 00000000..cd8531da --- /dev/null +++ b/admin/src/views/qa/problem.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file