feat : 项目实施的阶段变更界面初始化

This commit is contained in:
2024-05-28 23:17:34 +08:00
parent 7f40296f3b
commit 9198837d65
2 changed files with 160 additions and 1 deletions

View File

@@ -181,7 +181,7 @@ const tableConfig = reactive({
btn.push({label: '查看分摊', prem: ['mosr:requirement:info'], func: () => handleShare(row), type: 'primary'})
}
if (buttons.has("phaseChange")) {
btn.push({label: '阶段变更', prem: ['mosr:requirement:info'], func: () => handleChange(row), type: 'primary'})
btn.push({label: '阶段变更', prem: ['mosr:requirement:info'], func: () => handlePhaseChange(row), type: 'primary'})
}
return (
<div style={{width: '100%'}}>
@@ -267,4 +267,12 @@ const handleShare = (row) => {
}
})
}
const handlePhaseChange = (row) => {
router.push({
name: 'Phase/change',
query: {
id: row.requirementId
}
})
}
</script>