Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
92f43a9c
Commit
92f43a9c
authored
Nov 20, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d4642e9d
dbad035a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
portal-manager-ui/admin/src/mixins/menu.js
portal-manager-ui/admin/src/mixins/menu.js
+0
-2
portal-manager-ui/admin/src/request/request.js
portal-manager-ui/admin/src/request/request.js
+1
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/menuManagement/menuMgmt.vue
...s/thePlatformIsSet/components/menuManagement/menuMgmt.vue
+2
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/ResourceManage.vue
...tformIsSet/components/permissionsModel/ResourceManage.vue
+15
-5
No files found.
portal-manager-ui/admin/src/mixins/menu.js
View file @
92f43a9c
...
...
@@ -85,8 +85,6 @@ export default {
// console.log(this.menuListData);
// console.log(this.menuTreeData);
// this.getMenuDict(); //弃用
}
else
{
this
.
$message
.
error
(
res
.
msg
);
}
});
},
...
...
portal-manager-ui/admin/src/request/request.js
View file @
92f43a9c
...
...
@@ -38,7 +38,7 @@ axios.interceptors.response.use(
if
(
response
.
data
.
code
!==
undefined
&&
response
.
data
.
msg
!==
undefined
)
{
// 取出数据
let
{
code
,
msg
}
=
response
.
data
;
if
(
code
===
-
1
)
{
if
(
code
===
-
1
||
code
===
405
)
{
message
.
error
({
content
:
msg
,
maxCount
:
1
,
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/menuManagement/menuMgmt.vue
View file @
92f43a9c
...
...
@@ -212,6 +212,7 @@ export default {
page
:
this
.
tablePagination
.
current
,
size
:
-
1
,
});
if
(
res
.
code
!=
1
)
return
;
let
{
data
,
total
,
dict
}
=
res
.
data
;
let
{
menuType
}
=
dict
;
this
.
tablePagination
.
total
=
total
;
...
...
@@ -410,4 +411,4 @@ export default {
}
}
}
</
style
>
\ No newline at end of file
</
style
>
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/ResourceManage.vue
View file @
92f43a9c
...
...
@@ -251,11 +251,21 @@ export default {
},
// 刷新资源
async
refSresource
()
{
let
res
=
await
refreshUrl
();
if
(
res
.
code
==
1
)
{
this
.
$message
.
success
(
res
.
msg
);
this
.
getResourceList
();
}
let
_this
=
this
;
this
.
$confirm
({
title
:
"
系统提示
"
,
content
:
"
确定要刷新资源吗?
"
,
okText
:
"
是
"
,
cancelText
:
"
否
"
,
centered
:
true
,
async
onOk
()
{
let
res
=
await
refreshUrl
();
if
(
res
.
code
==
1
)
{
_this
.
$message
.
success
(
res
.
msg
);
_this
.
getResourceList
();
}
},
});
},
},
};
...
...
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