Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
cd65252f
Commit
cd65252f
authored
Apr 11, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c621779b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
4 deletions
+58
-4
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+58
-4
No files found.
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
cd65252f
...
@@ -215,9 +215,11 @@ export default {
...
@@ -215,9 +215,11 @@ export default {
this
.
sideRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultRoute
));
this
.
sideRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
defaultRoute
));
console
.
log
(
this
.
sideRoute
)
console
.
log
(
this
.
sideRoute
)
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
console
.
log
(
arr
,
"||||||||"
)
let
arrList
=
[]
for
(
var
i
in
arr
)
{
for
(
var
i
in
arr
)
{
console
.
log
(
arr
[
i
])
for
(
var
j
in
arr
[
i
])
{
for
(
var
j
in
arr
[
i
])
{
arrList
.
push
(
j
)
switch
(
j
)
{
switch
(
j
)
{
case
'ownershipStructure'
:
case
'ownershipStructure'
:
if
(
arr
[
i
][
j
]
<
1
)
{
if
(
arr
[
i
][
j
]
<
1
)
{
...
@@ -285,7 +287,6 @@ export default {
...
@@ -285,7 +287,6 @@ export default {
this
.
sideRoute
[
3
].
children
[
0
].
disabled
=
true
;
this
.
sideRoute
[
3
].
children
[
0
].
disabled
=
true
;
}
}
break
;
break
;
case
'supplierV1'
:
case
'supplierV1'
:
if
(
arr
[
i
][
j
]
<
1
)
{
if
(
arr
[
i
][
j
]
<
1
)
{
this
.
sideRoute
[
3
].
children
[
1
].
disabled
=
true
;
this
.
sideRoute
[
3
].
children
[
1
].
disabled
=
true
;
...
@@ -296,13 +297,11 @@ export default {
...
@@ -296,13 +297,11 @@ export default {
this
.
sideRoute
[
3
].
children
[
2
].
disabled
=
true
;
this
.
sideRoute
[
3
].
children
[
2
].
disabled
=
true
;
}
}
break
;
break
;
case
'historySend'
:
case
'historySend'
:
if
(
arr
[
i
][
j
]
<
1
)
{
if
(
arr
[
i
][
j
]
<
1
)
{
this
.
sideRoute
[
3
].
children
[
3
].
disabled
=
true
;
this
.
sideRoute
[
3
].
children
[
3
].
disabled
=
true
;
}
}
break
;
break
;
case
'tenderRecordV1'
:
case
'tenderRecordV1'
:
if
(
arr
[
i
][
j
]
<
1
)
{
if
(
arr
[
i
][
j
]
<
1
)
{
this
.
sideRoute
[
3
].
children
[
4
].
disabled
=
true
;
this
.
sideRoute
[
3
].
children
[
4
].
disabled
=
true
;
...
@@ -349,6 +348,61 @@ export default {
...
@@ -349,6 +348,61 @@ export default {
}
}
}
}
}
}
if
(
!
arrList
.
includes
(
'landInfo'
))
{
this
.
sideRoute
[
2
].
children
[
1
].
disabled
=
true
;
this
.
sideRoute
[
4
].
children
[
1
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'busProposedProjectV1'
))
{
this
.
sideRoute
[
2
].
children
[
2
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'specialDebt'
))
{
this
.
sideRoute
[
2
].
children
[
3
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'biddingAnnouncement'
))
{
this
.
sideRoute
[
2
].
children
[
5
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'proBiddingAnnouncement'
))
{
this
.
sideRoute
[
2
].
children
[
6
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'adminLicensing'
))
{
this
.
sideRoute
[
2
].
children
[
7
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'customerV1'
))
{
this
.
sideRoute
[
3
].
children
[
0
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'supplierV1'
))
{
this
.
sideRoute
[
3
].
children
[
1
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'coopBiddingAgency'
))
{
this
.
sideRoute
[
3
].
children
[
2
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'historySend'
))
{
this
.
sideRoute
[
3
].
children
[
3
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'tenderRecordV1'
))
{
this
.
sideRoute
[
3
].
children
[
4
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'adminSanction'
))
{
this
.
sideRoute
[
5
].
children
[
0
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'abnormalOperation'
))
{
this
.
sideRoute
[
5
].
children
[
1
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'dishonestExecutee'
))
{
this
.
sideRoute
[
5
].
children
[
2
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'dishonestExecutor'
))
{
this
.
sideRoute
[
5
].
children
[
3
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'"adjudicativeDoc"'
)
!==
-
1
)
{
this
.
sideRoute
[
5
].
children
[
4
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'courtAnnouncement'
))
{
this
.
sideRoute
[
5
].
children
[
5
].
disabled
=
true
;
}
if
(
!
arrList
.
includes
(
'openAnnouncement'
))
{
this
.
sideRoute
[
5
].
children
[
6
].
disabled
=
true
;
}
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
));
this
.
defaultRoute
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
sideRoute
));
}
}
},
},
...
...
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