Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
d45af19cee
  1. 2
      api/app/lib/schedule/workOrder.js
  2. 2
      web/client/src/sections/projectGroup/containers/bigscreen.jsx

2
api/app/lib/schedule/workOrder.js

@ -1,6 +1,8 @@
const schedule = require('node-schedule');
const moment = require('moment')
const request = require('request');
let isDev = true
module.exports = function (app, opts,ctx) {

2
web/client/src/sections/projectGroup/containers/bigscreen.jsx

@ -143,7 +143,7 @@ const Bigscreen = (props) => {
useEffect(() => {
if(groupDetail?.pomsProjectIds&&groupDetail?.pomsProjectIds.length&&allProjects&&allProjects.length){
const query=groupDetail?.pomsProjectIds
const query=groupDetail?.pomsProjectIds+''
dispatch(actions.projectGroup.getProjectWorkOrders({projectIds:query})).then(res=>{
if(res.success){
setProportion([...res.payload.data?.slice(0, 3)?.map(v => ({ name: allProjects?.find(item=>item.value===v.projectId)?.label, value: Number(v.count) })),

Loading…
Cancel
Save