fengxiang
2018-03-19 51350ae38d5490eeccb538b60444fe9099cf4a61
查询数据bug修改
2 files modified
9 ■■■■ changed files
src/app/routes/analysis/query/query.component.html 2 ●●● patch | view | raw | blame | history
src/app/routes/analysis/query/query.component.ts 7 ●●●●● patch | view | raw | blame | history
src/app/routes/analysis/query/query.component.html
@@ -10,7 +10,7 @@
                        <label>监测项目</label>
                    </div>
                    <div nz-form-control class="flex-1">
                        <nz-popover [nzTitle]="'请选择'" [(nzVisible)]="visible" [nzPlacement]="'bottomLeft'" [nzTrigger]="'hover'">
                        <nz-popover [nzTitle]="'请选择'" [nzPlacement]="'bottomLeft'" [nzTrigger]="'hover'">
                            <nz-input [nzType]="'input'" nz-popover [ngModel]="sensorNames" name="sensorNames" [nzReadonly]="true" [nzPlaceHolder]="'请选择监控类型'">
                                <ng-template #suffix>
                                    <i class="anticon anticon-plus ant-input-search-icon"></i>
src/app/routes/analysis/query/query.component.ts
@@ -121,13 +121,6 @@
    ) { }    
    ngOnInit() {
        this.initPage();
        $('.ant-table-body').on(
            'click',
            function() {
                alert();
                console.log( $('.ant-table-body').scrollLeft());
            }
        );
    }
    private initPage() {
        this.sensorsService.getPagingList(null, null).subscribe(