feat : 项目实施的阶段变更界面初始化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user