コード例 #1
0
        public void Export()
        {
            string msg;

            if (!WebMvc.Common.Tools.CheckLogin(out msg))
            {
                return;
            }
            string str = new RoadFlow.Platform.WorkFlow().Export(this.Request.QueryString["flowid"].ToGuid(), 1);

            if (!str.IsNullOrEmpty())
            {
                this.Response.Redirect("../Files/Show?id=" + str.DesEncrypt() + "&appid=" + this.Request.QueryString["appid"] + "&tabid=" + this.Request.QueryString["tabid"]);
            }
            else
            {
                this.Response.Write("导出失败");
                this.Response.End();
            }
        }