diff --git a/src/api/designPlatform.js b/src/api/designPlatform.js index aa456b01c..cb69d19d6 100644 --- a/src/api/designPlatform.js +++ b/src/api/designPlatform.js @@ -89,3 +89,12 @@ export function releaseOrCancel(id, status) { method: 'get' }); } + +/** 管理员获取需审核的剧本列表 */ +export function reviewScriptList(params) { + return request({ + url: `/api/review/query/script`, + method: 'get', + params + }); +} diff --git a/src/router/index.js b/src/router/index.js index b377f4847..8253a3dc1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -111,6 +111,7 @@ import ExistingSimulation from '@/views/management/existingSimulation/index'; import CacheControl from '@/views/management/cacheControl/index'; import LessonApproval from '@/views/approval/lesson/index'; +import scriptReview from '@/views/approval/script/index'; /** * Note: sub-menu only appear when route children.length >= 1 @@ -1054,7 +1055,7 @@ export const asyncRouter = [ }, { path: 'script', - component: SkinCode, + component: scriptReview, meta: { i18n: 'router.scriptReleaseApplication' } diff --git a/src/views/approval/script/index.vue b/src/views/approval/script/index.vue new file mode 100644 index 000000000..7b1728329 --- /dev/null +++ b/src/views/approval/script/index.vue @@ -0,0 +1,95 @@ + + \ No newline at end of file