User and service type management interface 61/87661/1
authorguochuyicmri <guochuyi@chinamobile.com>
Tue, 14 May 2019 10:51:55 +0000 (18:51 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Tue, 14 May 2019 10:51:58 +0000 (18:51 +0800)
Change-Id: I03106abecf56dd1b94efd35a192c9db6f77925e3
Issue-ID: USECASEUI-212
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/components/customer/customer.component.less
usecaseui-portal/src/app/components/customer/customer.component.ts

index 81274dd..05aeb7d 100644 (file)
                     font-family:"ArialMT";
                 }
                 img {
-                    width: 50px;
-                    height: 50px;
+                    width: 40px;
+                    height:40px;
                     float: right;
                     margin-right: -10px;
                     margin-top: 5px;
index 61e582c..8a84e1b 100644 (file)
@@ -145,7 +145,7 @@ export class CustomerComponent implements OnInit {
         this.managemencs.getCustomersPie().subscribe((data) => {
             this.CUChartData = {
                 series: [{
-                    data: data
+                    data:data.customerServiceList
                 }]
             }
             console.log(this.CUChartData)
@@ -158,8 +158,8 @@ export class CustomerComponent implements OnInit {
     serviceData: Object;
     serviceInit: Object = {
         customer: '',
-        height: 230,
-        width: 410,
+        width: 280,
+        height: 210,
         option: {
             tooltip: {
                 show: true,
@@ -327,7 +327,7 @@ export class CustomerComponent implements OnInit {
         this.name_s = [];
         this.value_s = [];
         this.managemencs.getCustomersColumn(item).subscribe((data) => {
-            data.forEach((item) => {
+            data.list.forEach((item) => {
                 this.name_s.push(item.name);
                 this.value_s.push(item.value);
             })