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.

90 lines
3.6 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
<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" />
<script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
<script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
<script type="text/javascript" src="../../../Scripts/config.js"></script>
<script type="text/javascript" src="../../../Comm/Gener.js"></script>
<script src="DDLBar.js" type="text/javascript"></script>
<script src="../../CCFlowEnum.js" type="text/javascript"></script>
<script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
<script src="../../../Scripts/vue.js" type="text/javascript"></script>
<!-- 自己的系统风格统一. -->
<link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
<link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
</head>
<body>
<div id="App">
<div id="bar"> </div>
<form>
<fieldset>
<legend>二维码,分享二维码或者链接到QQ或者微信邮件让其他人填写。</legend>
<div id="docs"> </div>
<div id="url"> </div>
</fieldset>
<fieldset>
<legend id="help">说明</legend>
<ul>
<li>只有外部用户可以发起流程。</li>
<li>操作员可以分享链接,分享二维码的方式,让外部用户填写资料。</li>
<li>比如:让供应商填写报价单、让学生填报资料。</li>
<li>如果外部用户没有注册,就需要手机号注册才能发起。</li>
</ul>
</fieldset>
</form>
</div>
<script type="text/javascript">
var Baseinfo = new Vue({
el: '#App',
data: {
deliverWay: DeliveryWay.ByGuest,
nodeId: GetQueryString("FK_Node"),
},
methods: {
},
created() {
InitBar(this.deliverWay);
Init();
}
});
function Init() {
//获得数数量,并把数量绑定.
var handler = new HttpHandler("BP.WF.HttpHandler.WF_WorkOpt_QRCode");
handler.AddUrlData();
var data = handler.DoMethodReturnString("GenerCode_Init");
var flowNo = GetQueryString("FK_Flow");
$("#docs").html("<img style='text-align:center;align-content:center' src='../../../../DataUser/Temp/" + flowNo + ".png'><br>");
$("#url").html(data); // + "<a href=\"javascript:Copy('" + data + "')\" >复制链接</a>");
}
function Save() {
var node = new Entity("BP.WF.Template.NodeExt", Baseinfo.nodeId);
node.DeliveryWay = DeliveryWay.ByGuest;
node.Update();
// var node = new Entity("BP.WF.Template.Selector", Baseinfo.nodeId);
//node.CopyForm(); //按照规则把数据放入到entity.
//node.Update();
}
</script>
</body>
</html>