<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
	<link rel="stylesheet" th:href="@{/css/common/base.css}" />
	<link rel="stylesheet" th:href="@{/css/common/page_new.css}" />
	<link rel="stylesheet" th:href="@{/js/plugins/bootstrapselect/css/product_list.css}" />
	<link rel="stylesheet"  th:href="@{/css/layui.css}"  media="all">
	<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
	<script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<style>
	#goBack {
		background: #fff  no-repeat 5px center;
	}
</style>

<body>
<div class="box">
	<h2><span></span>流程查看<button id="goBack"  onclick="javascript:history.go(-1)" style="margin-right: 100px">返回</button><button  onclick="location.reload()">刷新</button></h2>
	<img id="image">
</div>

	<input type="hidden" id="taskId" th:value="${taskId}">
	<input type="hidden" id="executionId" th:value="${executionId}">
</body>
</html>
<script src="/js/plugins/jquery.min.js"></script>
<script src="/js/plugins/layer/layer.js"></script>
<script src="/js/layui.js"></script>
<script type="text/javascript" src="/js/plugins/page_new.js"></script>
<script>
	$(function () {
	    var taskId=$("#taskId").val()
	    var executionId=$("#executionId").val()
		var a="process:4:62504";
        //var url="http://localhost:8087/api/bpm/task/process/trace/current?executionId="+executionId+"&taskId="+taskId
        //var url="http://localhost:8087/api/bpm/task/process/trace?procdefId="+a+"&processInstanceId="+72501
        var url="http://localhost:8087/api/bpm/task/process/getdeployMent?deploymentId="+62501
        $("#image").attr("src",url)
    })

</script>


