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
d83790fb
Commit
d83790fb
authored
Jan 13, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改应用服务
parent
e921e769
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
265 additions
and
315 deletions
+265
-315
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
-311
No files found.
portal-manager-ui/admin/src/api/applService.js
View file @
d83790fb
...
@@ -2,17 +2,17 @@ import http from "../request/http";
...
@@ -2,17 +2,17 @@ import http from "../request/http";
// 1.10.1. 查询应用服务列表
// 1.10.1. 查询应用服务列表
export
function
serviceList
(
params
)
{
export
function
serviceList
(
params
)
{
return
http
.
post
(
"
/zwfwsystem/service/list
"
,
params
);
return
http
.
post
(
"
/zwfw
/
system/service/list
"
,
params
);
}
}
// 1.10.2. 查看应用服务
// 1.10.2. 查看应用服务
export
function
serviceInfo
(
params
)
{
export
function
serviceInfo
(
params
)
{
return
http
.
get
(
"
/zwfwsystem/service/info
"
,
params
);
return
http
.
get
(
"
/zwfw
/
system/service/info
"
,
params
);
}
}
// 1.10.3. 保存更新应用服务
// 1.10.3. 保存更新应用服务
export
function
serviceSave
(
params
)
{
export
function
serviceSave
(
params
)
{
return
http
.
post
(
"
/zwfwsystem/service/save
"
,
params
);
return
http
.
post
(
"
/zwfw
/
system/service/save
"
,
params
);
}
}
// 1.10.4. 删除应用服务
// 1.10.4. 删除应用服务
export
function
serviceDelete
(
params
)
{
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 @
d83790fb
...
@@ -21,6 +21,7 @@ service.interceptors.request.use(
...
@@ -21,6 +21,7 @@ service.interceptors.request.use(
if
(
Authorization
)
{
if
(
Authorization
)
{
config
.
headers
.
Authorization
=
Authorization
;
config
.
headers
.
Authorization
=
Authorization
;
}
}
console
.
log
(
"
>>>>>
"
,
config
);
return
config
;
return
config
;
},
},
(
error
)
=>
{
(
error
)
=>
{
...
@@ -36,11 +37,13 @@ service.interceptors.response.use(
...
@@ -36,11 +37,13 @@ service.interceptors.response.use(
message
.
error
({
message
.
error
({
content
:
msg
,
content
:
msg
,
maxCount
:
1
,
maxCount
:
1
,
duration
:
1
,
});
});
}
else
if
(
code
===
401
)
{
}
else
if
(
code
===
401
)
{
message
.
error
({
message
.
error
({
message
:
msg
,
message
:
msg
,
maxCount
:
1
,
maxCount
:
1
,
duration
:
1
,
});
});
Storage
.
clear
(
2
);
Storage
.
clear
(
2
);
// Storage.remove(2, "siteId");
// Storage.remove(2, "siteId");
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/applService.vue
View file @
d83790fb
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