diff --git a/src/views/dashboard/LineChart.vue b/src/views/dashboard/LineChart.vue index 129f9e1..410572b 100644 --- a/src/views/dashboard/LineChart.vue +++ b/src/views/dashboard/LineChart.vue @@ -117,6 +117,24 @@ restore: {}, saveAsImage: {} } + }, + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow' + }, + formatter: function (params) { + let result=""; + for (let i = 0; i < params.length; i++) { + if(params[i].data!=0){ + result+=params[i].marker + params[i].seriesName + ':' + params[i].data + '
' + } + } + return params[0].name + '
' + + result + + } + } }) } diff --git a/src/views/quality/checkTypeProject/MaterialGroupAdd.vue b/src/views/quality/checkTypeProject/MaterialGroupAdd.vue index 241869d..de43968 100644 --- a/src/views/quality/checkTypeProject/MaterialGroupAdd.vue +++ b/src/views/quality/checkTypeProject/MaterialGroupAdd.vue @@ -7,7 +7,7 @@
+