去除导航
This commit is contained in:
@@ -39,11 +39,11 @@
|
||||
}
|
||||
}
|
||||
.card{
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.15);
|
||||
border-radius: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tree-box{
|
||||
|
||||
@@ -1,3 +1,28 @@
|
||||
<p>
|
||||
data-synchronize works!
|
||||
</p>
|
||||
<div class="system-main-container">
|
||||
<div class="system-main-content card">
|
||||
<div nz-row>
|
||||
<div nz-col nzSpan="8">
|
||||
<nz-form-item >
|
||||
<nz-form-label class="left">请求的消息类型</nz-form-label>
|
||||
<nz-form-control nzSpan="10">
|
||||
<nz-select style="width: 160px;" [(ngModel)]="selectedValue" nzAllowClear nzPlaceHolder="Choose">
|
||||
<nz-option nzValue="1" nzLabel="日航班计划"></nz-option>
|
||||
</nz-select>
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
</div>
|
||||
<div nz-col nzSpan="9">
|
||||
<nz-form-item >
|
||||
<nz-form-label class="left">时间</nz-form-label>
|
||||
<nz-form-control nzSpan="20">
|
||||
<nz-range-picker [(ngModel)]="dateRange" (ngModelChange)="onChange($event)" nzShowTime></nz-range-picker>
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-footer">
|
||||
<button (click)='save()' nz-button nzType="primary" class="mr10" [disabled]='!dateRange'>确定</button>
|
||||
<button (click)='cancel()' nz-button nzType="default">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
@import "../../main.scss";
|
||||
.user-footer{
|
||||
margin-left: 340px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { HttpClientService } from '../../../services/http-client.service';
|
||||
import { Router } from '@angular/router';
|
||||
import { NzMessageService } from 'ng-zorro-antd';
|
||||
|
||||
@Component({
|
||||
selector: 'app-data-synchronize',
|
||||
@@ -6,10 +9,30 @@ import { Component, OnInit } from '@angular/core';
|
||||
styleUrls: ['./data-synchronize.component.scss']
|
||||
})
|
||||
export class DataSynchronizeComponent implements OnInit {
|
||||
selectedValue:any='1';
|
||||
dateRange:any='';
|
||||
search:any={
|
||||
date_start:'',
|
||||
date_end:''
|
||||
}
|
||||
constructor() { }
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
onChange(result: Date): void {
|
||||
this.search.date_start=this.changeDate(result[0]);
|
||||
this.search.date_end=this.changeDate(result[1]);
|
||||
|
||||
}
|
||||
//日期时间处理
|
||||
changeDate(time){
|
||||
var date = new Date(time);
|
||||
var Y = date.getFullYear()+'';
|
||||
var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1)+'';
|
||||
var D = (date.getDate()<10?'0'+date.getDate():date.getDate())+'';
|
||||
var h = (date.getHours()<10?'0'+date.getHours():date.getHours())+'' ;
|
||||
var m = (date.getMinutes()<10?'0'+date.getMinutes():date.getMinutes())+'';
|
||||
var s = date.getSeconds()<10?'0'+date.getSeconds():date.getSeconds()+'';
|
||||
return Y+'-'+M+'-'+D+' '+h+':'+m+':'+s;
|
||||
}
|
||||
}
|
||||
|
||||
-19
@@ -1,16 +1,4 @@
|
||||
<div class="system-main-container">
|
||||
<div class="navigation">
|
||||
<nz-breadcrumb>
|
||||
<nz-breadcrumb-item>
|
||||
部门管理
|
||||
</nz-breadcrumb-item>
|
||||
<nz-breadcrumb-item>
|
||||
<span *ngIf='modifyType==1'>新增</span>
|
||||
<span *ngIf='modifyType==2'>修改</span>
|
||||
<span *ngIf='modifyType==3'>详情</span>
|
||||
</nz-breadcrumb-item>
|
||||
</nz-breadcrumb>
|
||||
</div>
|
||||
<div class="org-manage">
|
||||
<div class="tree-box">
|
||||
<app-request-status [statusParams]='statusParamsTree'></app-request-status>
|
||||
@@ -76,13 +64,6 @@
|
||||
<span class="detail-item-text">{{parentName|null}}</span>
|
||||
</nz-form-item>
|
||||
</div>
|
||||
<div nz-col nzSpan="24">
|
||||
<nz-form-item>
|
||||
<nz-form-label>LOGO</nz-form-label>
|
||||
<span *ngIf='!orgDetail.logo'>无</span>
|
||||
<img *ngIf='orgDetail.logo' class="org-detail-logo" [src]="orgDetail.logo" alt="">
|
||||
</nz-form-item>
|
||||
</div>
|
||||
<div nz-col nzSpan="24">
|
||||
<nz-form-item>
|
||||
<nz-form-label>机构负责人</nz-form-label>
|
||||
|
||||
+5
-2
@@ -1,15 +1,18 @@
|
||||
@import "../../main.scss";
|
||||
.system-main-container{
|
||||
padding-top: 10px;
|
||||
.org-manage{
|
||||
.main-content{
|
||||
overflow-y:scroll;
|
||||
overflow-y:auto;
|
||||
.detail-item-text {
|
||||
line-height: 40px;
|
||||
}
|
||||
.operation-box{
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
padding-bottom: 20px;
|
||||
button{
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
}
|
||||
.org-detail-logo{
|
||||
width: 40px;
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
@import "../../main.scss";
|
||||
.system-main-container{
|
||||
overflow-y:auto;
|
||||
.user-manage{
|
||||
.system-main-content{
|
||||
overflow-y:scroll;
|
||||
|
||||
}
|
||||
.card{
|
||||
|
||||
|
||||
@@ -42,16 +42,23 @@ export class OperationLogsComponent implements OnInit {
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
// 页面监听 动态改变表单高度
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
$(window).resize(function(){
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
})
|
||||
this.queryTable();
|
||||
}
|
||||
onChange(result: Date): void {
|
||||
this.search.date_start=new Date(result[0]).getTime();
|
||||
this.search.date_end=new Date(result[1]).getTime();
|
||||
this.search.date_start=this.changeDate(result[0]);
|
||||
this.search.date_end=this.changeDate(result[1]);
|
||||
|
||||
}
|
||||
//日期时间处理
|
||||
changeDate(time){
|
||||
var date = new Date(time);
|
||||
var Y = date.getFullYear()+'';
|
||||
var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1)+'';
|
||||
var D = (date.getDate()<10?'0'+date.getDate():date.getDate())+'';
|
||||
var h = (date.getHours()<10?'0'+date.getHours():date.getHours())+'' ;
|
||||
var m = (date.getMinutes()<10?'0'+date.getMinutes():date.getMinutes())+'';
|
||||
var s = date.getSeconds()<10?'0'+date.getSeconds():date.getSeconds()+'';
|
||||
return Y+'-'+M+'-'+D+' '+h+':'+m+':'+s;
|
||||
}
|
||||
//重置,重置搜索条件
|
||||
reset(){
|
||||
|
||||
-11
@@ -1,15 +1,4 @@
|
||||
<div class="system-main-container">
|
||||
<div class="navigation">
|
||||
<nz-breadcrumb>
|
||||
<nz-breadcrumb-item>
|
||||
<a [routerLink]="['../']">角色管理</a>
|
||||
</nz-breadcrumb-item>
|
||||
<nz-breadcrumb-item>
|
||||
<span *ngIf='modifyType==1'>新增角色</span>
|
||||
<span *ngIf='modifyType==2'>修改角色</span>
|
||||
</nz-breadcrumb-item>
|
||||
</nz-breadcrumb>
|
||||
</div>
|
||||
<div class="user-modify-box card" id="main-container">
|
||||
<app-request-status *ngIf="modifyType==2" [statusParams]='statusParamsDetail'></app-request-status>
|
||||
<nz-skeleton [nzActive]="true" [nzParagraph]="{ rows: 16 }" *ngIf='modifyType==2&&statusParamsDetail.status==1'></nz-skeleton>
|
||||
|
||||
+1
-2
@@ -1,10 +1,9 @@
|
||||
@import "../../../main.scss";
|
||||
.system-main-container{
|
||||
padding-top: 10px;
|
||||
overflow-y:auto;
|
||||
}
|
||||
.user-modify-box{
|
||||
position: relative;
|
||||
overflow-y:auto;
|
||||
.user-footer{
|
||||
text-align: center;
|
||||
margin-top: -20px;
|
||||
|
||||
@@ -1,16 +1,6 @@
|
||||
<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="system-main-content card" id="main-box">
|
||||
<div class="system-main-content card">
|
||||
<div class="search-box">
|
||||
<div nz-row>
|
||||
<div nz-col nzSpan="8">
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
@import "../../main.scss";
|
||||
.system-main-container{
|
||||
padding-top: 10px;
|
||||
overflow-y:auto;
|
||||
.user-manage{
|
||||
.system-main-content{
|
||||
overflow-y:scroll;
|
||||
min-height: 500px;
|
||||
}
|
||||
.card{
|
||||
|
||||
|
||||
@@ -35,11 +35,6 @@ export class RoleManagementComponent implements OnInit {
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
// 页面监听 动态改变表单高度
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
$(window).resize(function(){
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
})
|
||||
this.queryTable();
|
||||
}
|
||||
//新增、修改 1新增 2修改
|
||||
|
||||
-11
@@ -1,15 +1,4 @@
|
||||
<div class="system-main-container">
|
||||
<div class="navigation">
|
||||
<nz-breadcrumb>
|
||||
<nz-breadcrumb-item>
|
||||
<a [routerLink]="['../']">用户管理</a>
|
||||
</nz-breadcrumb-item>
|
||||
<nz-breadcrumb-item>
|
||||
<span *ngIf='modifyType==1'>新增用户</span>
|
||||
<span *ngIf='modifyType==2'>修改用户</span>
|
||||
</nz-breadcrumb-item>
|
||||
</nz-breadcrumb>
|
||||
</div>
|
||||
<div class="user-modify-box card" id="main-container">
|
||||
<app-request-status *ngIf="modifyType==2" [statusParams]='statusParamsDetail'></app-request-status>
|
||||
<nz-skeleton [nzActive]="true" [nzParagraph]="{ rows: 16 }" *ngIf='modifyType==2&&statusParamsDetail.status==1'></nz-skeleton>
|
||||
|
||||
+3
-1
@@ -1,6 +1,8 @@
|
||||
.system-main-container{
|
||||
overflow-y:auto;
|
||||
}
|
||||
.user-modify-box{
|
||||
position: relative;
|
||||
overflow-y:scroll;
|
||||
.user-footer{
|
||||
text-align: center;
|
||||
margin-top: -20px;
|
||||
|
||||
@@ -1,14 +1,4 @@
|
||||
<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="tree-box" id="tree-box">
|
||||
<app-request-status [statusParams]='statusParamsTree'></app-request-status>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
@import "../../main.scss";
|
||||
.system-main-container{
|
||||
padding-top: 10px;
|
||||
.user-manage{
|
||||
.system-main-content{
|
||||
overflow-y:scroll;
|
||||
|
||||
@@ -44,11 +44,11 @@ export class UserManagementComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
// 页面监听 动态改变表单高度
|
||||
$('#tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
$('#tree-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
||||
$(window).resize(function(){
|
||||
$('#tree-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-106+'px'));
|
||||
$('#tree-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
||||
$('#main-box').css('height',(document.documentElement.clientHeight-126+'px'));
|
||||
})
|
||||
this.initTree();
|
||||
this.queryTable();
|
||||
|
||||
Reference in New Issue
Block a user