子系统页面优化3
This commit is contained in:
parent
a1f2d8dd14
commit
2d616b03ab
|
@ -19,7 +19,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a-button class="w-36">子系统文档</a-button>
|
<a-button class="w-36">子系统文档</a-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-row justify-start space-x-5 container">
|
<div class="flex flex-wrap justify-start space-x-5 space-y-12 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 class="transition-transform transform-gpu hover:scale-105 relative w-[260px] h-[300px] bg-cover bg-center bg-[url('@/assert/images/img44.jpg')]" @mouseleave="showButton[index]=false" @mouseover="showButton[index]=true">
|
<a-card class="transition-transform transform-gpu hover:scale-105 relative w-[260px] h-[300px] bg-cover bg-center bg-[url('@/assert/images/img44.jpg')]" @mouseleave="showButton[index]=false" @mouseover="showButton[index]=true">
|
||||||
<div class="flex absolute left-0 bottom-0 min-h-[30%] w-full bg-white">
|
<div class="flex absolute left-0 bottom-0 min-h-[30%] w-full bg-white">
|
||||||
|
@ -139,7 +139,7 @@ const ChildProjects = reactive({
|
||||||
id:-1,
|
id:-1,
|
||||||
isFinish:'',
|
isFinish:'',
|
||||||
workLoad:'',
|
workLoad:'',
|
||||||
description:'',
|
description:{},
|
||||||
cycle:'',
|
cycle:'',
|
||||||
principalUser: '',
|
principalUser: '',
|
||||||
principalId: ''
|
principalId: ''
|
||||||
|
@ -217,7 +217,7 @@ const handleAdd = () => {
|
||||||
// console.log(2222)
|
// console.log(2222)
|
||||||
// console.log("ChildProjects.data",ChildProjects.data)
|
// console.log("ChildProjects.data",ChildProjects.data)
|
||||||
formData.projectId = ChildProjects.data.id
|
formData.projectId = ChildProjects.data.id
|
||||||
formData.description = "{}"
|
//formData.description = "{}"
|
||||||
console.log("formData:",formData)
|
console.log("formData:",formData)
|
||||||
request.projectWorkAdd(formData,token).then((res)=>{
|
request.projectWorkAdd(formData,token).then((res)=>{
|
||||||
AddModule.value = false;
|
AddModule.value = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user