子系统页面模型
This commit is contained in:
parent
842fcbde8c
commit
d1ec14082e
@ -616,6 +616,23 @@ const projectWorkGet = (data,token) => {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据项目id获得子系统
|
||||
* @param params
|
||||
* @param token
|
||||
*/
|
||||
const moduleGetByProjectId = (params,token) => {
|
||||
return axios({
|
||||
url:api + "/module/get",
|
||||
method:"get",
|
||||
params:params,
|
||||
headers:{
|
||||
'Authorization':'Bearer '+token,
|
||||
'content-type': 'application/json;charset=utf-8',
|
||||
'Timestamp': getCurrentTimestamp()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export default {
|
||||
@ -662,4 +679,7 @@ export default {
|
||||
|
||||
messageGet,
|
||||
|
||||
|
||||
moduleGetByProjectId
|
||||
|
||||
}
|
@ -49,7 +49,7 @@ const router = createRouter({
|
||||
{
|
||||
path:'/WorkLoad/I_Manage',
|
||||
name:'WordLoadI_Manage',
|
||||
component:()=>import('@/views/WorkLoadPage/I_Manage.vue')
|
||||
component:()=>import('@/views/WorkLoadPage/I_Manage.vue'),
|
||||
},
|
||||
{
|
||||
path: '/WorkLoad/I_Responsible',
|
||||
@ -57,9 +57,9 @@ const router = createRouter({
|
||||
component:() =>import('@/views/WorkLoadPage/I_Responsible.vue')
|
||||
},
|
||||
{
|
||||
path:'/WorkLoad/I_Manage/Back',
|
||||
name:'WorkLoadI_ManageBack',
|
||||
component:()=>import('@/views/WorkLoadPage/Back.vue')
|
||||
path:'/WorkLoad/I_Manage/ChildModule',
|
||||
name:'WorkLoad/I_Manage/ChildModule',
|
||||
component:()=>import('@/views/WorkLoadPage/ChildModule.vue')
|
||||
},
|
||||
{
|
||||
path:'/WorkLoad/I_Manage/UserManageModule',
|
||||
@ -76,6 +76,11 @@ const router = createRouter({
|
||||
name:'WorkLoadI_ManageAuthorityManageModule',
|
||||
component:()=>import('@/views/WorkLoadPage/AuthorityManageModule.vue')
|
||||
},
|
||||
{
|
||||
path:'/WorkLoad/I_Manage/ChildSystem',
|
||||
name:'WorkLoad/I_Manage/ChildSystem',
|
||||
component:() => import('@/views/WorkLoadPage/I_Manage_ChildSystem.vue')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -83,7 +88,7 @@ const router = createRouter({
|
||||
path:'/ProjectMessage',
|
||||
name:'MainMessageCustom',
|
||||
component:()=>import('@/views/ProjectPage/MainMessageCustom.vue')
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1,8 +1,7 @@
|
||||
<template>
|
||||
<div class="flex flex-col w-full">
|
||||
<a-breadcrumb class="mt-6 ml-6">
|
||||
<a-breadcrumb-item>我管理的</a-breadcrumb-item>
|
||||
<a-breadcrumb-item><a href="">梁溪区纪委大数据管理平台项目</a></a-breadcrumb-item>
|
||||
<a-breadcrumb-item>我管理的项目</a-breadcrumb-item>
|
||||
</a-breadcrumb>
|
||||
<div class="flex flex-row justify-between mt-3">
|
||||
<div>
|
||||
@ -37,7 +36,7 @@
|
||||
<p class="text-xl text-green-400 font-bold">10天</p>
|
||||
</div>
|
||||
<div class="ml-auto mr-10">
|
||||
<button v-if="showButton[index]" class="mt-8 w-6 h-6 flex items-center justify-center bg-green-400 text-black rounded-full transition duration-300 ease-in-out transform hover:scale-105" @click="$router.push('/WorkLoad/I_Manage/Back')">
|
||||
<button v-if="showButton[index]" class="mt-8 w-6 h-6 flex items-center justify-center bg-green-400 text-black rounded-full transition duration-300 ease-in-out transform hover:scale-105" @click="$router.push('/WorkLoad/I_Manage/ChildSystem')">
|
||||
<svg aria-hidden="true" class="rtl:rotate-180 w-4 h-4 text-white" fill="none" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1 5h12m0 0L9 1m4 4L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
||||
</svg>
|
||||
|
28
src/views/WorkLoadPage/I_Manage_ChildSystem.vue
Normal file
28
src/views/WorkLoadPage/I_Manage_ChildSystem.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<a-breadcrumb class="mt-6 ml-6">
|
||||
<a-breadcrumb-item><a href="/WorkLoad/I_Manage">我管理的项目</a></a-breadcrumb-item>
|
||||
<a-breadcrumb-item><a href="">子系统</a></a-breadcrumb-item>
|
||||
</a-breadcrumb>
|
||||
<div class="mt-12 ml-12 flex space-x-16 h-full">
|
||||
<div class="flex space-x-9">
|
||||
<a-card class="transition-transform transform-gpu hover:scale-105 relative w-96 h-64 rounded-none bg-cover bg-center bg-[url('@/assert/images/img25.jpg')]">
|
||||
<div class="flex absolute left-0 bottom-0 min-h-[30%] w-full bg-white">
|
||||
<p class="ml-6 mt-4 text-2xl font-bold tracking-tight text-gray-900"></p>
|
||||
<div class="flex mt-7 space-x-3">
|
||||
<p class="ml-14 text-lg">剩余</p>
|
||||
<p class="text-xl text-green-400 font-bold">10天</p>
|
||||
</div>
|
||||
<div class="ml-auto mr-10">
|
||||
<button class="mt-8 w-6 h-6 flex items-center justify-center bg-green-400 text-black rounded-full transition duration-300 ease-in-out transform hover:scale-105" @click="$router.push('/WorkLoad/I_Manage/ChildModule')">
|
||||
<svg aria-hidden="true" class="rtl:rotate-180 w-4 h-4 text-white" fill="none" viewBox="0 0 14 10" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1 5h12m0 0L9 1m4 4L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</a-card>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user