summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
})