<!DOCTYPE html>
<!-- saved from url=(0067)http://localhost:8055/bas/configPage/configForm/configForm.do?id=21 -->
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</meta>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</meta>
<meta name="renderer" content="webkit">
</meta>
<meta id="i18n_pagename" content="message">
</meta>
<meta http-equiv="Cache-Control" content="no-store">
</meta>
<meta http-equiv="Pragma" content="no-cache">
</meta>
<meta http-equiv="Expires" content="0">
</meta>

<!-- 变量声明 -->
<script type="text/javascript">
	var ctx = "/bas";//
	var jsessionid = "1no46upx4r4061hb6mmy5lvll8";//
	var template = "basnew";//
	var toInputType = "dialog";
	var resource = "/bas";
</script>


<title>
	流程设计器
</title>
<link rel="stylesheet" href="css/zTreeStyle.css" />
<!-- <link rel="stylesheet" type="text/css" href="./BaseNewPage_files/iconflow.css"/> -->
<link rel="stylesheet" href="./css/basGooFlow.css?v=20190122" type="text/css" />
<link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="./css/element.css" />
<!-- <link href="./css/jquery.ui.resizable.css" rel="stylesheet" /> -->

<!-- 路径js -->
<script src="./js/baseUrl.js"></script>

<!-- <link rel="stylesheet" href="./BaseNewPage_files/jquery-ui.min.css"> -->
<script src="./js/jquery.js"></script>
<script src="./js/jquery-ui.js"></script>

<!-- 加载语言包文件 -->
<script src="js/jquery.i18n.properties.js"></script>
<script src="./js/language.js?v=20190130.1"></script>

<script src="./js/underscore-min.js"></script>
<script src="./js/jqPaginator.js"></script>
<script src="./js/doT.min.js"></script>
<!-- <script src="./js/GooFlowPro.js?v=20191030"></script> -->
<script src="js/jquery.ztree.core.js"></script>
<script src="js/jquery.ztree.excheck.min.js"></script>
<script src="js/clamp.js"></script>
<script>
   window.jq=jQuery.noConflict();

</script>

<style type="text/css">
	#div1 {
		position: absolute;
		z-index: 9999;
		background-color: #fff;
	}
  #laydivBox {
    position: fixed;
    left: 0;
    right:0;
    top:0;
    bottom: 0;
    z-index: 99999;
    display: none;
  }
  .ui-draggable-border {
            background: transparent;
            position: absolute;
            z-index: 100001;
            cursor: move;
        }
</style>


<body>
<!-- <input id="closeWin" value="关闭 " type="button" /> -->
  <div id='laydiv'></div>
<input id="shuju" value="" type="hidden">
<input type="hidden" id="id" value="21">
<input type="hidden" id="lid" value="">
<input type="hidden" id="pid" value="8">
<input type="hidden" id="FormAttr" value="com.ekingwin.bas.layout.model.ConfigPageFormModel@15857a92">
<input type="hidden" id="version" value="[1.1, 1.2, 1.3000001]">
<!-- <form class="importFile"><input type="file" id="importFile" data-type="input" multiple="multiple"></form> -->

<div id="basGooFlow" class="GooFlow"></div>
<!-- 上传 -->

<!-- 打印的部分 -->
<div id="processName">
	<span class="processname"></span>
	<span class="userName margin-l10"></span>
	<span class="userId margin-l10"></span>
</div>

<!--拖动辅助线-->
<div id="guide-h" class="guide"></div>
<div id="guide-v" class="guide"></div>
<object id="printWB" style="display:none" classid="clsid:8856F961-340A-11D0-A96B-00C04FD705A2" height="0"></object>

<!-- 选择对比版本 -->
<div class="modalDialogHistoryVersion">
	<div class="dialog-content">
		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div id="versionSelectLeftWrap" class="versionSelectWrap"></div>
				<div id="versionSelectRightWrap" class="versionSelectWrap"></div>
			</div>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 chooseModalDialogHistoryVersion">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModelHistoryVersion">确定</button>
		</div>
	</div>
</div>

<!-- 版本对比 -->
<div class="modalDialogVersionContrast">
	<div class="dialog-content">
		<div class="dialog_body">
			<div class="versionContrast">
				<h4 class="title margin-t15">版本信息</h4>
				<div id="leftVersionContrast" class="versionItem"></div>
				<div id="rightVersionContrast" class="versionItem"></div>
			</div>
			<div class="tableWrap">
				<div class="header">
					<span style="margin-right: 20px;">显示差异</span>
					<label style="font-weight: normal; margin-bottom: 0; cursor: pointer;">
						<span style="margin-right: 2px;">显示全部</span>
						<input class="isShowAllCheck" class="" style="margin: -3px 0 0; vertical-align: middle;" type="checkbox" checked onchange="changeContrast(this)">
					</label>
					<button type="button" class="btn btn-primary btn-sm float-r margin-l10 reload">刷新</button>
					<button type="button" class="btn btn-primary btn-sm float-r margin-l10 highSearchBtn">高级搜索</button>
					<button type="button" class="btn btn-primary btn-sm float-r export">导出</button>
				</div>
				<div id="contrastHighSearch">
					<ul>
						<li>
							<span>节点：</span>
							<input type="text" class="node" />
						</li>
						<li>
							<span>卡片：</span>
							<input  type="text" class="card" />
						</li>
						<li>
							<span>字段：</span>
							<input  type="text" class="field" />
						</li>
						<li>
							<span>当前版本：</span>
							<input  type="text" class="currentValue" />
						</li>
						<li>
							<span>历史版本：</span>
							<input  type="text" class="versionValue" />
						</li>
					</ul>
					<div class="btnWrap clearfix">
						<button type="button" class="btn btn-primary btn-sm margin-l10 float-r reset">重置</button>
						<button type="button" class="btn btn-primary btn-sm margin-l10 float-r highSearch">查询</button>
					</div>
				</div>
				<table class="table">
					<thead>
					<tr>
						<th class="w10">
							序号
						</th>
						<th class="w18">
							节点
						</th>
						<th class="w18">
							卡片
						</th>
						<th class="w10">
							字段
						</th>
						<th class="w18">
							当前版本
						</th>
						<th class="w18">
							历史版本
						</th>
					</tr>
					</thead>
					<tbody id='versionContrastTable'>
					</tbody>
				</table>
				<nav style="text-align: center; margin-top: 10px;" aria-label="Page navigation">
					<ul class="pagination remove-margin" id="contrastNavagationPage"></ul>
				</nav>
			</div>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 versionContrastCancelChoose">取消</button>
		</div>
	</div>
</div>

<!-- 组织选择模态框 -->
<div class="modalDialog">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">请选择组织</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContent">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common">组织</div>
					<div class="usually common">常用</div>
					<div class="persons common">人员</div>
				</div>
				<div class="center">

					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="form-group remove-margin-b">
							<div class="input-group">
								<input type="text" class="form-control">
								<span class="input-group-addon" id="searchOrg">搜索</span>
							</div>
						</div>
						<div class="treeContent">
							<ul id="treeDemo" class="ztree"></ul>
						</div>
					</div>

					<!-- 常用部分 -->
					<div class="centerContent h100 overflowAuto">
						<p class="active cursor-pointer w100 showEll">常用联系人</p>
						<p class="cursor-pointer w100 showEll">最近联系人</p>
						<p class="cursor-pointer w100 showEll">我的部门</p>
						<p class="cursor-pointer w100 showEll">自定义分组</p>
					</div>

					<!-- 人员部分 -->
					<div class="centerContent h100">
						<div class="form-group clearfix">
							<label for="inputName" class="col-xs-2 remove-padding">姓名</label>
							<div class="col-sm-10 remove-padding-r">
								<input type="text" class="form-control" id="inputName">
							</div>
						</div>
						<div class="form-group clearfix">
							<label for="inputPos" class="col-xs-2 remove-padding">岗位</label>
							<div class="col-sm-10 remove-padding-r">
								<input type="text" class="form-control" id="inputPos">
							</div>
						</div>
						<div class="form-group clearfix">
							<label for="inputRole" class="col-xs-2 remove-padding">角色</label>
							<div class="col-sm-10 remove-padding-r">
								<input type="text" class="form-control" id="inputRole">
							</div>
						</div>
						<div class="margin-t15 text-center">
							<button type="button" class="btn btn-primary btn-sm immediateSearch">立即搜索</button>
							<button type="button" class="btn btn-default btn-sm margin-l10 resetOptions">重置</button>
						</div>
					</div>

				</div>
				<div class="right">
					<div class="h100 tableShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w10">
								</th>
								<th class="w20">
									姓名
								</th>
								<th class="w15">
									性别
								</th>
								<th class="w25">
									部门
								</th>
								<th class="w25">
									岗位
								</th>
							</tr>
							</thead>
							<tbody id="tabTableData">
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="navagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList"></div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmPerson">确定</button>
		</div>
	</div>
</div>

<!-- 选择部门模态框 -->
<div class="modalDialogDept">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">{{=jq.i18n.prop("selectDeptStation")}}</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentDept">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="station active common">岗位</div>
          			<div class="station common">角色</div>
				</div>
				<div class="center another_center" style="position: relative">
					<!-- 岗位部分 -->
					<div class="centerContent">
						<div class="form-group remove-margin-b">
							<div class="input-group">
								<input type="text" class="form-control" id="searchOrgStation_Input">
								<span class="input-group-addon" id="searchOrgStation">搜索</span>
							</div>
						</div>
						<!--<input id="orgSearch_input" class="form-control" name="orgSearch" type="text">-->
						<div class="treeContent">
							<ul id="treeStation" class="ztree"></ul>
						</div>
					</div>
					<!--角色部分-->
					<div class="centerContent">
						<div class="form-group remove-margin-b" style="margin: 4px 0 0 4px;width: 40%;">
							<div class="input-group">
								<input type="text" class="form-control" id="searchRole_Input">
								<span class="input-group-addon" id="searchRoleProcess" style="cursor: pointer">搜索</span>
							</div>
						</div>
						<div class="h100 tableShow">
						<table class="table">
							<thead>
							<tr>
							<th class="w8"></th>
							<th class="w10">
								序号
							</th>
							<th class="w18">
								名称
							</th>
							<th class="w18">
								类型
							</th>
							</tr>
							</thead>
							<tbody id='roleTable'>
							</tbody>
						</table>
						</div>
						<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="roleNavagationPage"></ul>
						</nav>
					</div>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmPerson">确定</button>
		</div>
	</div>
</div>

<!-- 选择制度模态框 -->
<div class="modalDialogSystemDocument">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择制度</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentSystemDocument">
			<div class="dialog_wrapper clearfix" style="width: 830px">
				<div class="left">
					<div class="station active common">制度</div>
				</div>
				<div class="center another_center" style="width:22%">
					<div class="centerContent" style='display: block;'>
						<div class="treeContent">
							<ul id="treeSystemDocument" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right systemDocument" style="width: 46%">
					<div class="h100 tableModelShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w8">
									序号
								</th>
								<th class="w18">
									体系名称
								</th>
								<th class="w18">
									版本
								</th>
								<th class="w18">
									框架名称
								</th>
							</tr>
							</thead>
							<tbody id='systemDocumentTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="systemDocumentNavagationPage"></ul>
					</nav>
				</div>
				<div class="right systemChapter" style="width: 24%;margin-left: 10px;overflow: scroll">
					<div class="centerContent" style='display: block;'>
						<div class="treeContent">
							<ul id="treeSystemChapter" class="ztree"></ul>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-primary btn-sm confirmSystemDocument">确定</button>
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
		</div>
	</div>
</div>

<!-- 选择流程模态框 -->
<div class="modalDialogProcess">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择流程</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common">流程</div>
				</div>
				<!--<span class="toolTip" id="toolTip">* 此流程框架为试运行版本</span>-->
				<div class="center another_center">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="form-group remove-margin-b">
							<div class="input-group">
								<input type="text" class="form-control" id="searchOrg_Input">
								<span class="input-group-addon" id="searchOrgProcess" style="cursor: pointer">搜索</span>
							</div>
						</div>
						<div class="treeContent">
							<ul id="treeProcess" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right" style="display: none;">
					<div class="h100 tableShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w10">
									序号
								</th>
								<th class="w18">
									流程编码
								</th>
								<th class="w18">
									流程名称
								</th>
								<th class="w10">
									版本
								</th>
								<th class="w18">
									流程描述
								</th>
								<th class="w18">
									责任人
								</th>
								<th class="w18">
									状态
								</th>
							</tr>
							</thead>
							<tbody id='processTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="processNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmProcess">确定</button>
		</div>
	</div>
</div>

<!-- 选择流程模态框 -->
<div class="modalDialogProcessCopy" style="display: none;">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择流程</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common">流程</div>
				</div>
				<span class="toolTip" id="toolTip">* 此流程框架为试运行版本</span>
				<div class="center another_center">
					<div class="centerContent block">
						<div class="form-group remove-margin-b">
							<div class="input-group">
								<input type="text" class="form-control" id="searchOrg_Input2">
								<span class="input-group-addon" id="searchOrgProcess2" style="cursor: pointer">搜索</span>
							</div>
						</div>
						<div class="treeContent">
							<ul id="treeProcessCopy" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right">
					<div class="h100 tableShow" id="processTableCopy">
					</div>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmProcess">确定</button>
		</div>
	</div>
</div>

<!-- 选择流程模态框 -->
<div class="modalDialogProcessSee">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">预览流程</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<iframe id="iframeSee" src=""></iframe>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmProcess">确定</button>
		</div>
	</div>
</div>

<!-- 选择规章制度文档树 -->
<div class="modalDialogRegulations">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择规章制度文档</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common">文档</div>
				</div>
				<!--<span class="toolTip" id="toolTip">* 此流程框架为试运行版本</span>-->
				<div class="center another_center">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<!--<div class="form-group remove-margin-b">-->
						<!--<div class="input-group">-->
						<!--<input type="text" class="form-control">-->
						<!--<span class="input-group-addon" id="searchOrgProcess">搜索</span>-->
						<!--</div>-->
						<!--</div>-->
						<div class="treeContent">
							<ul id="treeRegulations" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right" style="display: none;">
					<div class="h100 tableShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w10">
									序号
								</th>
								<th class="w18">
									流程编码
								</th>
								<th class="w18">
									流程名称
								</th>
								<th class="w10">
									版本
								</th>
								<th class="w18">
									流程描述
								</th>
								<th class="w18">
									责任人
								</th>
								<th class="w18">
									状态
								</th>
							</tr>
							</thead>
							<tbody id='processTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="processNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmProcess">确定</button>
		</div>
	</div>
</div>
<!-- 选风险文档树 -->
<div class="modalDialogRisk">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择风险</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix" style="width: 830px">
				<div class="left">
					<div class="organization active common">风险</div>
				</div>
				<div class="center another_center" style="width: 20%;height: 324px;">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="treeContent">
							<ul id="treeRisk" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right" style="width: 72%;height: 324px;">
					<div class="form-group remove-margin-b" style="margin: 4px 0 0 4px;width: 40%;">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="风险名称" id="searchRisk_Input" style="height: 28px;">
							<span class="input-group-addon" id="searchRisk">搜索</span>
						</div>
					</div>
					<div class="h100 tableModelShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w8">
									序号
								</th>
								<th class="w18">
									风险编号
								</th>
								<th class="w15">
									风险名称
								</th>
								<th class="w18">
									风险描述
								</th>
								<th class="w18">
									责任部门
								</th>
								<th class="w10">
									实施依据
								</th>
							</tr>
							</thead>
							<tbody id='riskTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="riskNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmRisk">确定</button>
		</div>
	</div>
</div>

<!-- 选文档库 -->
<div class="modalDialogDoc">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择文档</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix" style="width: 830px">
				<div class="left">
					<div class="organization active common">文档</div>
				</div>
				<div class="center another_center" style="width: 20%;height: 324px;">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="treeContent">
							<ul id="treeDoc" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right" style="width: 72%;height: 324px;">
					<div class="form-group remove-margin-b" style="margin: 4px 0 0 4px;width: 40%;">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="文档名称" id="searchDoc_Input" style="height: 28px;">
							<span class="input-group-addon" id="searchDoc">搜索</span>
						</div>
					</div>
					<div class="h100 tableModelShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w8">
									序号
								</th>
								<th class="w18">
									文档名称
								</th>
								<th class="w15">
									文档描述
								</th>
								<th class="w18">
									文档类型
								</th>
								<th class="w18">
									备注
								</th>
							</tr>
							</thead>
							<tbody id='docTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="docNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmDoc">确定</button>
		</div>
	</div>
</div>

<!-- 选择业务对象输入输出 -->
<div class="modalDialogModel">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">文档选择</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix" style="width: 830px">
				<div class="left">
					<div class="organization active common">文档</div>
				</div>
				<!--<span class="toolTip" id="toolTip">* 此流程框架为试运行版本</span>-->
				<div class="center another_center" style="width: 20%">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="treeContent">
							<ul id="treeModel" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right" style="width: 72%">
					<div class="h100 tableModelShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w8">
									序号
								</th>
								<th class="w18">
									文档名称
								</th>
								<th class="w15">
									文档描述
								</th>
								<th class="w18">
									所属末级分类
								</th>
								<th class="w18">
									所属一级分类
								</th>
								<th class="w10">
									备注
								</th>
							</tr>
							</thead>
							<tbody id='modelTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="modelNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModel">确定</button>
		</div>
	</div>
</div>

<!-- 选择业务对象所属分类 -->
<div class="modalDialogCategory">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">所属分类</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common">分类</div>
				</div>
				<!--<span class="toolTip" id="toolTip">* 此流程框架为试运行版本</span>-->
				<div class="center another_center">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="treeContent">
							<ul id="treeCategory" class="ztree"></ul>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModel">确定</button>
		</div>
	</div>
</div>

<!-- 选择岗位 -->
<div class="modalDialogPost">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">选择岗位</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div id='postSelectWrap'></div>
			</div>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 chooseModalDialogPost">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModelPost">确定</button>
		</div>
	</div>
</div>

<!-- 选择业务对象名称 -->
<div class="modalDialogBusObj">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">业务对象</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix" style="width: 830px">
				<div class="left">
					<div class="organization active common" style="height: 106px">业务对象</div>
				</div>
				<div class="center another_center" style="width: 20%">
					<!-- 组织部分 -->
					<div class="centerContent block">
						<div class="treeContent">
							<ul id="treeBusObj" class="ztree"></ul>
						</div>
					</div>
				</div>
				<div class="right" style="width: 72%">
					<div class="h100 tableBusObjShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w10">
									序号
								</th>
								<th class="w30">
									业务对象名称
								</th>
								<th class="w30">
									业务对象分类
								</th>
							</tr>
							</thead>
							<tbody id='busObjTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="busObjNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModelBusObj">确定</button>
		</div>
	</div>
</div>
<!-- 选择业务对象详情 -->
<div class="componentDialog" id="modalDialogBusObjDetail" >

</div>

<!-- 选择业务对象详情 -->
<div class="componentDialog" id="modalUpload" >

</div>

<!-- 选择工具 -->
<div class="modalDialogTool">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">工具选择</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common" style="height: 106px">工具选择</div>
				</div>
				<div class="right" style="width: 90%">
					<div class="h100 tableToolShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w18">
									序号
								</th>
								<th class="w30">
									工具名称
								</th>
								<th class="w30">
									工具版本
								</th>
								<th class="w30">
									使用范围
								</th>
								<th class="w30">
									备注
								</th>
							</tr>
							</thead>
							<tbody id='toolTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="toolNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModelTool">确定</button>
		</div>
	</div>
</div>

