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

外协

parent 4251ae03
......@@ -51,8 +51,19 @@ export default {
data() {
return {
curTab: 'PRO',
proImg: require('@/static/icons/png/pro.png'),
tabList: [{
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')
......@@ -62,6 +73,7 @@ export default {
icon: require('@/static/icons/png/qc.png')
}]
}
}
},
created() {
uni.$on('switchTab', (indexCode) => {
......
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