瀏覽代碼

合同审批单去掉校长审批显示

金隅分支
zhichao lei 4 年之前
父節點
當前提交
d9988aa242
共有 2 個文件被更改,包括 24 次插入1 次删除
  1. +22
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js

+ 22
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/NWFContainerForm.js 查看文件

@@ -799,7 +799,7 @@ var bootstrap = function ($, learun) {

});
}

//if (data.parentProcessId) {
// nwflow.pProcessId = data.parentProcessId;
@@ -1827,13 +1827,24 @@ var bootstrap = function ($, learun) {
html = $('.tab-flow-audit').html();
}

var isContract = false;


var $iframes = $('#form_list_iframes');
var iframeId = $iframes.find('.form-list-iframe.active').attr('id');
if (iframeId) {
var $iframe = learun.iframe(iframeId, frames);
//$iframe.$('.lr-form-wrap:visible').jqprint();
var res = $iframe.$('body').lrGetFormShow();
if (res[0].text.indexOf('合同审批流程单') > -1) {
isContract = true;
}
for (var len = ainfo.length, i = ainfo.length - 1; i >= 0; i--) {
if (isContract) {
if (ainfo[i].user.indexOf('关亮') > -1) {
continue;
}
}
res.push(ainfo[i]);
}
$.jqprintForm(res);
@@ -1843,8 +1854,18 @@ var bootstrap = function ($, learun) {
//$iframes.find(".lr-scroll-box")[0].style.top = 0;
//$iframes.find(".lr-formselect i").removeClass();
//$iframes.find('.form-list-container.active').find('.lr-form-wrap:visible').jqprint(null,html);

var res1 = $iframes.lrGetFormShow();
if (res1[0].text.indexOf('合同审批流程单') > -1) {
isContract = true;
}

for (var len1 = ainfo.length, i1 = ainfo.length - 1; i1 >= 0; i1--) {
if (isContract) {
if (ainfo[i1].user.indexOf('关亮') > -1) {
continue;
}
}
res1.push(ainfo[i1]);
}
$.jqprintForm(res1);


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js 查看文件

@@ -203,6 +203,8 @@
var _text = _item.text;
if (_item.textList) {
_text = String(_item.textList);
} else {
_text = '';
}

var $td = a('<td class="input" >' + _text + '</td>');


Loading…
取消
儲存