76 lines
2.6 KiB
HTML
76 lines
2.6 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
|
<title>Project_Create</title>
|
||
|
|
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
|
||
|
|
<!--coe css -->
|
||
|
|
<link rel="stylesheet" type="text/css" href="../<I18N#COEPATH>/css/<#coePortal>/coe.team.create.css">
|
||
|
|
<link href="../commons/css/awsui.css" rel="stylesheet">
|
||
|
|
<link rel="stylesheet" type="text/css" href="../<I18N#COEPATH>/css/public.css">
|
||
|
|
<script>
|
||
|
|
var plColor="<#plColor>";
|
||
|
|
jQuery(function(){
|
||
|
|
jQuery("#plColor").val(plColor);
|
||
|
|
});
|
||
|
|
|
||
|
|
function savePlColor(){
|
||
|
|
var sid=jQuery('#sid').val();
|
||
|
|
var id=jQuery('#id').val();
|
||
|
|
var plcolor=jQuery('#plColor').val();
|
||
|
|
var params = {
|
||
|
|
sid:sid,
|
||
|
|
cmd:"com.actionsoft.apps.coe.pal_processlevel_sign_save",
|
||
|
|
id : id,
|
||
|
|
plColor : plcolor
|
||
|
|
};
|
||
|
|
doAjax(params,function(msg){
|
||
|
|
if(msg=="1"){
|
||
|
|
parent.$("#coeContent").get(0).contentWindow.document.getElementById("coeContentiframe").contentWindow.reloadGrid();
|
||
|
|
parent.$("#coeContent").get(0).contentWindow.document.getElementById("coeContentiframe").contentWindow.$("#name_"+id).trigger('click');
|
||
|
|
parent.jQuery.close('showOpenProcessListSign');
|
||
|
|
}
|
||
|
|
});
|
||
|
|
}
|
||
|
|
function doAjax(params,callback){
|
||
|
|
jQuery.ajax({
|
||
|
|
type : "POST",
|
||
|
|
url : "./w",
|
||
|
|
data : params,
|
||
|
|
success : function(msg) {
|
||
|
|
callback(msg);
|
||
|
|
}
|
||
|
|
});
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body >
|
||
|
|
<body>
|
||
|
|
<form id='frmMain' name='frmMain' action="./w" method='post'>
|
||
|
|
<div class="team_create_content">
|
||
|
|
<table class="table-bordered table-striped" style="width:100%">
|
||
|
|
<tr>
|
||
|
|
<td align='right' style="padding-right:5px"><I18N#颜色标记>:</td>
|
||
|
|
<td>
|
||
|
|
<select id='plColor' name='plColor' style="margin-top:6px;">
|
||
|
|
<option value='#FFF'><I18N#白色></option>
|
||
|
|
<option value='#FF99CC'><I18N#粉红色></option>
|
||
|
|
<option value='#FBEC88'><I18N#黄色></option>
|
||
|
|
<option value='#5BC0DE'><I18N#浅蓝色></option>
|
||
|
|
<option value='#BEBEC5'><I18N#浅灰色></option>
|
||
|
|
<option value='#999'><I18N#灰色></option>
|
||
|
|
</select>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
<div class="team_create_tbl_bottom" style="margin-top: 10px;">
|
||
|
|
<div class="team_careat_button"> <a href='#' class='button blue' onClick="savePlColor(); return false;"><I18N#保存></a> <a href='#' class="button" onClick="parent.jQuery.close('showOpenProcessListSign');return false;"><I18N#关闭></a> </div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<input type="hidden" name="id" id="id" value="<#id>">
|
||
|
|
<input type="hidden" name="sid" id="sid" value="<#sid>">
|
||
|
|
</form>
|
||
|
|
</body>
|
||
|
|
</body>
|
||
|
|
</html>
|