Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
house-type
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
xingyuji
house-type
Commits
d6f65b16
Commit
d6f65b16
authored
Sep 02, 2020
by
wangjiankun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:权限 容积率、成交总价 权限
parent
0702252d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
index.vue
src/views/ProductAnalysis/index.vue
+1
-1
index.vue
src/views/plateSupplyData/index.vue
+1
-1
index.vue
src/views/propertiesDetail/index.vue
+9
-5
No files found.
src/views/ProductAnalysis/index.vue
View file @
d6f65b16
...
@@ -629,7 +629,7 @@
...
@@ -629,7 +629,7 @@
computed
:
{
computed
:
{
haveAuth
()
{
haveAuth
()
{
return
(
accessName
)
=>
{
return
(
accessName
)
=>
{
if
(
accessName
)
{
return
fals
e
}
if
(
accessName
)
{
return
tru
e
}
const
auth
=
sessionStorage
.
getItem
(
'access'
)
const
auth
=
sessionStorage
.
getItem
(
'access'
)
if
(
auth
===
'master'
)
{
if
(
auth
===
'master'
)
{
return
true
return
true
...
...
src/views/plateSupplyData/index.vue
View file @
d6f65b16
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
computed
:
{
computed
:
{
haveAuth
()
{
haveAuth
()
{
return
(
accessName
)
=>
{
return
(
accessName
)
=>
{
if
(
accessName
)
{
return
fals
e
}
if
(
accessName
)
{
return
tru
e
}
const
auth
=
sessionStorage
.
getItem
(
'access'
)
const
auth
=
sessionStorage
.
getItem
(
'access'
)
if
(
auth
===
'master'
)
{
if
(
auth
===
'master'
)
{
return
true
return
true
...
...
src/views/propertiesDetail/index.vue
View file @
d6f65b16
...
@@ -849,12 +849,16 @@
...
@@ -849,12 +849,16 @@
computed
:
{
computed
:
{
haveAuth
()
{
haveAuth
()
{
return
(
accessName
)
=>
{
return
(
accessName
)
=>
{
const
auth
=
sessionStorage
.
getItem
(
'access'
)
if
(
accessName
===
'downloadFile'
)
{
if
(
auth
===
'master'
)
{
return
true
}
const
auth
=
sessionStorage
.
getItem
(
'access'
)
if
(
!
auth
)
{
if
(
auth
===
'master'
)
{
return
true
}
return
false
if
(
!
auth
)
{
return
false
}
else
{
return
auth
.
split
(
','
).
includes
(
accessName
)
}
}
else
{
}
else
{
return
auth
.
split
(
','
).
includes
(
accessName
)
return
true
}
}
}
}
},
},
...
...
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