[update] 修改bug87423,去掉企标非管理员跳转流程的判断

This commit is contained in:
lideqin
2024-07-25 17:24:13 +08:00
parent a8cc788236
commit 6f367a6625
@@ -429,12 +429,13 @@ export default {
},
// 管理员直接新增企标到企标库,非管理员新增跳转到企标制修订发起页面
handleAdd () {
if (!this.isAdmin) {
this.$router.push({
path: '/workCenter/enterpriseStandardRevision/enterpriseStandardRevisionFlow'
})
return
}
// todo 暂时没有要跳转的页面
// if (!this.isAdmin) {
// this.$router.push({
// path: '/workCenter/enterpriseStandardRevision/enterpriseStandardRevisionFlow'
// })
// return
// }
this.$refs.modalForm.add()
this.$refs.modalForm.title = this.$t('newlyAdded')
this.$refs.modalForm.disableSubmit = false