feat : 项目立项详情页面初始化

This commit is contained in:
2024-05-15 00:18:40 +08:00
parent b2369d1702
commit 9ae0b7547c
3 changed files with 42 additions and 18 deletions

View File

@@ -1,12 +1,48 @@
<template>
<div>
项目立项详情
<div class="detail-block">
<el-tabs
v-model="activeName"
type="card"
class="demo-tabs"
@tab-click="handleClick"
>
<el-tab-pane label="需求征集" name="first">
</el-tab-pane>
<el-tab-pane label="需求上报" name="second"></el-tab-pane>
<el-tab-pane label="项目立项" name="third" :disabled="true"></el-tab-pane>
</el-tabs>
</div>
</template>
<script setup lang="jsx">
const activeName = ref('first')
const handleClick = (tab, event) => {
console.log(tab, event)
if(tab.index.value === 0){
}
}
</script>
<style scoped>
<style scoped lang="scss">
.detail-block{
padding-top: 15px;
:deep(.el-tabs__nav-scroll){
width: 100%;
display: flex;
.el-tabs__nav{
display: flex;
flex: 1;
.el-tabs__item{
flex: 1;
font-size: 16px;
}
.is-active{
color: black;
background-color: #DED0B2;
}
}
}
}
</style>

View File

@@ -1,12 +0,0 @@
<template>
<div>
项目立项编辑
</div>
</template>
<script setup lang="jsx">
</script>
<style scoped>
</style>

View File

@@ -129,7 +129,7 @@ const tableConfig = reactive({
},
{
prop: 'status',
label: '发布状态',
label: '状态',
align: 'center',
showOverflowTooltip: false,
currentRender: ({row, index}) => (<Tag dictType={'process_state'} value={row.state}/>)
@@ -165,7 +165,7 @@ const tableConfig = reactive({
}
}
],
api: '/workflow/mosr/requirement',
api: '',
params: {},
})