diff --git a/src/api/iscs.js b/src/api/iscs.js index 2de26bfd3..0f15a31b9 100644 --- a/src/api/iscs.js +++ b/src/api/iscs.js @@ -15,3 +15,29 @@ export function getIscsData(params) { params }); } + +// 分页获取ISCS数据 +export function getIscsDataByPage(params) { + return request({ + url: '/api/v1/iscs/pagedQuery', + method: 'get', + params + }); +} + +// 复制iscs数据 +export function copyIscsData(data) { + return request({ + url: '/api/v1/iscs/copy', + method: 'post', + data + }); +} + +// 删除iscs数据绘图数据(发布的) +export function deleteIscs(id) { + return request({ + url: `/api/v1/iscs/${id}`, + method: 'delete' + }); +} diff --git a/src/i18n/langs/en/router.js b/src/i18n/langs/en/router.js index 542b1d872..774c025aa 100644 --- a/src/i18n/langs/en/router.js +++ b/src/i18n/langs/en/router.js @@ -88,5 +88,6 @@ export default { questionsRuleManage: 'Question rule manage', preTheoryData: 'Pre Theory Data', boardManage: 'Message Board Manage', - publishIBPManage:'publish IBP Manage' + publishIBPManage:'publish IBP Manage', + publishISCSManage:'publish ISCS Manage' }; diff --git a/src/i18n/langs/zh/router.js b/src/i18n/langs/zh/router.js index 4b0964ce8..96ece23b7 100644 --- a/src/i18n/langs/zh/router.js +++ b/src/i18n/langs/zh/router.js @@ -93,5 +93,6 @@ export default { questionsRuleManage: '出题规则管理', preTheoryData: '理论导入预处理', boardManage: '留言板管理', - publishIBPManage:'发布IBP盘管理' + publishIBPManage:'发布IBP盘管理', + publishISCSManage:'发布ISCS管理' }; diff --git a/src/router/index_Common.js b/src/router/index_Common.js index 84d337e8f..bf494bd87 100644 --- a/src/router/index_Common.js +++ b/src/router/index_Common.js @@ -108,6 +108,7 @@ 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 PublishISCS = () => import('@/views/publish/publishISCS/index'); const TrainingPlatform = () => import('@/views/trainingPlatform/index'); @@ -673,6 +674,13 @@ export const asyncRouter = [ meta: { i18n: 'router.publishIBPManage' } + }, + { // 发布ibp盘 + path: 'iscs', + component: PublishISCS, + meta: { + i18n: 'router.publishISCSManage' + } } ] },