Browse Source

移动版流程功能修改

金隅分支
zhichao lei 4 years ago
parent
commit
230177ea99
3 changed files with 9 additions and 12 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/nworkflow/audit/audit.html
  2. +8
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/nworkflow/audit/audit.js
  3. +0
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/nworkflow/audit/verify/verify.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/nworkflow/audit/audit.html View File

@@ -1 +1 @@
<div class="lr-naudit-page"></div>
<div class="lr-naudit-page" id="auditcontainer"></div>

+ 8
- 4
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/nworkflow/audit/audit.js View File

@@ -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;


+ 0
- 7
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/nworkflow/audit/verify/verify.js View File

@@ -3,11 +3,6 @@
var page = {
isScroll: true,
init: function ($page, param) {
console.log(param);
//如果是同意,判断是否选择下一审核人
if(param.verify=='agree'){

}
// 添加头部按钮列表
var _html = '\
<div class="lr-form-header-cancel" style="display:block;" >取消</div>\
@@ -52,8 +47,6 @@
}
if (isNext == '1') {
var nodeMap = {};
console.log(11111);
console.log(param)
// 节点信息
// $.each(param.nodelist, function (_index, _item) {
// nodeMap[_item.id] = _item;


Loading…
Cancel
Save