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.
77 lines
2.4 KiB
Plaintext
77 lines
2.4 KiB
Plaintext
<!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>
|
|
<meta charset="UTF-8" />
|
|
<title>驰骋流程&表单设计器 </title>
|
|
<script src="/WF/Scripts/QueryString.js" type="text/javascript"></script>
|
|
<script src="/WF/Scripts/easyUI/jquery-1.8.0.min.js" type="text/javascript"></script>
|
|
<script src="/WF/Scripts/config.js" type="text/javascript"></script>
|
|
<script src="/WF/Comm/Gener.js" type="text/javascript"></script>
|
|
<script src="/WF/Comm/JS/validation.js"></script>
|
|
<base target="_self" />
|
|
<script type="text/javascript">
|
|
var name = null;
|
|
|
|
//初始化页面函数.....
|
|
$(function () {
|
|
|
|
//$("#cc").html("<img src='/Admin/Portal/Img/loading_small.gif' /><font color=blue>ccbpm 正在登录请您稍后.</font>");
|
|
var webUser = new WebUser();
|
|
|
|
var html = "您好:" + webUser.Name + ", 请选择您管理的企业登录.";
|
|
$("#list").html(html);
|
|
|
|
//求出他管多少企业.
|
|
var depts = new Entities("BP.Cloud.Orgs");
|
|
depts.Retrieve("Adminer", webUser.No);
|
|
|
|
var html = "<ul>";
|
|
for (var i = 0; i < depts.length; i++) {
|
|
|
|
var dept = depts[i];
|
|
|
|
html += "<li><a href=\"javascript:SelectIt('" + dept.No + "');\" >" + dept.Name + " </a> </li>";
|
|
}
|
|
html += "</ul>";
|
|
$("#list").html(html);
|
|
});
|
|
|
|
function SelectIt(no) {
|
|
|
|
var handler = new HttpHandler("BP.Cloud.HttpHandler.Admin_Portal");
|
|
handler.AddPara("No", no);//向后台传单个值
|
|
var data = handler.DoMethodReturnString("SelectOneInc_SelectIt");
|
|
if (data.indexOf('err@') == 0) {
|
|
alert(data);
|
|
return;
|
|
}
|
|
|
|
var url = data;
|
|
if (url.indexOf("url") == 0) {
|
|
var a = url.substring(4);
|
|
window.location.href = "/" + a;
|
|
|
|
}
|
|
return;
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form id="cc">
|
|
|
|
<center>
|
|
<fieldset style="width:50%;">
|
|
<legend>
|
|
您名下的企业账户
|
|
<div id="title"></div>
|
|
</legend>
|
|
<div id="list"></div>
|
|
</fieldset>
|
|
</center>
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|