提交 20db9678 编写于 作者: doc_wei's avatar doc_wei

新增会签节点信息的展示

上级 be90f0b5
......@@ -209,6 +209,11 @@ layui.config({
parent.refreshCode = '0';
});
// 加载会签信息
if(j.bean.isMultiInstance){
$("#multiInstanceBox").html(getDataUseHandlebars($("#multiInstance").html(), j));
}
form.render();
}else{
winui.window.msg(j.returnMessage, {icon: 2,time: 2000});
......
......@@ -39,6 +39,9 @@
<span class="hr-title">审批</span><hr>
</div>
<form class="layui-form" action="">
<div class="layui-form-item layui-col-xs12" id="multiInstanceBox">
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">审批结果<i class="red">*</i></label>
<div class="layui-input-block winui-radio">
......@@ -155,6 +158,36 @@
</div>
{{/bean}}
</script>
<!-- 多实例会签信息 -->
<script type="text/x-handlebars-template" id="multiInstance">
{{#bean}}
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">完成条件</label>
<div class="layui-input-block ver-center">
{{completionCondition}}
</div>
</div>
<div class="layui-form-item layui-col-xs4">
<label class="layui-form-label">会签任务总数</label>
<div class="layui-input-block ver-center">
{{nrOfInstances}}
</div>
</div>
<div class="layui-form-item layui-col-xs4">
<label class="layui-form-label">正在执行的会签总数</label>
<div class="layui-input-block ver-center">
{{nrOfActiveInstances}}
</div>
</div>
<div class="layui-form-item layui-col-xs4">
<label class="layui-form-label">已完成的会签任务总数</label>
<div class="layui-input-block ver-center">
{{nrOfCompletedInstances}}
</div>
</div>
{{/bean}}
</script>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册