diff --git a/src/js/request.js b/src/js/request.js index c58bda8..b7c7746 100644 --- a/src/js/request.js +++ b/src/js/request.js @@ -718,6 +718,22 @@ const moduleGetBySysId = (sysId, token) => { } }) }*/ + + +const moduleDelete = (id ,token) =>{ + return axios({ + url: api + "/module/delete/{id}", + method: "delete", + params: { + id: id + }, + headers: { + 'Authorization':'Bearer '+token, + 'Content-Type': 'application/json;charset=utf-8', + 'Timestamp': getCurrentTimestamp() + } + }) +} export default { login, @@ -762,6 +778,7 @@ export default { moduleGetByProjectId, moduleGetBySysId, + moduleDelete, messageGet, diff --git a/src/router/index.js b/src/router/index.js index c540c1f..60bb859 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -70,6 +70,11 @@ const router = createRouter({ name: 'WorkLoad/I_Manage/ChildModule', component: () => import('@/views/WorkLoadPage/ChildModule.vue') }, + { + path: '/WorkLoad/I_Manage/IChildModule', + name: 'Workload/IChildModule', + component: () => import('@/views/WorkLoadPage/IChildModule.vue') + }, { path: '/WorkLoad/I_Manage/UserManageModule', name: 'WorkLoadI_ManageUserManageModule', @@ -86,8 +91,8 @@ const router = createRouter({ component: () => import('@/views/WorkLoadPage/AuthorityManageModule.vue') }, { - path: '/WorkLoad/I_Manage/ChildSystem', - name: 'WorkLoad/I_Manage/ChildSystem', + path: '/WorkLoad/I_Manage/I_Manage_ChildSystem', + name: 'WorkLoad/I_Manage/IChildSystem', component: () => import('@/views/WorkLoadPage/I_Manage_ChildSystem.vue') }, { diff --git a/src/views/WorkLoadPage/IChildModule.vue b/src/views/WorkLoadPage/IChildModule.vue new file mode 100644 index 0000000..1ea0a19 --- /dev/null +++ b/src/views/WorkLoadPage/IChildModule.vue @@ -0,0 +1,107 @@ + + \ No newline at end of file diff --git a/src/views/WorkLoadPage/I_Manage_ChildSystem.vue b/src/views/WorkLoadPage/I_Manage_ChildSystem.vue index 0b2fcd9..602845a 100644 --- a/src/views/WorkLoadPage/I_Manage_ChildSystem.vue +++ b/src/views/WorkLoadPage/I_Manage_ChildSystem.vue @@ -1,11 +1,11 @@