diff --git a/src/api/kanban/quality.js b/src/api/kanban/quality.js
index 4e9d7c09..83545106 100644
--- a/src/api/kanban/quality.js
+++ b/src/api/kanban/quality.js
@@ -93,4 +93,4 @@ export function getMonthOfYearContrast(data) {
method: 'post',
data: data
});
-}
\ No newline at end of file
+}
diff --git a/src/api/mes/reportWork.js b/src/api/mes/reportWork.js
index 065bce68..cfa39b24 100644
--- a/src/api/mes/reportWork.js
+++ b/src/api/mes/reportWork.js
@@ -81,7 +81,29 @@ export function getLineChartData() {
method: 'get'
});
}
-
+// 首页-各线体当日计划产量(横向柱状图)
+export function getLineProData(data) {
+ return request({
+ url: '/mes/reportWork/getLineProData',
+ method: 'post',
+ params: data
+ });
+}
+// 首页-当月各日实际产量(单折线图,
+export function getMonthProData() {
+ return request({
+ url: '/mes/reportWork/getMonthProData',
+ method: 'get',
+ });
+}
+// 首页-当日产品产量(饼图)
+export function getProductProData(data) {
+ return request({
+ url: '/mes/reportWork/getProductProData',
+ method: 'post',
+ params: data,
+ });
+}
// 获取组线每月设备故障数
export function getGroupLineEquInfo() {
return request({
diff --git a/src/views/dashboard/DeviceChartLine.vue b/src/views/dashboard/DeviceChartLine.vue
index 7ee95078..934b8cfa 100644
--- a/src/views/dashboard/DeviceChartLine.vue
+++ b/src/views/dashboard/DeviceChartLine.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/dashboard/LineChart copy.vue b/src/views/dashboard/LineChart copy.vue
deleted file mode 100644
index 8e002588..00000000
--- a/src/views/dashboard/LineChart copy.vue
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
diff --git a/src/views/dashboard/LineChart.vue b/src/views/dashboard/LineChart.vue
index 59455010..d0352323 100644
--- a/src/views/dashboard/LineChart.vue
+++ b/src/views/dashboard/LineChart.vue
@@ -30,7 +30,8 @@
},
chartData: {
type: Object,
- required: true
+ required: true,
+ default: {},
}
},
data() {
diff --git a/src/views/dashboard/LineChartshadow.vue b/src/views/dashboard/LineChartshadow.vue
new file mode 100644
index 00000000..2b1d27a2
--- /dev/null
+++ b/src/views/dashboard/LineChartshadow.vue
@@ -0,0 +1,203 @@
+
+
+
+
+
diff --git a/src/views/dashboard/PieChart3.vue b/src/views/dashboard/PieChart3.vue
new file mode 100644
index 00000000..6eb9d3bb
--- /dev/null
+++ b/src/views/dashboard/PieChart3.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
diff --git a/src/views/dashboard/QcChartLine.vue b/src/views/dashboard/QcChartLine.vue
index 20f10328..f95ee8cd 100644
--- a/src/views/dashboard/QcChartLine.vue
+++ b/src/views/dashboard/QcChartLine.vue
@@ -1,7 +1,7 @@
@@ -26,7 +26,7 @@
},
height: {
type: String,
- default: '260px'
+ default: '230px'
},
autoResize: {
type: Boolean,
@@ -34,7 +34,8 @@
},
chartData: {
type: Object,
- required: true
+ required: true,
+ default: {},
}
},
data() {
diff --git a/src/views/dashboard/crossBarChart.vue b/src/views/dashboard/crossBarChart.vue
new file mode 100644
index 00000000..e4b0af38
--- /dev/null
+++ b/src/views/dashboard/crossBarChart.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
diff --git a/src/views/index.vue b/src/views/index.vue
index 0fcfcd1b..34fb5f04 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -1,17 +1,72 @@
-
+
+
+
+
+ {{ titlename }}
+
+
+
+
+
+
+
+
-
+
-