diff --git a/src/api/trainingPlatform.js b/src/api/trainingPlatform.js index d3cde2894..c5fb05b5d 100644 --- a/src/api/trainingPlatform.js +++ b/src/api/trainingPlatform.js @@ -57,3 +57,13 @@ export function getMapSystemPageList(params) { params }); } + +export function createMapSubSystem(data) { + /** 创建地图系统 */ + return request({ + url: `/api/mapSystem`, + method: 'post', + data: data + }); +} + diff --git a/src/i18n/langs/en/systemGenerate.js b/src/i18n/langs/en/systemGenerate.js index 69582464f..9a95d84ed 100644 --- a/src/i18n/langs/en/systemGenerate.js +++ b/src/i18n/langs/en/systemGenerate.js @@ -12,6 +12,11 @@ export default { inputName: 'Please input subsystem name', selectType: 'Please select type', selectPrdName: 'Please select product name', - createSubSystem: 'Create SubSystem', - modifySubSystem: 'Modify SubSystem' + createSubSystem: 'Commission SubSystem', + modifySubSystem: 'Modify SubSystem', + commission: 'Commission', + customized: 'Project', + selectProject: 'Please select project', + createMapSystemSuccess: 'Create map system success', + createMapSystemFail: 'Create map system fail' }; diff --git a/src/i18n/langs/zh/systemGenerate.js b/src/i18n/langs/zh/systemGenerate.js index 3d8329613..99801e88e 100644 --- a/src/i18n/langs/zh/systemGenerate.js +++ b/src/i18n/langs/zh/systemGenerate.js @@ -12,7 +12,12 @@ export default { inputName: '请输入子系统名称', selectType: '请选择类型', selectPrdName: '请选择产品名称', - createSubSystem: '创建子系统', - modifySubSystem: '修改子系统' + createSubSystem: '定制子系统', + modifySubSystem: '修改子系统', + commission: '定制', + customized: '项目', + selectProject: '请选择项目', + createMapSystemSuccess: '创建地图系统成功', + createMapSystemFail: '创建地图系统失败' }; diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js index 290e479ad..5f3523f75 100644 --- a/src/scripts/ConstConfig.js +++ b/src/scripts/ConstConfig.js @@ -109,6 +109,9 @@ export default { { enlabel: 'Exam System', label: '考试系统', value: 'Exam'}, { enlabel: 'Simulation System', label: '仿真系统', value: 'Simulation'}, { enlabel: 'Plan Draw', label: '运行图编制', value: 'Plan'} + ], + customeredProductType: [ + { enlabel: 'Plan Draw', label: '运行图编制', value: 'Plan'} ] } }; diff --git a/src/views/systemGenerate/create.vue b/src/views/systemGenerate/create.vue index 297728ebd..929588c37 100644 --- a/src/views/systemGenerate/create.vue +++ b/src/views/systemGenerate/create.vue @@ -10,13 +10,20 @@ + diff --git a/src/views/systemGenerate/index.vue b/src/views/systemGenerate/index.vue index 31cbdb88b..7003924de 100644 --- a/src/views/systemGenerate/index.vue +++ b/src/views/systemGenerate/index.vue @@ -4,9 +4,9 @@ 地图子系统生成 --> - - - + + +