Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
wangqinghua
smart
Commits
18a66d2d
Commit
18a66d2d
authored
Dec 21, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3e9ec20b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
topology-img.component.html
.../app/netTopology/topology-img/topology-img.component.html
+1
-1
topology-img.component.ts
...pp/app/netTopology/topology-img/topology-img.component.ts
+1
-0
topology.service.ts
src/main/webapp/app/netTopology/topology.service.ts
+1
-1
No files found.
src/main/webapp/app/netTopology/topology-img/topology-img.component.html
View file @
18a66d2d
...
...
@@ -49,7 +49,7 @@
<td
class=
"handle"
>
<span
(
click
)="
deleteIcon
(
data
)"
>
删除
</span>
<ng-container
*
ngIf=
"data.defaultIcon == 0"
>
<span
(
click
)="
setDefault
()"
>
设为默认
</span>
<span
(
click
)="
setDefault
(
data
)"
>
设为默认
</span>
</ng-container>
</td>
</tr>
...
...
src/main/webapp/app/netTopology/topology-img/topology-img.component.ts
View file @
18a66d2d
...
...
@@ -76,6 +76,7 @@ export class TopologyImgComponent implements OnInit {
nzOkText
:
'确定'
,
nzOkType
:
'danger'
,
nzOnOk
:
()
=>
{
console
.
log
(
item
);
this
.
topologySer
.
iconDefault
(
item
.
id
).
subscribe
(
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
...
...
src/main/webapp/app/netTopology/topology.service.ts
View file @
18a66d2d
...
...
@@ -51,7 +51,7 @@ export class TopologyService {
//设置默认图标
iconDefault
(
params
):
Observable
<
any
>
{
return
this
.
http
.
get
(
SERVER_API_URL
+
'/default/'
+
params
);
return
this
.
http
.
get
(
SERVER_API_URL
+
'/
icon/
default/'
+
params
);
}
//查找所有设备类型+网站监测
...
...
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