已结项项目返回到已结项项目列表
parent
e8bfb7361f
commit
9fd2b1d847
|
@ -126,7 +126,10 @@ export default {
|
|||
this.getProjectInfo();
|
||||
},
|
||||
back() {
|
||||
router.push({path: '/'})
|
||||
if(this.project.completed===true)
|
||||
router.push({path: '/project/closed'})
|
||||
else
|
||||
router.push({path: '/'})
|
||||
},
|
||||
getStaffFullname() {
|
||||
return this.$store.state.staff === null ? ' ' : this.$store.state.staff.staffFullname
|
||||
|
|
Loading…
Reference in New Issue