User and service type management interface 24/87524/1
authorguochuyicmri <guochuyi@chinamobile.com>
Mon, 13 May 2019 07:06:26 +0000 (15:06 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Mon, 13 May 2019 07:06:32 +0000 (15:06 +0800)
Change-Id: I3645f2a6658e9aa240406eced6ec6e4db99c8ebf
Issue-ID: USECASEUI-212
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/components/charts/pie/pie.component.ts
usecaseui-portal/src/app/components/customer/customer.component.html
usecaseui-portal/src/app/components/customer/customer.component.less
usecaseui-portal/src/app/management/management.component.html
usecaseui-portal/src/assets/i18n/cn.json
usecaseui-portal/src/assets/images/customer01.png [new file with mode: 0644]
usecaseui-portal/src/assets/images/customer02.png [new file with mode: 0644]
usecaseui-portal/src/assets/images/customer03.png [new file with mode: 0644]
usecaseui-portal/src/assets/images/customer04.png [new file with mode: 0644]
usecaseui-portal/src/assets/images/customer05.png [new file with mode: 0644]

index b1549ab..7eee916 100644 (file)
@@ -48,14 +48,7 @@ export class PieComponent implements OnInit {
               hoverOffset: 3,
               avoidLabelOverlap: false,
               label: this.initData.option.series[0].label,
-              data:[
-                  {value:5, name:'11'},
-                  {value:8, name:'22'},
-                  {value:10, name:'33'},
-                  {value:20, name:'44'},
-                  {value:60, name:'55'},
-
-              ],
+              data:[],
               itemStyle: this.initData.option.series[0].itemStyle
           }
       ]
index 5cdd5d9..5a38944 100644 (file)
@@ -24,7 +24,7 @@
           <p> {{"i18nTextDefine_Instance_Count_of_ServiceType" | translate}} </p>
           <app-bar [initData]="serviceInit" [chartData]="serviceData"></app-bar>
           <div class="footname" style="width: 100%;height: 40px;line-height: 40px;text-align: center;color: #3C4F8C;margin-top: 20px">
-            <img src=".assets/images/customerBarUser.png" alt="customerName" style="margin-right: 5px;margin-bottom: 3px;">
+            <img src="./assets/images/customerBarUser.png" alt="customerName" style="margin-right: 5px;margin-bottom: 3px;">
             {{this.serviceInit["customer"]}}
           </div>
         </div>
index 3ad7191..81274dd 100644 (file)
@@ -43,8 +43,8 @@
         display: inline-block;
         vertical-align: top;
         .customer_title {
-            line-height: 3.5;
-            height: 5%;
+            line-height: 3.5em;
+            //height: 5%;
             width: 100%;
             border-bottom: 1px #07A9E1 solid;
             .customers {
@@ -55,6 +55,7 @@
                 }
                 img {
                     width: 30px;
+                    height: 30px;
                     float: right;
                     margin-top: 7px;
                 }
@@ -63,6 +64,7 @@
         .customer_detail {
             height: 95%;
             width: 100%;
+            overflow: auto;
             border-top: 1px #07A9E1 solid;
             .customer_add {
                 line-height: 3.5;
                     cursor: pointer;
                     color: rgba(60,79,140,0.5);
                     img {
-                        width: 10%;
+                        width: 30px;
+                        height: 30px;
                     }
                     span {
-                        width: 80%;
+                        width: 70%;
                         padding-left: 10%;
                         display: inline-block;
                     }
         display: inline-block;
         vertical-align: top;
         .services_type_title {
-            line-height: 3.5;
-            height: 5%;
+            line-height: 3.5em;
+            //height: 5%;
             width: 100%;
             border-bottom: 1px #07A9E1 solid;
             .servicess {
                 }
                 img {
                     width: 50px;
+                    height: 50px;
                     float: right;
                     margin-right: -10px;
                     margin-top: 5px;
         .services_type_detail {
             height: 95%;
             width: 100%;
+            overflow: auto;
             border-top: 1px #07A9E1 solid;
             .services_add {
                 line-height: 3.5;
index 8cfccfd..2efa3f8 100644 (file)
@@ -18,9 +18,9 @@
     <div class="title">
       <p> {{"i18nTextDefine_Create_initial_customer" | translate}} </p>
       <span> {{"i18nTextDefine_Customer_not_in_ONAP" | translate}} </span>
-      <span> {{"i18nTextDefine_createCustomer&serviceType" | translate}} </span>
+      <span> {{"i18nTextDefine_CreateCustomer" | translate}} </span>
       <img src="./assets/images/customer01.png" alt="">
-      <input nz-input placeholder=" {{'i18nTextDefine_input_customerName' | translate}} " nzSize="large" style="height: 50px" [(ngModel)]="firstCustomer">
+      <input nz-input placeholder=" {{'i18nTextDefine_Input_customerName' | translate}} " nzSize="large" style="height: 50px" [(ngModel)]="firstCustomer">
       <div class="action">
         <button nz-button nzType="primary" class="cancel" (click) = "clearCustomerInput()"> {{"i18nTextDefine_Cancel" | translate}} </button>
         <button nz-button nzType="primary" class="add" (click) = "createNewCustomer(firstCustomer)"> {{"i18nTextDefine_Add" | translate}} </button>
index 9686dea..38fdbf2 100644 (file)
   "management-component":"--:",
   "i18nTextDefine_Create_initial_customer":"创建初始用户",
   "i18nTextDefine_Customer_not_in_ONAP":"ONAP尚未存在已创建用户",
-  "i18nTextDefine_createCustomer&serviceType":"请创建用户及其服务类型",
-  "i18nTextDefine_input_customerName":"输入用户名称",
+  "i18nTextDefine_CreateCustomer":"请创建用户及其服务类型",
+  "i18nTextDefine_Input_customerName":"输入用户名称",
 
   "customer-component":"--:",
   "i18nTextDefine_Instance_Count_of_Customer":"用户实例计数",
diff --git a/usecaseui-portal/src/assets/images/customer01.png b/usecaseui-portal/src/assets/images/customer01.png
new file mode 100644 (file)
index 0000000..8b60a1f
Binary files /dev/null and b/usecaseui-portal/src/assets/images/customer01.png differ
diff --git a/usecaseui-portal/src/assets/images/customer02.png b/usecaseui-portal/src/assets/images/customer02.png
new file mode 100644 (file)
index 0000000..7593dd9
Binary files /dev/null and b/usecaseui-portal/src/assets/images/customer02.png differ
diff --git a/usecaseui-portal/src/assets/images/customer03.png b/usecaseui-portal/src/assets/images/customer03.png
new file mode 100644 (file)
index 0000000..dd59956
Binary files /dev/null and b/usecaseui-portal/src/assets/images/customer03.png differ
diff --git a/usecaseui-portal/src/assets/images/customer04.png b/usecaseui-portal/src/assets/images/customer04.png
new file mode 100644 (file)
index 0000000..14506af
Binary files /dev/null and b/usecaseui-portal/src/assets/images/customer04.png differ
diff --git a/usecaseui-portal/src/assets/images/customer05.png b/usecaseui-portal/src/assets/images/customer05.png
new file mode 100644 (file)
index 0000000..45e1c97
Binary files /dev/null and b/usecaseui-portal/src/assets/images/customer05.png differ