Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
73cdc9ad
Commit
73cdc9ad
authored
Jul 19, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
紧急领用 限制使用人增加刘瑞(女)
parent
b432ad0f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.vue
...rivateComponents/components/AddOutStorageUseCom/index.vue
+2
-1
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageUseCom/index.vue
View file @
73cdc9ad
...
@@ -108,13 +108,14 @@ export default {
...
@@ -108,13 +108,14 @@ export default {
methods
:
{
methods
:
{
async
getUseRequestTypes
()
{
async
getUseRequestTypes
()
{
const
user
=
localStorage
.
getItem
(
'user'
)
const
user
=
localStorage
.
getItem
(
'user'
)
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 {
// 当前登陆人为孙瑶雪 李晓倩 和dexadmin的时候下拉可以看到试验领用,其他人看不到
// 当前登陆人为孙瑶雪 李晓倩 和dexadmin的时候下拉可以看到试验领用,其他人看不到
if
(
user
===
'孙瑶雪'
||
user
===
'dexadmin'
||
user
===
'李晓倩'
)
{
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
!==
'紧急领用'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment