Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-pc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
rongtong-pc
Commits
7261a585
Commit
7261a585
authored
Aug 21, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.censoft.com.cn/rongtong/ruoyi-ui
into swp-develop
parents
5c5ca2e0
e73ca39a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/store/modules/permission.js
src/store/modules/permission.js
+0
-2
src/views/risk/plan/inherentdata.vue
src/views/risk/plan/inherentdata.vue
+2
-2
No files found.
src/store/modules/permission.js
View file @
7261a585
...
...
@@ -38,7 +38,6 @@ const permission = {
const
rdata
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
data
));
const
sidebarRoutes
=
filterAsyncRouter
(
sdata
);
const
rewriteRoutes
=
filterAsyncRouter
(
rdata
,
false
,
true
);
debugger
;
const
asyncRoutes
=
filterDynamicRoutes
(
dynamicRoutes
);
rewriteRoutes
.
push
({
path
:
"
*
"
,
redirect
:
"
/404
"
,
hidden
:
true
});
router
.
addRoutes
(
asyncRoutes
);
...
...
@@ -109,7 +108,6 @@ function filterChildren(childrenMap, lastRouter = false) {
export
function
filterDynamicRoutes
(
routes
)
{
const
res
=
[];
routes
.
forEach
((
route
)
=>
{
debugger
;
if
(
route
.
permissions
)
{
if
(
auth
.
hasPermiOr
(
route
.
permissions
))
{
res
.
push
(
route
);
...
...
src/views/risk/plan/inherentdata.vue
View file @
7261a585
...
...
@@ -153,8 +153,8 @@
<div
class=
"approveResult"
>
<div
class=
"approveL"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"downList(InfoList.detailsDto.id)"
style=
"float: right; margin-bottom: 8px"
>
导出风险清单
</el-button>
<
!-- <
el-button type="warning" plain icon="el-icon-download" size="mini"
@click="downList(InfoList.detailsDto.id)" style="float: right; margin-bottom: 8px">导出风险清单</el-button>
-->
<el-table
v-loading=
"loading"
:data=
"listList"
>
<el-table-column
label=
"序号"
align=
"center"
>
<
template
slot-scope=
"scope"
>
...
...
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