fix : 修复项目申请/验收/结项功能

This commit is contained in:
2024-05-19 20:39:54 +08:00
parent 4a90f4bc1e
commit 1f4389eb5e
10 changed files with 409 additions and 122 deletions

View File

@@ -117,6 +117,11 @@ const tableConfig = reactive({
label: '项目影响',
align: 'center'
},
{
prop: 'economicEstimate',
label: '经济概况',
align: 'center'
},
{
prop: 'startTime',
label: '起止时间',
@@ -144,7 +149,7 @@ const tableConfig = reactive({
let btn = [{label: '详情', func: () => handleDetail(row), type: 'primary'}]
if (row.state === '3') {
btn.push({label: '编辑', func: () => handleEdit(row), type: 'primary'})
} else if (row.state === '20') {
} else if (row.state === '0') {
btn.push({label: '申请', func: () => handleApply(row), type: 'primary'})
}
return (
@@ -195,7 +200,8 @@ const handleApply = (row) => {
router.push({
name:'Initiation/apply',
query: {
id: row.requirementId
id: row.requirementId,
projectId: row.projectId
}
})
}