aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-14 18:51:55 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-14 18:51:58 +0800
commit990415a4093a32842ed876767f077cdd9ffc20d4 (patch)
treef367963432438b4527fac940a816777a014c13a4
parentcd934c497a6bf26992bcb42e27a179479001658b (diff)
User and service type management interface
Change-Id: I03106abecf56dd1b94efd35a192c9db6f77925e3 Issue-ID: USECASEUI-212 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/components/customer/customer.component.less4
-rw-r--r--usecaseui-portal/src/app/components/customer/customer.component.ts8
2 files changed, 6 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/components/customer/customer.component.less b/usecaseui-portal/src/app/components/customer/customer.component.less
index 81274dda..05aeb7d7 100644
--- a/usecaseui-portal/src/app/components/customer/customer.component.less
+++ b/usecaseui-portal/src/app/components/customer/customer.component.less
@@ -133,8 +133,8 @@
font-family:"ArialMT";
}
img {
- width: 50px;
- height: 50px;
+ width: 40px;
+ height:40px;
float: right;
margin-right: -10px;
margin-top: 5px;
diff --git a/usecaseui-portal/src/app/components/customer/customer.component.ts b/usecaseui-portal/src/app/components/customer/customer.component.ts
index 61e582c6..8a84e1b6 100644
--- a/usecaseui-portal/src/app/components/customer/customer.component.ts
+++ b/usecaseui-portal/src/app/components/customer/customer.component.ts
@@ -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);
})