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.

85 lines
3.1 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>
<title>二维码</title>
<link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
<link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
<link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
<script src="../../../Scripts/easyUI145/jquery.min.js" type="text/javascript"></script>
<script src="../../../Scripts/easyUI145/jquery.easyui.min.js" type="text/javascript"></script>
<script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
<script src="../../../Scripts/config.js" type="text/javascript"></script>
<script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
<script src="../../../Comm/Gener.js" type="text/javascript"></script>
<script src="DDLBar.js" type="text/javascript"></script>
<script src="../../EnumLab.js"></script>
<script src="../../../Admin/Admin.js"></script>
<script type="text/javascript">
$(function () {
// InitBar(0);
InitBar(MethodModel.QRCode);
});
function Save() {
var name = $("#TB_Name").val();
if (name == undefined || name == null || name == "") {
alert("请输入名称.");
return;
}
$("#Msg").html("正在创建,请稍后......");
var en = new Entity("BP.CCBill.Template.Method");
en.FrmID = GetQueryString("FrmID");
en.GroupID = GetQueryString("GroupID"); //分组ID.
en.MethodID = MethodModel.QRCode;
en.Mark = MethodModel.QRCode;
en.Tag1 = MethodModel.QRCode;
en.Icon = "icon-frame";
en.Name = name;
en.MethodModel = MethodModel.QRCode; //设置为链接按钮.
en.RefMethodType = 1;
en.UrlExt = "./OptComponents/QRCode.htm";
en.IsEnable = 1;
//en.SetPKVal(en.FrmID + "_" + en.MethodID);
en.Insert();
var url = "../../../Comm/En.htm?EnName=BP.CCBill.Template.MethodQRCode&No=" + en.No;
SetHref(url);
}
</script>
</head>
<body>
<div id="bar">
</div>
<fieldset>
<legend>二维码 </legend>
<ul>
<li>标签 </li>
<li> <input type="text" value="二维码" id="TB_Name" name="TB_Name" /> </li>
<li>1. 该二维码是一个用于数据扫描查看的二维码。 </li>
<li>2. 用户扫一扫就可以在手机上查看该表单的信息。 </li>
<li>3. 如果您需要填报二维码,请在菜单新建【表单填报二维码】。 </li>
</ul>
<div id="Msg"></div>
</fieldset>
<fieldset>
<legend>运行效果 </legend>
<ul>
<li>可以使用手机扫描看到该表单的信息.</li>
<li><img src="QRCode.png" /></li>
</ul>
</fieldset>
</body>
</html>