Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
supervise-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
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
牛晓林
supervise-front
Commits
d8e765c8
Commit
d8e765c8
authored
Aug 07, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest
parent
31cc275c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
46 deletions
+46
-46
default.service.ts
src/app/api/api/default.service.ts
+1
-1
main.component.ts
src/app/main/main.component.ts
+3
-3
getscript.js
src/assets/getscript.js
+42
-42
No files found.
src/app/api/api/default.service.ts
View file @
d8e765c8
...
...
@@ -41,7 +41,7 @@ import { Observable } from 'rxjs';
@
Injectable
()
export
class
DefaultService
{
public
basePath
=
'http
://localhost:8081
'
;
public
basePath
=
'http
s://localhost
'
;
// public basePath = 'http://192.168.19.199:8081';
// public basePath = environment.prod? 'http://localhost:8081':'http://192.168.19.199:8081';
public
defaultHeaders
=
new
HttpHeaders
();
...
...
src/app/main/main.component.ts
View file @
d8e765c8
...
...
@@ -168,9 +168,9 @@ export class MainComponent implements OnInit {
this
.
http
.
get
<
any
>
(
this
.
s
.
basePath
+
"/mapLable/list"
).
subscribe
(
res
=>
{
// this.maplabes = res.data;
//加载labels
setTimeout
(()
=>
{
this
.
loadLabels
(
res
.
data
);
},
5000
);
//
setTimeout(() => {
//
this.loadLabels(res.data);
//
}, 5000);
});
this
.
http
.
get
<
any
>
(
this
.
s
.
basePath
+
"/scetion/list"
).
subscribe
(
res
=>
{
this
.
allsecs
=
res
.
data
;
...
...
src/assets/getscript.js
View file @
d8e765c8
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