Commit 49e3cc92 by caoyanzhi

Merge branch 'feature/10月迭代' into dev

parents 37ad1a42 1f5811b9
......@@ -76,9 +76,14 @@ export default {
},
setStore(data) {
const { enterpriseId, superAdmin } = data;
const ids = [
'ff8080816dd0385e016ddca436d01fe1', // 生产巴拉商户
'ff8080816a36326c016a53380d8b5f52', // 生产金华达摩
'ff8080815dacd3a2015dacd3ef5c0000', // 测试金华达摩
]
this.$store.commit('checkAdmin', data);
// 如果是巴拉的子账号,不显示积分相关的操作按钮
this.$store.commit('showHandleScoreBtn', !(enterpriseId == 'ff8080816dd0385e016ddca436d01fe1' && superAdmin == 0));
this.$store.commit('showHandleScoreBtn', !(ids.includes(enterpriseId) && superAdmin == 0));
}
}
}
......
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