<!-- 选择相关系统 -->
<div class="modalDialogSystem">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">系统选择</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
				<div class="left">
					<div class="organization active common" style="height: 106px">系统选择</div>
				</div>
				<div class="right" style="width: 90%">
					<div class="form-group remove-margin-b" style="margin: 4px 0 0 4px;width: 40%;">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="请输入字段名称" id="searchSystem_Input" style="height: 28px;">
							<span class="input-group-addon" id="searchSystem">搜索</span>
						</div>
					</div>
					<div class="h100 tableSystemShow">
						<table class="table">
							<thead>
							<tr>
								<th class="w8"></th>
								<th class="w18">
									序号
								</th>
								<th class="w30">
									字段名称
								</th>
								<!-- <th class="w30">
									应用简介
								</th> -->
								<th class="w30">
									所属标签
								</th>
							</tr>
							</thead>
							<tbody id='systemTable'>
							</tbody>
						</table>
					</div>
					<nav class="clearfix navagationPage" aria-label="Page navigation">
						<ul class="pagination remove-margin" id="systemNavagationPage"></ul>
					</nav>
				</div>
			</div>
		</div>

		<div class="checkedList">
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmModelSystem">确定</button>
		</div>
	</div>
</div>

<!-- 确认提示框 -->
<div class="modalDialogConfirm">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">提示</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
			</div>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button>
			<button type="button" class="btn btn-primary btn-sm confirmProcess">确定</button>
		</div>
	</div>
</div>

<!-- 选择版本模态框 -->
<div class="modalDialogVersions">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">请选择发布版本</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>
		<div class="dialog_body tabsContentDept">
			<div class="dialog_wrapper clearfix">
				<div>
					<div class="table" style="display:block">
						<div style="height: 314px;overflow: auto;" id="versionsTable"></div>
					</div>
				</div>
			</div>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-primary btn-sm confirmVersion">重新部署</button>
			<button type="button" class="btn btn-primary btn-sm saveVersion">部署</button>
			<button type="button" class="btn btn-default btn-sm margin-l10 cancelVersion">取消</button>
		</div>
	</div>
</div>

<!-- 流程列表弹出框 -->
<div class="modalDialogProcessTable">
	<div class="dialog-content">
		<div class="dialog_header">
			<span class="dialog_title">流程列表</span>
			<button type="button" class="close-dialogBtn">
				<i class="dialog_close"></i>
			</button>
		</div>

		<div class="dialog_body tabsContentProcess">
			<div class="dialog_wrapper clearfix">
			</div>
		</div>
		<div class="dialog_footer text-right">
			<button type="button" class="btn btn-primary btn-sm confirmProcess">确定</button>
			<!-- <button type="button" class="btn btn-default btn-sm margin-l10 cancelChoose">取消</button> -->
		</div>
	</div>
</div>

<button class="btn btn-primary" id="backToBefore">回到之前画布</button>

<div class="applert">保存成功！</div>

<!-- loading -->
<div id="loader-wrapper">
	<div id="loader"></div>
	<div class="loader-section section-left"></div>
	<div class="loader-section section-right"></div>
	<div class="load_title">正在解析
	</div>
</div>

<img id="imageCss" src="" alt="">

