流程公共模块优化
parent
eb54ce9b90
commit
cae241d99b
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||||
onclick="window.open('${base}/activiti-editor/modeler.html?modelId==${list.id?c}')">
|
onclick="design(${list.id?c})" >
|
||||||
<span class="am-icon-pencil-square-o"></span>
|
<span class="am-icon-pencil-square-o"></span>
|
||||||
流程设计
|
流程设计
|
||||||
</button>
|
</button>
|
||||||
|
@ -205,12 +205,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var design = function (id) {
|
||||||
$(function () {
|
layer.open({
|
||||||
|
type: 2,
|
||||||
|
title: '',
|
||||||
|
shadeClose: true,
|
||||||
|
shade: 0.8,
|
||||||
|
area: ['90%', '90%'],
|
||||||
|
content: '${base}/activiti-editor/modeler.html?modelId==' + id,
|
||||||
|
end: function () {
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
<td>
|
<td>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
class="am-btn am-btn-default am-btn-xs am-text-secondary"
|
||||||
onclick="window.open('${base}/actProcDef/procDefPng/${list.deploymentId!}')">
|
onclick="pngView('${list.deploymentId!}')">
|
||||||
<span class="am-icon-pencil-square-o"></span>
|
<span class="am-icon-pencil-square-o"></span>
|
||||||
流程图片
|
流程图片
|
||||||
</button>
|
</button>
|
||||||
|
@ -269,4 +269,15 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var pngView = function (id) {
|
||||||
|
layer.open({
|
||||||
|
type: 2,
|
||||||
|
title: '',
|
||||||
|
shadeClose: true,
|
||||||
|
shade: 0.8,
|
||||||
|
area: ['90%', '60%'],
|
||||||
|
content: '${base}/actProcDef/procDefPng/' + id,
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue