diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-08-23 11:05:42 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2019-08-23 11:05:53 +0800 |
commit | 4e11ad92dbc929de190a6c211457bebc88636acd (patch) | |
tree | 8803e836f32d02032703b7a01c7fcd2b620a745c /usecaseui-portal/src/app/views/management/management.component.ts | |
parent | beb1797fc10f12fcdab0147fca7223c80e41c5c6 (diff) |
refactor: change the position of animates.ts to utils
Change-Id: I712d76b1b327e8803d55e90b7a153ad0e44a14c9
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/management/management.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/management/management.component.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/usecaseui-portal/src/app/views/management/management.component.ts b/usecaseui-portal/src/app/views/management/management.component.ts index 8b3afea7..8220a166 100644 --- a/usecaseui-portal/src/app/views/management/management.component.ts +++ b/usecaseui-portal/src/app/views/management/management.component.ts @@ -13,26 +13,26 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { Component, OnInit , HostBinding} from '@angular/core'; -import { showHideAnimate, slideToRight } from '../../animates'; +import { Component, OnInit, HostBinding } from '@angular/core'; +import { showHideAnimate, slideToRight } from '../../shared/utils/animates'; import { ManagemencsService } from '../../core/services/managemencs.service'; @Component({ - selector: 'app-management', - templateUrl: './management.component.html', - styleUrls: ['./management.component.less'], - animations: [ - showHideAnimate, slideToRight - ] + selector: 'app-management', + templateUrl: './management.component.html', + styleUrls: ['./management.component.less'], + animations: [ + showHideAnimate, slideToRight + ] }) export class ManagementComponent implements OnInit { - @HostBinding('@routerAnimate') routerAnimateState; //Routing animation + @HostBinding('@routerAnimate') routerAnimateState; //Routing animation - constructor(private managemencs: ManagemencsService) { } + constructor(private managemencs: ManagemencsService) { } - ngOnInit() { - this.getAllCustomers(); - } + ngOnInit() { + this.getAllCustomers(); + } nocuster = true; firstCustomer = null; @@ -62,7 +62,7 @@ export class ManagementComponent implements OnInit { } }) } - clearCustomerInput(){ - this.firstCustomer=null; + clearCustomerInput() { + this.firstCustomer = null; } } |