<div id="bg-loading">
	<div id="bg-loading">
		<div class="loading">
			<span></span>
			<span></span>
			<span></span>
			<span></span>
			<span></span>
		</div>
	</div>

	<!-- template -->
	<!--节点属性-->
	<script id="attr_templ" type="text/x-dot-template">
		<ul class="process_head" id="pointAttr">

			<!-- {{? (it.attrList.processGroup) && (it.attrList.type === 'process' || it.attrList.type === 'process02' || it.attrList.type === 'process03')}}
			<li class="active minWidth12" data-class="aboutProcess2"  title="{{=jq.i18n.prop("processRefer")}}">{{=jq.i18n.prop("processRefer")}}</li>
			{{? }} -->
			{{? ((it.attrList.time === '') || (it.attrList.time)) || (!!it.attrList.id && it.attrList.id.indexOf('LINE') > -1) }}
			<li class="{{= (it.attrList.type == 'process' || it.attrList.type == 'process02' || it.attrList.type == 'process03') ? '':'active minWidth10'}}" data-class="table" title="{{=jq.i18n.prop("activityDes")}}">{{=jq.i18n.prop("activityDes")}}</li>
			{{? }}
			<!-- {{? it.attrList.keyControl && it.attrList.type !== 'processRefer' }}
			<li data-class="addKeyControl" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth15':'active minWidth15'}}" title="{{=jq.i18n.prop("KRCP")}}">{{=jq.i18n.prop("KRCP")}}</li>
			{{? }} -->
			{{? it.attrList.keyKSFControl }}
			<li data-class="addKeyKSFControl" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth12':((it.attrList.keyControl) ? 'minWidth12':'active minWidth12')}}" title="{{=jq.i18n.prop("KSF")}}">{{=jq.i18n.prop("KSF")}}</li>
			{{? }}
			{{? it.attrList.isModelListBoDtos }}
			<li data-class="isModelListBoDtos" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth8':((it.attrList.isModelListBoDtos) ? 'minWidth8':'active minWidth8')}}" title="{{=jq.i18n.prop("businessObj")}}">{{=jq.i18n.prop("businessObj")}}</li>
			{{? }}
			{{? it.attrList.modelListToolsDtos }}
			<li data-class="modelListToolsDtos" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth8':((it.attrList.modelListToolsDtos) ? 'minWidth8':'active minWidth8')}}" title="{{=jq.i18n.prop("tool")}}">{{=jq.i18n.prop("tool")}}</li>
			{{? }}
			{{? (it.attrList.processGroup && (it.attrList.type !== 'process')  && (it.attrList.type !== 'process02')  && (it.attrList.type !== 'process03')) || it.attrList.type === 'processRefer' }}
			<li data-class="aboutProcess" data-id="{{=it.attrList.type}}" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth12':(it.attrList.keyControl ? 'minWidth12':'active minWidth12')}}" title="{{=jq.i18n.prop("processRefer")}}">{{=jq.i18n.prop("processRefer")}}</li>
			{{?}}
			{{? it.attrList.systemDocumentChapter }}
			<li data-class="systemDocumentChapter" data-id="{{=it.attrList.type}}" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth8':(it.attrList.systemDocumentChapter ? 'minWidth8':'active minWidth12')}}" title="{{=jq.i18n.prop("citationSystem")}}">{{=jq.i18n.prop("citationSystem")}}</li>
			{{?}}
			{{? it.attrList.messageGroup }}
			<li data-class="message-form" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth8':(it.attrList.keyControl ? 'minWidth8':(it.attrList.processGroup ? 'minWidth8':'active minWidth8'))}}" title="{{=jq.i18n.prop("enterpriseStandard")}}">
			{{=jq.i18n.prop("enterpriseStandard")}}
			</li>
			{{?}}
			{{? it.attrList.messageFile }}
			<li data-class="message-file-form" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth8':(it.attrList.keyControl ? 'minWidth8':(it.attrList.messageFile ? 'minWidth8':'active minWidth8'))}}" title="{{=jq.i18n.prop("inforDoc")}}">{{=jq.i18n.prop("inforDoc")}}</li>
			{{?}}
			{{? it.attrList.approvalGroup }}
			<li data-class="approverulesform" class="{{= ((it.attrList.time === '') || (it.attrList.time)) ? 'minWidth8':(it.attrList.keyControl ? 'minWidth8':(it.attrList.approvalGroup ? 'minWidth8':'active minWidth8'))}}" title="{{=jq.i18n.prop("approveRules")}}">{{=jq.i18n.prop("approveRules")}}</li>
			{{?}}
			<i class="closeRightMoal"></i>
		</ul>
		<div class="attr1Box" id="tabMainBox">
			{{? it.attrList.processGroup  && (it.attrList.type === 'process' || it.attrList.type === 'process02' || it.attrList.type === 'process03') }}
			<div class="aboutProcess2" style="min-height: 100px;padding:10px;':'display:block; min-height: 100px;padding:10px;">
				<div>
					{{? !basFlow.isReadAttr}}
					<span id="processSelect" class="rightChoose">{{=jq.i18n.prop("select")}}</span>
					{{? }}
					{{~it.attrList.processGroup :item:index}}
					<span class="commonFileName processDel" data-id="{{=item.id}}">
						{{=item.name}}
						{{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
					</span>
					{{~}}
				</div>
			</div>
			{{? }}
			{{? ((it.attrList.time === '') || (it.attrList.time)) || (!!it.attrList.id && it.attrList.id.indexOf('LINE') > -1) }}
			<div class="table" style="{{= ((it.attrList.type === 'process' || it.attrList.type === 'process02' || it.attrList.type === 'process03') ? 'display:none':'display:block')}}">
				<table class="table attr-table" border="0" cellspacing="0">
					<tr>
						{{? Object.keys(it.attrList).includes('index') && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03' && it.attrList['type'] != 'processStart' && it.attrList['type'] != 'processEnd' && it.attrList['type'] != 'processGateway' && it.attrList['type'] != 'AND' && it.attrList['type'] != 'OR' && it.attrList['type'] != 'XOR' && it.attrList['type'] != 'P' && it.attrList['type'] != 'process04' && it.attrList['type'] != 'enterprise01' && it.attrList['type'] != 'enterprise02' && it.attrList['type'] != 'enterprise03' && it.attrList['type'] != 'enterprise04' && it.attrList['type'] != 'enterprise05'}}
						<td><div class="clamp">{{=jq.i18n.prop("seqNumber")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="index"  value="{{= it.attrList.index }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="index" disabled  value="{{= it.attrList.index }}" />
								{{? }}
							</div>
						</td>
						{{? }}
					</tr>
					{{for(var k in it.attrList) { }}
					<tr>
						{{? k =='name' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03'}}
						<td><div class="clamp">{{=jq.i18n.prop("name")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k] }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}" disabled  value="{{= it.attrList[k] }}" />
								{{? }}
							</div>
						</td>
						{{?? k =='priority' && it.attrList['formType'] === 'exclusiveGateway'}}
						<td><div class="clamp">{{=jq.i18n.prop("priority")}} :</div></td>
						<td>
						<div class="clamp">
							{{? !basFlow.isReadAttr}}
							<input  type="number" onchange="priorityCheck(this)" onkeyup="priorityCheck(this)" onafterpaste="priorityCheck(this)" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k].toString().indexOf('天')>-1?Number(it.attrList[k].slice(0,-1)):Number(it.attrList[k]) }}" />
							{{?? }}
							<input  type="number" onchange="this.value=this.value.replace(/\D/g,'')" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" class="attr-table-inp" disabled data-type="{{= k }}"  value="{{= it.attrList[k].toString().indexOf('天')>-1?Number(it.attrList[k].slice(0,-1)):Number(it.attrList[k]) }}" />
							{{? }}
						</div>
						</td>
						{{?? k =='exportName' && it.attrList['type'] == 'processRefer'}}
						<td><div class="clamp">{{=jq.i18n.prop("exportName")}} :</div></td>
						<td>
							<div class="clamp">
								{{? basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k] }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}" disabled  value="{{= it.attrList[k] }}" />
								{{? }}
							</div>
						</td>
						{{?? k =='desc' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03' }}
						<td><div class="clamp">{{=jq.i18n.prop("description")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<textarea class="attr-table-inp" data-type="{{= k }}" >{{= it.attrList[k] }}</textarea>
								{{?? }}
								<textarea class="attr-table-inp" disabled data-type="{{= k }}" >{{= it.attrList[k] }}</textarea>
								{{? }}
							</div>
						</td>
						{{?? k=='appovalType' && it.attrList['type'] == 'processTask'}}
						<td><div class="clamp">审批类型:</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<select name="" class="form-control" data-type="{{= k}}" value="{{= it.attrList[k] }}" onchange="changeAppovalType(this.value)">
									{{? it.attrList[k] == 'Single' }}
									<option value="Single" selected="selected">单人审批</option>
									{{?? }}
									<option value="Single">单人审批</option>
									{{? }}

									{{? it.attrList[k] == 'Parallel' }}
									<option value="Parallel" selected="selected" >并行审批</option>
									{{?? }}
									<option value="Parallel" >并行审批</option>
									{{? }}

									{{? it.attrList[k] == 'Serial' }}
									<option value="Serial"  selected="selected">顺序审批</option>
									{{?? }}
									<option value="Serial" >顺序审批</option>
									{{? }}
								</select>
								{{?? }}
								<select name="" class="form-control"  disabled data-type="{{= k}}" value="{{= it.attrList[k] }}">
									{{? it.attrList[k] == 'Single' }}
									<option value="Single" selected="selected">单人审批</option>
									{{?? }}
									<option value="Single">单人审批</option>
									{{? }}

									{{? it.attrList[k] == 'Parallel' }}
									<option value="Parallel" selected="selected" >并行审批</option>
									{{?? }}
									<option value="Parallel" >并行审批</option>
									{{? }}

									{{? it.attrList[k] == 'Serial' }}
									<option value="Serial"  selected="selected">顺序审批</option>
									{{?? }}
									<option value="Serial" >顺序审批</option>
									{{? }}
								</select>
								{{? }}

							</div>
						</td>
						{{?? k=='percentOfPass' && it.attrList['type'] == 'processTask' && it.attrList['appovalType'] == 'Parallel' }}

						<td><div class="clamp">并行自动通过率（%）:</div></td>
						<td>
							<div class="clamp">
								<input id="{{= k}}"
										type="number"
										onchange="this.value = percentage(this.value)"
										onkeyup="this.value = percentage(this.value)"
										onafterpaste="this.value = percentage(this.value)"
										class="attr-table-inp" data-type="{{= k }}"
										value="{{= it.attrList[k] }}" />
							</div>
						</td>

						{{?? k =='time'  && it.attrList[k] !== 'No' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03'}}

						{{? it.attrList['id'].indexOf('SWIMLANE') > -1 && it.attrList['showMember'] !== it.attrList['type'] }}





						<td><div class="clamp">{{=jq.i18n.prop("SpecifiedTime")}} :</div></td>
						{{?? it.attrList['id'].indexOf('SWIMLANE') == -1 }}
						{{? (it.attrList['type'] != 'processStart' && it.attrList['type'] != 'processEnd' && it.attrList['type'] != 'processGateway' && it.attrList['type'] != 'AND' && it.attrList['type'] != 'OR' && it.attrList['type'] != 'XOR' && it.attrList['type'] != 'P' && it.attrList['type'] != 'process04' && it.attrList['type'] != 'enterprise01' && it.attrList['type'] != 'enterprise02' && it.attrList['type'] != 'enterprise03' && it.attrList['type'] != 'enterprise04' && it.attrList['type'] != 'enterprise05') || (it.attrList['id'].indexOf('SWIMLANE') > -1 && it.attrList['showMember'] !== it.attrList['type'])}}
						<td><div class="clamp">{{=jq.i18n.prop("SpecifiedTime")}} :</div></td>
						{{? }}
						{{? }}
						{{? (it.attrList['id'].indexOf('SWIMLANE') == -1 && it.attrList['type'] != 'processStart' && it.attrList['type'] != 'processEnd' && it.attrList['type'] != 'processGateway' && it.attrList['type'] != 'AND' && it.attrList['type'] != 'OR' && it.attrList['type'] != 'XOR' && it.attrList['type'] != 'P' && it.attrList['type'] != 'process04' && it.attrList['type'] != 'enterprise01' && it.attrList['type'] != 'enterprise02' && it.attrList['type'] != 'enterprise03' && it.attrList['type'] != 'enterprise04' && it.attrList['type'] != 'enterprise05') || (it.attrList['id'].indexOf('SWIMLANE') > -1 && it.attrList['showMember'] !== it.attrList['type'] )}}
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="number" onchange="this.value=this.value.replace(/\D/g,'')" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k].toString().indexOf('天')>-1?Number(it.attrList[k].slice(0,-1)):Number(it.attrList[k]) }}" />
								{{?? }}
								<input  type="number" onchange="this.value=this.value.replace(/\D/g,'')" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" class="attr-table-inp" disabled data-type="{{= k }}"  value="{{= it.attrList[k].toString().indexOf('天')>-1?Number(it.attrList[k].slice(0,-1)):Number(it.attrList[k]) }}" />
								{{? }}
							</div>
						</td>
						{{? }}
						{{?? k == 'system' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03' && it.attrList['type'] != 'processStart' && it.attrList['type'] != 'processEnd' && it.attrList['type'] != 'processGateway' && it.attrList['type'] != 'AND' && it.attrList['type'] != 'OR' && it.attrList['type'] != 'XOR' && it.attrList['type'] != 'P' && it.attrList['type'] != 'process04' && it.attrList['type'] != 'enterprise01' && it.attrList['type'] != 'enterprise02' && it.attrList['type'] != 'enterprise03' && it.attrList['type'] != 'enterprise04' && it.attrList['type'] != 'enterprise05' && it.attrList['id'].indexOf('SWIMLANE') == -1}}
						<td><div class="clamp">{{=jq.i18n.prop("relatedSystem")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp relatedSystem" data-type="{{= k }}" readonly value="{{= Array.isArray(it.attrList[k]) ? it.attrList[k].map(function(item, index) { return item.name }).join(',') : it.attrList[k] }}" placeholder="请选择" />
								{{?? }}
								<input  type="text" class="attr-table-inp relatedSystem" data-type="{{= k }}" disabled value="{{= Array.isArray(it.attrList[k]) ? it.attrList[k].map(function(item, index) { return item.name }).join(',') : it.attrList[k] }}" />
								{{? }}

							</div>
						</td>
						{{?? k == 'role' && it.attrList['type'] != 'process' && it.attrList['id'].indexOf('SWIMLANE') == -1}}
						<td><div class="clamp">{{=jq.i18n.prop("role")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp relatedRole" data-type="{{= k }}" readonly value="{{= Array.isArray(it.attrList[k]) ? it.attrList[k].map(function(item, index) { return item.name }).join(',') : it.attrList[k] }}" placeholder="请选择" />
								{{?? }}
								<input  type="text" class="attr-table-inp relatedRole" data-type="{{= k }}" disabled value="{{= Array.isArray(it.attrList[k]) ? it.attrList[k].map(function(item, index) { return item.name }).join(',') : it.attrList[k] }}" />
								{{? }}
							</div>
						</td>

						{{?? k == 'circle' && it.attrList['type'] == 'processRefer' && it.attrList['id'].indexOf('SWIMLANE') == -1}}
						<td><div class="clamp">{{=jq.i18n.prop("whetherRecycle")}} :</div></td>
						<td>

							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<select name="" class="form-control" data-type="{{= k}}" value="{{= it.attrList[k] }}">
									{{? it.attrList[k] == 'Y' }}
									<option value="Y" selected="selected">是</option>
									{{?? }}
									<option value="Y">是</option>
									{{? }}

									{{? it.attrList[k] == 'N' }}
									<option value="N" selected="selected" >否</option>
									{{?? }}
									<option value="N" >否</option>
									{{? }}
								</select>
								{{?? }}
								<select name="" class="form-control"  disabled data-type="{{= k}}" value="{{= it.attrList[k] }}">
									{{? it.attrList[k] == 'Y' }}
									<option value="Y" selected="selected">是</option>
									{{?? }}
									<option value="Y">是</option>
									{{? }}

									{{? it.attrList[k] == 'N' }}
									<option value="N" selected="selected" >否</option>
									{{?? }}
									<option value="N" >否</option>
									{{? }}
								</select>
								{{? }}

							</div>
						</td>
						<!--工作时间要求-->
						{{?? k =='workTimeRequire' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03'}}
						<td><div class="clamp">{{=jq.i18n.prop("workTimeRequire")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k] }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}" disabled value="{{= it.attrList[k] }}" />
								{{? }}

							</div>
						</td>
						<!--企业标准-->
						{{?? k =='enterpriseStandard' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03'}}
						<td><div class="clamp">{{=jq.i18n.prop("enterpriseStandard")}} :</div></td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k] }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="{{= k }}" disabled value="{{= it.attrList[k] }}" />
								{{? }}

							</div>
						</td>

					</tr>

					<tr>
						<td style="height:40px;"></td>
						<td class="commitFile Enterprise">
							<p>
								{{for(var m in it.attrList.enterpriseStandardFile) { }}
								<span class="commonFileName deleteFileDoc" file-id="{{= it.attrList.enterpriseStandardFile[m].id}}" style="margin-top: 8px;">
								{{= it.attrList.enterpriseStandardFile[m].foldername }}
								{{? !basFlow.isReadAttr}}
								<i></i>
								{{? }}
							</span>
								{{ } }}
							</p>
							{{? !basFlow.isReadAttr}}
							<div class="rightChoose" id="selectEnterprise" style="width: auto;cursor: pointer;">
								{{=jq.i18n.prop("select")}}
							</div>
							{{? }}
						</td>
					</tr>
					<!--企业标准-->
					<!--工作成果-->
					{{?? k =='workResults' && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03'}}
					<td><div class="clamp">{{=jq.i18n.prop("workResults")}} :</div></td>
					<td>
						<div class="clamp">
							{{? !basFlow.isReadAttr}}
							<input  type="text" class="attr-table-inp" data-type="{{= k }}"  value="{{= it.attrList[k] }}" />
							{{?? }}
							<input  type="text" class="attr-table-inp" data-type="{{= k }}" disabled value="{{= it.attrList[k] }}" />
							{{? }}

						</div>
					</td>
					<tr>
						<td style="height:40px;"></td>
						<td class="commitFile">
							<p>
								{{for(var m in it.attrList.file) { }}
								<span class="commonFileName deleteFile" file-id="{{= it.attrList.file[m].id}}" doc-id="{{= it.attrList.file[m].id}}" file-type="file">
						<a onclick="openUrl(this)"  docId="{{=it.attrList.file[m].id}}" href="javascript: void(0);">
							{{= it.attrList.file[m].newName }}
						</a>
						{{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
					</span>
								{{ } }}
							</p>
							{{? !basFlow.isReadAttr}}
							<form class="rightChoose">
								{{=jq.i18n.prop("selectAttach")}}
								<input type="file" id="workResultUpdateFile" data-type="file" multiple="multiple" />
							</form>
							{{?}}
						</td>
					</tr>
					<!--工作成果-->
					{{? }}
					</tr>
					{{ } }}
					{{? it.attrList['type'] != 'processStart' && it.attrList['type'] != 'processEnd' && it.attrList['type'] != 'processGateway' && it.attrList['type'] != 'AND' && it.attrList['type'] != 'OR' && it.attrList['type'] != 'XOR' && it.attrList['type'] != 'P' && it.attrList['type'] != 'process04' && it.attrList['type'] != 'enterprise01' && it.attrList['type'] != 'enterprise02' && it.attrList['type'] != 'enterprise03' && it.attrList['type'] != 'enterprise04' && it.attrList['type'] != 'enterprise05'}}
					{{? it.attrList.leaders && it.attrList['type'] != 'process'  && it.attrList['type'] != 'process02'  && it.attrList['type'] != 'process03' }}
					<!--<tr>-->
					<!--<td class="align-top lineHeight25px">{{=jq.i18n.prop("owner")}} :</td>-->
					<!-- <td class="commitFile">-->
					<!--<p>-->
					{{for(var j in it.attrList.leaders) { }}
					<!--<span class="commonFileName leadersDel" data-id="{{= it.attrList.leaders[j].userid }}">{{= it.attrList.leaders[j].cnname }}<i></i></span>-->
					{{ } }}
					<!-- </p>-->
					<!--<div class="rightChoose chooseLeader">-->
					<!--{{=jq.i18n.prop("select")}}-->
					<!-- </div>-->
					<!-- </td>-->
					<!--</tr>-->
					{{? }}
					{{? }}
					{{? it.attrList.approers }}
					{{? }}
					{{? it.attrList.consultants }}
					{{? }}
					{{? it.attrList.noticers }}
					{{? }}
					{{? it.attrList['type'] != 'processStart' && it.attrList['type'] != 'processEnd' && it.attrList['type'] != 'processGateway' && it.attrList['type'] != 'AND' && it.attrList['type'] != 'OR' && it.attrList['type'] != 'XOR' && it.attrList['type'] != 'P' && it.attrList['type'] != 'process04' && it.attrList['type'] != 'enterprise01' && it.attrList['type'] != 'enterprise02' && it.attrList['type'] != 'enterprise03' && it.attrList['type'] != 'enterprise04' && it.attrList['type'] != 'enterprise05'}}
					{{? it.attrList.depts && it.attrList['type'] != 'process' && it.attrList['type'] != 'process02' && it.attrList['type'] != 'process03' && (it.attrList['id'].indexOf('SWIMLANE') > -1 && it.attrList['showMember'] === it.attrList['type']) }}
					<tr>
						<td class="align-top lineHeight25px">{{=jq.i18n.prop("depts")}} :</div></td>
			<td class="commitFile">
				<p>
					{{for(var j in it.attrList.depts) { }}
					<span class="commonFileName deptsDel" data-id="{{= it.attrList.depts[j].id }}">
            {{? (!!it.attrList.depts[j].deptTopname || !!it.attrList.depts[j].upLeveldeptname)}}
						{{= (it.attrList.depts[j].name + "(" + (!!it.attrList.depts[j].deptTopname ?  (it.attrList.depts[j].upLeveldeptname + "," + it.attrList.depts[j].deptTopname) : it.attrList.depts[j].upLeveldeptname) + ")")}}
						{{?? }}
            {{= (it.attrList.depts[j].name)}}
            {{? }}
            {{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
					</span>
					{{ } }}
				</p>
				{{? !basFlow.isReadAttr}}
				<div class="rightChoose chooseDepts">
					{{=jq.i18n.prop("select")}}
				</div>
				{{? }}
			</td>
			</tr>

			{{? }}
			{{? it.attrList['type'] != 'swimlaneX' && it.attrList['type'] != 'swimlaneY'}}
			{{? it.attrList.input }}
			<tr>
				<td class="align-top lineHeight25px">{{=jq.i18n.prop("input")}} :</div></td>
		<td>
			<div class="clamp">
				{{? !basFlow.isReadAttr}}
				<input  type="text" class="attr-table-inp"  data-type="inputDesc" value="{{= (it.attrList.inputDesc || '') }}" />
				{{?? }}
				<input  type="text" class="attr-table-inp"  data-type="inputDesc" disabled value="{{= (it.attrList.inputDesc || '') }}" />
				{{? }}
			</div>
		</td>
		</tr>
		<tr>
			<td style="height:40px;"></td>
			<td class="commitFile">
				<p style="width: 72%;">
					{{for(var m in it.attrList.input) { }}
					{{? !!it.attrList.input[m].type}}
					<span class="commonFileName deleteFile" file-id="{{= it.attrList.input[m].id}}" doc-id="{{= it.attrList.input[m].folderid}}" file-type="input" style="background-color: #409eff">
						<a docId="{{=it.attrList.input[m].id}}" href="javascript: void(0);">
							{{= it.attrList.input[m].docname }}
						</a>
						{{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
					</span>
					{{?? }}
					<span class="commonFileName deleteFile" file-id="{{= it.attrList.input[m].id}}" doc-id="{{= it.attrList.input[m].docid}}" file-type="input">
						<a onclick="openUrl(this)"  docId="{{=it.attrList.input[m].id}}" href="javascript: void(0);">
							{{= it.attrList.input[m].newName }}
						</a>
						{{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
					</span>
					{{? }}
					{{ } }}
				</p>
				{{? !basFlow.isReadAttr}}
				<form class="rightChoose" style="right: 100px">
					{{=jq.i18n.prop("selectAttach")}}
					<input type="file" id="updateFile" data-type="input" multiple="multiple" />
				</form>
				<span id="updateInputManageEleFile" class="rightChoose">上传管理要素</span>
				{{?}}
			</td>
		</tr>
		{{? }}
		{{? it.attrList.output }}
		<tr>
			<td class="align-top lineHeight25px">{{=jq.i18n.prop("output")}} :</div></td>
			<td>
				<div class="clamp">
					{{? !basFlow.isReadAttr}}
					<input  type="text" class="attr-table-inp" data-type="outputDesc" value="{{= (it.attrList.outputDesc || '') }}"/>
					{{?? }}
					<input  type="text" class="attr-table-inp" data-type="outputDesc" disabled value="{{= (it.attrList.outputDesc || '') }}"/>
					{{? }}
				</div>
			</td>
		</tr>
		{{?}}
		{{? it.attrList['type'] == 'process' ? (it.listProcess.length == 0):it.attrList['output']}}
		<tr>
			<td style="height:40px;"></td>
			<td class="commitFile">
				<p style="width: 72%;">
					{{for(var m in it.attrList.output) { }}
					{{? !!it.attrList.output[m].type}}
					<span class="commonFileName deleteFile" file-id="{{= it.attrList.output[m].id}}" doc-id="{{= it.attrList.output[m].folderid}}" file-type="output" style="background-color: #409eff">
						<a docId="{{=it.attrList.output[m].id}}" href="javascript: void(0);">
							{{= it.attrList.output[m].docname }}
						</a>
						{{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
					</span>
					{{?? }}
					<span class="commonFileName deleteFile" file-id="{{= it.attrList.output[m].id}}"  doc-id="{{= it.attrList.output[m].docid}}" file-type="output">
						<a  onclick="openUrl(this)"  docId="{{=it.attrList.output[m].id}}"  href="javascript: void(0);">
							{{= it.attrList.output[m].newName }}
						</a>
							{{? !basFlow.isReadAttr}}
							<i></i>
							{{?}}
					</span>
					{{? }}
					{{ } }}
				</p>
				{{? !basFlow.isReadAttr}}
				<form class="rightChoose" style="right: 100px">
					{{=jq.i18n.prop("selectAttach")}}
					<input type="file" id="outputUpdateFile" data-type="output" multiple="multiple" />
				</form>
				<span id="updateOutputManageEleFile" class="rightChoose">上传管理要素</span>
				{{?}}
			</td>
		</tr>
		{{?}}
		{{?}}
		{{? it.attrList.opertBooks }}
		<!-- <tr>
            <td class="align-top lineHeight25px">操作手册：</div></td>
            <td class="commitFile">
                <p>
                    {{for(var m in it.attrList.opertBooks) { }}
                    <span class="commonFileName deleteFile"  file-id="{{= it.attrList.opertBooks[m].id}}" file-type="opertBooks"><a href="{{= it.attrList.opertBooks[m].viewUrl }}">{{= it.attrList.opertBooks[m].newName }}</a><i></i></span>
                    {{ } }}
                </p>
                <form class="rightChoose">
                    选择附件
                    <input type="file" id="opertBooksUpdateFile" multiple="multiple" />
                </form>
            </div></td>
        </tr> -->
		{{? }}
		{{? }}
		<!-- <tr id="confirm"><td><div class="clamp"><span class="confirm">确定</span></div></td></tr> -->
		</table>
		{{? it.attrList['type'] == 'process' ? (it.listProcess.length != 0):false}}
		<table class="table table-hover listProcess">
			<thead>
			<tr>
				<td>
					<div class="clamp">
					</div>
				</td>
				<td><div class="clamp">{{=jq.i18n.prop("description")}}</div></td>
				<td><div class="clamp">{{=jq.i18n.prop("filename")}}</div></td>
			</tr>
			</thead>
			<tbody>
			{{? it.listProcess.length != 0 }}
			{{~it.listProcess :item:index }}
			<tr>
				<td>
					<div class="clamp text-center">
						{{? !basFlow.isReadAttr}}
						{{? !item.isChecked}}
						<input type="checkbox" onchange="chooselistProcess({{=index}}, this)">
						{{?? }}
						<input type="checkbox" checked onchange="chooselistProcess({{=index}}, this)">
						{{? }}
						{{?? }}
						{{? !item.isChecked}}
						<input type="checkbox" disabled>
						{{?? }}
						<input type="checkbox" checked disabled>
						{{? }}
						{{?}}
					</div>
				</td>
				<td><div class="clamp text-left">{{=item.description ? item.description:''}}</div></td>
				<td><div class="clamp text-left">{{=item.newName ? item.newName:''}}</div></td>
			</tr>
			{{~ }}
			{{? }}
			</tbody>
		</table>
		{{? }}
		</div>
		{{? }}
		{{? it.attrList.keyControl }}
		<!--		风险选择按钮-->
		<div class="addKeyControl" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none':'display:block')}}">
			<div style="padding: 10px 20px 0; overflow: hidden;">
				{{? !basFlow.isReadAttr}}
				<span id="riskSelect" class="rightChoose">{{=jq.i18n.prop("select")}}</span>
				<!--				<span id="riskAdd" class="rightChoose" style="margin-right: 10px;">{{=jq.i18n.prop("add")}}</span>-->
				{{? }}
				<!-- {{~it.attrList.processGroup :item:index}} -->
				<!-- <span class="commonFileName processDel" data-id="{{=item.id}}" > -->
					<!-- {{=item.name}} -->
					<!-- {{? !basFlow.isReadAttr}} -->
					<!-- <i></i> -->
					<!-- {{? }} -->
				<!-- </span> -->
				<!-- {{~}} -->
			</div>
			<form id="keyControlForm" class="addkeycontrol_wrapper">
				{{? it.attrList.type != 'processRefer'}}
				{{? it.attrList.keyControl.length != 0}}
				<div class="ctable">
					<table class="table table-hover">
						<thead>
						<tr>
							<td><div class="clamp">{{=jq.i18n.prop("seqNumber")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("riskIdentifier")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("riskName")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("controlelement")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("ownerdept")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("testIvdence")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("operate")}}</div></td>
						</tr>
						</thead>
						<tbody>
						{{? it.attrList.keyControl.length != 0 }}
						{{~it.attrList.keyControl :item:index }}
						<tr>
							<td><div class="clamp text-center">{{= index+1}}</div></td>
							<td><div class="clamp text-left" title="{{=item.code ? item.code:''}}">{{=item.code ? item.code:''}}</div></td>
							<td><div class="clamp text-left" title="{{=item.kcpname ? item.kcpname:''}}">{{=item.kcpname ? item.kcpname:''}}</div></td>
							<td><div class="clamp text-left showEll" title="{{=item.controlelement ? item.controlelement:''}}">{{=item.controlelement ? item.controlelement:''}}</div></td>
							<td><div class="clamp text-left" title="{{=item.sampleselect ? item.sampleselect:''}}">{{=item.sampleselect ? item.sampleselect:''}}</div></td>
							<td><div class="clamp text-left" title="{{=item.testprogram ? item.testprogram:''}}">{{=item.testprogram ? item.testprogram:''}}</div></td>
							<td>
								{{? !basFlow.isReadAttr}}
								<span class="toolListDelete" docId="{{=item.id}}" index-id="{{=index}}" onclick="riskDelete(this)">{{=jq.i18n.prop("delete")}}</span>
								{{? }}
							</td>
						</tr>
						{{~ }}
						{{? }}
						</tbody>
					</table>
				</div>
				{{? }}
				{{?? }}

				{{for(var i in it.attrList.keyControl) { }}
				{{? i == 'code' }}
				<div class="line">
					<label>{{=jq.i18n.prop("riskIdentifier")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="code" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="code" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{?? i == 'kcpname' }}
				<div class="line">
					<label>{{=jq.i18n.prop("riskName")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="kcpname" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="kcpname" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{?? i == 'controlelement' }}
				<div class="line">
					<label>{{=jq.i18n.prop("controlelement")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<textarea class="form-control" name="controlelement" cols="4">{{=it.attrList.keyControl[i]}}</textarea>
						{{?? }}
						<textarea class="form-control" name="controlelement" disabled cols="4">{{=it.attrList.keyControl[i]}}</textarea>
						{{? }}
					</div>
				</div>

				{{?? i == 'targetcomprate' }}
				<div class="line">
					<label>{{=jq.i18n.prop("controlNum")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="targetcomprate" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="targetcomprate" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{?? i == 'processtarget' }}
				<div class="line">
					<label>{{=jq.i18n.prop("controlName")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="processtarget" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="processtarget" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{?? i == 'risk' }}
				<div class="line">
					<label>{{=jq.i18n.prop("controlDemand")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="risk" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="risk" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{?? i == 'sampleselect' }}
				<div class="line">
					<label>{{=jq.i18n.prop("ownerdept")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="sampleselect" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="sampleselect" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{?? i == 'remark' }}
				<div class="line clearfix">
					<label>{{=jq.i18n.prop("formationAccording")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="remark" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="remark" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}
					</div>
					<div class="uploadregutions pull-right">
						<p>
							{{for(var m in it.attrList.keyControl.documentlist) { }}
							<span class="commonFileName deleteFileDoc" file-id="{{= it.attrList.keyControl.documentlist[m].id}}" style="margin-top: 8px;">
								{{= it.attrList.keyControl.documentlist[m].foldername }}
								{{? !basFlow.isReadAttr}}
								<i></i>
								{{? }}
							</span>
							{{ } }}
						</p>
						{{? !basFlow.isReadAttr}}
						<div class="rightChoose" id="selectRegulations" style="width: auto;cursor: pointer;">
							{{=jq.i18n.prop("select")}}
						</div>
						{{? }}
					</div>
				</div>

				{{?? i == 'testprogram' }}
				<div class="line">
					<label>{{=jq.i18n.prop("testIvdence")}} :</label>
					<div>
						{{? !basFlow.isReadAttr}}
						<input class="form-control" name="testprogram" type="text" value="{{=it.attrList.keyControl[i]}}">
						{{?? }}
						<input class="form-control" name="testprogram" type="text" disabled value="{{=it.attrList.keyControl[i]}}">
						{{? }}

					</div>
				</div>

				{{? }}
				{{} }}
				{{? }}
				{{? !basFlow.isReadAttr}}
				<div class="line"  style="text-align: center;">
					<!--					风险提交-->
					<button id="submitKeyCtrl" class="btn btn-primary" type="button">{{=jq.i18n.prop("submit")}}</button>
					<!--<button id="restBtn" class="btn btn-default marginLeft25" type="button">{{=jq.i18n.prop("reset")}}</button>-->
				</div>
				{{? }}
			</form>
		</div>
		{{?}}
		{{? it.attrList.keyKSFControl }}
		<div class="addKeyKSFControl" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none':(it.attrList.keyControl ? 'display:none':'display:block'))}}">
			<form id="keyKSFControlForm" class="addkeycontrol_wrapper">
				<div style="padding: 10px 20px 0; overflow: hidden;">
					{{? !basFlow.isReadAttr}}
					<span id="KSFSelect" class="rightChoose">{{=jq.i18n.prop("add")}}</span>
					{{? }}
				</div>
				{{? it.attrList.keyKSFControl.length != 0}}
				<div class="ctable">
					<table class="table table-hover">
						<thead>
						<tr>
							<td width="60"><div class="clamp">{{=jq.i18n.prop("seqNumber")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("identifier")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("KSFName")}}</div></td>
							<td><div class="clamp">{{=jq.i18n.prop("elements")}}</div></td>
							<td width="60"><div class="clamp">{{=jq.i18n.prop("operate")}}</div></td>
						</tr>
						</thead>
						<tbody>
						{{? it.attrList.keyKSFControl.length != 0 }}
						{{~it.attrList.keyKSFControl :item:index }}
						<tr>
							<td><div class="clamp text-center">{{= index+1}}</div></td>
							<td>
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp attr-table-model" data-type="KSFList" data-index="{{=index}}" data-name="code" value="{{=(item.code ? item.code:'')}}" />
								{{?? }}
								<input  type="text" class="attr-table-inp attr-table-model" data-type="KSFList" data-index="{{=index}}" data-name="code" disabled value="{{=(item.code ? item.code:'')}}" />
								{{? }}
							</td>
							<td>
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp attr-table-model" data-type="KSFList" data-index="{{=index}}" data-name="kcpname" value="{{=(item.kcpname ? item.kcpname:'')}}" />
								{{?? }}
								<input  type="text" class="attr-table-inp attr-table-model" data-type="KSFList" data-index="{{=index}}" data-name="kcpname" disabled value="{{=(item.kcpname ? item.kcpname:'')}}" />
								{{? }}
							</td>
							<td>
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp attr-table-model" data-type="KSFList" data-index="{{=index}}" data-name="controlelement" value="{{=(item.controlelement ? item.controlelement:'')}}" />
								{{?? }}
								<input  type="text" class="attr-table-inp attr-table-model" data-type="KSFList" data-index="{{=index}}" data-name="controlelement" disabled value="{{=(item.controlelement ? item.controlelement:'')}}" />
								{{? }}
							</td>
							<td>
								{{? !basFlow.isReadAttr}}
								<span class="KSFListDelete" docId="{{=item.id}}" index-id="{{=index}}" onclick="KSFDelete(this)">{{=jq.i18n.prop("delete")}}</span>
								{{? }}
							</td>
						</tr>
						{{~ }}
						{{? }}
						</tbody>
					</table>
				</div>
				{{? }}
				{{? !basFlow.isReadAttr}}
				<div class="line"  style="text-align: center;">
					<button id="submitKeyKSFCtrl" class="btn btn-primary" type="button">{{=jq.i18n.prop("submit")}}</button>
					<!--<button id="restKSFBtn" class="btn btn-default marginLeft25" type="button">{{=jq.i18n.prop("reset")}}</button>-->
				</div>
				{{? }}
			</form>
		</div>
		{{?}}
		{{? it.attrList.isModelListBoDtos }}
		<div class="isModelListBoDtos" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none':(it.attrList.keyControl ? 'display:none':'display:block'))}}">
			<ul class="process_head" id="modelListAttr">
				<li class="active minWidth12" data-class="inModelListBoDtos" title="{{=jq.i18n.prop("input")}}">{{=jq.i18n.prop("input")}}</li>
				<li class="" data-class="outModelListBoDtos" title="{{=jq.i18n.prop("output")}}">{{=jq.i18n.prop("output")}}</li>
			</ul>
			<div class="modelListAttr_wrap">
				{{?}}
				{{? it.attrList.inModelListBoDtos }}
				<form class="inModelListBoDtos" id="inModelListBoDtos">
					<div class="modelListSelect">
						<!--{{? !basFlow.isReadAttr}}-->
						<!--<span id="inModelListSelect" class="rightChoose">{{=jq.i18n.prop("select")}}</span>-->
						<!--{{? }}-->
						{{? !basFlow.isReadAttr}}
						<span id="inModelListAdd" class="rightChoose">{{=jq.i18n.prop("add")}}</span>
						{{? }}
					</div>
					<div class="ctable">
						<table class="table table-hover">
							<thead>
							<tr>
								<td width="60"><div class="clamp">序号</div></td>
								<td><div class="clamp">文档名称</div></td>
								<td><div class="clamp">{{=jq.i18n.prop("category")}}</div></td>
								<td><div class="clamp">业务对象名称</div></td>
								<td width="60"><div class="clamp">操作</div></td>
							</tr>
							</thead>
							<tbody>
							{{? it.attrList.inModelListBoDtos.length != 0 }}
							{{~it.attrList.inModelListBoDtos :item:index }}
							<tr>
								<td><div class="clamp">{{=index+1}}</div></td>
								<td title="{{=item.docname }}">

									{{? !basFlow.isReadAttr}}
									<input  type="text" class="attr-table-inp attr-table-model" data-type="in" data-index="{{=index}}"  value="{{=(item.docname ? item.docname:'')}}" />
									{{?? }}
									<input  type="text" class="attr-table-inp attr-table-model" data-type="in" disabled value="{{=(item.docname ? item.docname:'')}}" />
									{{? }}

									{{? !basFlow.isReadAttr}}
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="inDocSelect(this)">{{=jq.i18n.prop("select")}}</span>
									{{? }}
								</td>
								<td title="{{=item.foldername ? item.foldername:'' }}">
									{{=(item.foldername ? item.foldername:'')}}
									{{? !basFlow.isReadAttr}}
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="inCategorySelect(this)">{{=jq.i18n.prop("select")}}</span>
									{{? }}
								</td>
								<td>
									<span class="showEll inline-block w_72" title="{{=item.boname ? item.boname:'' }}">{{=(item.boname ? item.boname:'')}}</span>
									{{? !basFlow.isReadAttr}}
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="buildSelf(this,'in')">{{=jq.i18n.prop("buildSelf")}}</span>
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="inBusObjSelect(this)">{{=jq.i18n.prop("select")}}</span>
									{{? }}
								</td>
								<td>{{? !basFlow.isReadAttr}}
									<span class="busObjListDelete" docId="{{=item.id}}" index-id="{{=index}}" onclick="inBusObjDelete(this)">{{=jq.i18n.prop("delete")}}</span>
									{{? }}
								</td>
							</tr>
							{{~ }}
							{{?? }}
							<tr><td colspan="5">{{= jq.i18n.prop("noData")}}</td></tr>
							{{? }}
							</tbody>
						</table>
					</div>
					{{? !basFlow.isReadAttr}}
					<div class="line"  style="text-align: center;">
						<button id="submitInModel" class="btn btn-primary" type="button">{{=jq.i18n.prop("submit")}}</button>
						<!--<button id="restInModel" class="btn btn-default marginLeft25" type="button">{{=jq.i18n.prop("reset")}}</button>-->
					</div>
					{{? }}
				</form>
				{{?}}
				{{? it.attrList.outModelListBoDtos }}
				<form class="outModelListBoDtos" id="outModelListBoDtos">
					<div class="modelListSelect">
						<!--{{? !basFlow.isReadAttr}}-->
						<!--<span id="outModelListSelect" class="rightChoose">{{=jq.i18n.prop("select")}}</span>-->
						<!--{{? }}-->
						{{? !basFlow.isReadAttr}}
						<span id="outModelListAdd" class="rightChoose">{{=jq.i18n.prop("add")}}</span>
						{{? }}
					</div>
					<div class="ctable">
						<table class="table table-hover">
							<thead>
							<tr>
								<td width="60"><div class="clamp">序号</div></td>
								<td><div class="clamp">文档名称</div></td>
								<td><div class="clamp">{{=jq.i18n.prop("category")}}</div></td>
								<td><div class="clamp">业务对象名称</div></td>
								<td width="60"><div class="clamp">操作</div></td>
							</tr>
							</thead>
							<tbody>
							{{? it.attrList.outModelListBoDtos.length != 0 }}
							{{~it.attrList.outModelListBoDtos :item:index }}
							<tr>
								<td><div class="clamp">{{=index+1}}</div></td>
								<td title="{{=item.docname }}">

									{{? !basFlow.isReadAttr}}
									<input  type="text" class="attr-table-inp attr-table-model" data-type="out" data-index="{{=index}}"  value="{{=(item.docname ? item.docname:'')}}" />
									{{?? }}
									<input  type="text" class="attr-table-inp attr-table-model" data-type="out" disabled value="{{=(item.docname ? item.docname:'')}}" />
									{{? }}

									{{? !basFlow.isReadAttr}}
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="outDocSelect(this)">{{=jq.i18n.prop("select")}}</span>
									{{? }}
								</td>
								<td title="{{=item.foldername }}">
									{{=(item.foldername ? item.foldername:'')}}
									{{? !basFlow.isReadAttr}}
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="outCategorySelect(this)">{{=jq.i18n.prop("select")}}</span>
									{{? }}
								</td>
								<td>
									{{=(item.boname ? item.boname:'')}}
									{{? !basFlow.isReadAttr}}
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="buildSelf(this,'out')">{{=jq.i18n.prop("buildSelf")}}</span>
									<span class="busObjListSelect rightChoose" docId="{{=item.id}}" index-id="{{=index}}" onclick="outBusObjSelect(this)">{{=jq.i18n.prop("select")}}</span>
									{{? }}
								</td>
								<td>
									{{? !basFlow.isReadAttr}}
									<span class="busObjListDelete" docId="{{=item.id}}" index-id="{{=index}}" onclick="outBusObjDelete(this)">{{=jq.i18n.prop("delete")}}</span>
									{{? }}
								</td>
							</tr>
							{{~ }}
							{{?? }}
							<tr><td colspan="5">{{= jq.i18n.prop("noData")}}</td></tr>
							{{? }}
							</tbody>
						</table>
					</div>
					{{? !basFlow.isReadAttr}}
					<div class="line"  style="text-align: center;">
						<button id="submitOutModel" class="btn btn-primary" type="button">{{=jq.i18n.prop("submit")}}</button>
						<!--<button id="restOutModel" class="btn btn-default marginLeft25" type="button">{{=jq.i18n.prop("reset")}}</button>-->
					</div>
					{{? }}
				</form>
			</div>
		</div>
		{{?}}
		{{? it.attrList.modelListToolsDtos }}
		<div class="modelListToolsDtos" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none':(it.attrList.keyControl ? 'display:none':'display:block'))}}">
			<div class="modelListAttr_wrap">
				{{?}}
				{{? it.attrList.modelListToolsDtos }}
				<form class="">
					<div class="modelListSelect">
						{{? !basFlow.isReadAttr}}
						<span id="toolListSelect" class="rightChoose">{{=jq.i18n.prop("select")}}</span>
						{{? }}
					</div>
					<div class="ctable">
						<table class="table table-hover">
							<thead>
							<tr>
								<td><div class="clamp">序号</div></td>
								<td><div class="clamp">工具名称</div></td>
								<td><div class="clamp">工具版本</div></td>
								<td><div class="clamp">操作</div></td>
							</tr>
							</thead>
							<tbody>
							{{? it.attrList.modelListToolsDtos.length != 0 }}
							{{~it.attrList.modelListToolsDtos :item:index }}
							<tr>
								<td><div class="clamp">{{=index+1}}</div></td>
								<td title="{{=item.toolname }}">{{=(item.toolname ? item.toolname:'')}}</td>
								<td title="{{=item.toolversion }}">{{=(item.toolversion ? item.toolversion:'')}}</td>
								<td>
									{{? !basFlow.isReadAttr}}
									<span class="toolListDelete" docId="{{=item.id}}" index-id="{{=index}}" onclick="toolDelete(this)">{{=jq.i18n.prop("delete")}}</span>
									{{? }}
								</td>
							</tr>
							{{~ }}
							{{?? }}
							<tr><td colspan="4">{{= jq.i18n.prop("noData")}}</td></tr>
							{{? }}
							</tbody>
						</table>
					</div>
					{{? !basFlow.isReadAttr}}
					<div class="line"  style="text-align: center;">
						<button id="submitTool" class="btn btn-primary" type="button">{{=jq.i18n.prop("submit")}}</button>
						<!--<button id="restToolBtn" class="btn btn-default marginLeft25" type="button">{{=jq.i18n.prop("reset")}}</button>-->
					</div>
					{{? }}
				</form>
			</div>
		</div>
		{{?}}
		{{? (it.attrList.processGroup && (it.attrList.type !== 'process')  && (it.attrList.type !== 'process02')  && (it.attrList.type !== 'process03')) || it.attrList.type === 'processRefer' }}
		<div class="aboutProcess" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.keyControl ? 'display:none; min-height: 100px;padding:10px;':'display:block; min-height: 100px;padding:10px;'))}}">
			<div>
				{{? !basFlow.isReadAttr}}
				<span id="processSelect" class="rightChoose">{{=jq.i18n.prop("select")}}</span>
				{{? }}
				{{~it.attrList.processGroup :item:index}}
				<span class="commonFileName processDel" data-id="{{=item.id}}" >
					<span>{{=item.name}}</span>
					{{? !basFlow.isReadAttr}}
					<i></i>
					{{? }}
				</span>
				{{~}}
			</div>
			<div class="ctable">
				<!--				<table class="table table-hover">-->
				<!--					&lt;!&ndash;<button type="button" class="btn btn-primary" style="float:right;padding: 3px 12px;">{{= jq.i18n.prop("export")}}</button>&ndash;&gt;-->
				<!--					<thead>-->
				<!--					<tr>-->
				<!--						<td><div class="clamp">{{= jq.i18n.prop("seqNumber")}}</div></td>-->
				<!--						<td><div class="clamp">{{= jq.i18n.prop("fileType")}}</div></td>-->
				<!--						<td><div class="clamp">{{= jq.i18n.prop("description")}}</div></td>-->
				<!--						<td><div class="clamp">{{= jq.i18n.prop("filename")}}</div></td>-->
				<!--					</tr>-->
				<!--					</thead>-->
				<!--					<tbody>-->
				<!--					{{? it.attrList.processGroupList && it.attrList.processGroupList.length != 0 }}-->
				<!--					{{~it.attrList.processGroupList :item:index }}-->
				<!--					<tr>-->
				<!--							<td><div class="clamp">{{=index+1 }}</div></td>-->
				<!--							<td><div class="clamp">{{=(item.foldername ? item.foldername:'') }}</div></td>-->
				<!--							<td><div class="clamp">{{=(item.description ? item.description:'') }}</div></td>-->
				<!--							<td><div class="clamp">-->
				<!--									<span onclick="openUrl(this)" docId="{{= item.docId}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item.name ? item.name:'') }}</span><br/>-->
				<!--							</div></td>-->
				<!--					</tr>-->
				<!--					{{~ }}-->
				<!--					{{?? }}-->
				<!--					<tr><td colspan="4">{{= jq.i18n.prop("noData")}}</div></td></tr>-->
				<!--				{{? }}-->
				<!--				</tbody>-->
				<!--				</table>-->
			</div>
		</div>
		{{? }}
		{{? it.attrList.systemDocumentChapter }}
		<div class="systemDocumentChapter" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.keyControl ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.processGroup ? 'display:none; min-height: 100px;padding:10px;':'display:block; min-height: 100px;padding:10px;')))}}">
			<div class="table">
				<table class="table attr-table" border="0" cellspacing="0">
					<tr>
						<td class="align-top lineHeight25px systemDocumentChapter">制度文档/章节 :</td>
						<td class="systemDocumentChapter">
							{{for(var m in it.attrList.systemDocumentChapter) { }}
							<div class="clamp" style="position:relative">

									{{? !basFlow.isReadAttr}}
									<input type="text" class="attr-table-inp systDocCon" data-type="systemDocument" value="{{= it.attrList.systemDocumentChapter[m].title }}" title="{{= (it.attrList.systemDocumentChapter[m].title || '') }}" style="width: 30%;display: inline-block;" readonly onclick="chooseSystemDocumentChapter(this, 'system')" docId="{{=it.attrList.systemDocumentChapter[m].docId}}" docIndex="{{=m}}">
								    </input>

									{{? !!it.attrList.systemDocumentChapter[m].docId }}
									<span class='systDocDel'
									onclick="systemDocDel(this)" docId="{{=it.attrList.systemDocumentChapter[m].docId}}"
									docIndex="{{=m}}">x</span>
									<input  type="text" class="attr-table-inp"
									data-type="systemChapter"
									value="{{= (it.attrList.systemDocumentChapter[m].systemChapter.length > 0 && it.attrList.systemDocumentChapter[m].systemChapter[0].content ? it.attrList.systemDocumentChapter[m].systemChapter[0].content : '') }}"
									title="{{= (it.attrList.systemDocumentChapter[m].systemChapter.length > 0 && it.attrList.systemDocumentChapter[m].systemChapter[0].content ? it.attrList.systemDocumentChapter[m].systemChapter[0].content : '') }}"
									style="width: 48%;display: inline-block;"
									readonly disabled onclick="chooseSystemDocumentChapter(this, 'systemChapter')"
									docId="{{=it.attrList.systemDocumentChapter[m].docId}}"
									docIndex="{{=m}}"/>
									{{?? }}
									<input  type="text" class="attr-table-inp"
									data-type="systemChapter"
									value="{{= (it.attrList.systemDocumentChapter[m].systemChapter.length > 0 && it.attrList.systemDocumentChapter[m].systemChapter[0].content ? it.attrList.systemDocumentChapter[m].systemChapter[0].content : '') }}"
									title="{{= (it.attrList.systemDocumentChapter[m].systemChapter.length > 0 && it.attrList.systemDocumentChapter[m].systemChapter[0].content ? it.attrList.systemDocumentChapter[m].systemChapter[0].content : '') }}"
									style="width: 48%;display: inline-block;"
									readonly onclick="chooseSystemDocumentChapter(this, 'systemChapter')"
									docId="{{=it.attrList.systemDocumentChapter[m].docId}}"
									docIndex="{{=m}}"/>
									{{? }}

									<div class="rightChoose" docIndex="{{=m}}" onclick='delSystemDocument(this)' style="{{= (it.attrList.systemDocumentChapter.length <= 1 ? 'display:none':'display:block')}}">
										-
									</div>
									<div class="rightChoose" onclick='addSystemDocument(this)' style="{{= (m > 0 ? 'display:none':'display:block')}}">
										+
									</div>
									{{?? }}
									<input  type="text" class="attr-table-inp" data-type="systemDocument" disabled value="{{= (it.attrList.systemDocumentChapter[m].title || '') }}" style="width: 30%;display: inline-block;" readonly/>
									<input  type="text" class="attr-table-inp" data-type="systemChapter" disabled value="{{= (it.attrList.systemDocumentChapter[m].systemChapter.length > 0 && it.attrList.systemDocumentChapter[m].systemChapter[0].content ? it.attrList.systemDocumentChapter[m].systemChapter[0].content : '') }}" style="width: 48%;display: inline-block;" readonly/>
									{{? }}

							</div>
							{{ } }}
						</td>
					</tr>
				</table>
			</div>
		</div>
		{{? }}
		{{? it.attrList.messageGroup }}
		<div class="message-form" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.keyControl ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.processGroup ? 'display:none; min-height: 100px;padding:10px;':'display:block; min-height: 100px;padding:10px;')))}}">
			<div>
				<table class="attr-table" border="0" cellspacing="0">
					<tr>
						<td class="align-top lineHeight25px">{{=jq.i18n.prop("description")}} :</td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="messageForm" value="{{= it.attrList.messageForm }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="messageForm" disabled value="{{= it.attrList.messageForm }}" />
								{{? }}

							</div>
						</td>
					</tr>
				</table>
				<div class="ctable">
					<table class="table table-hover">
						<!--<button type="button" class="btn btn-primary" style="float:right;padding: 3px 12px;">{{= jq.i18n.prop("export")}}</button>-->
						<thead>
						<tr>
							<td><div class="clamp">{{= jq.i18n.prop("seqNumber")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("standardElements")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("standardCoding")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("standardName")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("standardLevel")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("standardClassification")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("applicableModels")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("lifeCycleStage")}}</div></td>
							<td><div class="clamp">{{= jq.i18n.prop("digitizing")}}</div></td>
							<!--<td><div class="clamp">{{= jq.i18n.prop("organization")}}</div></td>-->
							<td width="60"><div class="clamp">{{= jq.i18n.prop("filename")}}</div></td>
						</tr>
						</thead>
						<tbody>
						{{? !!it.attrList.enterpriseStandardData && it.attrList.enterpriseStandardData.length != 0 }}
						{{~it.attrList.enterpriseStandardData :item:index }}
						<tr>
							<td><div class="clamp">{{=index+1 }}</div></td>
							<td><div class="clamp">{{=(item.foldertype ? item.foldertype:'') }}</div></td>
							<td><div class="clamp">{{=(item.title ? item.title:'') }}</div></td>
							<td><div class="clamp">{{=(item.enname ? item.enname:'') }}</div></td>
							<td><div class="clamp">
								{{=(item.system ? item.system:'') }}
							</div></td>
							<td><div class="clamp">
								{{=(item.officicalTitle ? item.officicalTitle:'') }}
							</div></td>
							<td><div class="clamp">
								{{=(item.docnum ? item.docnum:'') }}
							</div></td>
							<td><div class="clamp">
								{{=(item.publishType ? item.publishType:'') }}
							</div></td>
							<td><div class="clamp">
								{{=(item.filelevel ? item.filelevel:'') }}
							</div></td>
							<td><div class="clamp">
								<span onclick="openUrl(this)" docId="{{= item.docid}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item.name ? item.name:'') }}</span><br/>
							</div></td>
							<!--<td><div class="clamp">-->
							<!--{{=(item.StationName ? item.StationName:'') }}-->
							<!--</div></td>-->
						</tr>
						{{~ }}
						{{?? }}
						<tr><td colspan="10">{{= jq.i18n.prop("noData")}}</td></tr>
						{{? }}
						</tbody>
					</table>
				</div>
			</div>
			<div class="commitFile">
				<p>
					{{for(var m in it.attrList.messageGroup) { }}
					<span class="commonFileName deleteFile" file-id="{{= it.attrList.messageGroup[m].id}}"  doc-id="{{= it.attrList.messageGroup[m].docid}}" file-type="messageGroup"><a  onclick="openUrl(this)"  docId="{{=it.attrList.messageGroup[m].id}}" href="javascript: void(0);">{{= it.attrList.messageGroup[m].newName }}</a>
					{{? !basFlow.isReadAttr}}
					<i></i>
					{{? }}
				</span>
					{{ } }}
				</p>
				{{? !basFlow.isReadAttr}}
				<form class="rightChoose">
					{{=jq.i18n.prop("selectAttach")}}
					<input type="file" id="messageFile" multiple="multiple">
				</form>
				{{? }}
			</div>
		</div>
		{{? }}
		{{? it.attrList.messageFile }}
		<div class="message-file-form" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.keyControl ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.messageFile ? 'display:none; min-height: 100px;padding:10px;':'display:block; min-height: 100px;padding:10px;')))}}">
			<div>
				<table class="attr-table" border="0" cellspacing="0">
					<tr>
						<td class="align-top lineHeight25px">{{=jq.i18n.prop("description")}} :</td>
						<td>
							<div class="clamp">
								{{? !basFlow.isReadAttr}}
								<input  type="text" class="attr-table-inp" data-type="messagefileForm" value="{{= !it.attrList.messagefileForm ? '' : it.attrList.messagefileForm }}" />
								{{?? }}
								<input  type="text" class="attr-table-inp" data-type="messagefileForm" disabled value="{{= !it.attrList.messagefileForm ? '' : it.attrList.messagefileForm }}" />
								{{? }}

							</div>
						</td>
					</tr>
				</table>
			</div>
			{{for(var ms in it.messageFileType) { }}
			<div class="commitFile">
				<p>
					{{= it.messageFileType[ms].name}}:
					{{for(var m in it.attrList.messageFile) { }}
					{{? it.attrList.messageFile[m].fileType == it.messageFileType[ms].pname}}
					<span class="commonFileName deleteFile" file-id="{{= it.attrList.messageFile[m].id}}"  doc-id="{{= it.attrList.messageFile[m].docid}}" file-type="messageFile"><a onclick="openUrl(this)"  docId="{{=it.attrList.messageFile[m].id}}" href="javascript: void(0);">{{= it.attrList.messageFile[m].newName }}</a>
					{{? }}
					{{? !basFlow.isReadAttr}}
					<i></i>
					{{? }}
										</span>
					{{ } }}
				</p>
				{{? !basFlow.isReadAttr}}
				<form class="rightChoose">
					{{=jq.i18n.prop("selectAttach")}}
					<input type="file" id="messageOrg" file-type="{{= it.messageFileType[ms].pname}}" data-type="messageFile" multiple="multiple">
				</form>
				{{? }}
			</div>
			{{ } }}
			{{? }}
			{{? it.attrList.approvalGroup }}
			<div class="approverulesform" style="{{= ((((it.attrList.time === '') || (it.attrList.time))) ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.keyControl ? 'display:none; min-height: 100px;padding:10px;':(it.attrList.approvalGroup ? 'display:none; min-height: 100px;padding:10px;':'display:block; min-height: 100px;padding:10px;')))}}">
				<div>
					<table class="attr-table" border="0" cellspacing="0">
						<tr>
							<td class="align-top lineHeight25px">{{=jq.i18n.prop("approveRules")}} :</td>
							<td>
								<div class="clamp">
									{{? !basFlow.isReadAttr}}
									<input  type="text" class="attr-table-inp" data-type="appovalForm" value="{{= it.attrList.appovalForm }}" />
									{{?? }}
									<input  type="text" class="attr-table-inp" data-type="appovalForm" disabled value="{{= it.attrList.appovalForm }}" />
									{{? }}
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="commitFile">
					<p>
						{{for(var m in it.attrList.approvalGroup) { }}
						<span class="commonFileName deleteFile" file-id="{{= it.attrList.approvalGroup[m].id}}"  doc-id="{{= it.attrList.approvalGroup[m].docid}}" file-type="approvalGroup"><a onclick="openUrl(this)"  docId="{{=it.attrList.approvalGroup[m].id}}" href="javascript: void(0);">{{= it.attrList.approvalGroup[m].newName }}</a>
						{{? !basFlow.isReadAttr}}
						<i></i>
						{{? }}
											</span>
						{{ } }}
					</p>
					{{? !basFlow.isReadAttr}}
					<form class="rightChoose">
						{{=jq.i18n.prop("selectAttach")}}
						<input type="file" id="selectAppovalRule" multiple="multiple">
					</form>
					{{? }}
				</div>
			</div>
			{{? }}
		</div>
	</script>

	<!-- 泳道的html部分 -->
	<script id="swimlane_templ" type="text/x-dot-template">

		<div id="{{= it.id }}" class="{{= it.type }} {{= it.showMember == it.type ? 'chooseleader':'noChooseleader'}}" onselectstart="return false">
			{{? it.showMember !== it.type}}
			<div class="swimlane-title J_swimlaneTitle {{= basFlow.options.toolsPath == 'shadow' ? 'shadow':''}}">
				{{? !basFlow.isReadAttr}}
				<div class="surChooseLeadersAddX addSwimlaneY">
					<img  src="./img/add.png" ></img>
				</div>
				{{? }}
				{{?? }}
				<div class="swimlane-title J_swimlaneTitle {{= basFlow.options.toolsPath == 'shadow' ? 'shadow':''}}" title="{{= jq.i18n.prop("depts") + ':' + it.depts && typeof it.depts === 'object' &&  it.depts.map((item, index) => { return (!item.deptTopname ? item.upLeveldeptname:(item.deptTopname + '(' + item.upLeveldeptname + ')') )}).join(',') + '\n' + jq.i18n.prop("station") + ':' + it.depts && typeof it.depts === 'object' && it.depts.map((item, index) => { return item.name}).join(',')}}">
				{{? }}
				{{? it.showMember !== it.type}}
				<span data-attrname="name" title='{{= it.name }}' style="color: {{=(it.showMember === 'swimlaneX' && it.name === '阶段') ? '#ccc' : (it.showMember === 'swimlaneY' && it.name === '岗位/角色') ? '#ccc' : ''}}">{{= it.name }}</span>
				{{?? }}
				<div class="showMemberTitle {{=it.showMember === 'swimlaneY' ? 'showYMember' : 'showXMember'}}">
					<span data-attrname="name" title='{{= it.name }}' style="color: {{=(it.showMember === 'swimlaneX' && it.name === '岗位/角色') ? '#ccc' : (it.showMember === 'swimlaneY' && it.name === '阶段') ? '#ccc' : ''}}">{{= it.name }}</span>
					{{? !!it.depts && it.depts.length > 0}}
					<p>
            {{? it.depts.map(item => item.type).indexOf('3') > -1 || it.depts.map(item => item.type).indexOf('5') > -1}}
            {{= jq.i18n.prop("depts")}}:
            {{= it.depts.map((item, index) => { return (item.type == '3' || item.type == '5') ? (!item.deptTopname ? item.upLeveldeptname:(item.deptTopname + '(' + item.upLeveldeptname + ')') ) : ''}).filter(d=>d).join(',')}}
            {{? }}
            <br/>
            {{? it.depts.map(item => item.type).indexOf('3') > -1 || it.depts.map(item => item.type).indexOf('5') > -1}}
            {{= jq.i18n.prop("station")}}:
            {{= it.depts.map((item, index) => { return (item.type == '3' || item.type == '5') ?  item.name : ''}).filter(d=>d).join(',')}}
            {{? }}
            <br/>
            {{? it.depts.map(item => item.updateby).filter(d=>d).length > 0}}
            {{= jq.i18n.prop("role")}}:
            {{= it.depts.map((item, index) => { return (item.type != '3' && item.type != '5') ? item.name : ''}).filter(d=>d).join(',')}}
            {{? }}
					</p>
					{{? }}
				</div>
				{{? }}
			</div>
			{{? !basFlow.isReadAttr}}
			<div class="delImg"></div>
			{{? }}
			<!-- {{? basFlow.options.toolsPath == 'shadow'}} -->

			<!-- 添加修改背景图片 -->
			<!-- <div class="rightImgPart"> -->
				<!-- <div></div> -->
			<!-- </div> -->
			<!-- <div class="leftImgPart"> -->
				<!-- <div></div> -->
			<!-- </div> -->
			<!-- {{? }} -->
			<div class="swimlane-content {{=it.showMember !== it.type ? 'border-bct':''}}"></div>
			{{? it.showMember !== it.type}}
			<div class="timeLine" data-attrtime="time">{{= !it.time ? '':(it.time+jq.i18n.prop("day"))}}</div>
			{{? }}
			{{? it.name != "上游流程" &&  it.name != "下游流程" && it.showMember === it.type}}
			{{? !basFlow.isReadAttr}}
			<div class="surChooseLeadersAdd">
				<img src="./img/add.png" ></img>
			</div>
			{{? }}
			<div class="surChooseLeaders">
				<img src="{{= basFlow.options.toolsPath}}/rencai.png" ></img>
				<!-- <button class="btn btn-default btn-xs btn-link" type="button">选择部门</button> -->
			</div>
			{{? }}
		</div>
	</script>
	<!-- 泳道的头部html部分 -->
	<script id="swimlane-content" type="text/x-dot-template">
		{{? it.showMember !== it.type}}
		<div class="swimlane-title J_swimlaneTitle noChooseleader {{= basFlow.options.toolsPath == 'shadow' ? 'shadow':''}}">
			{{?? }}
			<div class="swimlane-title J_swimlaneTitle chooseleader {{= basFlow.options.toolsPath == 'shadow' ? 'shadow':''}}" title="{{= jq.i18n.prop("depts") + ':' + it.depts.map((item, index) => { return (!item.deptTopname ? item.upLeveldeptname:(item.deptTopname + '(' + item.upLeveldeptname + ')') )}).join(',') + '\n' + jq.i18n.prop("station") + ':' + it.depts.map((item, index) => { return item.name}).join(',')}}">
			{{? }}
			{{? it.showMember !== it.type}}
			<span data-attrname="name" title='{{= it.name }}'>{{= it.name }}</span>
			{{?? }}
			<div class="showMemberTitle {{=it.showMember === 'swimlaneY' ? 'showYMember' : 'showXMember'}}">
				<span data-attrname="name" title='{{= it.name }}'>{{= it.name }}</span>
				{{? !!it.depts && it.depts.length > 0}}
				<p>
          {{? it.depts.map(item => item.type).indexOf('3') > -1 || it.depts.map(item => item.type).indexOf('5') > -1}}
          {{= jq.i18n.prop("depts")}}:
          {{= it.depts.map((item, index) => { return (item.type == '3' || item.type == '5') ? (!item.deptTopname ? item.upLeveldeptname:(item.deptTopname + '(' + item.upLeveldeptname + ')') ) : ''}).filter(d=>d).join(',')}}
          {{? }}
          <br/>
          {{? it.depts.map(item => item.type).indexOf('3') > -1 || it.depts.map(item => item.type).indexOf('5') > -1}}
          {{= jq.i18n.prop("station")}}:
          {{= it.depts.map((item, index) => { return (item.type == '3' || item.type == '5') ?  item.name : ''}).filter(d=>d).join(',')}}
          {{? }}
          <br/>
          {{? it.depts.map(item => item.updateby).filter(d=>d).length > 0}}
          {{= jq.i18n.prop("role")}}:
          {{= it.depts.map((item, index) => { return (item.type != '3' && item.type != '5') ? item.name : ''}).filter(d=>d).join(',')}}
          {{? }}
				</p>
				{{? }}
			</div>
			{{? }}

		</div>
	</script>

	<!-- 泳道横头部内部的数据 -->
	<script id="swimlane-headcontent" type="text/x-dot-template">
		<span data-attrname="name" title='{{= it.name }}' style="color: {{=(it.showMember === 'swimlaneX' && it.name === '阶段') ? '#ccc' : (it.showMember === 'swimlaneY' && it.name === '岗位/角色') ? '#ccc' : ''}}">{{= it.name }}</span>
	</script>

	<!-- 泳道竖头部内部的数据 -->
	<script id="swimlaneChoose-headcontent" type="text/x-dot-template">
		<div class="showMemberTitle {{=it.showMember === 'swimlaneY' ? 'showYMember' : 'showXMember'}}">
			<span data-attrname="name" title='{{= it.name }}' style="color: {{=(it.showMember === 'swimlaneX' && it.name === '岗位/角色') ? '#ccc' : (it.showMember === 'swimlaneY' && it.name === '阶段') ? '#ccc' : ''}}">{{= it.name }}</span>
			{{? !!it.depts && it.depts.length > 0}}
			<p>
        {{? it.depts.map(item => item.type).indexOf('3') > -1 || it.depts.map(item => item.type).indexOf('5') > -1}}
        {{= jq.i18n.prop("depts")}}:
        {{= it.depts.map((item, index) => { return (item.type == '3' || item.type == '5') ? (!item.deptTopname ? item.upLeveldeptname:(item.deptTopname + '(' + item.upLeveldeptname + ')') ) : ''}).filter(d=>d).join(',')}}
        {{? }}
        <br/>
        {{? it.depts.map(item => item.type).indexOf('3') > -1 || it.depts.map(item => item.type).indexOf('5') > -1}}
        {{= jq.i18n.prop("station")}}:
        {{= it.depts.map((item, index) => { return (item.type == '3' || item.type == '5') ?  item.name : ''}).filter(d=>d).join(',')}}
        {{? }}
        <br/>
        {{? it.depts.map(item => item.updateby).filter(d=>d).length > 0}}
        {{= jq.i18n.prop("role")}}:
        {{= it.depts.map((item, index) => { return (item.type != '3' && item.type != '5') ? item.name : ''}).filter(d=>d).join(',')}}
        {{? }}
			</p>
			{{? }}

		</div>
	</script>


	<!-- {{?? (it.type=='process15')}}
	  <div class="first-line process15">
		  <div class="index">{{=it.index==undefined? '': it.index }}</div>
	  </div> -->
	<!--{{?? (it.type=='process15')}}-->
	<!--<p class="second-line J_editAttr process15">{{= it.name }}</p>-->
	<script id="img_templ" type="text/x-dot-template">
		<div id="{{= it.id }}" data-type="{{= it.type }}" style="width: {{= it.width}}px;height:{{= it.height }}px;left:{{= it.left }}px;top:{{= it.top }}px;" onselectstart="return false"
        class="control {{= basFlow.options.toolsPath == 'shadow' ? 'shadow':''}} {{= it.isHelper ? 'helper' : '' }}
        {{? (it.role && it.role.length && it.role[0].id === JSON.parse(localStorage.getItem('portalCurrentUserInfo') || '{}').empuid) }}
        red
        {{?}}
        "
    >
			<div class="text">
				{{? (it.type=='processTask') || (it.type=='processIt')}}
				<!-- <div class="first-line">
					{{? it.time}}
					<img class="time-img" src="./{{= it.toolsPath}}/time.png"/>
					{{?}}
					<div class="index">{{=it.index==undefined? '': it.index }}</div>
				</div> -->
				<p class="second-line J_editAttr {{= it.toolsPath === 'shadow'? 'shadow':''}}">{{= it.name }}</p>

				{{?? (it.type=='processInterface')}}
				<div class="first-line interfaceProcess">
					<p data-attrName="name" class="J_editAttr" style="padding: {{= it.padding}};{{= it.color?'color: '+it.color+';':'' }}"
					>{{= it.name }}</p>
				</div>
				{{?? (it.type=='interface')}}
				<div class="first-line interfaceProcess">
					<p data-attrName="name" class="J_editAttr {{=it.name.length > 10 ? 'attrLineClamp' : 'alignCenter'}}" style="padding: {{= it.padding}};{{= it.color?'color: '+it.color+';':'' }}"
					>{{= it.name }}</p>
				</div>
				{{?? (it.type=='processRefer')}}
				<div class="first-line">
					<div class="index">{{=it.index==undefined? '': it.index }}</div>
				</div>
				<p class="second-line J_editAttr">{{= it.name }}</p>
				<div class="third-line">
					<div class="exportName">{{=it.exportName==undefined? '': it.exportName }}</div>
				</div>
				{{?? }}
				<p data-attrName="name" class="J_editAttr" style="padding: {{= it.padding}};{{= it.color?'color: '+it.color+';':'' }}">{{= it.name }}</p>
				<!--				<i id="point{{=it.id}}" class="three_point" style="display: {{=it.processGroup? (it.processGroup&&it.processGroup.length==0?'none':'block'):'none'}}; bottom: 8px; right: 18px;"></i>-->
				<i id="point{{=it.id}}" class="three_point role_point" style="display: {{=(it.type === 'role' && !!it.isRelate) ?'block': 'none'}}"></i>
				{{? }}
				{{? it.type=='processRefer' || it.type=='processTask' || it.type=='spliceGroup' || it.type=='process'  || it.type=='process02'  || it.type=='process03' || it.type=='processIt'  || it.type=='approveRules' || it.type=='process15' || it.type=='interface'}}

				{{? it.type!='process' && it.type!='process02' && it.type!='process03'}}
				<!-- 标记是否控制点 -->
				{{? it.isKeyCtrl }}

				{{? it.type!='processRefer' && it.keyControl.length > 0}}
				<div id="key{{=it.id}}" class="keyControl">
					<p class="keyShow" title="{{=it.keyControl.length > 0 ? it.keyControl[0].code : ''}}">{{=it.keyControl.length > 0 ? it.keyControl[0].code : ''}}</p>
					<p class="keyShow">KCP</p>
					<img class="KCP" src="./{{= it.toolsPath}}/KCP1.png"></img>
				</div>
				{{?? it.type=='processRefer'}}
				{{? it.keyControl.length > 0}}
				<div id="keyRisk{{=it.id}}" class="keyRiskControl">
					<p title="{{=it.keyControl.code}}">{{=it.keyControl.code}}</p>
					<img class="KCP" src="./{{= it.toolsPath}}/riskNum.png"></img>
				</div>
				{{? }}
				{{? it.keyControl.targetcomprate}}
				<div id="keyControl{{=it.id}}" class="keyController">
					<p title="{{=it.keyControl.targetcomprate}}">{{=it.keyControl.targetcomprate}}</p>
					<img class="KCP" src="./{{= it.toolsPath}}/controlNum.png"></img>
				</div>
				{{? }}
				{{? }}
				{{? }}
				{{? it.isKeyKSFCtrl && it.keyKSFControl.length > 0 }}
				<div id="keyKSF{{=it.id}}" class="keyKSFControl">
					<p class="keyShow" title="{{=it.keyKSFControl.length > 0 ? it.keyKSFControl[0].code : ''}}">{{=it.keyKSFControl.length > 0 ? it.keyKSFControl[0].code : ''}}</p>
					<p class="keyShow">KSF</p>
					<img class="KSF" src="./{{= it.toolsPath}}/KSF.png"></img>
				</div>
				{{? }}



				{{? it.system}}
				<!-- <span class="three_system" title="{{= Array.isArray(it.system) ? it.system.map(function(item, index) { return item.name }).join(',') : '' }}">{{= Array.isArray(it.system) ? it.system.map(function(item, index) { return item.name }).join(',') : '' }}</span> -->
				{{? }}

				<i class="three_point allocation"
					style="display: {{=(
						(it.type === 'processTask' || it.type === 'interface') &&
						(
							(it.system && it.system.length > 0) ||
							it.inputDesc || (it.input && it.input.length > 0) ||
							it.outputDesc || (it.output && it.output.length > 0) ||
							(it.systemDocumentChapter && it.systemDocumentChapter.filter(val => val.docId).length > 0) ||
							(it.systemDocumentChapter && it.systemDocumentChapter.filter(val => val.systemChapter && val.systemChapter[0] && val.systemChapter[0].dmid).length > 0) ||
							(it.processGroup && it.processGroup.length > 0)
						)
					)
					? 'block': 'none'}}">
				</i>
				<!-- <i id="point{{=it.id}}" data-type="referenceFlow" doc-id={{=it.id}} onclick="openReferenceFlow(this)" class="three_point" style="display: {{=it.processGroup ? (it.processGroup.length > 0 ?'block': 'none') : 'none'}}"></i> -->
				{{? }}
				<!-- 企业标准部分 -->
				{{? it.enterpriseStandardFile ? (it.enterpriseStandardFile.length != 0 ? true: (it.enterpriseStandard == '' ? false:true )) : false}}
				<div class="inputImgCss enterpriseStandard">
					{{= (it.enterpriseStandard ? (it.enterpriseStandard.length > 10 ? (it.enterpriseStandard.substring(0,10) + '...'):it.enterpriseStandard):"企业标准")}}
					<img src="{{= it.toolsPath}}/processInput.png" ></img>
				</div>
				{{? }}
				<!-- 信息文档部分 -->
				{{? (it.messageFile && it.messageFile.length > 0) || !!it.messagefileForm }}
				<div class="inputImgCss messageFile">
					{{= (it.messagefileForm ? (it.messagefileForm.length > 8 ? (it.messagefileForm.substring(0,8) + '...'):it.messagefileForm):"信息文档")}}
					<img src="{{= it.toolsPath}}/processForm.png" ></img>
				</div>
				{{? }}
				<!-- 输入部分 -->
				<!-- {{? it.input ? (it.input.length != 0 ? true: (it.inputDesc == '' ? false:true )) : false}} -->
				<!-- <div class="inputImgCss input inputCss"> -->
					<!-- <div class="inputTxt"> -->
						<!-- <div class="inModelListBoDtosShow-title"> -->
							<!-- {{= it.inputDesc || '输入'}} -->
						<!-- </div> -->
						<!-- <div class="inModelListBoDtos-list"> -->
							<!-- {{~ (it.inModelListBoDtos && it.inModelListBoDtos[0] ? it.inModelListBoDtos[0].boDtoList : [] ) :value:index }} -->
							<!-- <div class="inModelListBoDtos-list-item" data-obj='{{= (JSON.stringify(value)) }}'> -->
								<!-- {{? value.selfUse }} -->
								<!-- <img class="isSelfIcon" src="./img/self.png" /> -->
								<!-- {{??}} -->
								<!-- <img class="isSelfIcon" src="./img/not_self.png" /> -->
								<!-- {{?}} -->
								<!-- {{= value.boname }} -->
							<!-- </div> -->
							<!-- {{~ }} -->
						<!-- </div> -->
					<!-- </div> -->
					<!-- <img src="{{= it.toolsPath}}/processInput.png" ></img> -->
				<!-- </div> -->
				<!-- {{? }} -->
				<!-- {{? it.output ? (it.output.length != 0 ? true: (it.outputDesc == '' ? false:true )) : false}} -->
				<!-- 输出部分 -->
				<!-- <div class="inputImgCss outputCss"> -->
					<!-- <div class="outputTxt"> -->
						<!-- <div class="outModelListBoDtosShow-title"> -->
							<!-- {{= it.outputDesc || '输出'}} -->
						<!-- </div> -->
						<!-- <div class="outModelListBoDtos-list"> -->
							<!-- {{~ (it.outModelListBoDtos && it.outModelListBoDtos[0] ? it.outModelListBoDtos[0].boDtoList : [] ) :value:index }} -->
							<!-- <div class="inModelListBoDtos-list-item" data-obj='{{= (JSON.stringify(value)) }}'> -->
								<!-- {{? value.selfUse }} -->
								<!-- <img class="isSelfIcon" src="./img/self.png" /> -->
								<!-- {{??}} -->
								<!-- <img class="isSelfIcon" src="./img/not_self.png" /> -->
								<!-- {{?}} -->
								<!-- {{= value.boname }} -->
							<!-- </div> -->
							<!-- {{~ }} -->
						<!-- </div> -->
					<!-- </div> -->
					<!-- <img src="{{= it.toolsPath}}/processOutput.png" ></img> -->
				<!-- </div> -->
				<!-- {{? }} -->
				{{? (it.approvalGroup ? (it.approvalGroup.length != 0 ? true: (it.appovalForm == '' ? false:true )) : false)}}
				<!-- 审批规则部分 -->
				<div class="messageFormCss">
					{{= "审批规则"}}
					<img src="{{= it.toolsPath}}/processForm.png" ></img>
				</div>
				{{? }}



				<!-- 工具1部分 -->
				<div id="toolsList{{= it.id}}" class="toolsList-box">
					{{? it.modelListToolsDtos && it.modelListToolsDtos.length}}

					<div class="toolsList">
						<div class="toolsList-frame">
							{{~(it.modelListToolsDtos) :v:i}}
							<div class="toolsList-item">{{=v.toolname }} </div>
							{{~}}
						</div>
					</div>
					{{? }}
				</div>
				{{? }}
			</div>
			{{? !basFlow.isReadAttr}}
			<div class="rs_remove J_remove"></div>
			{{? }}

			<!-- <img style="width: 100%;height: 100%;" src="{{= !!it.iconPath ? it.iconPath : ((!it.toolsPath ? 'toolsImg':it.toolsPath) + '/' + it.img)}}"></img> -->

			<img style="width: 100%;height: 100%;" src="{{= !it.toolsPath ? 'toolsImg':it.toolsPath}}/{{= it.img }}"></img>

			<!-- 四周出现小圆圈进行连线-------------开始 -->
			<!-- 上边圆圈 -->
			<div class="topCircle commonCircle"></div>
			<!-- 下边圆圈 -->
			<div class="bottomCircle commonCircle"></div>
			<!-- 左边圆圈 -->
			<div class="leftCircle commonCircle"></div>
			<!-- 右边圆圈 -->
			<div class="rightCircle commonCircle"></div>
			<!-- 四周出现小圆圈进行连线-------------结束 -->

			<!--选中的上边-->
			<div class="upChosen commonChosen"></div>
			<!--选中的下边-->
			<div class="downChosen commonChosen"></div>
			<!--选中的左边-->
			<div class="leftChosen commonChosen"></div>
			<!--选中的右边-->
			<div class="rightChosen commonChosen"></div>
		</div>
	</script>


	<!-- 流程基本属性 -->
	<script id="process1" type="text/x-dot-template">
		<div id="process_1" class="process_tab_1">
			<div class="process_line">
				{{? !!it.fields['c_processName'] && it.fields['c_processName'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_processName'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.name || ''  }}">
				</div>
				{{?}}
				{{? !!it.fields['c_versions'] && it.fields['c_versions'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_versions'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.version || ''  }}" />
				</div>
				{{?}}
			</div>
			<div class="process_line">
				{{? !!it.fields['c_effectiveDate'] && it.fields['c_effectiveDate'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_effectiveDate'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.effectiveon || '' }}">
				</div>
				{{?}}
				{{? !!it.fields['nextRevisionTime'] && it.fields['nextRevisionTime'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['nextRevisionTime'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.invalidon || ''}}">
				</div>
				{{?}}
			</div>
			<div class="process_line">
				{{? !!it.fields['c_processLevel'] && it.fields['c_processLevel'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_processLevel'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.hierarchy || '' }}">
				</div>
				{{?}}
				{{? !!it.fields['c_processCoding'] && it.fields['c_processCoding'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_processCoding'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.code || ''  }}">
				</div>
				{{?}}
			</div>
			<div class="process_line">
				{{? !!it.fields['c_processResponsible'] && it.fields['c_processResponsible'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_processResponsible'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.bponame || ''  }}">
				</div>
				{{?}}
				{{? !!it.fields['consultant'] && it.fields['consultant'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['consultant'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.consultName || '' }}">
				</div>
				{{?}}
			</div>
			<div class="process_line">
				{{? !!it.fields['code_processCoding'] && it.fields['code_processCoding'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['code_processCoding'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.processcode || '' }}">
				</div>
				{{?}}
			</div>
			{{? !!it.fields['c_terminology'] && it.fields['c_terminology'].state == 1}}
			<div class="process_line">
				<div class="process_item another" style="width: 100%;">
					<label>{{= it.fields['c_terminology'].name}}:</label>
					<div class="w100">
						{{~it.bpmDto.termlist :item:index }}
						<div style="height:24px;margin-bottom:5px;">
							<input type="text" disabled value="{{= item.term ? item.term : '' }}" style="margin-right:10px" >
							<input type="text" disabled value="{{= item.termdetail? item.termdetail : ''}}">
						</div>
						{{~ }}
					</div>
				</div>
			</div>
			{{?}}
			<div class="process_line">
				{{? !!it.fields['c_fictitiousPerson'] && it.fields['c_fictitiousPerson'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_fictitiousPerson'].name}}:</label>
					<input type="text" disabled value="{{= it.bpmDto.signername || '' }}">
				</div>
				{{?}}
				{{? !!it.fields['c_issuer'] && it.fields['c_issuer'].state == 1}}
				<div class="process_item">
					<label>{{= it.fields['c_issuer'].name}}:</label>
					<div class="another_ctnt">
						<!-- {{~it.bpmDto.inputnamelist :item:index }}
                        <span>{{=item.name }}<i></i></span>
                        {{~ }} -->
						<input type="text" disabled value="{{= it.upmanagerList || '' }}">
					</div>
				</div>
				{{?}}
			</div>
			<div class="process_line">
				{{? !!it.fields['c_processDescription'] && it.fields['c_processDescription'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_processDescription'].name}}:</label>
					<textarea disabled value="">{{= it.bpmDto.description || '' }}</textarea>
				</div>
				{{?}}
				{{? !!it.fields['c_target'] && it.fields['c_target'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_target'].name}}:</label>
					<textarea disabled value="">{{= it.bpmDto.purpose || '' }}</textarea>
				</div>
				{{?}}
			</div>
			{{? !!it.fields['c_scope'] && it.fields['c_scope'].state == 1}}
			<div class="process_line">
				<div class="process_item another" style="width:100%;">
					<label for="">{{= it.fields['c_scope'].name}}:</label>
					<input type="text" class="w100" disabled value="{{= it.bpmDto.scope || '' }}">
				</div>
			</div>
			{{?}}
			{{? !!it.fields['c_organization'] && it.fields['c_organization'].state == 1}}
			<div class="process_line">
				<div class="process_item another" style="width:100%;">
					<label for="">{{= it.fields['c_organization'].name}}:</label>
					<div class="another_ctnt w100">
						{{~it.bpmDto.orglist :item:index }}
						<span>{{=item.name }}<i></i></span>
						{{~ }}
					</div>
				</div>
			</div>
			{{?}}
			<div class="process_line">
				{{? !!it.fields['c_superiorProcess'] && it.fields['c_superiorProcess'].state == 1}}
				<div class="process_item">
					<label style="word-wrap:break-word;white-space: nowrap;">{{= it.fields['c_superiorProcess'].name}}:</label>
					<div class="another_ctnt float-l w50Right">
						{{~it.bpmDto.inputnamelist :item:index }}
						<span>{{=item.code }}{{=item.name }}<i></i></span>
						{{~ }}
					</div>
				</div>
				{{?}}
				{{? !!it.fields['c_subordinateProcess'] && it.fields['c_subordinateProcess'].state == 1}}
				<div class="process_item">
					<label style="word-wrap:break-word;white-space: nowrap;">{{= it.fields['c_subordinateProcess'].name}}:</label>
					<div class="another_ctnt float-l w50Right">
						{{~it.bpmDto.outputnamelist :item:index }}
						<span>{{=item.code }}{{=item.name }}<i></i></span>
						{{~ }}
					</div>
				</div>
				{{?}}
			</div>
			<div class="process_line">
				{{? !!it.fields['c_processInput'] && it.fields['c_processInput'].state == 1}}
				<div class="process_item">
					<label for="">{{= it.fields['c_processInput'].name}}:</label>
					<div class="float-l w50Right">
						{{~it.bpmDto.inputlist :item:index }}
						<span onclick="openUrl(this)" docId="{{= item.attatchid}}" style="border: 1px solid #b1acac;background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=item.newName }}<i></i></span>
						{{~ }}
					</div>
				</div>
				{{?}}
				{{? !!it.fields['c_processOutput'] && it.fields['c_processOutput'].state == 1}}
				<div class="process_item">
					<label for="">{{=it.fields['c_processOutput'].name}}:</label>
					<div class="float-l w50Right">
						{{~it.bpmDto.outputlist :item:index }}
						<span onclick="openUrl(this)" docId="{{= item.attatchid}}" style="border: 1px solid #b1acac;background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=item.newName }}<i></i></span>
						{{~ }}
					</div>
				</div>
				{{?}}
			</div>
			<div class="process_line">
				<div class="process_item another" style="width: 100%;">

					<label style="word-wrap:break-word;height:30px;line-height:15px;">{{= it.fields['c_systemClassification'].name}}:</label>
					<div class="another_ctnt float-l w100">
						{{~it.syslists :val:indx}}
						<div>
							<div style="width: 20%;line-height:30px;text-align:right;float:left;" title="{{= val.name}}">{{= val.name}}：</div>
							<div style="width: 80%;min-height:30px;float:left;">
								{{~val.files :item:index}}
								<span onclick="openUrl(this)" docId="{{= item.attatchid}}" style="border: 1px solid #b1acac;background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=item.name}}</span>
								{{~}}
							</div>
						</div>
						{{~}}
					</div>
				</div>
			</div>
			<!--<div class="process_line">
                    <div class="process_item another">
                    <label for="">流程表单:</label>
                    <div class="another_ctnt">
                    {{~it.processInput :item:index }}
                    <span>{{=item.name }}<i></i></span>
                    {{~ }}
                    </div>
                    </div>
            </div>
            <div class="process_line">
                    <div class="process_item another">
                    <label for="">相关制度:</label>
                    <div class="another_ctnt">
                    {{~it.aboutLoyer :item:index }}
                    <span>{{=item.name }}<i></i></span>
                    {{~ }}
                    </div>
                    </div>
            </div> -->


		</div>
	</script>

	<!-- 流程绩效 -->
	<script id="process2" type="text/x-dot-template">
		<table class="table table-hover">
			<thead>
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{= it.fields['ordinal'].name}}</div></td>
				{{?}}
				{{? !!it.fields['kpiName'] && it.fields['kpiName'].state == 1}}
				<td><div class="clamp">{{= it.fields['kpiName'].name}}</div></td>
				{{?}}
				{{? !!it.fields['description'] && it.fields['description'].state == 1}}
				<td><div class="clamp">{{= it.fields['description'].name}}</div></td>
				{{?}}
				{{? !!it.fields['remarks'] && it.fields['remarks'].state == 1}}
				<td><div class="clamp">{{= it.fields['remarks'].name}}</div></td>
				{{?}}
				{{? !!it.fields['kpiValue'] && it.fields['kpiValue'].state == 1}}
				<td><div class="clamp">{{= it.fields['kpiValue'].name}}</div></td>
				{{?}}
				<!--			{{? !!it.fields['add'] && it.fields['add'].state == 1}}-->
				<!--			<td><div class="clamp">{{= it.fields['add'].name}}</div></td>-->
				<!--			{{?}}-->
				{{? !!it.fields['target'] && it.fields['target'].state == 1}}
				<td><div class="clamp">{{= it.fields['target'].name}}</div></td>
				{{?}}
				{{? !!it.fields['targetNameDialog'] && it.fields['targetNameDialog'].state == 1}}
				<td><div class="clamp">{{= it.fields['targetNameDialog'].name}}</div></td>
				{{?}}
				{{? !!it.fields['descDialog'] && it.fields['descDialog'].state == 1}}
				<td><div class="clamp">{{= it.fields['descDialog'].name}}</div></td>
				{{?}}

				<!--			{{? !!it.fields['comments'] && it.fields['comments'].state == 1}}-->
				<!--			<td><div class="clamp">{{= it.fields['comments'].name}}</div></td>-->
				<!--			{{?}}-->
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{= index+1}}</div></td>
				{{?}}
				{{? !!it.fields['kpiName'] && it.fields['kpiName'].state == 1}}
				<td><div class="clamp">{{=item.name ? item.name : ''}}</div></td>
				{{?}}
				{{? !!it.fields['description'] && it.fields['description'].state == 1}}
				<td><div class="clamp">{{=item.description ? item.description :''}}</div></td>
				{{?}}
				{{? !!it.fields['remarks'] && it.fields['remarks'].state == 1}}
				<td><div class="clamp">{{=item.remark ? item.remark : ''}}</div></td>
				{{?}}
				{{? !!it.fields['kpiValue'] && it.fields['kpiValue'].state == 1}}
				<td><div class="clamp">{{=item.exname ? item.exname : ''}}</div></td>
				{{?}}
				<!--				{{? !!it.fields['add'] && it.fields['add'].state == 1}}-->
				<!--				<td><div class="clamp">{{=item.add ? item.add : ''}}</div></td>-->
				<!--				{{?}}-->
				{{? !!it.fields['target'] && it.fields['target'].state == 1}}
				<td><div class="clamp">{{=item.pvalue1 ? item.pvalue1 : ''}}</div></td>
				{{?}}
				{{? !!it.fields['targetNameDialog'] && it.fields['targetNameDialog'].state == 1}}
				<td><div class="clamp">{{=item.pvalue2 ? item.pvalue2 : ''}}</div></td>
				{{?}}
				{{? !!it.fields['descDialog'] && it.fields['descDialog'].state == 1}}
				<td><div class="clamp">{{=item.threshold ? item.threshold : ''}}</div></td>
				{{?}}

				<!--				{{? !!it.fields['comments'] && it.fields['comments'].state == 1}}-->
				<!--				<td><div class="clamp">{{=item.comments ? item.comments : ''}}</div></td>-->
				<!--				{{?}}-->
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="5">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<!-- 关键风险控制点 -->
	<script id="process3" type="text/x-dot-template">

		<table class="table layoutFixed table-hover">
			<thead>
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td class="w10"><div class="clamp">{{= it.fields['ordinal'].name}}</div></td>
				{{?}}
				{{? !!it.fields['riskIdentifier'] && it.fields['riskIdentifier'].state == 1}}
				<td class="w20"><div class="clamp">{{= it.fields['riskIdentifier'].name}}</div></td>
				{{?}}
				{{? !!it.fields['riskName'] && it.fields['riskName'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['riskName'].name}}</div></td>
				{{?}}
				{{? !!it.fields['controlelement'] && it.fields['controlelement'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['controlelement'].name}}</div></td>
				{{?}}
				{{? !!it.fields['controlNum'] && it.fields['controlNum'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['controlNum'].name}}</div></td>
				{{?}}
				{{? !!it.fields['controlName'] && it.fields['controlName'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['controlName'].name}}</div></td>
				{{?}}
				{{? !!it.fields['controlDemand'] && it.fields['controlDemand'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['controlDemand'].name}}</div></td>
				{{?}}
				{{? !!it.fields['ownerdept'] && it.fields['ownerdept'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['ownerdept'].name}}</div></td>
				{{?}}
				{{? !!it.fields['formationAccording'] && it.fields['formationAccording'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['formationAccording'].name}}</div></td>
				{{?}}
				{{? !!it.fields['testIvdence'] && it.fields['testIvdence'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['testIvdence'].name}}</div></td>
				{{?}}
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{=index+1 }}</div></td>
				{{?}}
				{{? !!it.fields['riskIdentifier'] && it.fields['riskIdentifier'].state == 1}}
				<td><div class="clamp">{{=(item.code ? item.code:'') }}</div></td>
				{{?}}
				{{? !!it.fields['riskName'] && it.fields['riskName'].state == 1}}
				<td class="kcp">{{=(item.kcpname ? item.kcpname:'') }}</div></td>
				{{?}}
				{{? !!it.fields['controlelement'] && it.fields['controlelement'].state == 1}}
				<td><div class="clamp">{{=(item.controlelement ? item.controlelement:'') }}</div></td>
				{{?}}
				{{? !!it.fields['controlNum'] && it.fields['controlNum'].state == 1}}
				<td class="kcp">{{=(item.targetcomprate ? item.targetcomprate:'') }}</div></td>
				{{?}}
				{{? !!it.fields['controlName'] && it.fields['controlName'].state == 1}}
				<td class="kcp">{{=(item.processtarget ? item.processtarget:'') }}</div></td>
				{{?}}
				{{? !!it.fields['controlDemand'] && it.fields['controlDemand'].state == 1}}
				<td class="kcp">{{=(item.risk ? item.risk:'') }}</div></td>
				{{?}}
				{{? !!it.fields['ownerdept'] && it.fields['ownerdept'].state == 1}}
				<td class="kcp">{{=(item.sampleselect ? item.sampleselect:'') }}</div></td>
				{{?}}
				{{? !!it.fields['formationAccording'] && it.fields['formationAccording'].state == 1}}
				<td class="kcp">{{=(item.remark ? item.remark:'') }}</div></td>
				{{?}}
				{{? !!it.fields['testIvdence'] && it.fields['testIvdence'].state == 1}}
				<td class="kcp">{{=(item.testprogram ? item.testprogram:'') }}</div></td>
				{{?}}
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="10">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<!--关键成功要素-->
	<script id="process7" type="text/x-dot-template">
		<table class="table layoutFixed table-hover">
			<thead>
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td class="w10"><div class="clamp">{{= it.fields['ordinal'].name}}</div></td>
				{{?}}
				{{? !!it.fields['number'] && it.fields['number'].state == 1}}
				<td class="w20"><div class="clamp">{{= it.fields['number'].name}}</div></td>
				{{?}}
				{{? !!it.fields['ksfName'] && it.fields['ksfName'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['ksfName'].name}}</div></td>
				{{?}}
				{{? !!it.fields['elements'] && it.fields['elements'].state == 1}}
				<td class="w35"><div class="clamp">{{= it.fields['elements'].name}}</div></td>
				{{?}}
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{=index+1 }}</div></td>
				{{?}}
				{{? !!it.fields['number'] && it.fields['number'].state == 1}}
				<td><div class="clamp">{{=(item.code ? item.code:'') }}</div></td>
				{{?}}
				{{? !!it.fields['ksfName'] && it.fields['ksfName'].state == 1}}
				<td class="kcp">{{=(item.kcpname ? item.kcpname:'') }}</div></td>
				{{?}}
				{{? !!it.fields['elements'] && it.fields['elements'].state == 1}}
				<td><div class="clamp">{{=(item.controlelement ? item.controlelement:'') }}</div></td>
				{{?}}
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="10">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<!-- 业务规则 -->
	<script id="process4" type="text/x-dot-template">
		<table class="table table-hover">
			<thead>
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{= it.fields['ordinal'].name}}</div></td>
				{{?}}
				{{? !!it.fields['rule'] && it.fields['rule'].state == 1}}
				<td><div class="clamp">{{= it.fields['rule'].name}}</div></td>
				{{?}}
				{{? !!it.fields['file'] && it.fields['file'].state == 1}}
				<td><div class="clamp">{{= it.fields['file'].name}}</div></td>
				{{?}}
				<!--{{? it.fields['ruleDialog'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['ruleDialog'].name}}</div></td>-->
				<!--{{?}}-->
				<!--{{? it.fields['c_attachmentRule'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['c_attachmentRule'].name}}</div></td>-->
				<!--{{?}}-->
				<!--{{? it.fields['responsiblePerson'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['responsiblePerson'].name}}</div></td>-->
				<!--{{?}}-->
				<!--{{? it.fields['addAttach'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['addAttach'].name}}</div></td>-->
				<!--{{?}}-->
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{=index+1}}</div></td>
				{{?}}
				{{? !!it.fields['rule'] && it.fields['rule'].state == 1}}
				<td><div class="clamp">{{=(item.rule ? item.rule:'')}}</div></td>
				{{?}}
				{{? !!it.fields['file'] && it.fields['file'].state == 1}}
				<td><div class="clamp">
					{{?item.attatch!=null}}
					{{~item.attatch :item1:index1}}
					<span onclick="openUrl(this)" docId="{{= item1.id}}" style="display:block;background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item1.name ? item1.name:'')}}</span>
					{{~}}
					{{?}}
				</div></td>
				{{?}}
				<!--{{? !!it.fields['ruleDialog'] && it.fields['ruleDialog'].state == 1}}-->
				<!--<td><div class="clamp">{{=(item.ruleDialog ? item.ruleDialog:'')}}</div></td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['c_attachmentRule'] && it.fields['c_attachmentRule'].state == 1}}-->
				<!--<td><div class="clamp">{{=(item.c_attachmentRule ? item.c_attachmentRule:'')}}</div></td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['responsiblePerson'] && it.fields['responsiblePerson'].state == 1}}-->
				<!--<td><div class="clamp">{{=(item.responsiblePerson ? item.responsiblePerson:'')}}</div></td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['addAttach'] && it.fields['addAttach'].state == 1}}-->
				<!--<td><div class="clamp">{{=(item.addAttach ? item.addAttach:'')}}</div></td>-->
				<!--{{?}}-->
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="4">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<!-- 流程支持文件 -->
	<script id="process5" type="text/x-dot-template">
		<table class="table table-hover">
			<thead>
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{= it.fields['ordinal'].name}}</div></td>
				{{?}}
				<!--<td><div class="clamp">{{= jq.i18n.prop("codColumn")}}</div></td>-->
				{{? !!it.fields['fileName'] && it.fields['fileName'].state == 1}}
				<td><div class="clamp">{{= it.fields['fileName'].name}}</div></td>
				{{?}}
				{{? !!it.fields['uploader'] && it.fields['uploader'].state == 1}}
				<td><div class="clamp">{{= it.fields['uploader'].name}}</div></td>
				{{?}}
				{{? !!it.fields['uploadTime'] && it.fields['uploadTime'].state == 1}}
				<td><div class="clamp">{{= it.fields['uploadTime'].name}}</div></td>
				{{?}}
				{{? !!it.fields['fileType'] && it.fields['fileType'].state == 1}}
				<td><div class="clamp">{{= it.fields['fileType'].name}}</div></td>
				{{?}}
				{{? !!it.fields['remarksDialog'] && it.fields['remarksDialog'].state == 1}}
				<td><div class="clamp">{{= it.fields['remarksDialog'].name}}</div></td>
				{{?}}
				<!--{{? !!it.fields['operation'] && it.fields['operation'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['operation'].name}}</div></td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['selectFile'] && it.fields['selectFile'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['selectFile'].name}}</div></td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['comments'] && it.fields['comments'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['comments'].name}}</div></td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['attachmentDialog'] && it.fields['attachmentDialog'].state == 1}}-->
				<!--<td><div class="clamp">{{= it.fields['attachmentDialog'].name}}</div></td>-->
				<!--{{?}}-->
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				{{? !!it.fields['ordinal'] && it.fields['ordinal'].state == 1}}
				<td><div class="clamp">{{=index+1}}</div></td>
				{{?}}
				<!--<td><div class="clamp">{{=index}}</div></td>-->
				{{? !!it.fields['fileName'] && it.fields['fileName'].state == 1}}
				<td title="{{=item.name }}"><span onclick="openUrl(this)" docId="{{= item.docid}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item.name ? item.name:'')}}</span></td>
				{{?}}
				{{? !!it.fields['uploader'] && it.fields['uploader'].state == 1}}
				<td title="{{=item.createby }}">{{=(item.createby ? item.createby:'')}}</td>
				{{?}}
				{{? !!it.fields['uploadTime'] && it.fields['uploadTime'].state == 1}}
				<td title="{{=item.createon }}">{{=(item.createon ? item.createon:'')}}</td>
				{{?}}
				{{? !!it.fields['fileType'] && it.fields['fileType'].state == 1}}
				<td title="{{=item.foldername }}">{{=(item.foldername ? item.foldername:'')}}</td>
				{{?}}
				{{? !!it.fields['remarksDialog'] && it.fields['remarksDialog'].state == 1}}
				<td title="{{=item.description }}">{{=(item.description ? item.description:'')}}</td>
				{{?}}
				<!--{{? !!it.fields['operation'] && it.fields['operation'].state == 1}}-->
				<!--<td title="{{=item.operation }}">{{=(item.operation ? item.operation:'')}}</td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['selectFile'] && it.fields['selectFile'].state == 1}}-->
				<!--<td title="{{=item.selectFile }}">{{=(item.selectFile ? item.selectFile:'')}}</td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['comments'] && it.fields['comments'].state == 1}}-->
				<!--<td title="{{=item.description }}">{{=(item.description ? item.description:'')}}</td>-->
				<!--{{?}}-->
				<!--{{? !!it.fields['attachmentDialog'] && it.fields['attachmentDialog'].state == 1}}-->
				<!--<td title="{{=item.attachmentDialog }}">{{=(item.attachmentDialog ? item.attachmentDialog:'')}}</td>-->
				<!--{{?}}-->
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="7">{{= jq.i18n.prop("noData")}}</td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<!-- 流程活动说明 -->
	<script id="process8" type="text/x-dot-template">
		<table class="table table-hover">
			<!--<button type="button" class="btn btn-primary" style="float:right;padding: 3px 12px;">{{= jq.i18n.prop("export")}}</button>-->
			<thead>
			<tr>
				<td><div class="clamp">{{= jq.i18n.prop("seqNumber")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("activityNumber")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("activityName")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("activityContentGuide")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("inputDes")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("outputDes")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("executeRole")}}</div></td>
				<!--<td><div class="clamp">{{= jq.i18n.prop("organization")}}</div></td>-->
				<td width="150"><div class="clamp">{{= jq.i18n.prop("position") + '(' + jq.i18n.prop("organization") + ')'}}</div></td>
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				<td><div class="clamp">{{=index+1 }}</div></td>
				<td><div class="clamp">{{=item.index}}</div></td>
				<td><div class="clamp">{{=(item.name ? item.name:'') }}</div></td>
				<td><div class="clamp">{{=(item.desc ? item.desc:'') }}</div></td>
				<td><div class="clamp">
					{{~ item.input :item1:index1}}
					<span onclick="openUrl(this)" docId="{{= item1.id}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item1.newName ? item1.newName:'') }}</span><br/>
					{{~ }}
				</div></td>
				<td><div class="clamp">
					{{~ item.output :item1:index1}}
					<span onclick="openUrl(this)" docId="{{= item1.id}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item1.newName ? item1.newName:'') }}</span><br/>
					{{~ }}
				</div></td>
				<!--<td><div class="clamp">-->
				<!--{{~ item.leaders :item1:index1}}-->
				<!--{{=(item1.cnname ? item1.cnname:'') }}<br/>-->
				<!--{{~ }}-->
				<!--</div></td>-->
				<!--<td><div class="clamp">-->
				<!--{{~ item.leaders :item2:index2}}-->
				<!--{{=(item2.deptname ? item2.deptname:'') }}<br/>-->
				<!--{{~ }}-->
				<!--</div></td>-->
				<!--<td><div class="clamp">-->
				<!--{{~ item.leaders :item3:index3}}-->
				<!--{{=(item3.orgname ? item3.orgname:'') }}<br/>-->
				<!--{{~ }}-->
				<!--</div></td>-->
				<td><div class="clamp">
					{{=(item.SwimlaneName ? item.SwimlaneName:'') }}
				</div></td>
				<td><div class="clamp">
					{{=(item.DeptName ? item.DeptName:'') }}
				</div></td>
				<!--<td><div class="clamp">-->
				<!--{{=(item.StationName ? item.StationName:'') }}-->
				<!--</div></td>-->
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="9">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>
	<!-- 企业标准明细表 checkActivity-->
	<script id="enterpriseTab" type="text/x-dot-template">
		<table class="table table-hover">
			<!--<button type="button" class="btn btn-primary" style="float:right;padding: 3px 12px;">{{= jq.i18n.prop("export")}}</button>-->
			<thead>
			<tr>
				<td><div class="clamp">{{= jq.i18n.prop("seqNumber")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("activityNumber")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("activityName")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("activityContentGuide")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("inputDes")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("outputDes")}}</div></td>
				<td><div class="clamp">{{= jq.i18n.prop("executeRole")}}</div></td>
				<!--<td><div class="clamp">{{= jq.i18n.prop("organization")}}</div></td>-->
				<td width="150"><div class="clamp">{{= jq.i18n.prop("position") + '(' + jq.i18n.prop("organization") + ')'}}</div></td>
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				<td><div class="clamp">{{=index+1 }}</div></td>
				<td><div class="clamp">{{=item.index}}</div></td>
				<td><div class="clamp">{{=(item.name ? item.name:'') }}</div></td>
				<td><div class="clamp">{{=(item.desc ? item.desc:'') }}</div></td>
				<td><div class="clamp">
					{{~ item.input :item1:index1}}
					<span onclick="openUrl(this)" docId="{{= item1.id}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item1.newName ? item1.newName:'') }}</span><br/>
					{{~ }}
				</div></td>
				<td><div class="clamp">
					{{~ item.output :item1:index1}}
					<span onclick="openUrl(this)" docId="{{= item1.id}}" style="background: #fff;color:rgb(51, 122, 183);cursor: pointer;">{{=(item1.newName ? item1.newName:'') }}</span><br/>
					{{~ }}
				</div></td>
				<!--<td><div class="clamp">-->
				<!--{{~ item.leaders :item1:index1}}-->
				<!--{{=(item1.cnname ? item1.cnname:'') }}<br/>-->
				<!--{{~ }}-->
				<!--</div></td>-->
				<!--<td><div class="clamp">-->
				<!--{{~ item.leaders :item2:index2}}-->
				<!--{{=(item2.deptname ? item2.deptname:'') }}<br/>-->
				<!--{{~ }}-->
				<!--</div></td>-->
				<!--<td><div class="clamp">-->
				<!--{{~ item.leaders :item3:index3}}-->
				<!--{{=(item3.orgname ? item3.orgname:'') }}<br/>-->
				<!--{{~ }}-->
				<!--</div></td>-->
				<td><div class="clamp">
					{{=(item.SwimlaneName ? item.SwimlaneName:'') }}
				</div></td>
				<td><div class="clamp">
					{{=(item.DeptName ? item.DeptName:'') }}
				</div></td>
				<!--<td><div class="clamp">-->
				<!--{{=(item.StationName ? item.StationName:'') }}-->
				<!--</div></td>-->
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="9">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<!-- 历史版本表格 -->
	<script id="historyVertionTable" type="text/x-dot-template">
		<div class="replaceTable">
			<div class="historyVesnContent">
				<div style="overflow:hidden;">
					<p><input id="name" type="text" placeholder="jq.i18n.prop("enterVersion")"/></p>
					<p><input id="descs" type="text" placeholder="jq.i18n.prop("enterDescription")"/></p>
				</div>
				<div style="text-align:right;"><button type="button" style="padding: 3px 10px;margin-right: 5px;" class="btn btn-success" id="yesBtn">{{= jq.i18n.prop("confirm")}}</button><button style="padding: 3px 10px;" type="button" class="btn btn-default" id="noBtn">{{= jq.i18n.prop("cancel")}}</button></div>
			</div>
			<div class="ctable">
				<table class="table table-hover">
					<thead>
					<tr>
						<td><div class="clamp">{{= jq.i18n.prop("versions")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("versionsName")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("personRevision")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("revisionDate")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("amendmentsReasons")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("signpeople")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("approver")}}</div></td>
						<td><div class="clamp">{{= jq.i18n.prop("operation")}}</div></td>
					</tr>
					</thead>
					<tbody>
					{{? it.list.length != 0 }}
					{{~it.list :item:index }}
					<tr>
						<td><div class="clamp">{{=(item.version ? item.version:'') }}</div></td>
						<td><div class="clamp">{{=(item.name ? item.name:'') }}</div></td>
						<td><div class="clamp">{{=(item.createby ? item.createby:'') }}</div></td>
						<td><div class="clamp">{{=(item.createon ? item.createon:'') }}</div></td>
						<td><div class="clamp">{{=(item.description ? item.description:'') }}</div></td>
						<td><div class="clamp">
							{{~ item.singby :item1:index1}}
							{{=(item1 ? item1:'')}}
							{{~}}
						</div></td>
						<td><div class="clamp">
							{{~ item.approveby :item2:index2}}
							{{=(item2 ? item2:'')}}
							{{~}}
						</div></td>
						<td data-id="{{=item.id}}" data-viewjson='{{=item.json||"{}"}}'>
							<span class="check" style="color:blue;cursor:pointer;margin-right:4px;">{{= jq.i18n.prop("check")}}</span>
							<span class="remove" style="color:red;cursor:pointer;">{{= jq.i18n.prop("delete")}}</span>
			</div></td>
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="8">{{= jq.i18n.prop("noData")}}</div></td></tr>
		{{? }}
		</tbody>
		</table>
		</div>
		</div>
	</script>
	<script id="pagination" type="text/x-dot-template">
		<nav class="navagationPage elseclass" data-api="{{=it.api }}" aria-label="Page navigation">
			<ul class="pagination remove-margin" id="{{='process0'+it.index+'_' }}"></ul>
		</nav>
	</script>

	<!-- 修订记录 -->
	<script id="process6" type="text/x-dot-template">
		<table class="table table-hover">
			<thead>
			<tr>
				{{? !!it.fields['number'] && it.fields['number'].state == 1}}
				<td><div class="clamp">{{= it.fields['number'].name}}</div></td>
				{{?}}
				{{? !! it.fields['theme'] && it.fields['theme'].state == 1}}
				<td><div class="clamp">{{= it.fields['theme'].name}}</div></td>
				{{?}}
				{{? !!it.fields['processNodeName'] && it.fields['processNodeName'].state == 1}}
				<td><div class="clamp">{{= it.fields['processNodeName'].name}}</div></td>
				{{?}}
				{{? !!it.fields['approver'] && it.fields['approver'].state == 1}}
				<td><div class="clamp">{{= it.fields['approver'].name}}</div></td>
				{{?}}
				{{? !!it.fields['approvalTime'] && it.fields['approvalTime'].state == 1}}
				<td><div class="clamp">{{= it.fields['approvalTime'].name}}</div></td>
				{{?}}
				{{? !!it.fields['appOperate'] && it.fields['appOperate'].state == 1}}
				<td><div class="clamp">{{= it.fields['appOperate'].name}}</div></td>
				{{?}}
				{{? !!it.fields['remarks'] && it.fields['remarks'].state == 1}}
				<td><div class="clamp">{{= it.fields['remarks'].name}}</div></td>
				{{?}}
			</tr>
			</thead>
			<tbody>
			{{? it.list.length != 0 }}
			{{~it.list :item:index }}
			<tr>
				{{? !!it.fields['number'] && it.fields['number'].state == 1}}
				<td><div class="clamp">{{=index+1}}</div></td>
				{{?}}
				{{? !!it.fields['theme'] && it.fields['theme'].state == 1}}
				<td><div class="clamp">{{=(item.subject ? item.subject:'')}}</div></td>
				{{?}}
				{{? !!it.fields['processNodeName'] && it.fields['processNodeName'].state == 1}}
				<td><div class="clamp">{{=(item.processnodename ? item.processnodename:'')}}</div></td>
				{{?}}
				{{? !!it.fields['approver'] && it.fields['approver'].state == 1}}
				<td><div class="clamp">{{=(item.username ? item.username:'')}}</div></td>
				{{?}}
				{{? !!it.fields['approvalTime'] && it.fields['approvalTime'].state == 1}}
				<td><div class="clamp">{{=(item.approvaltime ? item.approvaltime:'')}}</div></td>
				{{?}}
				{{? !!it.fields['appOperate'] && it.fields['appOperate'].state == 1}}
				<td><div class="clamp">{{=(item.approvaloperation ? item.approvaloperation:'')}}</div></td>
				{{?}}
				{{? !!it.fields['remarks'] && it.fields['remarks'].state == 1}}
				<td><div class="clamp">{{=(item.remark ? item.remark:'')}}</div></td>
				{{?}}
			</tr>
			{{~ }}
			{{?? }}
			<tr><td colspan="7">{{= jq.i18n.prop("noData")}}</div></td></tr>
			{{? }}
			</tbody>
		</table>
	</script>

	<script id="contextMenu" type="text/x-dot-template">
		<div id="menu" style="top: {{=it.top }}; left: {{=it.left}};">
			{{~it.menuList :item:index }}
			{{? item.class != 'outUploadFile' && item.class != 'inUploadFile'}}
			<div class="menu {{=item.class}}" data-isAllowed="{{=item.disable }}" style="cursor: {{=item.disable?'not-allowed':'pointer'}}; color:{{=item.disable?'#787878':'#000'}};">{{=item.name }}</div>
			{{?}}
			{{? item.class == 'outUploadFile'}}
			<div class="commitFile" data-isAllowed="{{=item.disable }}" style="cursor: {{=item.disable?'not-allowed':'pointer'}}; color:{{=item.disable?'#787878':'#000'}};">
				<form>
					{{=jq.i18n.prop("selectAttach")}}
					<input type="file" id="outputUpdateFile" data-isAllowed="{{=item.disable }}" class="{{=item.class}}" data-type="output" multiple="multiple" />
				</form>
			</div>
			{{?}}
			{{? item.class == 'inUploadFile'}}
			<div class="commitFile" data-isAllowed="{{=item.disable }}" style="cursor: {{=item.disable?'not-allowed':'pointer'}}; color:{{=item.disable?'#787878':'#000'}};">
				<form class="">
					{{=jq.i18n.prop("selectAttach")}}
					<input type="file" id="updateFile" data-isAllowed="{{=item.disable }}" class="{{=item.class}}" data-type="input" multiple="multiple" />
				</form>
			</div>
			{{?}}
			{{~ }}
		</div>
	</script>

	<!-- 模态框选人的模板 -->
	<script id="modalTable" type="text/x-dot-template">
		<div class="w100 h100 table">
			<table class="table table-hover">
				<thead>
				<tr>
					<td width="8%"><div class="clamp"></div></td>
					<td width="20%"><div class="clamp">{{= jq.i18n.prop("personName")}}</div></td>
					<td width="72%"><div class="clamp">邮箱</div></td>
				</tr>
				</thead>
				<tbody>
				{{? it.list.length != 0 }}
				{{~it.list :item:index }}
				<tr>
					<td><label><input type="radio" data-id="{{=item.id}}" name="ceshi" value="" onchange="checkCopyData({{!JSON.stringify(item)}})"></label></td>
					<td><div class="clamp">{{=(item.cnname ? item.cnname:'')}}</div></td>
					<td><div class="clamp">{{=(item.email ? item.email:'')}}</div></td>
				</tr>
				{{~ }}
				{{?? }}
				<tr><td colspan="5">{{= jq.i18n.prop("noData")}}</div></td></tr>
		{{? }}
		</tbody>
		</table>
		</div>
	</script>

	<!-- 选择用户 -->
	<script id="selectUser" type="text/x-dot-template">
		<div class="listUser">
			{{~it.list :item:index }}
			<div class="checkbox">
				<label>
					<input type="checkbox" onchange="selectUser({{= index}}, this)"> {{= item.name}}
				</label>
			</div>
			{{~ }}
		</div>
	</script>

	<!-- 流程列表 -->
	<script id="verifyProcessTable" type="text/x-dot-template">
		<div class="w100 h100 table">
			<table class="table table-hover">
				<thead>
				<tr>
					<td width="8%"><div class="clamp"></div></td>
					<td width="20%"><div class="clamp">{{= jq.i18n.prop("process")}}</div></td>
				</tr>
				</thead>
				<tbody>
				{{? it.list.length != 0 }}
				{{~it.list :item:index }}
				<tr>
					<td>

					</td>
				</tr>
				{{~ }}
				{{?? }}
				<tr><td colspan="5">{{= jq.i18n.prop("noData")}}</div></td></tr>
		{{? }}
		</tbody>
		</table>
		</div>
	</script>

	<div
			style="display: none; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; cursor: move; opacity: 0; background: rgb(255, 255, 255);">
	</div>
	<!-- <script type="text/javascript" src="./js/BaseNewPage.js?v=20190122"></script> -->

	<script id="inModelListBoDtosShowtmpl" type="text/x-dot-template">
		{{ for(var prop in it) { }}
		<!--	<div>KEY:{{= prop }}-&#45;&#45;VALUE:{{= it[prop] }}</div>-->
		<div class="inModelListBoDtosShow-item">{{= it[prop].boname}} </div>
		{{ } }}
	</script>
	<script id="outModelListBoDtosShowtmpl" type="text/x-dot-template">
		{{ for(var prop in it) { }}
		<!--	<div>KEY:{{= prop }}-&#45;&#45;VALUE:{{= it[prop] }}</div>-->
		<div class="inModelListBoDtosShow-item">{{= it[prop].boname}} </div>
		{{ } }}
	</script>
	<script id="inputDescTmpl" type="text/x-dot-template">
		{{= (it.inputDesc ? (it.inputDesc.length > 10 ? (it.inputDesc.substring(0,10) + '...'):it.inputDesc):"输入")}}
	</script>
	<script id="toolsListTmpl" type="text/x-dot-template">
		{{? it.length > 0 }}
		<div class="toolsList">
			<div class="toolsList-frame">
				{{~it :v:i }}
				<div class="toolsList-item">{{=v.toolname }} </div>
				{{~}}
			</div>
		</div>
		{{?}}
	</script>

	<!-- 查看业务对象属性 -->
	<script id="modalDialogBusObjDetailTmpl" type="text/x-dot-template">
		<div class="modalDialogBusObjDetail dialog-content">
			<div class="dialog_header">
				<span class="dialog_title">业务对象</span>
				<button type="button" class="close-dialogBtn">
					<i class="dialog_close"></i>
				</button>
			</div>

			<div class="dialog_body">
				<div class="dialog_wrapper clearfix">
					<div class="dialog-form">
						<div class="dialog-form-item">
							<div class="dialog-form-item-label">
								<span style="color:red">* </span>业务对象名称：
							</div>
							<div class="dialog-form-item-desc">
								{{? it.add}}
								<input class="form-control boname" />
								{{?? }}
								{{= it.boname || '' }}
								{{? }}
							</div>
						</div>
						<div class="dialog-form-item">
							<div class="dialog-form-item-label">
								<span style="color:red">* </span>所属分类：
							</div>
							<div class="dialog-form-item-desc">
								{{? it.add}}
								<input class="form-control folderid" disabled />
								{{?? }}
								{{= it.foldername || '' }}
								{{? }}
							</div>
						</div>
						{{? !it.add}}
						<div class="dialog-form-item">
							<div class="dialog-form-item-label">
								专业名称：
							</div>
							<div class="dialog-form-item-desc">
								{{= it.specname || '' }}
							</div>
						</div>
						{{? }}
						<div class="dialog-form-item dialog-form-item-line">
							<div class="dialog-form-item-label">
								业务对象描述：
							</div>
							<div class="dialog-form-item-desc">
								{{? it.add}}
								<input class="form-control bodesc" />
								{{?? }}
								{{= it.bodesc || ''}}
								{{? }}
							</div>
						</div>
						<div class="dialog-form-item dialog-form-item-line">
							<div class="dialog-form-item-label">
								备注：
							</div>
							<div class="dialog-form-item-desc">
								{{? it.add}}
								<input class="form-control remark" />
								{{?? }}
								{{= it.remark || '' }}
								{{? }}
							</div>
						</div>
						{{? it.add}}
						<div><input type="button" value="新增" onclick="addDataObject({{= it.repositorydoDtos }})" class="addButton" style="margin-bottom: 10px;"  /></div>
						{{? }}
						<div class="ctable" style="padding: 0">
							<table class="table table-hover">
								<thead>
								<tr>
									<td>
										<div class="clamp">数据对象名称</div>
									</td>
									<td>
										<div class="clamp">数据对象描述</div>
									</td>
									<td>
										<div class="clamp">备注</div>
									</td>
									<td width="60"><div class="clamp">操作</div></td>
								</tr>
								</thead>
								<tbody id="addDataObjectList">
								{{? !it.add}}
								{{~it.repositorydoDtos :value:index }}
								<tr>
									<td>{{= value.doname }}</td>
									<td>{{= value.dodesc }}</td>
									<td>{{= (value.remark || '') }}</td>
									<td>

										<span class="toolListDelete" index-id="{{=index}}" onclick="repositoryDelete(this)">{{=jq.i18n.prop("delete")}}</span>

									</td>
								</tr>
								{{~}}
								{{?? }}

								{{? }}

								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
			<div class="dialog_footer text-right">
				{{? !it.add}}
				<button type="button" class="btn btn-primary btn-sm submit-button" onclick="jq('#modalDialogBusObjDetail').hide()">确定</button>
				{{?? }}
				<button type="button" class="btn btn-primary btn-sm submit-button" onclick="createBusObjSubmit()">创建</button>
				{{? }}
				<button type="button" class="btn btn-default btn-sm margin-l10" onclick="jq('#modalDialogBusObjDetail').hide()">取消</button>
			</div>
		</div>
	</script>
	<script id="addDataObjectListTmpl" type="text/x-dot-template">
		<tr>
			<td><input class="form-control doname" /></td>
			<td><input class="form-control dodesc" /></td>
			<td><input class="form-control remark" /></td>
			<td>
				<span class="toolListDelete" onclick="repositoryDelete(this)">{{=jq.i18n.prop("delete")}}</span>
			</td>
		</tr>

	</script>

	<script id="modalUploadTmpl" type="text/x-dot-template">
		<div class="modalUpload dialog-content">
			<div class="dialog_header">
				<span class="dialog_title">上传</span>
				<button type="button" class="close-dialogBtn">
					<i class="dialog_close" onclick="jq('#modalUpload').hide()"></i>
				</button>
			</div>

			<div class="dialog_body">

			</div>
			<div class="dialog_footer text-right">
				<button type="button" class="btn btn-default btn-sm margin-l10" onclick="jq('#modalUpload').hide()">取消</button>
				<button type="button" class="btn btn-primary btn-sm submit-button" onclick="jq('#modalUpload').hide()">确定</button>
			</div>
		</div>
	</script>

	<script id="propsTmpl" type="text/x-dot-template">
    <div class="table">
    <table class="table attr-table" border="0" cellspacing="0">
      <tbody>
        {{? it.list.length != 0 }}
        {{~it.list :item:index }}
          {{? item.displayed}}
            {{? item.element === 'input' }}
              <tr>
                <td><div class="clamp">{{= item.name}} :</div></td>
                <td>
                  <div class="clamp">
                    <input
                      type="{{= item.inputInfoDTO.type}}"
                      data-type="{{= item.source}}"
                      disabled
                      class="attr-table-inp {{= item.operation}}"
                      value="{{= it.control[item.source]}}"
                      placeholder="{{= item.inputInfoDTO.placeholder}}"
                      clearable="{{= item.inputInfoDTO.clearable}}"
                      state="{{= item.inputInfoDTO.normal}}"
                      placeholder="{{= item.inputInfoDTO.placeholder}}"
                      id="{{= item.operation}}"
                    />
                  </div>
                </td>
              </tr>
            {{? }}
            {{? item.element === 'select'}}
              <tr>
                <td><div class="clamp">{{= item.name}} :</div></td>
                <td>
                  <div class="clamp">
                    <select name=""
                      class="form-control form-control-select"
                      data-type="{{= item.source}}"
                      disabled
                      value="{{= it.control[item.source]}}"
                    >
                      {{~item.optionalValueDTOs :subitem:subindex }}
                        <option
                        disabled
                        {{? it.control[item.source] === subitem.value }}
                        selected
                        {{? }}
                         value="{{= subitem.value}}"
                         >{{= subitem.label}}</option>
                      {{~}}
                    </select>
                  </div>
                </td>
              </tr>
            {{? }}
            {{? item.element === 'textarea'}}
              <tr>
                <td><div class="clamp">{{= item.name}} :</div></td>
                <td>
                  <div class="clamp">
                    <textarea
                    data-type="{{= item.source}}"
                    disabled
                    >{{= it.control[item.source]}}</textarea>
                  </div>
                </td>
              </tr>
            {{? }}
            {{? item.element === 'file'}}
              <tr>
                <td><div class="clamp">{{= item.name}} :</div></td>
                <td><div class="clamp">
                  <input
                    disabled
                  type="file" class="attr-table-inp" data-type="index" value=""></div>
                </td>
              </tr>
            {{? }}
            {{? item.element === 'radio'}}
              <tr>
                <td><div class="clamp">{{= item.name}} :</div></td>
                <td>
                  <div class="clamp">
                    {{~item.optionalValueDTOs :subitem:subindex }}
                      <input
                      disabled
                       type="radio" name="{{= item.id}}" class="attr-table-radio" data-type="" value="">
                      <label for="huey" value="{{= subitem.value}}">{{= subitem.label}}</label>
                    {{~}}
                  </div>
                </td>
              </tr>
            {{? }}
            {{? item.element === 'tab'}}
              <tr>
                <td colspan="2">
                  <div id='subProps_{{= item.id}}'>
                    <ul class="process_head">
                      {{~item.optionalValueDTOs :subitem:subindex }}
                        <li class="" data-class="{{= subitem.value}}" title="{{= subitem.label}}">{{= subitem.label}}</li>
                      {{~}}
                    </ul>
                    <div class='ctable'>
                      <table class="table table-hover">
                        <thead>
                          <tr>
                            {{~item.optionalValueDTOs :subitem:subindex }}
                              <td style='width: auto !important'>{{= subitem.label}}}</td>
                            {{~}}
                          </tr>
                        </thead>
                        <tbody><tr><td colspan="5">暂无数据</td></tr></tbody>
                       </table>
                    </div>
                  </div>

                </td>
              </tr>
            {{? }}
            {{? item.element === 'table'}}
            <tr>
              <td colspan="2">
                  <table class="table table-hover table-reset">
                    <thead>
                      <tr>
                        {{~item.optionalValueDTOs :subitem:subindex }}
                          <td style='width: auto !important'>{{= subitem.label}}</td>
                        {{~}}
                      </tr>
                    </thead>
                    <tbody>
                      {{~it.control[item.source] :sourceItem:sourceIndex}}
                      <tr>
                        {{~item.optionalValueDTOs :subitem:subindex }}
                        {{? subitem.value === 'index' }}
                          <td style='width: auto !important;border-top: 1px solid #ddd !important'>{{= sourceIndex+1 }}</td>
                        {{?? subitem.value === 'action' }}
                          <td style='width: auto !important;border-top: 1px solid #ddd !important'>
                            <span class="toolListDelete" docId="{{=subitem.id}}" index-id="{{=subindex}}" onclick="riskDelete(this)">{{=jq.i18n.prop("delete")}}</span>
                          </td>
                        {{?? }}
                          <td style='width: auto !important;border-top: 1px solid #ddd !important'>{{= (sourceItem[subitem.value] || '-') }}</td>
                        {{? }}
                        {{~}}
                      </tr>
                      {{~}}
                    </tbody>

                   </table>
              </td>
            </tr>
            {{? }}
            {{? item.element === 'custom'}}
            <tr>
              <td><div class="clamp">{{= item.name}} :</div></td>
              <td>
                <div data-info='{{= JSON.stringify(item)}}'  class='clamp' id='{{= item.custom}}'>

                </div>
              </td>
            </tr>
            {{? }}
          {{? }}
        {{~ }}
        {{? }}
      </tbody>
    </table>
  </div>
	</script>
  <script id="keyControlFormTemp" type="text/x-dot-template">
    <form id="keyControlForm" class="addkeycontrol_wrapper">
      <div class="ctable">
        <table class="table table-hover">
          <thead>
            <tr>
              {{? it.attrList.keyControl.length != 0 }}
              {{~it.dataList: item:index}}
              <td><div class="clamp">{{=item.label}}</div></td>
              {{~ }}
              {{? }}
            </tr>
          </thead>
          <tbody>
          {{? it.attrList.keyControl.length != 0 }}
          {{~it.attrList.keyControl :item:index }}
          <tr>
            {{? it.attrList.keyControl.length != 0 }}
            {{~it.dataList: tableItem:tableIndex}}
                {{? tableItem.value === 'index' }}
                  <td><div class="clamp">{{= (index+1)}}</div></td>
                {{?? tableItem.value === 'action' }}
                  <td style='width: auto !important;border-top: 1px solid #ddd !important'>
                  <td><div class="clamp">
                    <span class="toolListDelete" docId="{{=item.id}}" index-id="{{=index}}" onclick="riskDelete(this)">{{=jq.i18n.prop("delete")}}</span>
                  </div></td>
                  </td>
                {{?? }}
                  <td><div class="clamp">{{=item[tableItem.value]|| ''}}</div></td>
                {{? }}
            {{~ }}
            {{? }}
          </tr>
          {{~ }}
          {{? }}
          </tbody>
        </table>
        <div class="line"  style="text-align: center;">
					<!--					风险提交tmp-->
					<button id="submitKeyCtrl" class="btn btn-primary" type="button">{{=jq.i18n.prop("submit")}}</button>
					<!--<button id="restBtn" class="btn btn-default marginLeft25" type="button">{{=jq.i18n.prop("reset")}}</button>-->
				</div>
      </div>
    </form>
  </script>
  <script id="timeBoxTemp" type="text/x-dot-template">
    <div class='timeBox'>

      <input
        type='text'
        data-type='time'
        class='form-control attr-table-inp'
        style='margin-right:10px'
        disabled
        value="{{= it.control['time']}}"
      />
      <select
        value="{{= it.control['timeType']}}"
        class="form-control form-control-select"
        data-type="timeType"
        disabled
      >
        <option
        {{? it.control['timeType'] ==='day' }}selected{{? }}
         value='day'>
         天
        </option>
        <option
        {{? it.control['timeType'] ==='hour' }}selected{{? }}
         value='hour'>
         小时
        </option>
        <option
        {{? it.control['timeType'] ==='minute' }}selected{{? }}
         value='minute'>
         分钟
        </option>
      </select>
    </div>
  </script>

  <script id="file2Temp" type="text/x-dot-template">
    <div>file2Tempfile2Tempfile2Tempfile2Tempfile</div>
  </script>

  <script src="./js/move/RectSelect.js"></script>

</body>
</html>
