📄 addgroup.jsp
字号:
</c:choose>
</td>
<td>
<div id="div2" style="display:none">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<select name="backnodeid" id="backnodeid">
<option value="">{*[Please Select]*}</option>
</select>
</c:when>
<c:otherwise>
<select name="backnodeid" id="backnodeid" disabled="true">
<option value="">{*[Please Select]*}</option>
</select>
</c:otherwise>
</c:choose>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label">{*[Time limited]*}:</td>
<td align="left" colspan="7">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<input type="text" name="limittimecount" size="20">{*[Hour]*}
</c:when>
<c:otherwise>
<input type="text" name="limittimecount" size="20" disabled="true">{*[Hour]*}
</c:otherwise>
</c:choose>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label" height="25">{*[Remind policy]*}:</td>
<td width="10%" align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<select name="remaindertype" onChange="ev_change('3')">
<option value="0">{*[Don't remind]*}</option>
<option value="1">{*[Reach after]*}</option>
<option value="2">{*[in advance]*}</option>
</select>
</c:when>
<c:otherwise>
<select name="remaindertype" onChange="ev_change('3')" disabled="true">
<option value="0">{*[Don't remind]*}</option>
<option value="1">{*[Reach after]*}</option>
<option value="2">{*[in advance]*}</option>
</select>
</c:otherwise>
</c:choose>
</td>
<td width="70%" colspan="6">
<div id="div3" align="left" style="display:none"><input type="text" name="beforetime" size="10">{*[Hour remind]*}</div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" class="content-label">{*[Reach after]*}:</td>
<td align="left" colspan="7">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea cols="78" rows="5" name="note"></textarea>
</c:when>
<c:otherwise>
<textarea cols="78" rows="5" name="note" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" valign="top" id="b2" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script bef flow in]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="beforescrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="beforescrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b3" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script aft flow out]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="afterscrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="afterscrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b4" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for start up]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="beginscrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="beginscrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b5" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for approved]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="nextscrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="nextscrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b6" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for resume]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="retrievescrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="retrievescrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b7" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for return]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="backscrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="backscrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b8" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for suspend]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="suspendscrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="suspendscrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b9" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for terminate]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="terminatescrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="terminatescrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b10" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for cancle]*}:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="abortscrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="abortscrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="#999999" id="b11" style="display:none">
<tr bgcolor="#FFFFFF" align="center"><td>{*[Script for complete]*}js:</td></tr>
<tr bgcolor="#FFFFFF">
<td align="left">
<c:choose>
<c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
<textarea style="width:100%" name="completescrpt" rows="20"></textarea>
</c:when>
<c:otherwise>
<textarea style="width:100%" name="completescrpt" rows="20" disabled="true"></textarea>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
<script language="JavaScript">
var obj = window.dialogArguments;
try{
if(obj != null){
formview1.style.display = "";
formview2.style.display = "";
formview3.style.display = "";
tmp.siteid.value = obj.siteid;
tmp.channelid.value = obj.channelid;
}
var oldAttr = obj.oldAttr;
if (oldAttr != null && oldAttr.name!=null) {
tmp.name.value = oldAttr.name;
tmp.namelist.value = oldAttr.namelist;
tmp.note.value = oldAttr.note;
tmp.isstart.value = oldAttr.isstart;
ev_change('1');
tmp.isstartandnext.value = oldAttr.isstartandnext;
tmp.issetcurruser.value = oldAttr.issetcurruser;
tmp.isend.value = oldAttr.isend;
tmp.canterminate.value = oldAttr.canterminate;
tmp.cansuspend.value = oldAttr.cansuspend;
tmp.canreject.value = oldAttr.canreject;
tmp.canflowself.value = oldAttr.canflowself;
tmp.beforescrpt.value = oldAttr.beforescrpt;
tmp.afterscrpt.value = oldAttr.afterscrpt;
tmp.beginscrpt.value = oldAttr.beginscrpt;
tmp.nextscrpt.value = oldAttr.nextscrpt;
tmp.retrievescrpt.value = oldAttr.retrievescrpt;
tmp.backscrpt.value = oldAttr.backscrpt;
tmp.suspendscrpt.value = oldAttr.suspendscrpt;
tmp.terminatescrpt.value = oldAttr.terminatescrpt;
tmp.abortscrpt.value = oldAttr.abortscrpt;
tmp.completescrpt.value = oldAttr.completescrpt;
// tmp.backnodeid.value = oldAttr.backnodeid;
tmp.limittimecount.value = oldAttr.limittimecount;
var exceedaction = eval("tmp.exceedaction");
for(var i=0; i< exceedaction.length; i++){
if(exceedaction[i].value == oldAttr.exceedaction){
exceedaction[i].checked = true;
break;
}
}
ev_change('2');
tmp.issplit.value = oldAttr.issplit;//{*[Is Distribute Node]*}
tmp.isgather.value = oldAttr.isgather;//{*[Is centralized]*}节点
// tmp.isremainder.checked = oldAttr.isremainder;//{*[Yes]*}{*[No]*}提醒
tmp.remaindertype.value = oldAttr.remaindertype;
ev_change('3');
tmp.beforetime.value = oldAttr.beforetime;//提前多少{*[Hour]*}提醒
var passcondition = eval("tmp.passcondition");//审核通过{*[Condition]*}({*[Or]*}、{*[and]*}、强制{*[and]*}、{*[User-defined]*})
for(var i=0; i< passcondition.length; i++){
if(passcondition[i].value == oldAttr.passcondition){
passcondition[i].checked = true;
break;
}
}
var all = obj.allnode;
var s = all.split(";");
var x;
var OutPutText = '<SELECT id=backnodeid name=backnodeid><OPTION value="" selected>请{*[Select]*}</OPTION>';
for (var i=0; i<s.length -1; i++){
x = s[i].split("|");
OutPutText = OutPutText + '<Option Value="' + x[0] + '">' + x[1] + '</Option>';
}
OutPutText = OutPutText + '</SELECT>';
div2.innerHTML = OutPutText;
tmp.fieldpermlist.value = oldAttr.fieldpermlist;
tmp.formname.value = oldAttr.formname;
tmp.fieldname.value = oldAttr.fieldname;
tmp.isfieldtoaudit.value = oldAttr.isfieldtoaudit;
tmp.backnodeid.value = oldAttr.backnodeid;
}else{
tmp.isstart.value = false;
tmp.isstartandnext.value = false;
tmp.isend.value = false;
tmp.issplit.value = false;
tmp.isgather.value = false;
tmp.issetcurruser.value = false;
}
}catch(ex){}
try{
if(obj!= null && obj.formname != null){
tmp.fieldpermlist.value = obj.fieldPermList;
tmp.formname.value = obj.formname;
// tmp.fieldname.value = obj.fieldname;
}
}catch(ex){}
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -