请求状态等通知提示抽取

This commit is contained in:
zhouyuejun
2019-01-23 10:40:58 +08:00
parent 4b22d58c4c
commit 7f7bb13847
10 changed files with 18 additions and 33 deletions
@@ -10,11 +10,6 @@
padding: 5px 10px 5px 20px;
p{
margin: 0;
label{
// width: 120px;
font-weight: bolder;
// text-align: right;
}
}
}
}
+2 -1
View File
@@ -201,7 +201,7 @@
</td>
<td style="min-width:165px">{{airline_row['renderFlight']['FLID']}}</td>
<td *ngFor="let airline_col of render_col_lists" [ngClass]="getPosition(airline_col.COL_CODE,airline_row)"
[ngStyle]="getColor(airline_col.COL_CODE,airline_row,airline_col.COL_WIDTH)" [title]="airline_row['renderFlight'][airline_col.COL_CODE]">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td>
[ngStyle]="getColor(airline_col.COL_CODE,airline_row,airline_col.COL_WIDTH)">{{airline_row['renderFlight'][airline_col.COL_CODE]}}</td>
</tr>
</tbody>
</table>
@@ -228,4 +228,5 @@
</div>
</div>
</div>
<toast-box toastAnimation="fancy" toastPosition="toast-top-right"></toast-box>
</div>
-2
View File
@@ -413,8 +413,6 @@ export class MainComponent implements OnInit {
})
this.combined_data = combined_data;
this.doSequence(this.combined_data);
// const toastCfg = new ToastConfig(ToastType.SUCCESS, '', '刷新成功!', 3000);
// this.toastService.toast(toastCfg);
}
)
}
+5 -2
View File
@@ -1,7 +1,9 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgZorroAntdModule } from 'ng-zorro-antd'
import { NgZorroAntdModule } from 'ng-zorro-antd';
/* 消息提示 */
import { ToastModule } from '../../components/toast/toast.module'
import { MainComponent } from './main.component';
import { MainRoutingModule } from './main-routing.module';
@@ -17,7 +19,8 @@ import { SpecialTabComponent } from './special-tab/special-tab.component';
FormsModule,
ReactiveFormsModule,
NgZorroAntdModule,
MainRoutingModule
MainRoutingModule,
ToastModule
],
declarations: [
MainComponent,