Merge branch 'develop-3'
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 16px 20px 20px;
|
padding: 10px 20px 20px;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
.page-content {
|
.page-content {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
padding-bottom: 16px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.breadcrumb-main-container {
|
.breadcrumb-main-container {
|
||||||
padding: 20px 20px;
|
padding: 20px 20px;
|
||||||
|
|||||||
@@ -39,11 +39,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.card{
|
.card{
|
||||||
|
height: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.15);
|
box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.15);
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree-box{
|
.tree-box{
|
||||||
|
|||||||
@@ -15,6 +15,6 @@
|
|||||||
<p><label>到达/出发:</label>{{flight.arriOrDept}}</p>
|
<p><label>到达/出发:</label>{{flight.arriOrDept}}</p>
|
||||||
<p><label>到达时间:</label>{{flight.arrivalTime}}</p>
|
<p><label>到达时间:</label>{{flight.arrivalTime}}</p>
|
||||||
<p><label>出发时间:</label>{{flight.departureTime}}</p>
|
<p><label>出发时间:</label>{{flight.departureTime}}</p>
|
||||||
<p><label>机型:</label>{{flight.aircraftTypeCode}}</p>
|
<p><label>机型:</label>{{flight.aircraftTypeName}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
+4
-4
@@ -61,11 +61,11 @@ export class DepartmentManagementComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
$('.tree-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('.tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
$('.main-content').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('.main-content').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
$(window).resize(function(){
|
$(window).resize(function(){
|
||||||
$('.tree-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('.tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
$('.main-content').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('.main-content').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
})
|
})
|
||||||
//表单实例化
|
//表单实例化
|
||||||
this.validateForm = this.fb.group({
|
this.validateForm = this.fb.group({
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
<div class="system-main-container">
|
<div class="system-main-container">
|
||||||
<div class="navigation">
|
|
||||||
<nz-breadcrumb>
|
|
||||||
<nz-breadcrumb-item>系统管理</nz-breadcrumb-item>
|
|
||||||
<nz-breadcrumb-item>操作日志</nz-breadcrumb-item>
|
|
||||||
</nz-breadcrumb>
|
|
||||||
</div>
|
|
||||||
<div class="user-manage">
|
<div class="user-manage">
|
||||||
<div class="system-main-content card">
|
<div class="system-main-content card" id="main-box">
|
||||||
|
|
||||||
<div class="search-box">
|
<div class="search-box">
|
||||||
<div nz-row>
|
<div nz-row>
|
||||||
<div nz-col nzSpan="8">
|
<div nz-col nzSpan="8">
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
@import "../../main.scss";
|
@import "../../main.scss";
|
||||||
.system-main-container{
|
.system-main-container{
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 0;
|
|
||||||
overflow-y:auto;
|
|
||||||
.user-manage{
|
.user-manage{
|
||||||
.system-main-content{
|
.system-main-content{
|
||||||
|
overflow-y:scroll;
|
||||||
}
|
}
|
||||||
.card{
|
.card{
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,11 @@ export class OperationLogsComponent implements OnInit {
|
|||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
// 页面监听 动态改变表单高度
|
||||||
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
|
$(window).resize(function(){
|
||||||
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
|
})
|
||||||
this.queryTable();
|
this.queryTable();
|
||||||
}
|
}
|
||||||
onChange(result: Date): void {
|
onChange(result: Date): void {
|
||||||
@@ -50,21 +55,17 @@ export class OperationLogsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//重置,重置搜索条件
|
//重置,重置搜索条件
|
||||||
reset(){
|
reset(){
|
||||||
|
this.search.page_index=1;
|
||||||
|
this.search.page_size=10;
|
||||||
this.search.keyword='';
|
this.search.keyword='';
|
||||||
this.search.date_start='';
|
this.search.date_start='';
|
||||||
this.search.date_end='';
|
this.search.date_end='';
|
||||||
this.queryTable();
|
this.queryTable();
|
||||||
}
|
}
|
||||||
//获取列表
|
//获取列表
|
||||||
queryTable(params?):void{
|
queryTable():void{
|
||||||
this.statusParamsTable.status=1;
|
this.statusParamsTable.status=1;
|
||||||
this.tableData=[];
|
this.tableData=[];
|
||||||
this.collectionSize='';
|
|
||||||
if(params){
|
|
||||||
this.search.page_index=params;
|
|
||||||
}else{
|
|
||||||
this.search.page_index='1';
|
|
||||||
}
|
|
||||||
this.http.get('/sysapi/oplog/list',this.search).subscribe((json)=>{
|
this.http.get('/sysapi/oplog/list',this.search).subscribe((json)=>{
|
||||||
if(json.is_success){
|
if(json.is_success){
|
||||||
this.tableData=json.body.recordList;
|
this.tableData=json.body.recordList;
|
||||||
@@ -81,7 +82,8 @@ export class OperationLogsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//翻页
|
//翻页
|
||||||
pageChange(event){
|
pageChange(event){
|
||||||
this.queryTable(event);
|
this.search.page_index=event;
|
||||||
|
this.queryTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
<div class="system-main-container">
|
<div class="system-main-container">
|
||||||
<div class="navigation">
|
<div class="card " id="main-box">
|
||||||
<nz-breadcrumb>
|
|
||||||
<nz-breadcrumb-item>系统管理</nz-breadcrumb-item>
|
|
||||||
<nz-breadcrumb-item>个人设置</nz-breadcrumb-item>
|
|
||||||
</nz-breadcrumb>
|
|
||||||
</div>
|
|
||||||
<div class="card ">
|
|
||||||
<nz-tabset [nzTabPosition]="'top'" [nzType]="'card'" class="self-main-content">
|
<nz-tabset [nzTabPosition]="'top'" [nzType]="'card'" class="self-main-content">
|
||||||
<nz-tab nzTitle="自定义显示列">
|
<nz-tab nzTitle="自定义显示列">
|
||||||
<div class="self-row-box">
|
<div class="self-row-box">
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
@import "../../main.scss";
|
|
||||||
.system-main-container{
|
.system-main-container{
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 0;
|
|
||||||
overflow-y:auto;
|
|
||||||
.self-main-content{
|
.self-main-content{
|
||||||
// overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.ant-tabs{
|
.ant-tabs{
|
||||||
@@ -49,4 +45,4 @@
|
|||||||
}
|
}
|
||||||
.bg{
|
.bg{
|
||||||
background-color: #e6f7ff;
|
background-color: #e6f7ff;
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,7 @@ declare var jQuery: any;
|
|||||||
@Component({
|
@Component({
|
||||||
selector: 'app-personal-settings',
|
selector: 'app-personal-settings',
|
||||||
templateUrl: './personal-settings.component.html',
|
templateUrl: './personal-settings.component.html',
|
||||||
styleUrls: ['./personal-settings.component.scss'],
|
styleUrls: ['./personal-settings.component.scss','../../main.scss'],
|
||||||
providers:[HttpClientService]
|
providers:[HttpClientService]
|
||||||
})
|
})
|
||||||
export class PersonalSettingsComponent implements OnInit {
|
export class PersonalSettingsComponent implements OnInit {
|
||||||
@@ -40,6 +40,11 @@ export class PersonalSettingsComponent implements OnInit {
|
|||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
// 页面监听 动态改变表单高度
|
||||||
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
|
$(window).resize(function(){
|
||||||
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
|
})
|
||||||
//this.list=[{"COL_CODE":"FLNO", "COL_CN":"航班号", "COL_ORDER":"10"}, {"COL_CODE":"ALCD", "COL_CN":"航空公司", "COL_ORDER":"8"}, {"COL_CODE":"FLIN", "COL_CN":"航线类别", "COL_ORDER":"4"}, {"COL_CODE":"FLTY", "COL_CN":"航班类别", "COL_ORDER":"5"}, {"COL_CODE":"MVIN", "COL_CN":"航向指示", "COL_ORDER":"9"}, {"COL_CODE":"TRML", "COL_CN":"候机楼", "COL_ORDER":"7"}, {"COL_CODE":"RENO", "COL_CN":"飞机号", "COL_ORDER":"3"}, {"COL_CODE":"SODT", "COL_CN":"计划到达/出发", "COL_ORDER":"13"}, {"COL_CODE":"ESTT", "COL_CN":"预计到达/出发", "COL_ORDER":"14"}, {"COL_CODE":"ACTT", "COL_CN":"实际到达/出发", "COL_ORDER":"15"}, {"COL_CODE":"STND", "COL_CN":"停机位", "COL_ORDER":"16"}, {"COL_CODE":"ORDER", "COL_CN":"排序", "COL_ORDER":"17"} ]
|
//this.list=[{"COL_CODE":"FLNO", "COL_CN":"航班号", "COL_ORDER":"10"}, {"COL_CODE":"ALCD", "COL_CN":"航空公司", "COL_ORDER":"8"}, {"COL_CODE":"FLIN", "COL_CN":"航线类别", "COL_ORDER":"4"}, {"COL_CODE":"FLTY", "COL_CN":"航班类别", "COL_ORDER":"5"}, {"COL_CODE":"MVIN", "COL_CN":"航向指示", "COL_ORDER":"9"}, {"COL_CODE":"TRML", "COL_CN":"候机楼", "COL_ORDER":"7"}, {"COL_CODE":"RENO", "COL_CN":"飞机号", "COL_ORDER":"3"}, {"COL_CODE":"SODT", "COL_CN":"计划到达/出发", "COL_ORDER":"13"}, {"COL_CODE":"ESTT", "COL_CN":"预计到达/出发", "COL_ORDER":"14"}, {"COL_CODE":"ACTT", "COL_CN":"实际到达/出发", "COL_ORDER":"15"}, {"COL_CODE":"STND", "COL_CN":"停机位", "COL_ORDER":"16"}, {"COL_CODE":"ORDER", "COL_CN":"排序", "COL_ORDER":"17"} ]
|
||||||
this.defaultCols=[
|
this.defaultCols=[
|
||||||
{"COL_CODE":"ACFT", "COL_CN":"机型", "COL_ORDER":"1"},
|
{"COL_CODE":"ACFT", "COL_CN":"机型", "COL_ORDER":"1"},
|
||||||
|
|||||||
+1
-2
@@ -1,11 +1,10 @@
|
|||||||
@import "../../../main.scss";
|
@import "../../../main.scss";
|
||||||
.system-main-container{
|
.system-main-container{
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 0;
|
|
||||||
overflow-y:auto;
|
|
||||||
}
|
}
|
||||||
.user-modify-box{
|
.user-modify-box{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow-y:auto;
|
||||||
.user-footer{
|
.user-footer{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
<div class="system-main-container">
|
<div class="system-main-container">
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<nz-breadcrumb>
|
<nz-breadcrumb>
|
||||||
<nz-breadcrumb-item>角色管理</nz-breadcrumb-item>
|
<nz-breadcrumb-item>
|
||||||
<nz-breadcrumb-item>列表</nz-breadcrumb-item>
|
角色管理
|
||||||
|
</nz-breadcrumb-item>
|
||||||
|
<nz-breadcrumb-item>
|
||||||
|
列表
|
||||||
|
</nz-breadcrumb-item>
|
||||||
</nz-breadcrumb>
|
</nz-breadcrumb>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-manage">
|
<div class="user-manage">
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
@import "../../main.scss";
|
@import "../../main.scss";
|
||||||
.system-main-container{
|
.system-main-container{
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 0;
|
|
||||||
overflow-y:auto;
|
|
||||||
.user-manage{
|
.user-manage{
|
||||||
.system-main-content{
|
.system-main-content{
|
||||||
|
overflow-y:scroll;
|
||||||
}
|
}
|
||||||
.card{
|
.card{
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,11 @@ export class RoleManagementComponent implements OnInit {
|
|||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
// 页面监听 动态改变表单高度
|
||||||
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
|
$(window).resize(function(){
|
||||||
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
|
})
|
||||||
this.queryTable();
|
this.queryTable();
|
||||||
}
|
}
|
||||||
//新增、修改 1新增 2修改
|
//新增、修改 1新增 2修改
|
||||||
@@ -58,17 +63,14 @@ export class RoleManagementComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//重置,重置搜索条件
|
//重置,重置搜索条件
|
||||||
reset(){
|
reset(){
|
||||||
|
this.search.page_index=1;
|
||||||
|
this.search.page_size=10;
|
||||||
this.search.role_name='';
|
this.search.role_name='';
|
||||||
this.queryTable();
|
this.queryTable();
|
||||||
}
|
}
|
||||||
//获取列表
|
//获取列表
|
||||||
queryTable(params?):void{
|
queryTable():void{
|
||||||
this.statusParamsTable.status=1;
|
this.statusParamsTable.status=1;
|
||||||
if(params){
|
|
||||||
this.search.page_index=params;
|
|
||||||
}else{
|
|
||||||
this.search.page_index='1';
|
|
||||||
}
|
|
||||||
this.tableData=[];
|
this.tableData=[];
|
||||||
this.http.get('/sysapi/setting/role/list',this.search).subscribe((json)=>{
|
this.http.get('/sysapi/setting/role/list',this.search).subscribe((json)=>{
|
||||||
if(json.is_success){
|
if(json.is_success){
|
||||||
@@ -86,7 +88,8 @@ export class RoleManagementComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//翻页
|
//翻页
|
||||||
pageChange(event){
|
pageChange(event){
|
||||||
this.queryTable(event);
|
this.search.page_index=event;
|
||||||
|
this.queryTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-3
@@ -1,8 +1,6 @@
|
|||||||
.system-main-container{
|
|
||||||
overflow-y:scroll;
|
|
||||||
}
|
|
||||||
.user-modify-box{
|
.user-modify-box{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow-y:scroll;
|
||||||
.user-footer{
|
.user-footer{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
<div class="system-main-container">
|
<div class="system-main-container">
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<nz-breadcrumb>
|
<nz-breadcrumb>
|
||||||
<nz-breadcrumb-item>用户管理</nz-breadcrumb-item>
|
<nz-breadcrumb-item>
|
||||||
<nz-breadcrumb-item>列表</nz-breadcrumb-item>
|
用户管理
|
||||||
|
</nz-breadcrumb-item>
|
||||||
|
<nz-breadcrumb-item>
|
||||||
|
列表
|
||||||
|
</nz-breadcrumb-item>
|
||||||
</nz-breadcrumb>
|
</nz-breadcrumb>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-manage">
|
<div class="user-manage">
|
||||||
@@ -44,7 +48,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<app-request-status *ngIf='statusParamsTable.status!=4' [statusParams]='statusParamsTable'></app-request-status>
|
<app-request-status *ngIf='statusParamsTable.status!=4' [statusParams]='statusParamsTable'></app-request-status>
|
||||||
<div class="table-box" *ngIf='statusParamsTable.status==3||statusParamsTable.status==4||statusParamsTable.status==0'>
|
<div class="table-box" *ngIf='statusParamsTable.status==3||statusParamsTable.status==4||statusParamsTable.status==0'>
|
||||||
<nz-table [nzShowPagination]='false' #dataSet [nzData]="tableData" [nzScroll]="{ y: (tableHeight+'px') }">
|
<nz-table [nzShowPagination]='false' #dataSet [nzData]="tableData">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>姓名</th>
|
<th>姓名</th>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
.user-manage{
|
.user-manage{
|
||||||
.system-main-content{
|
.system-main-content{
|
||||||
|
overflow-y:scroll;
|
||||||
}
|
}
|
||||||
.card{
|
.card{
|
||||||
|
|
||||||
@@ -19,6 +19,3 @@
|
|||||||
color: #1890ff;
|
color: #1890ff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ant-table-tbody{
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -34,7 +34,7 @@ export class UserManagementComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
visible = false;
|
visible = false;
|
||||||
userDetail:any={}; //用户详情
|
userDetail:any={}; //用户详情
|
||||||
tableHeight:any='100';
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private http:HttpClientService,
|
private http:HttpClientService,
|
||||||
@@ -44,19 +44,11 @@ export class UserManagementComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
// 页面监听 动态改变表单高度
|
// 页面监听 动态改变表单高度
|
||||||
$('#tree-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('#tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
$('#main-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
let winHeight=document.documentElement.clientHeight;
|
|
||||||
if(winHeight-396>100){
|
|
||||||
this.tableHeight=winHeight-396;
|
|
||||||
}
|
|
||||||
$(window).resize(function(){
|
$(window).resize(function(){
|
||||||
$('#tree-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('#tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
$('#main-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||||
let winHeight2=document.documentElement.clientHeight;
|
|
||||||
if(winHeight2-396>100){
|
|
||||||
this.tableHeight=winHeight2-396;
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
this.initTree();
|
this.initTree();
|
||||||
this.queryTable();
|
this.queryTable();
|
||||||
@@ -108,20 +100,15 @@ export class UserManagementComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//重置,重置搜索条件
|
//重置,重置搜索条件
|
||||||
reset(){
|
reset(){
|
||||||
|
this.search.page_index=1;
|
||||||
|
this.search.page_size=10;
|
||||||
this.search.real_name='';
|
this.search.real_name='';
|
||||||
this.search.login_name='';
|
this.search.login_name='';
|
||||||
this.queryTable();
|
this.queryTable();
|
||||||
}
|
}
|
||||||
//获取列表
|
//获取列表
|
||||||
queryTable(params?):void{
|
queryTable():void{
|
||||||
this.statusParamsTable.status=1;
|
this.statusParamsTable.status=1;
|
||||||
this.tableData=[];
|
|
||||||
this.collectionSize='';
|
|
||||||
if(params){
|
|
||||||
this.search.page_index=params;
|
|
||||||
}else{
|
|
||||||
this.search.page_index='1';
|
|
||||||
}
|
|
||||||
this.http.get('/sysapi/setting/user/list',this.search).subscribe((json)=>{
|
this.http.get('/sysapi/setting/user/list',this.search).subscribe((json)=>{
|
||||||
if(json.is_success){
|
if(json.is_success){
|
||||||
this.tableData=json.body.list;
|
this.tableData=json.body.list;
|
||||||
@@ -138,7 +125,8 @@ export class UserManagementComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//翻页
|
//翻页
|
||||||
pageChange(event){
|
pageChange(event){
|
||||||
this.queryTable(event);
|
this.search.page_index=event;
|
||||||
|
this.queryTable();
|
||||||
}
|
}
|
||||||
//树模型参数设置
|
//树模型参数设置
|
||||||
public zNodes: any[];
|
public zNodes: any[];
|
||||||
|
|||||||
Reference in New Issue
Block a user