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

外协

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