diff --git a/src/views/statistics/ppass_num.vue b/src/views/statistics/ppass_num.vue index 3d3754fc..72488017 100644 --- a/src/views/statistics/ppass_num.vue +++ b/src/views/statistics/ppass_num.vue @@ -132,7 +132,8 @@ export default { query: { start_date: this.start_date, end_date: this.end_date, dept_name: "6车间", select_cols_material: "", group_bys_material: "", order_bys_material: "", - select_cols_mgroup: ", mgroup.name AS 工段", group_bys_mgroup: ", mgroup.name" + is_count_utask:-1,select_cols_mgroup: ", mgroup.name AS 工段", + group_bys_mgroup: ", mgroup.name" }, raise_exception: true }; @@ -158,12 +159,9 @@ export default { } }) that.xAxisData = xAxisData; - console.log('data0:', data0); - console.log('data1:', data1); that.option.xAxis.data = that.xAxisData; that.option.series[0].data = data0; that.option.series[1].data = data1; - console.log('that.option:', that.option); }) }, handleQuery() { diff --git a/src/views/statistics/product_check2.vue b/src/views/statistics/product_check2.vue index a1facad4..3d57f81b 100644 --- a/src/views/statistics/product_check2.vue +++ b/src/views/statistics/product_check2.vue @@ -57,7 +57,7 @@ @@ -112,7 +112,10 @@ type: 'pie', radius: ['40%', '60%'], center: ['50%', '60%'], - label: false, + label: { + show: true, + formatter: '{b} : {c}', + }, data: [ {value: 1048, name: '合格数'}, {value: 735, name: '不合格一'},