Commit 89f2e5f1 authored by 李驰骋's avatar 李驰骋

通通工作单元ID判断是否外协

parent 5138ee38
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
}, },
computed: { computed: {
tabList () { tabList () {
if (this.vuex_workunit && this.vuex_workunit.workunitName === '广州宝绅委外工作单元') { if (this.vuex_workunit && this.vuex_workunit.workunitId === 1) {
return [{ return [{
path: 'PRO', path: 'PRO',
title: i18n.t('外协'), title: i18n.t('外协'),
......
...@@ -1413,7 +1413,7 @@ export default { ...@@ -1413,7 +1413,7 @@ export default {
isWaiXie() { isWaiXie() {
if ( if (
this.vuex_workunit && this.vuex_workunit &&
this.vuex_workunit.workunitName === '广州宝绅委外工作单元' this.vuex_workunit.workunitId === 1
) )
return true return true
return false return false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment