|
|
@@ -18,6 +18,7 @@ |
|
|
|
var nodeMap = {}; |
|
|
|
|
|
|
|
var getFormData = function ($page) { |
|
|
|
console.log('开始获取表单数据'); |
|
|
|
formDataes = $page.find('#auditcontainer').custmerformGet(); |
|
|
|
if (formDataes == null) { |
|
|
|
return false; |
|
|
@@ -25,10 +26,10 @@ |
|
|
|
formreq = []; |
|
|
|
formAllData = {}; |
|
|
|
for (var id in formDataes) { |
|
|
|
if (!fieldMap[id]) { |
|
|
|
learun.layer.warning('未设置流程表单关联字段!', function () { }, '数字化智慧校园', '关闭'); |
|
|
|
return false; |
|
|
|
} |
|
|
|
// if (!fieldMap[id]) { |
|
|
|
// learun.layer.warning('未设置流程表单关联字段!', function () { }, '数字化智慧校园', '关闭'); |
|
|
|
// return false; |
|
|
|
// } |
|
|
|
$.extend(formAllData, formDataes[id]); |
|
|
|
if (!formMap[id]) { |
|
|
|
formDataes[id][fieldMap[id]] = processId; |
|
|
@@ -43,6 +44,9 @@ |
|
|
|
point.keyValue = processId; |
|
|
|
} |
|
|
|
formreq.push(point); |
|
|
|
console.log('显示表单信息'); |
|
|
|
console.log(point); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return true; |
|
|
|