diff --git a/src/js/request.js b/src/js/request.js index eaba549..c58bda8 100644 --- a/src/js/request.js +++ b/src/js/request.js @@ -687,6 +687,25 @@ const moduleGetByProjectId = (projectId, token) => { } +/** + * 根据子系统id获取子模块信息 + * @param sysId + * @param token + */ +const moduleGetBySysId = (sysId, token) => { + return axios({ + url: api + "module/get/min?sysId=" + sysId, + methods:"get", + headers: { + 'Authorization':'Bearer '+token, + 'Content-Type': 'application/json;charset=utf-8', + 'Timestamp': getCurrentTimestamp() + } + }) +} + + + /*const moduleGetByProjectId = (projectId, token) => { return axios ({ url:api + "/module/get", @@ -742,7 +761,7 @@ export default { projectWorkGet, moduleGetByProjectId, - + moduleGetBySysId, messageGet, diff --git a/src/router/index.js b/src/router/index.js index ec45ee0..c540c1f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -89,6 +89,11 @@ const router = createRouter({ path: '/WorkLoad/I_Manage/ChildSystem', name: 'WorkLoad/I_Manage/ChildSystem', component: () => import('@/views/WorkLoadPage/I_Manage_ChildSystem.vue') + }, + { + path: '/WorkLoad/I_Manage/Childsystem', + name: 'WorkLoad/I_Manage/ChildSystem', + component: () => import('@/views/WorkLoadPage/Childsystem.vue') } ] }, diff --git a/src/views/WorkLoadPage/ChildModule.vue b/src/views/WorkLoadPage/ChildModule.vue index f8dd0e1..8be89b1 100644 --- a/src/views/WorkLoadPage/ChildModule.vue +++ b/src/views/WorkLoadPage/ChildModule.vue @@ -51,7 +51,7 @@ - +
@@ -83,7 +83,7 @@ \ No newline at end of file diff --git a/src/views/WorkLoadPage/Childsystem.vue b/src/views/WorkLoadPage/Childsystem.vue new file mode 100644 index 0000000..fdc773f --- /dev/null +++ b/src/views/WorkLoadPage/Childsystem.vue @@ -0,0 +1,119 @@ + + \ No newline at end of file diff --git a/src/views/WorkLoadPage/I_Manage.vue b/src/views/WorkLoadPage/I_Manage.vue index fdec355..c240f99 100644 --- a/src/views/WorkLoadPage/I_Manage.vue +++ b/src/views/WorkLoadPage/I_Manage.vue @@ -41,7 +41,7 @@