Commit e5974890 authored by 沈翠玲's avatar 沈翠玲

外协

parent 4251ae03
...@@ -51,16 +51,28 @@ export default { ...@@ -51,16 +51,28 @@ export default {
data() { data() {
return { return {
curTab: 'PRO', curTab: 'PRO',
proImg: require('@/static/icons/png/pro.png'), proImg: require('@/static/icons/png/pro.png')
tabList: [{ }
path: 'PRO', },
title: '生产', computed: {
icon: require('@/static/icons/png/pro.png') tabList () {
}, { if (this.vuex_workunit && this.vuex_workunit.workunitName === '广州宝绅委外工作单元') {
path: 'QC', return [{
title: '质量', path: 'PRO',
icon: require('@/static/icons/png/qc.png') title: '外协',
}] icon: require('@/static/icons/png/wx.png')
}]
} else {
return [{
path: 'PRO',
title: '生产',
icon: require('@/static/icons/png/pro.png')
}, {
path: 'QC',
title: '质量',
icon: require('@/static/icons/png/qc.png')
}]
}
} }
}, },
created() { created() {
......
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