|
|
@ -78,7 +78,7 @@ module.exports = function (app, opts,ctx) { |
|
|
|
formSchema: JSON.parse(f.formSchema), |
|
|
|
formData: JSON.parse(f.formData) |
|
|
|
}) |
|
|
|
const res=await models.Workorder.create({ |
|
|
|
const res=await models.FormDataTable.create({ |
|
|
|
projectId:parseData.pomsProjectId.value || null, |
|
|
|
formname:procinstsVariables.body.find(t => t.name == 'fsEmisBusinessName') ? procinstsVariables.body.find(t => t.name == 'fsEmisBusinessName').value : '', |
|
|
|
state: f.state||null, |
|
|
|