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
1528f0b9
Commit
1528f0b9
authored
Aug 01, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest
parent
4c3bc464
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
main.component.html
src/app/main/main.component.html
+23
-23
No files found.
src/app/main/main.component.html
View file @
1528f0b9
<div
*
ngIf=
"debug"
>
theme:
<input
type=
"textarea"
[(
ngModel
)]="
theme
"
>
<button
(
click
)="
setTheme
(
theme
)"
>
set theme
</button>
set curive:
<input
type=
"checkbox"
[(
ngModel
)]="
curive
"
>
<input
type=
"number"
[(
ngModel
)]="
curiveLength
"
>
<select
[(
ngModel
)]="
type
"
(
ngModelChange
)="
typeChange
($
event
)"
>
<option
value=
"0"
>
project
</option>
<option
value=
"1"
>
course
</option>
<option
value=
"2"
>
SECTION
</option>
</select>
<select
[(
ngModel
)]="
currentCouseId
"
>
<option
*
ngFor=
"let c of courses"
[
value
]="
c
.
id
"
>
{{c.name}}
</option>
</select>
<select
[(
ngModel
)]="
currentProjId
"
(
ngModelChange
)="
proj2Change
($
event
,
1
)"
>
<option
*
ngFor=
"let c of projects1"
[
value
]="
c
.
id
"
>
{{c.name}}
</option>
</select>
<select
[(
ngModel
)]="
currentProjId
"
(
ngModelChange
)="
proj2Change
($
event
,
2
)"
>
<option
*
ngFor=
"let c of projects2"
[
value
]="
c
.
id
"
>
{{c.name}}
</option>
</select>
</div>
<baidu-map
#
map
[
options
]="
opts
"
>
<baidu-map
#
map
[
options
]="
opts
"
>
<polyline
[
points
]="
points
"
[
options
]="
polylineOptions
"
(
loaded
)="
polylineLoaded
($
event
)"
<polyline
[
points
]="
points
"
[
options
]="
polylineOptions
"
(
loaded
)="
polylineLoaded
($
event
)"
(
clicked
)="
polylineClicked
($
event
)"
></polyline>
(
clicked
)="
polylineClicked
($
event
)"
></polyline>
...
@@ -90,28 +111,7 @@
...
@@ -90,28 +111,7 @@
</fieldset>
</fieldset>
</div>
</div>
</div>
</div>
<!-- <div *ngIf="debug">
theme:
<input type="textarea" [(ngModel)]="theme">
<button (click)="setTheme(theme)">set theme</button>
set curive:
<input type="checkbox" [(ngModel)]="curive">
<input type="number" [(ngModel)]="curiveLength">
<select [(ngModel)]="type" (ngModelChange)="typeChange($event)">
<option value="0">project</option>
<option value="1">course</option>
<option value="2">SECTION</option>
</select>
<select [(ngModel)]="currentCouseId">
<option *ngFor="let c of courses" [value]="c.id" >{{c.name}}</option>
</select>
<select [(ngModel)]="currentProjId" (ngModelChange)="proj2Change($event,1)">
<option *ngFor="let c of projects1" [value]="c.id" >{{c.name}}</option>
</select>
<select [(ngModel)]="currentProjId" (ngModelChange)="proj2Change($event,2)">
<option *ngFor="let c of projects2" [value]="c.id" >{{c.name}}</option>
</select>
</div> -->
<!-- <button (click)="openDialog('custom-modal-1')" >新增项目</button> -->
<!-- <button (click)="openDialog('custom-modal-1')" >新增项目</button> -->
<!-- <button (click)="toHighWay()">高速公路</button> -->
<!-- <button (click)="toHighWay()">高速公路</button> -->
<!-- <div class="proj-info" *ngIf="!highShow">
<!-- <div class="proj-info" *ngIf="!highShow">
...
...
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