Commit 8c74c964 authored by jingnan's avatar jingnan 👀

试验领用孙瑶雪权限恢复

parent f3a3e462
...@@ -111,11 +111,9 @@ export default { ...@@ -111,11 +111,9 @@ export default {
const userId = localStorage.getItem('userId') const userId = localStorage.getItem('userId')
const dicData = await this.$utils.getDicListByCode('UseRequestType') const dicData = await this.$utils.getDicListByCode('UseRequestType')
// 当前登陆人为孙瑶雪 和dexadmin的时候下拉可以看到试验领用,其他人看不到 // 当前登陆人为孙瑶雪 和dexadmin的时候下拉可以看到试验领用,其他人看不到
// if (user === '孙瑶雪' || user === 'dexadmin') { if (user === '孙瑶雪' || user === 'dexadmin') {
// this.options = dicData.filter(item => item.label !== '无指令领用') this.options = dicData.filter(item => item.label !== '无指令领用')
// } else { } else if (user === '李晓倩' || user === '刘瑞' && Number(userId) === 1626782725550) {
// 当前登陆人为孙瑶雪 李晓倩 和dexadmin的时候下拉可以看到试验领用,其他人看不到
if (user === '孙瑶雪' || user === 'dexadmin' || user === '李晓倩' || user === '刘瑞' && Number(userId) === 1626782725550) {
this.options = dicData.filter(item => item.label !== '无指令领用' && item.label !== '试验领用') this.options = dicData.filter(item => item.label !== '无指令领用' && item.label !== '试验领用')
} else { } else {
this.options = dicData.filter(item => item.label !== '试验领用' && item.label !== '无指令领用' && item.label !== '紧急领用') this.options = dicData.filter(item => item.label !== '试验领用' && item.label !== '无指令领用' && item.label !== '紧急领用')
......
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