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",