You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.7 KiB
Plaintext

11 months ago
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>重要性设置</title>
<script src="../Scripts/easyUI145/jquery.min.js" type="text/javascript"></script>
<script src="../Scripts/config.js" type="text/javascript"></script>
<script src="../Comm/Gener.js" type="text/javascript"></script>
<script src="../Scripts/QueryString.js" type="text/javascript"></script>
<link href="../../DataUser/Style/ccbpm.css" rel="stylesheet" />
<script type="text/javascript">
var workid = GetQueryString("WorkID");
var PRIEnable = GetQueryString("PRIEnable");
var fid = GetQueryString("FID");
var isFrameCross = GetQueryString("isFrameCross");
var webUser = new WebUser();
var gwf;
var pri;
$(function () {
gwf = new Entity("BP.WF.GenerWorkFlow", workid);
pri = gwf.PRI;
$("[name='PRI'][value='" + pri + "']").prop("checked", "checked");
if (PRIEnable == 1) {
$("#Btns").hide();
$("input[name=PRI]").each(function () {
$(this).attr("disabled", true);
});
}
});
function Save() {
var PRI = $("input[name='PRI']:checked").val();
gwf.PRI = PRI;
gwf.Update();
// alert("保存成功");
if (isFrameCross == 0)
window.parent.returnWorkWindowClose("");
else
ChildrenPostMessage("", "returnWorkWindowClose");
}
function Cancel() {
if (isFrameCross == 0) {
if (window.parent != null && window.parent.returnWorkWindowClose != null) {
window.parent.returnWorkWindowClose("取消");
}
} else {
ChildrenPostMessage("取消", "returnWorkWindowClose");
}
}
</script>
</head>
<body>
<div style="padding:10px 10px;text-align:center">
<br />
<label> <input type="radio" id="PRI_2" value="2" name="PRI" /><img title="高" src="../Img/PRI/2.png" />高</label>
<br />
<label> <input type="radio" id="PRI_1" value="1" name="PRI" /><img title="中" src="../Img/PRI/1.png" />中</label>
<br />
<label> <input type="radio" id="PRI_0" value="0" name="PRI" /><img title="低" src="../Img/PRI/0.png" />低</label>
</div>
<div id="Btns" style="text-align:right;margin-bottom:10px;margin-right:10px;">
<input type="button" id="SaveBtn" value="保存" onclick="Save()" />
<input type="button" id="CancelBtn" value="取消" onclick="Cancel()" />
</div>
</body>
</html>