From cdb3ab25c0ab30c6a92d6cce26359f3af3a54145 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 28 Dec 2020 14:27:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=86=85=E5=AE=B9=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=B7=BB=E5=8A=A0=20=E5=8F=91=E5=B8=83ibp=E7=9B=98?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ibp.js | 2 +- src/i18n/langs/en/router.js | 3 +- src/i18n/langs/zh/router.js | 3 +- src/router/index_Common.js | 8 +++ src/views/publish/publishIBP/index.vue | 90 ++++++++++++++++++++++++++ 5 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 src/views/publish/publishIBP/index.vue diff --git a/src/api/ibp.js b/src/api/ibp.js index a80778999..a3b1bea69 100644 --- a/src/api/ibp.js +++ b/src/api/ibp.js @@ -70,7 +70,7 @@ export function getIbpInfoByStation(mapId, stationCode) { // 获取IBP盘数据 export function getIbpList(params) { return request({ - url: `/api/ibp/list`, + url: `/api/ibp`, method: 'get', params: params }); diff --git a/src/i18n/langs/en/router.js b/src/i18n/langs/en/router.js index 528c66e39..542b1d872 100644 --- a/src/i18n/langs/en/router.js +++ b/src/i18n/langs/en/router.js @@ -87,5 +87,6 @@ export default { AuthorList: 'Authorization code list', questionsRuleManage: 'Question rule manage', preTheoryData: 'Pre Theory Data', - boardManage: 'Message Board Manage' + boardManage: 'Message Board Manage', + publishIBPManage:'publish IBP Manage' }; diff --git a/src/i18n/langs/zh/router.js b/src/i18n/langs/zh/router.js index 353967be8..4b0964ce8 100644 --- a/src/i18n/langs/zh/router.js +++ b/src/i18n/langs/zh/router.js @@ -92,5 +92,6 @@ export default { AuthorList: '授权列表', questionsRuleManage: '出题规则管理', preTheoryData: '理论导入预处理', - boardManage: '留言板管理' + boardManage: '留言板管理', + publishIBPManage:'发布IBP盘管理' }; diff --git a/src/router/index_Common.js b/src/router/index_Common.js index ca459a933..84d337e8f 100644 --- a/src/router/index_Common.js +++ b/src/router/index_Common.js @@ -107,6 +107,7 @@ const RunPlanEveryDay = () => import('@/views/publish/runPlanEveryDay/index'); const RunplanView = () => import('@/views/publish/runPlanEveryDay/runPlanView'); const PublishExamRule = () => import('@/views/publish/examRule/index'); const PublishExamRuleDraft = () => import('@/views/publish/examRule/draft/index'); +const PublishIBP = () => import('@/views/publish/publishIBP/index'); const TrainingPlatform = () => import('@/views/trainingPlatform/index'); @@ -665,6 +666,13 @@ export const asyncRouter = [ path: 'examRule/draft/:mode/:ruleId/:lessonId', component: PublishExamRuleDraft, hidden: true + }, + { // 发布ibp盘 + path: 'ibp', + component: PublishIBP, + meta: { + i18n: 'router.publishIBPManage' + } } ] }, diff --git a/src/views/publish/publishIBP/index.vue b/src/views/publish/publishIBP/index.vue new file mode 100644 index 000000000..e9245f6e8 --- /dev/null +++ b/src/views/publish/publishIBP/index.vue @@ -0,0 +1,90 @@ + +