优化流程图展示

This commit is contained in:
zxm 2018-07-14 16:30:28 +08:00
parent 44f05d4aff
commit 3b10dd8b3e
3 changed files with 4 additions and 3 deletions

View File

@ -100,7 +100,7 @@ java -jar len-web.jar
![图片说明](http://ww4.sinaimg.cn/large/0060lm7Tly1fnvohtrdglj311y0gggn2.jpg "图片说明")
![图片说明](http://ww3.sinaimg.cn/large/0060lm7Tly1fnvokv38fwj311y0gddgj.jpg "图片说明")
![图片说明](http://ww2.sinaimg.cn/large/87c01ec7gy1fsc88n78rej21hb0pgq5y.jpg "图片说明")
![图片说明](https://s1.ax2x.com/2018/07/14/qvSGY.png "图片说明")
* 菜单管理分为一级菜单 二级菜单 按钮(也可以是元素)权限

View File

@ -184,7 +184,7 @@
shadeClose: false,
shade: 0.4,
title: '流程图',
content: '${re.contextPath}/leave/shinePics/' + data.processInstanceId
content: '/leave/shinePics/' + data.processInstanceId
});
}else if(obj.event==='leaveDetail'){
layer.open({

View File

@ -23,7 +23,7 @@ To change this template use File | Settings | File Templates.-->
<body>
<div class="x-body">
<form class="layui-form layui-form-pane" style="margin-left: 20px;">
<div style="width:100%;height:400px;overflow: auto;">
<div id="image" style="width:100%;height:100%;overflow: auto;">
<div class="layui-form-item">
<image id="showImages1" style="display: none;"></image>
<image id="showImages2"></image>
@ -33,6 +33,7 @@ To change this template use File | Settings | File Templates.-->
</div>
<script>
var countNum = 0;
// $('#image').css('height',document.body.offsetHeight);
layui.use(['form','layer'], function(){
$ = layui.jquery;
//执行AJAX 获取数据