This commit is contained in:
insanity 2018-06-01 12:22:42 +09:00
parent ccf9ff53a8
commit 7d70d61205
6 changed files with 17 additions and 8 deletions

View File

@ -45,6 +45,7 @@ export class DiscoveryComponent {
switch (discoveryNotify.method) {
case 'DiscoveryService.discoveryStart': {
const startDate = discoveryNotify.params as Date;
break;
}
case 'DiscoveryService.discoveryStop': {

View File

@ -1,4 +1,4 @@
import { ServiceSelectorComponent } from './discovery/service-selector/service-selector.component';
import { ServiceSelectorComponent } from './service-selector.component';
import { DiscoveryComponent } from './discovery.component';
import { SearchConfigComponent } from './search-config.component';
import { SearchFilterComponent } from './search-filter.component';

View File

@ -11,6 +11,6 @@
</div>
</p-overlayPanel>
<button type="text" pButton label="{{services.length}} services has selected." (click)="op.toggle($event)"></button>
<a style="cursor: pointer" (click)="op.toggle($event)">{{services.length}} services has selected.</a>
</div>
</div>

View File

@ -29,4 +29,8 @@ export class RequestSummaryComponent implements OnChanges {
+ this.discoverZone.discoverHost.discoverPort.lastScanRange;
this.services = this.discoverZone.discoverHost.discoverPort.discoverService.includeServices;
}
showServices() {
return '1/n2/n3/n4';
}
}

View File

@ -11,7 +11,11 @@
dataKey="id" (onRowSelect)="onSelect($event.data)" (onRowUnselect)="onUnselect($event.data)">
<ng-template pTemplate="body" let-rowData let-columns="columns">
<tr [pSelectableRow]="rowData">
<!-- <td>
<p-tableCheckbox [value]="rowData"></p-tableCheckbox>
</td> -->
<td>
<p-tableCheckbox [value]="rowData"></p-tableCheckbox>
{{rowData.description}}
</td>
</tr>