Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
2f665257a1
  1. 3
      api/app/lib/schedule/workOrder.js

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

@ -66,7 +66,6 @@ module.exports = function (app, opts) {
processInstanceIdIn: procinstIds processInstanceIdIn: procinstIds
}) })
for (let f of formRes) { for (let f of formRes) {
if(f?.formData?.formData && f?.formData?.workflowProcessVersion?.workflowProcessForm?.formSchema) {
const parseData = parseProcessData({ const parseData = parseProcessData({
formSchema: JSON.parse(f.formSchema), formSchema: JSON.parse(f.formSchema),
formData: JSON.parse(f.formData) formData: JSON.parse(f.formData)
@ -79,7 +78,7 @@ module.exports = function (app, opts) {
startTime:f.createTime||null startTime:f.createTime||null
}) })
console.log('工单数据抽取结束') console.log('工单数据抽取结束')
}
} }
} }

Loading…
Cancel
Save