Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangtianqi
2 years ago
Commit
9cb91c9d3bbf49542c59db594f889c339b8f06c8
1 parent
94e0c929
feat:监控配置->资源管理 端口侦测接口401
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
hg-monitor-web-base/src/main/resources/static/src/style/css/main.css
hg-monitor-web-base/src/main/resources/static/vue3/src/script/http.js
hg-monitor-web-base/src/main/resources/static/src/style/css/main.css
View file @
9cb91c9
...
...
@@ -8328,6 +8328,7 @@ form[lay-filter="notice_search_form"] .layui-inline, form[lay-filter="noticemerg
form
.layui-card-header.layuiadmin-card-header-auto
{
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
center
;
}
.searchButton
{
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/script/http.js
View file @
9cb91c9
...
...
@@ -51,7 +51,7 @@ let http = {
loading
=
__global
.
showLoading
();
}
if
(
setToken
==
undefined
||
setToken
==
true
)
{
var
access_token
=
'access
_t
oken='
+
http
.
getToken
();
var
access_token
=
'access
T
oken='
+
http
.
getToken
();
if
(
requestUrl
.
indexOf
(
'?'
)
==
-
1
)
{
requestUrl
+=
'?'
+
access_token
;
}
else
{
...
...
@@ -100,7 +100,7 @@ let http = {
}
let
header
=
{};
if
(
setToken
==
undefined
||
setToken
==
true
)
{
var
access_token
=
'access
_t
oken='
+
http
.
getToken
();
var
access_token
=
'access
T
oken='
+
http
.
getToken
();
if
(
requestUrl
.
indexOf
(
'?'
)
==
-
1
)
{
requestUrl
+=
'?'
+
access_token
;
}
else
{
...
...
@@ -144,7 +144,7 @@ let http = {
uploadFile
(
requestUrl
,
parmas
,
callback
)
{
const
loading
=
__global
.
showLoading
();
var
access_token
=
'access
_t
oken='
+
http
.
getToken
();
var
access_token
=
'access
T
oken='
+
http
.
getToken
();
if
(
requestUrl
.
indexOf
(
'?'
)
==
-
1
)
{
requestUrl
+=
'?'
+
access_token
;
}
else
{
...
...
@@ -187,7 +187,7 @@ let http = {
},
downloadFile
(
requestUrl
,
parmas
)
{
var
access_token
=
'access
_t
oken='
+
http
.
getToken
();
var
access_token
=
'access
T
oken='
+
http
.
getToken
();
if
(
requestUrl
.
indexOf
(
'?'
)
==
-
1
)
{
requestUrl
+=
'?'
+
access_token
;
}
else
{
...
...
@@ -201,7 +201,7 @@ let http = {
window
.
open
(
http
.
getGateWay
()
+
requestUrl
+
"&"
+
p
);
},
getToken
()
{
return
localStorage
.
getItem
(
'
access_token
'
);
return
localStorage
.
getItem
(
'
AuthVal
'
);
},
getGateWay
()
{
let
gateway
=
sessionStorage
.
getItem
(
'domainName'
);
...
...
Please
register
or
login
to post a comment