From ab666b4dce8aef2a370cba529c2db8b8cebc9ff5 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Wed, 8 May 2019 16:44:52 +0800 Subject: User and service type management interface front Change-Id: I75fa65bb1b929e7b78588dafc86ea024e9d7fb23 Issue-ID: USECASEUI-212 Signed-off-by: guochuyicmri --- .../components/customer/customer.component.html | 44 +++++++++++---------- usecaseui-portal/src/app/managemencs.service.ts | 14 +------ .../src/assets/images/customerBarUser.png | Bin 0 -> 578 bytes 3 files changed, 25 insertions(+), 33 deletions(-) create mode 100644 usecaseui-portal/src/assets/images/customerBarUser.png (limited to 'usecaseui-portal') diff --git a/usecaseui-portal/src/app/components/customer/customer.component.html b/usecaseui-portal/src/app/components/customer/customer.component.html index db5b67ef..4b6651b9 100644 --- a/usecaseui-portal/src/app/components/customer/customer.component.html +++ b/usecaseui-portal/src/app/components/customer/customer.component.html @@ -16,26 +16,30 @@
-

Instance Count of Customer

+

{{"i18nTextDefine_Instance_Count_of_Customer" | translate}}

-
users +
{{"i18nTextDefine_users" | translate}}
-

Instance Count of Service Type

+

{{"i18nTextDefine_Instance_Count_of_ServiceType" | translate}}

+
+ customerName + {{this.serviceInit["customer"]}} +
- Customer + {{"i18nTextDefine_Customer" | translate}}
- - + +
    @@ -51,14 +55,14 @@
    - Services Type + {{"i18nTextDefine_ServiceType" | translate}}
    - - + +
    @@ -74,31 +78,31 @@
    - -

    Are you sure delete this Customer ?

    + +

    {{"i18nTextDefine_Input_Sure_deleteCustomer" | translate}}

    -

    Customer Name:

    +

    {{"i18nTextDefine_CustomerName" | translate}} :

    {{thisdeleteCustomer["name"]}}
    -

    Customer ID:

    +

    {{"i18nTextDefine_CustomerID" | translate}} :

    {{thisdeleteCustomer["id"]}}
    - -

    Are you sure delete this Service Type ?

    + +

    {{"i18nTextDefine_Input_Sure_deleteServiceType" | translate}}

    -

    Customer Name:

    +

    {{"i18nTextDefine_CustomerName" | translate}} :

    {{selectCustomer.name}}
    -

    Customer ID:

    +

    {{"i18nTextDefine_CustomerID" | translate}} :

    {{selectCustomer.id}}
    -

    Service Type:

    +

    {{"i18nTextDefine_ServiceType" | translate}} :

    {{thisdeleteServiceType["type"]}}
    diff --git a/usecaseui-portal/src/app/managemencs.service.ts b/usecaseui-portal/src/app/managemencs.service.ts index 62113133..03ddb2e2 100644 --- a/usecaseui-portal/src/app/managemencs.service.ts +++ b/usecaseui-portal/src/app/managemencs.service.ts @@ -10,19 +10,7 @@ export class ManagemencsService { constructor(private http: HttpClient) { } baseUrl = baseUrl.baseUrl; - /* location */ - // url = { - // customers: this.baseUrl + "/customers/customers_list.json", - // serviceType: this.baseUrl + "/serviceTypes.json?*_*", - // CustomersPir: this.baseUrl + "/customers/customersber.json", - // CustomersColumn: this.baseUrl + "/customers/customersber.json?*_*", - // createCustomer: this.baseUrl + "/customers/createCustomer.json?", - // createServiceType: this.baseUrl + "/customers/createServiceType.json", - // getCustomerResourceVersion: this.baseUrl + "/customers/deleteCustomer.json?*_*", - // deleteCustomer: this.baseUrl + "/customers/createServiceType.json", - // getServiceTypeResourceVersion: this.baseUrl + "/customers/deleteCustomer.json?*_*", - // deleteServiceType: this.baseUrl + "/customers/createServiceType.json", - // }; + /* line up */ diff --git a/usecaseui-portal/src/assets/images/customerBarUser.png b/usecaseui-portal/src/assets/images/customerBarUser.png new file mode 100644 index 00000000..54aef5f8 Binary files /dev/null and b/usecaseui-portal/src/assets/images/customerBarUser.png differ -- cgit 1.2.3-korg