Merge pull request 'dj' (#212) from dj into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/212
This commit is contained in:
2024-05-19 16:31:02 +00:00
16 changed files with 660 additions and 262 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 (
@@ -196,7 +201,9 @@ const handleApply = (row) => {
router.push({
name:'Initiation/apply',
query: {
id: row.requirementId
isAdd: 1,
id: row.requirementId,
projectId: row.projectId
}
})
}