From 1cb2c30d3ec6f22373ec4880bed92d5671d5d858 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 11 Sep 2024 16:56:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=90=88=E6=A0=BC=E6=95=B0=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=AF=8F=E4=B8=AA=E6=A8=A1=E5=9D=97=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=B7=A5=E6=AE=B5=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/pass_num_gx.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/views/statistics/pass_num_gx.vue b/src/views/statistics/pass_num_gx.vue index 61daef0a..e96a1879 100644 --- a/src/views/statistics/pass_num_gx.vue +++ b/src/views/statistics/pass_num_gx.vue @@ -923,6 +923,7 @@ export default { let option = deepCopy(that.basicOption); let query = deepCopy(that.query); query.mgroup_name = mgroup_name; + option.title.text = mgroup_name+"合格数统计"; let obj = {}; obj.query = query; that.$API.bi.dataset.exec.req('lineDay_m', obj).then((res) => { @@ -934,7 +935,6 @@ export default { tableData.forEach((ite) => { if (nameList.indexOf(ite.物料名) > -1) {} else { nameList.push(ite.物料名); - dataList.push([]) datas.push([0,0,0,0,0,0,0]); let obj = { @@ -947,24 +947,20 @@ export default { option.series.push(obj) } }); - console.log('nameList',nameList); that.nameList = nameList; tableData.forEach((item) => { let indexX = nameList.indexOf(item.物料名); dataList[indexX].push(item); }); - console.log('dataList',dataList) for(let i = 0;i