Commit 730987ee authored by wangqinghua's avatar wangqinghua

update

parent 03b3f25a
...@@ -35,7 +35,7 @@ export class CheckListComponent implements OnInit { ...@@ -35,7 +35,7 @@ export class CheckListComponent implements OnInit {
private commonSer:CommonService) { private commonSer:CommonService) {
this.routerInfo.queryParams.subscribe( this.routerInfo.queryParams.subscribe(
(res) => { (res) => {
this.discoveryids = res.id; this.discoveryids = res.discoveryids;
this.tempName = res.name; this.tempName = res.name;
this.hostId = res.hostId; this.hostId = res.hostId;
} }
......
...@@ -70,6 +70,7 @@ export class CheckPrototypeComponent implements OnInit { ...@@ -70,6 +70,7 @@ export class CheckPrototypeComponent implements OnInit {
showAddModal(hostId,discoveryid, title) { showAddModal(hostId,discoveryid, title) {
this.title = title; this.title = title;
this.isCheck = true; this.isCheck = true;
this.discoveryid = discoveryid;
this.hostId = hostId; this.hostId = hostId;
this.overAllSer.findInterface(this.hostId).subscribe( this.overAllSer.findInterface(this.hostId).subscribe(
(res) => { (res) => {
...@@ -148,7 +149,7 @@ export class CheckPrototypeComponent implements OnInit { ...@@ -148,7 +149,7 @@ export class CheckPrototypeComponent implements OnInit {
} }
this.validateForm.patchValue({ this.validateForm.patchValue({
applications:this.validateForm.value.applications, applications:this.validateForm.value.applications,
hostId:this.hostId, hostid:this.hostId,
ruleid:this.discoveryid, ruleid:this.discoveryid,
status:this.validateForm.value.status ? 0 : 1 status:this.validateForm.value.status ? 0 : 1
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment