fix : 修复新增台账功能

This commit is contained in:
2024-06-03 16:48:00 +08:00
parent abd060b530
commit 63a6f9b85e
3 changed files with 23 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ const tableConfig = reactive({
},
{
prop: 'projectName',
label: '名称',
label: '项目名称',
align: 'center'
},
{
@@ -181,6 +181,19 @@ const tableConfig = reactive({
}
}
},
{
prop: 'researchStage',
label: '研发阶段',
align: 'center',
showOverflowTooltip: false,
currentRender: ({row, index}) => {
if (row.researchStage&&row.researchStage !== null&&row.researchStage!==undefined) {
return (<Tag dictType={'research_stage'} value={row.researchStage}/>)
} else {
return '--'
}
}
},
{
prop: 'projectImpact',
label: '项目影响',
@@ -321,6 +334,7 @@ const handleEdit = (row) => {
})
}
const handleStandingBook = (row) => {
localStorage.setItem('projectName', row.projectName)
router.push({
name: 'Implementation/account',
query: {