From ba15aacf079d1a3fd13e4594f5a94cf25dacb036 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 26 Mar 2018 14:25:26 +0800
Subject: [PATCH] 报表 优化
---
src/app/routes/dashboard/workplace/workplace.component.ts | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/src/app/routes/dashboard/workplace/workplace.component.ts b/src/app/routes/dashboard/workplace/workplace.component.ts
index a2a21a6..6c5442a 100644
--- a/src/app/routes/dashboard/workplace/workplace.component.ts
+++ b/src/app/routes/dashboard/workplace/workplace.component.ts
@@ -130,22 +130,6 @@
});
}
- const offlineData = [];
- for (let i = 0; i < 10; i += 1) {
- offlineData.push({
- name: `������${i}`,
- cvr: Math.ceil(Math.random() * 9) / 10
- });
- }
- const offlineChartData = [];
- for (let i = 0; i < 20; i += 1) {
- offlineChartData.push({
- x: new Date().getTime() + 1000 * 60 * 30 * i,
- y1: Math.floor(Math.random() * 100) + 10,
- y2: Math.floor(Math.random() * 100) + 10
- });
- }
-
const radarOriginData = [
{
name: '������',
@@ -216,16 +200,11 @@
visitData: visitData,
visitData2: visitData2,
- offlineData: offlineData,
- offlineChartData: offlineChartData,
radarOriginData: radarOriginData,
radarData: radarData,
searchData: searchData
};
- res.offlineData.forEach((item: any) => {
- item.chart = Object.assign([], res.offlineChartData);
- });
this.data = res;
this.loading = false;
this.changeSaleType();
@@ -400,10 +379,5 @@
handlePieValueFormat(value: any) {
return value + "���";
- }
-
- _activeTab = 0;
- _tabChange(value: any) {
- console.log('tab', this._activeTab, value);
}
}
--
Gitblit v1.8.0