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.

68 lines
2.5 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script type="text/javascript" src="../../WF/Scripts/bootstrap/js/jquery.min.js"></script>
<script type="text/javascript" src="../../WF/Scripts/bootstrap/js/bootstrap.min.js"></script>
<script src="../../WF/Style/skin/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="../../WF/Style/skin/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="../../WF/Style/skin/js/appnew.js?v=4.1.0"></script>
<script type="text/javascript" src="../../WF/Style/skin/js/index.js"></script>
<script src="../../WF/Scripts/QueryString.js" type="text/javascript"></script>
<!-- 引用通用的js文件. -->
<script type="text/javascript" src="../../WF/Scripts/config.js"></script>
<script type="text/javascript" src="../../WF/Comm/Gener.js"></script>
<script type="text/javascript" language="javascript">
//页面启动函数.
$(function () {
var handler = new HttpHandler("BP.Cloud.HttpHandler.App_Organization");
var data = handler.DoMethodReturnJSON("InvitedQRCode_Init");
// alert(data);
console.log("test", data);
if (data.indexOf('err@') == 0) {
alert(data);
return;
}
$("#img").attr("src", data);
//$("#img").src = data;
var webUser = new WebUser();
var url = "http://appcenter.ccbpm.cn/App/Organization/Invited.htm?OrgNo=" + webUser.OrgNo + "&From=" + webUser.No;
$("#TB_Url").val(url);
$("#TB_Url").focus();
$("#TB_Url").select();
//$("#TB_Url").val(url);
//$("#url").html("邀请链接: <br> <font color=blue>" + url + "</font>");
return;
});
function Myselect_txt() {
$("#TB_Url").select();
}
//function Myselect_txtarea() {
// if (document.form1.content.focus) {
// document.form1.content.select();
// }
//}
</script>
</head>
<body>
<fieldset>
<legend>请把下面的二维码发到您的部门群里,或者发给您部门的同事,他们点击后就可以注册进来。</legend>
<div id="url"> </div>
<input type="text" value="" id="TB_Url" style="width:90%;" onblur="Myselect_txt()" onclick="Myselect_txt()" />
<img id="img" src="data:image/jpeg;base64," style="width: 300px; height: 300px;" />
</fieldset>
</body>
</html>