提交 08640c98 编写于 作者: NoSubject's avatar NoSubject 提交者: NoSubject

流程隐藏高级属性


(cherry picked from commit bccf89f4307906105da7631bef6b964e496d9368)
上级 465437ac
......@@ -122,7 +122,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -118,7 +118,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -117,7 +117,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -120,7 +120,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -120,11 +120,11 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
</div>
</>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
......
......@@ -87,11 +87,11 @@
<div class="MWFScriptText" name="delayScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
</div>
</>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
......
......@@ -202,7 +202,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -123,7 +123,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -257,7 +257,7 @@
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -30,13 +30,20 @@
<input title="谁先打开待办就由谁处理" class="editTableRadio" name="manualMode" text{($.manualMode=='grab')?'checked':''} type="radio" value="grab"/>抢办
</td>
</tr>
<tr>
<td class="editTableTitle">表单:</td>
<td class="editTableValue">
<div class="MWFFormSelect" name="form"></div></td>
</tr>
</table>
<div data-o2-advanced="yes">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableValue" colspan="2"><b>给未处理待办的人发待阅:</b>
<input class="editTableRadio" name="manualUncompletedTaskToRead" text{($.manualUncompletedTaskToRead)?'checked':''} type="radio" value="true"/>
<input class="editTableRadio" name="manualUncompletedTaskToRead" text{(!$.manualUncompletedTaskToRead)?'checked':''} type="radio" value="false"/></td>
</tr>
<tr>
<td class="editTableTitle">合并待办:</td>
<td class="editTableValue">
......@@ -45,11 +52,6 @@
<div style="color: #999999">( 如果选“是”,同一身份在此节点上的待办会被合并 )</div>
</td>
</tr>
<tr>
<td class="editTableTitle">表单:</td>
<td class="editTableValue">
<div class="MWFFormSelect" name="form"></div></td>
</tr>
<tr>
<td class="editTableTitle">活动组:</td>
<td class="editTableValue"><input type="text" name="group" value="text{$.group}" class="editTableInput"/></td>
......@@ -60,6 +62,9 @@
</tr>
</table>
</div>
</div>
<div title="人员" class="MWFTab">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
......@@ -190,7 +195,8 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="时效" class="MWFTab">
<div title="时效" class="MWFTab" data-o2-advanced="yes">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">流程超时:</td>
......@@ -337,7 +343,7 @@
</table>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......@@ -363,8 +369,8 @@
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterArriveScript || $.afterArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">工作到达后:</td>
......@@ -374,17 +380,17 @@
</tr>
</table>
<div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
</div>
</div>
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
<div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
</div>
</div>
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeExecuteScript || $.beforeExecuteScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">活动执行前</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<div style="margin-left: 20px; padding: 0px 5px;">活动执行前</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">活动执行前:</td>
......@@ -394,9 +400,9 @@
</tr>
</table>
<div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
</div>
</div>
<div style="border-left: 20px solid #eeeeee;">
<div style="border-left: 20px solid #eeeeee;">
<div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Execute操作<br/>生成待办</div>
......@@ -406,8 +412,8 @@
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.manualStayScript || $.manualStayScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">等待人工处理时</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">等待人工处理时:</td>
......@@ -417,17 +423,17 @@
</tr>
</table>
<div class="MWFScriptText" name="manualStayScriptText"></div><hr />
</div>
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
</div>
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="height: 26px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">用户流转待办</div>
</div>
</div>
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.manualBeforeTaskScript || $.manualBeforeTaskScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">待办处理前</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<div style="margin-left: 20px; padding: 0px 5px;">待办处理前</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">待办处理前:</td>
......@@ -437,18 +443,18 @@
</tr>
</table>
<div class="MWFScriptText" name="manualBeforeTaskScriptText"></div><hr />
</div>
</div>
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="height: 26px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">处理待办,转已办</div>
</div>
</div>
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.manualAfterTaskScript || $.manualAfterTaskScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">待办处理后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<div style="margin-left: 20px; padding: 0px 5px;">待办处理后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">待办处理后:</td>
......@@ -458,20 +464,20 @@
</tr>
</table>
<div class="MWFScriptText" name="manualAfterTaskScriptText"></div><hr />
</div>
</div>
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; border-left: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="height: 26px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">判断是否满足条件进入下一个活动</div>
</div>
</div>
</div>
</div>
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterExecuteScript || $.afterExecuteScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">活动执行后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<div style="margin-left: 20px; padding: 0px 5px;">活动执行后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">活动执行后:</td>
......@@ -481,17 +487,17 @@
</tr>
</table>
<div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
</div>
</div>
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
<div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
<div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
</div>
</div>
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeInquireScript || $.beforeInquireScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">路由查询前</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<div style="margin-left: 20px; padding: 0px 5px;">路由查询前</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">路由查询前:</td>
......@@ -501,18 +507,18 @@
</tr>
</table>
<div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
</div>
</div>
<div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
<div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Inquire操作<br/>查询到达下一个活动的路由</div>
</div>
</div>
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterInquireScript || $.afterInquireScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">路由查询后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<div style="margin-left: 20px; padding: 0px 5px;">路由查询后</div>
</div>
<div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
......@@ -523,7 +529,7 @@
</tr>
</table>
<div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
</div>
</div>
</div>
</div>
</div>
......@@ -124,7 +124,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -45,7 +45,7 @@
<div title="消息" class="MWFTab">
<div class="editTableHeadTitle">消息</div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -117,7 +117,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -41,6 +41,7 @@
</td>
</tr>
</table>
<div data-o2-advanced="yes">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">路由类型:</td>
......@@ -87,7 +88,8 @@
</tr>
</table>
</div>
<div title="扩展" class="MWFTab">
</div>
<div title="扩展" class="MWFTab" data-o2-advanced="yes">
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
<tr>
<td class="editTableTitle">决策组:</td>
......
......@@ -49,7 +49,7 @@
<div class="MWFScriptText" name="scriptText"></div><hr/>
<div style="line-height: 24px; padding: 2px 5px;">通过 this.request.getBody() 获取请求数据<br/>返回 true,驱动流程继续流转<br/>返回 false,表示不符合流转条件,等待下一次调用</div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -122,7 +122,7 @@
</table>
<div class="MWFScriptText" name="reviewScriptText"></div>
</div>
<div title="事件" class="MWFTab">
<div title="事件" class="MWFTab" data-o2-advanced="yes">
<div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
<div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
<div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
......
......@@ -1687,16 +1687,46 @@ MWF.xApplication.process.ProcessDesigner.Process.Panel = new Class({
this.objectTabPage = this.propertyListTab.addTab(this.jsonObjectNode, "JSON", false);
this.stringTabPage = this.propertyListTab.addTab(this.jsonStringNode, "Text", false);
var div = new Element("div", {"styles": {
"float": "right",
"margin-right": "10px"
}, "text": MWF.APPPD.LP.showAdvanced}).inject(this.propertyListTab.tabNodeContainer)
var div = new Element("div", {
"styles": {"float": "right", "margin-right": "10px"},
"html": "<span>"+MWF.APPPD.LP.showAdvanced+"</span>"
}).inject(this.propertyListTab.tabNodeContainer);
div.getElement("span").addEvents({
"mousedown": function(e){ e.stopPropagation(); },
"click": function(e){
this.showAdvanced.click();
e.stopPropagation();
}.bind(this)
});
o2.UD.getDataJson("process-show-advanced", function(json){
this.showAdvanced = new Element("input", {
"type": "checkbox",
"checked": (!json) ? false : json.show,
"events": {
"mousedown": function(e){ e.stopPropagation(); }
"mousedown": function(e){ e.stopPropagation(); },
"change": function(){
if (this.showAdvanced.checked){
var advs = this.propertyListNode.querySelectorAll("*[data-o2-advanced=\"yes\"]");
if (advs && advs.length){
for (var i=0; i<advs.length; i++){
advs[i].show();
}
}
}else{
var advs = this.propertyListNode.querySelectorAll("*[data-o2-advanced=\"yes\"]");
if (advs && advs.length){
for (var i=0; i<advs.length; i++){
advs[i].hide();
}
}
}
o2.UD.putData("process-show-advanced", {"show": !!this.showAdvanced.checked})
}.bind(this)
}
}).inject(div, "top");
}.bind(this));
// this.propertyListTab.tabNodeContainerArea
// showAdvanced
......
......@@ -107,7 +107,6 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
"styles": this.process.css.propertyTabNode
}).inject(tmpNode, "before");
debugger;
MWF.require("MWF.widget.Tab", function(){
var tab = new MWF.widget.Tab(tabAreaNode, {"style": "moduleList"});
tab.load();
......@@ -117,7 +116,6 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
tabPages.push(tabPage);
if (node.hasAttribute("data-o2-advanced") && node.dataset["o2Advanced"]=="yes"){
tabPage.tabNode.setAttribute("data-o2-advanced", "yes");
tabPage.tabNode.hide();
}
}.bind(this));
tabPages[0].showTab();
......
......@@ -1127,6 +1127,8 @@ MWF.xApplication.process.ProcessDesigner.Route.Property = new Class({
this.loadConditionInput();
this.loadFormSelect();
this.loadOrgEditor();
this.hideAdvanced();
}else{
this.propertyContent.setStyle("display", "block");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册