Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
刘怀志
pet-business-web
Commits
3b7688ce
Commit
3b7688ce
authored
Sep 19, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
e10abbd9
07c2d5d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
equipment-management.vue
...-management/equipment-management/equipment-management.vue
+7
-3
No files found.
src/views/equipment-management/equipment-management/equipment-management.vue
View file @
3b7688ce
...
...
@@ -399,6 +399,8 @@ export default {
title
:
''
,
// 查询检查项目下拉框传递的字段
itemType
:
''
,
// 部门等级
deptLevel
:
''
,
// 是否显示弹出层
open
:
false
,
// 查询参数
...
...
@@ -508,13 +510,15 @@ export default {
getUserInfo
()
{
getInfo
().
then
(
res
=>
{
console
.
log
(
'-------------------'
,
res
)
this
.
deptLevel
=
res
.
user
.
dept
.
level
console
.
log
(
'部门等级'
,
this
.
deptLevel
)
// this.userType = res.user.userType
//
console.log('this.userTyep', this.userType)
if
(
this
.
userType
===
'3
'
)
{
console
.
log
(
'this.userTyep'
,
this
.
userType
)
if
(
this
.
deptLevel
===
'2
'
)
{
this
.
orderShow
=
false
this
.
itemType
=
0
}
if
(
this
.
userType
===
'00
'
)
{
if
(
this
.
deptLevel
===
'1
'
)
{
this
.
serviceShow
=
false
this
.
itemType
=
2
}
...
...
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