This commit is contained in:
yannqing 2024-03-17 09:41:18 +08:00
parent cb4d8513e1
commit 494437cde2
4 changed files with 27 additions and 26 deletions

View File

@ -11,16 +11,16 @@
</div> </div>
</div> </div>
<div class="mt-12 ml-8 flex space-x-16 h-full"> <div class="mt-12 ml-8 flex space-x-16 h-full">
<div class="flex flex-col space-y-6 border-r border-gray-200 w-80 h-full p-8"> <!-- <div class="flex flex-col space-y-6 border-r border-gray-200 w-80 h-full p-8">-->
<p class="text-lg">子系统名称后台管理系统</p> <!-- <p class="text-lg">子系统名称后台管理系统</p>-->
<p>子系统周期10</p> <!-- <p>子系统周期10</p>-->
<p>项目开始时间</p> <!-- <p>项目开始时间</p>-->
<p>项目完成时间</p> <!-- <p>项目完成时间</p>-->
<div class="space-y-2"> <!-- <div class="space-y-2">-->
<p>工作量</p> <!-- <p>工作量</p>-->
<p>20/</p> <!-- <p>20/</p>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div v-for="(ChildModule, index) in ChildModules" :key="index" class="flex space-x-9" > <div v-for="(ChildModule, index) in ChildModules" :key="index" class="flex space-x-9" >
<a-card class="relative bg-blue-400 w-72 h-36 text-white rounded-xl"> <a-card class="relative bg-blue-400 w-72 h-36 text-white rounded-xl">

View File

@ -9,16 +9,16 @@
<button class="rounded-lg bg-red-500 hover:bg-red-600 p-1.5 text-white" @click="showAddModal">新增子系统</button> <button class="rounded-lg bg-red-500 hover:bg-red-600 p-1.5 text-white" @click="showAddModal">新增子系统</button>
</div> </div>
<div class="mt-12 ml-8 flex space-x-16 h-full"> <div class="mt-12 ml-8 flex space-x-16 h-full">
<div class="flex flex-col space-y-6 border-r border-gray-200 w-80 h-full p-8"> <!-- <div class="flex flex-col space-y-6 border-r border-gray-200 w-80 h-full p-8">-->
<p class="text-lg">项目名称梁溪区纪委大数据管理平台{{ ChildSystems.name }}</p> <!-- <p class="text-lg">项目名称梁溪区纪委大数据管理平台{{ ChildSystems.name }}</p>-->
<p>项目周期3个月</p> <!-- <p>项目周期3个月</p>-->
<p>项目开始时间</p> <!-- <p>项目开始时间</p>-->
<p>项目完成时间</p> <!-- <p>项目完成时间</p>-->
<div class="space-y-2"> <!-- <div class="space-y-2">-->
<p>工作量</p> <!-- <p>工作量</p>-->
<p>20/</p> <!-- <p>20/</p>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="flex flex-row justify-start space-x-5 container"> <div class="flex flex-row justify-start space-x-5 container">
<div v-for="(ChildSystem, index) in ChildSystems" :key="index" class="flex flex-row justify-start space-x-5"> <div v-for="(ChildSystem, index) in ChildSystems" :key="index" class="flex flex-row justify-start space-x-5">
<a-card <a-card

View File

@ -156,10 +156,10 @@ onMounted(
tagsData.value = res.data.data tagsData.value = res.data.data
}) })
// //
request.projectGet(token).then(res => { // request.projectGet(token).then(res => {
console.log(res) // console.log(res)
//
}) // })
} }
) )

View File

@ -41,7 +41,7 @@
<a-list-item>{{ item }}</a-list-item> <a-list-item>{{ item }}</a-list-item>
</template> </template>
<template #header> <template #header>
<div class="text-2xl text-blue-400">登录注册模块</div> <div class="text-2xl text-blue-400">{{moduleInfo.data.name}}</div>
</template> </template>
</a-list> </a-list>
</div> </div>
@ -58,13 +58,14 @@ const route = useRoute()
const token = window.localStorage.getItem("token") const token = window.localStorage.getItem("token")
const moduleInfo = reactive({ const moduleInfo = reactive({
name:'', data:{}
}) })
onMounted(()=>{ onMounted(()=>{
request.getModuleInfo(route.params.id, token).then((res)=>{ request.getModuleInfo(route.params.id, token).then((res)=>{
console.log("ModuleInfo:", res) console.log("ModuleInfo:", res)
moduleInfo.data = res.data.data
}) })
}) })
</script> </script>