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
7af925a7
Commit
7af925a7
authored
Jan 13, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
dec0d1a7
3d6a38fa
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
265 additions
and
310 deletions
+265
-310
portal-manager-ui/admin/src/api/applService.js
portal-manager-ui/admin/src/api/applService.js
+4
-4
portal-manager-ui/admin/src/request/request.js
portal-manager-ui/admin/src/request/request.js
+3
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/applService.vue
...min/src/views/thePlatformIsSet/components/applService.vue
+258
-306
No files found.
portal-manager-ui/admin/src/api/applService.js
View file @
7af925a7
...
...
@@ -2,17 +2,17 @@ import http from "../request/http";
// 1.10.1. 查询应用服务列表
export
function
serviceList
(
params
)
{
return
http
.
post
(
"
/zwfwsystem/service/list
"
,
params
);
return
http
.
post
(
"
/zwfw
/
system/service/list
"
,
params
);
}
// 1.10.2. 查看应用服务
export
function
serviceInfo
(
params
)
{
return
http
.
get
(
"
/zwfwsystem/service/info
"
,
params
);
return
http
.
get
(
"
/zwfw
/
system/service/info
"
,
params
);
}
// 1.10.3. 保存更新应用服务
export
function
serviceSave
(
params
)
{
return
http
.
post
(
"
/zwfwsystem/service/save
"
,
params
);
return
http
.
post
(
"
/zwfw
/
system/service/save
"
,
params
);
}
// 1.10.4. 删除应用服务
export
function
serviceDelete
(
params
)
{
return
http
.
get
(
"
/zwfwsystem/service/delete
"
,
params
);
return
http
.
get
(
"
/zwfw
/
system/service/delete
"
,
params
);
}
portal-manager-ui/admin/src/request/request.js
View file @
7af925a7
...
...
@@ -20,6 +20,7 @@ service.interceptors.request.use(
const
Authorization
=
JSON
.
parse
(
localStorage
.
getItem
(
"
Authorization
"
));
if
(
Authorization
)
{
config
.
headers
.
Authorization
=
Authorization
;
config
.
headers
.
Authtoken
=
Authorization
;
}
return
config
;
},
...
...
@@ -36,11 +37,13 @@ service.interceptors.response.use(
message
.
error
({
content
:
msg
,
maxCount
:
1
,
duration
:
1
,
});
}
else
if
(
code
===
401
)
{
message
.
error
({
message
:
msg
,
maxCount
:
1
,
duration
:
1
,
});
Storage
.
clear
(
2
);
// Storage.remove(2, "siteId");
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/applService.vue
View file @
7af925a7
This diff is collapsed.
Click to expand it.
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