summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/management
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-23 11:05:42 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-08-23 11:05:53 +0800
commit4e11ad92dbc929de190a6c211457bebc88636acd (patch)
tree8803e836f32d02032703b7a01c7fcd2b620a745c /usecaseui-portal/src/app/views/management
parentbeb1797fc10f12fcdab0147fca7223c80e41c5c6 (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')
-rw-r--r--usecaseui-portal/src/app/views/management/management.component.ts30
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;
}
}