Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kanban-nanjing-11
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
caolun
kanban-nanjing-11
Commits
b6422f0a
Commit
b6422f0a
authored
Jun 04, 2024
by
xcc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token修改
parent
432e8f6c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index1.html
index1.html
+1
-1
page3.html
page3.html
+1
-1
No files found.
index1.html
View file @
b6422f0a
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
methods
:
{
methods
:
{
getSite
(){
getSite
(){
fetch
(
'
http://127.0.0.1:8180/stage-api/base/site/selectListSite
'
,
fetch
(
'
http://127.0.0.1:8180/stage-api/base/site/selectListSite
'
,
{
method
:
'
GET
'
,
headers
:
{
'
Authorization
'
:
'
Bearer_
4b33504b-9b9a-4b93-8f1c-87729b9282d1
'
}})
{
method
:
'
GET
'
,
headers
:
{
'
Authorization
'
:
'
Bearer_
8aa1151b-dcff-47d7-8d6a-4bec3cb2041d
'
}})
.
then
(
response
=>
response
.
json
())
.
then
(
response
=>
response
.
json
())
.
then
(
data
=>
{
.
then
(
data
=>
{
this
.
gongweiList
=
data
.
data
.
map
((
o
)
=>
Object
.
assign
({},
o
,{
active
:
false
,
lable
:
o
.
siteName
}));
this
.
gongweiList
=
data
.
data
.
map
((
o
)
=>
Object
.
assign
({},
o
,{
active
:
false
,
lable
:
o
.
siteName
}));
...
...
page3.html
View file @
b6422f0a
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
var
tps
=
document
.
getElementById
(
"
tps-text
"
).
innerHTML
;
var
tps
=
document
.
getElementById
(
"
tps-text
"
).
innerHTML
;
if
(
tps
)
{
if
(
tps
)
{
fetch
(
'
http://127.0.0.1:8180/stage-api/order/ulocScreen/selectSiteBySiteId?tmBasSiteId=
'
+
tmBasSiteId
+
'
&sn=
'
+
tps
+
'
&type=
'
+
type
,
fetch
(
'
http://127.0.0.1:8180/stage-api/order/ulocScreen/selectSiteBySiteId?tmBasSiteId=
'
+
tmBasSiteId
+
'
&sn=
'
+
tps
+
'
&type=
'
+
type
,
{
method
:
'
GET
'
,
headers
:
{
'
Authorization
'
:
'
Bearer_
b3e1b7b2-51c8-451b-944b-dccf3491ad32
'
}})
{
method
:
'
GET
'
,
headers
:
{
'
Authorization
'
:
'
Bearer_
8aa1151b-dcff-47d7-8d6a-4bec3cb2041d
'
}})
.
then
(
response
=>
response
.
json
())
.
then
(
response
=>
response
.
json
())
.
then
(
data
=>
{
.
then
(
data
=>
{
$
(
"
#image
"
).
attr
(
"
src
"
,
data
.
data
);
$
(
"
#image
"
).
attr
(
"
src
"
,
data
.
data
);
...
...
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