From 1a2c442ae0d42fd8417e3d2afb7fe26a330e84ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Wed, 11 Oct 2023 11:35:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B5=81=E8=BD=AC=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/project/group.js | 2 -- .../src/sections/projectGroup/containers/statistic.jsx | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/api/app/lib/controllers/project/group.js b/api/app/lib/controllers/project/group.js index e8d19dd..41ccfb0 100644 --- a/api/app/lib/controllers/project/group.js +++ b/api/app/lib/controllers/project/group.js @@ -289,12 +289,10 @@ async function groupStatistic (ctx) { for(let i of pg.pomsProjectIds){ if(formRes && formRes.length > 0){ for (let f of formRes) { - console.log('formRes',f) const parseData = parseProcessData({ formSchema: JSON.parse(f.formSchema), formData: JSON.parse(f.formData) }) - console.log('parseData',parseData) if(parseData.pomsProjectId.value===i){ activeOrderCount+=1 } diff --git a/web/client/src/sections/projectGroup/containers/statistic.jsx b/web/client/src/sections/projectGroup/containers/statistic.jsx index 78baa24..6a3b789 100644 --- a/web/client/src/sections/projectGroup/containers/statistic.jsx +++ b/web/client/src/sections/projectGroup/containers/statistic.jsx @@ -78,9 +78,8 @@ const Statistic = (props) => { key: 'strucCount', }, { title: '流转工单数', - dataIndex: "name", - key: 'name', - render: (_, row) => Math.floor(Math.random() * 10) + dataIndex: "activeOrderCount", + key: 'activeOrderCount', }, { title: '中断时长', dataIndex: "maxOffLineTime",