/// <summary> /// baocun /// </summary> void BaoCun() { var info = new EyouSoft.Model.YlStructure.MWzZhaoPinGangWeiInfo(); info.CompanyId = CurrentUserCompanyID; info.IssueTime = DateTime.Now; info.MingCheng = Utils.GetFormValue(txtMingCheng.UniqueID); info.OperatorId = SiteUserInfo.UserId; info.GangWeiId = GangWeiId; info.XiangXiJieShao = Utils.EditInputText(Request.Form[txtJieShao.UniqueID]); int bllRetCode = 0; if (string.IsNullOrEmpty(GangWeiId)) { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().InsertZhaoPinGangWei(info); } else { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().UpdateZhaoPinGangWei(info); } if (bllRetCode == 1) { RCWE(UtilsCommons.AjaxReturnJson("1", "操作成功")); } else { RCWE(UtilsCommons.AjaxReturnJson("0", "操作失败")); } }
/// <summary> /// init gundongtupin /// </summary> void InitGunDongTuPian() { int recordCount = 0; var chaXun = new EyouSoft.Model.YlStructure.MWzGuangGaoChaXunInfo(); //chaXun.WeiZhi = EyouSoft.Model.EnumType.YlStructure.WzGuangGaoWeiZhi.礼品卡首页轮换图片; var items = new EyouSoft.BLL.YlStructure.BWz().GetGuangGaos(YuMingInfo.CompanyId, 5, 1, ref recordCount, chaXun); StringBuilder s1 = new StringBuilder(); StringBuilder s2 = new StringBuilder(); if (items != null && items.Count > 0) { foreach (var item in items) { string url = item.Url; string target = "target=\"_blank\""; if (string.IsNullOrEmpty(url)) { url = "javascript:void(0)"; target = string.Empty; } s1.AppendFormat("<li><a href=\"{0}\" {1}><img src=\"{2}\" /></a></li>", url, target, ErpFilepath + item.Filepath); s2.AppendFormat("<li><a href=\"javascript:void(0)\"></a></li>"); } } ltr1.Text = s1.ToString(); ltr2.Text = s2.ToString(); }
/// <summary> /// init edit info /// </summary> void InitEditInfo() { if (string.IsNullOrEmpty(GuangGaoId)) { return; } var info = new EyouSoft.BLL.YlStructure.BWz().GetGuangGaoInfo(GuangGaoId); if (info == null) { return; } txtMingCheng.Value = info.MingCheng; txtUrl.Value = info.Url; WeiZhi = ((int)info.WeiZhi).ToString(); MFileInfo file = new MFileInfo(); file.FilePath = info.Filepath; var items = new List <MFileInfo>(); items.Add(file); upload1.YuanFiles = items; txtPaiXuId.Value = info.PaiXuId.ToString(); }
/// <summary> /// more /// </summary> void More() { int pageSize = 9; int pageIndex = UtilsCommons.GetPadingIndex("index"); int recordCount = 0; var chaXun = new EyouSoft.Model.YlStructure.MWzZhaoPinGangWeiChaXunInfo(); var items = new EyouSoft.BLL.YlStructure.BWz().GetZhaoPinGangWeis(YuMingInfo.CompanyId, pageSize, pageIndex, ref recordCount, chaXun); int pageCount = (int)Math.Ceiling((double)recordCount / (double)pageSize); if (pageIndex > pageCount) { Utils.RCWE(UtilsCommons.AjaxReturnJson("0", "")); } StringBuilder s = new StringBuilder(); if (items != null && items.Count > 0) { foreach (var item in items) { s.AppendFormat("<dl>"); s.AppendFormat("<dt>{0}</td>", item.MingCheng); s.AppendFormat("<dd>{0}<dd>", item.XiangXiJieShao); s.AppendFormat("</dl>"); } } Utils.RCWE(UtilsCommons.AjaxReturnJson("1", "", s.ToString())); }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.维诗达简介); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.联系我们); var info3 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.网站版权); var info4 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.网站标题); var info5 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.网站关键字); var info6 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.网站描述); var info7 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.企业文化); txtJianJie.Value = info1.V; txtLianXiWoMen.Value = info2.V; txtBanQuan.Value = info3.V; txtTitle.Value = info4.V; txtKeywords.Value = info5.V; txtDescription.Value = info6.V; txtV7.Value = info7.V; var zizhi = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.旅游度假资质); txtzizhi.Value = zizhi.V; var guanggao = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.广告业务); txtguanggao.Value = guanggao.V; }
private void Sava() { EyouSoft.Model.YlStructure.MWzHuiYiShenQingInfo model = new EyouSoft.Model.YlStructure.MWzHuiYiShenQingInfo(); model.ChuLiBeiZhu = ""; model.ChuLiOperatorId = string.Empty; model.ChuLiShiJian = null; model.CompanyId = YuMingInfo.CompanyId; model.GuiMo = Utils.GetFormValue("huiyi_guimo"); model.HangYeLxShouJi = Utils.GetFormValue("hangye_shouji"); model.HangYeMingCheng = Utils.GetFormValue("hangye_mingcheng"); model.HangYeLxShouJi = Utils.GetFormValue("hangye_job"); model.IssueTime = DateTime.Now; model.LeiXing = (YouLunLeiXing)int.Parse(Utils.GetFormValue("youlun_leixing")); model.LxrChengShiId = int.Parse(Utils.GetFormValue("sel_city")); model.LxrDiZhi = Utils.GetFormValue("dizhi"); model.LxrGuoJiaId = 0; model.LxrShengFenId = int.Parse(Utils.GetFormValue("sel_province")); model.LxrShouJi = Utils.GetFormValue("shouji"); model.LxrXianQuId = 0; model.LxrXingMing = Utils.GetFormValue("xingming"); model.LxrYouXiang = Utils.GetFormValue("email"); model.ShenQingId = ""; model.YuJiShiJian = Utils.GetFormValue("huiyi_shijian"); EyouSoft.BLL.YlStructure.BWz bll = new EyouSoft.BLL.YlStructure.BWz(); if (bll.InsertHuiYiShenQing(model) == 1) { RCWE(UtilsCommons.AjaxReturnJson("1", "申请成功!")); } else { RCWE(UtilsCommons.AjaxReturnJson("0", "申请失败!")); } }
/// <summary> /// init edit info /// </summary> void InitEditInfo() { if (string.IsNullOrEmpty(AnLiId)) { return; } var info = new EyouSoft.BLL.YlStructure.BWz().GetHuiYiAnLiInfo(AnLiId); if (info == null) { return; } txtMingCheng.Value = info.MingCheng; txtShiJian1.Value = info.ShiJian1.ToString("yyyy-MM-dd"); txtShiJian2.Value = info.ShiJian2.ToString("yyyy-MM-dd"); LeiXing = ((int)info.LeiXing).ToString(); MFileInfo file = new MFileInfo(); file.FilePath = info.Filepath; var items = new List <MFileInfo>(); items.Add(file); upload1.YuanFiles = items; }
/* * private string UserLogin() * { * string un = Utils.GetFormValue(txtUserName.UniqueID); * string pw = Utils.GetFormValue(txtPassWord.UniqueID); * * if (string.IsNullOrEmpty(un)) * { * return UtilsCommons.AjaxReturnJson("0", "请填写用户名!"); * } * if (string.IsNullOrEmpty(pw)) * { * return UtilsCommons.AjaxReturnJson("0", "请填写密码!"); * } * * MYlHuiYuanInfo userInfo = null; * EyouSoft.Model.ComStructure.MPasswordInfo pwdInfo = new MPasswordInfo(); * pwdInfo.NoEncryptPassword = pw; * * int isUserValid = -8; * if (YuMingInfo != null) * { * isUserValid=EyouSoft.Security.Membership.YlHuiYuanProvider.Login(YuMingInfo.CompanyId, un, pwdInfo, out userInfo); * } * * if (isUserValid == 1) * { * return UtilsCommons.AjaxReturnJson("1", "登录成功,正在跳转,请稍后……"); * } * else if (isUserValid == 0) * { * return UtilsCommons.AjaxReturnJson("0", "用户名或密码错误!"); * } * else if (isUserValid == -1) * { * return UtilsCommons.AjaxReturnJson("-1", "用户名不能为空!"); * } * else if (isUserValid == -2) * { * return UtilsCommons.AjaxReturnJson("-2", "密码不能为空!"); * } * else if (isUserValid == -3) * { * return UtilsCommons.AjaxReturnJson("-3", "您的账户不存在,请联系管理员!"); * } * else if (isUserValid == -4) * { * return UtilsCommons.AjaxReturnJson("-4", "您的账户不可用,请联系管理员!"); * } * else * { * return UtilsCommons.AjaxReturnJson("-8", "登录错误,请联系管理员!"); * } * } */ void InitGuangGao() { int recordCount = 0; var chaXun = new EyouSoft.Model.YlStructure.MWzGuangGaoChaXunInfo(); var b = new EyouSoft.BLL.YlStructure.BWz(); chaXun.WeiZhi = EyouSoft.Model.EnumType.YlStructure.WzGuangGaoWeiZhi.登录页左侧大图; var items = b.GetGuangGaos(YuMingInfo.CompanyId, 1, 1, ref recordCount, chaXun); if (items != null && items.Count > 0) { ltrGuangGao.Text = string.Format("<img src=\"{0}\">", EyouSoft.YlWeb.TuPian.F1(ErpFilepath + items[0].Filepath, 743, 495)); } else { ltrGuangGao.Text = string.Format("<img src=\"\">"); } chaXun.WeiZhi = EyouSoft.Model.EnumType.YlStructure.WzGuangGaoWeiZhi.登录页右下图片; items = b.GetGuangGaos(YuMingInfo.CompanyId, 1, 1, ref recordCount, chaXun); if (items != null && items.Count > 0) { this.Literal1.Text = string.Format("<img src=\"{0}\">", EyouSoft.YlWeb.TuPian.F1(ErpFilepath + items[0].Filepath, 341, 110)); } else { this.Literal1.Text = string.Format("<img src=\"\">"); } }
/// <summary> /// init edit info /// </summary> void InitEditInfo() { if (string.IsNullOrEmpty(ShenQingId)) { return; } var info = new EyouSoft.BLL.YlStructure.BWz().GetHuiYiShenQingInfo(ShenQingId); if (info == null) { return; } ltrGuiMo.Text = info.GuiMo; ltrYuJiShiJian.Text = info.YuJiShiJian; ltrLeiXing.Text = info.LeiXing.ToString();; ltrLxrXingMing.Text = info.LxrXingMing; ltrLxrShouJi.Text = info.LxrShouJi; ltrLxrYouXiang.Text = info.LxrYouXiang; ltrLxrDiZhi.Text = info.LxrDiZhi; ltrHangYeMingCheng.Text = info.HangYeMingCheng; ltrHangYeLianXiFangShi.Text = info.HangYeLxShouJi; ltrShenQingShiJian.Text = info.IssueTime.ToString(); if (info.ChuLiShiJian.HasValue) { ltrChuLiShiJian.Text = info.ChuLiShiJian.Value.ToString(); } txtChuLiBeiZhu.Value = info.ChuLiBeiZhu; }
/// <summary> /// init edit info /// </summary> void InitEditInfo() { if (string.IsNullOrEmpty(LianJieId)) { return; } var info = new EyouSoft.BLL.YlStructure.BWz().GetYouQingLianJieInfo(LianJieId); if (info == null) { return; } txtMingCheng.Value = info.MingCheng; txtUrl.Value = info.Url; MFileInfo file = new MFileInfo(); file.FilePath = info.Filepath; var items = new List <MFileInfo>(); items.Add(file); upload1.YuanFiles = items; }
/// <summary> /// init info /// </summary> void InitInfo() { var key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_如何订票; string s = "如何订票"; switch (Utils.GetQueryStringValue("s")) { case "1": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_如何订票; s = "如何订票"; OnIndex = "1"; break; case "2": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_如何取票; s = "如何取票"; OnIndex = "2"; break; case "3": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_游船旅行准备; s = "游船旅行准备"; OnIndex = "3"; break; case "4": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_旅行注意事项; s = "旅行注意事项"; OnIndex = "4"; break; } var info = new EyouSoft.BLL.YlStructure.BWz().GetKvInfo(YuMingInfo.CompanyId, key); if (info == null) { return; } ltr.Text = info.V; ltr1.Text = s; this.Title = s; }
/// <summary> /// init info /// </summary> void InitInfo() { var key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.会员服务_积分兑换; string s = "积分兑换"; switch (Utils.GetQueryStringValue("s")) { case "1": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.会员服务_积分兑换; s = "积分兑换"; OnIndex = "1"; break; case "2": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.会员服务_积分使用; s = "积分使用"; OnIndex = "2"; break; case "3": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.会员服务_取消订单; s = "取消订单"; OnIndex = "3"; break; case "4": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.会员服务_退款说明; s = "退款说明"; OnIndex = "4"; break; } var info = new EyouSoft.BLL.YlStructure.BWz().GetKvInfo(YuMingInfo.CompanyId, key); if (info == null) { return; } ltr.Text = info.V; ltr1.Text = s; this.Title = s; }
/// <summary> /// more /// </summary> void More() { int pageSize = 9; int pageIndex = UtilsCommons.GetPadingIndex("index"); int recordCount = 0; var chaXun = new EyouSoft.Model.YlStructure.MWzYuanGongFengCaiChaXunInfo(); var items = new EyouSoft.BLL.YlStructure.BWz().GetYuanGongFengCais(YuMingInfo.CompanyId, pageSize, pageIndex, ref recordCount, chaXun); int pageCount = (int)Math.Ceiling((double)recordCount / (double)pageSize); if (pageIndex > pageCount) { Utils.RCWE(UtilsCommons.AjaxReturnJson("0", "")); } StringBuilder s = new StringBuilder(); if (items != null && items.Count > 0) { foreach (var item in items) { s.AppendFormat("<li><a href=\"javascript:void(0)\">"); s.AppendFormat("<img src=\"{0}\">", ErpFilepath + item.Filepath); s.AppendFormat("<p>{0}</p>", item.MingCheng); s.AppendFormat("</a></li>"); } } Utils.RCWE(UtilsCommons.AjaxReturnJson("1", "", s.ToString())); }
/// <summary> /// init info /// </summary> void InitInfo() { var key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_在线支付; string s = "在线支付"; switch (Utils.GetQueryStringValue("s")) { case "1": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_在线支付; s = "在线支付"; OnIndex = "1"; break; case "2": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_门店支付; s = "门店支付"; OnIndex = "2"; break; case "3": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_邮局汇款; s = "淘宝支付"; OnIndex = "3"; break; case "4": key = EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_公司转账; s = "银行转账"; OnIndex = "4"; break; } var info = new EyouSoft.BLL.YlStructure.BWz().GetKvInfo(YuMingInfo.CompanyId, key); if (info == null) { return; } ltr.Text = info.V; ltr1.Text = s; this.Title = s; }
/// <summary> /// baocun /// </summary> void BaoCun() { var info = new EyouSoft.Model.YlStructure.MWzZiXunInfo(); info.CompanyId = CurrentUserCompanyID; info.IssueTime = DateTime.Now; info.BiaoTi = Utils.GetFormValue(txtBiaoTi.UniqueID); info.OperatorId = SiteUserInfo.UserId; info.ZiXunId = ZiXunId; info.NeiRong = Utils.GetYlEditorText(Request.Form[txtNeiRong.UniqueID]); info.LeiXing = Utils.GetEnumValue <EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing>(Utils.GetFormValue("txtLeiXing"), EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.None); int bllRetCode = 0; if (string.IsNullOrEmpty(ZiXunId)) { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().InsertZiXun(info); } else { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().UpdateZiXun(info); } if (bllRetCode == 1) { RCWE(UtilsCommons.AjaxReturnJson("1", "操作成功")); } else { RCWE(UtilsCommons.AjaxReturnJson("0", "操作失败")); } }
/// <summary> /// baocun /// </summary> void BaoCun() { if (Request.HttpMethod.ToLower() != "post") { RCWE(UtilsCommons.AjaxReturnJson("0", "异常请求")); } var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = new EyouSoft.Model.YlStructure.MWzKvInfo(); var info2 = new EyouSoft.Model.YlStructure.MWzKvInfo(); info1.CompanyId = CurrentUserCompanyID; info1.IssueTime = DateTime.Now; info1.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮合同条款; info1.OperatorId = SiteUserInfo.UserId; info1.V = Utils.GetYlEditorText(Request.Form[txtV1.UniqueID]); info2.CompanyId = CurrentUserCompanyID; info2.IssueTime = DateTime.Now; info2.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮合同条款; info2.OperatorId = SiteUserInfo.UserId; info2.V = Utils.GetYlEditorText(Request.Form[txtV2.UniqueID]); bll.SheZhiKvInfo(info1); bll.SheZhiKvInfo(info2); RCWE(UtilsCommons.AjaxReturnJson("1", "操作成功")); }
/// <summary> /// baocun /// </summary> void BaoCun() { var info = new EyouSoft.Model.YlStructure.MWzYouQingLianJieInfo(); info.CompanyId = CurrentUserCompanyID; info.Filepath = null; info.IssueTime = DateTime.Now; info.MingCheng = Utils.GetFormValue(txtMingCheng.UniqueID); info.OperatorId = SiteUserInfo.UserId; info.LianJieId = LianJieId; info.Url = Utils.GetFormValue(txtUrl.UniqueID); var items = upload1.Files; var items1 = upload1.YuanFiles; if (items != null && items.Count > 0) { info.Filepath = items[0].FilePath; } else if (items1 != null && items1.Count > 0) { info.Filepath = items1[0].FilePath; } if (this.YouQingLianJieLeiXing.HasValue) { info.LeiXing = YouQingLianJieLeiXing.Value; } else { info.LeiXing = EyouSoft.Model.EnumType.YlStructure.WzYouQingLianJieLeiXing.图文; if (string.IsNullOrEmpty(info.Filepath)) { info.LeiXing = EyouSoft.Model.EnumType.YlStructure.WzYouQingLianJieLeiXing.文本; } } int bllRetCode = 0; if (string.IsNullOrEmpty(LianJieId)) { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().InsertYouQingLianJie(info); } else { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().UpdateYouQingLianJie(info); } if (bllRetCode == 1) { RCWE(UtilsCommons.AjaxReturnJson("1", "操作成功")); } else { RCWE(UtilsCommons.AjaxReturnJson("0", "操作失败")); } }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮合同条款); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮合同条款); txtV1.Value = info1.V; txtV2.Value = info2.V; }
protected void Page_Load(object sender, EventArgs e) { var YuMingInfo = EyouSoft.Security.Membership.YlHuiYuanProvider.GetYuMingInfo(); int recordCount = 0; var chaXun = new EyouSoft.Model.YlStructure.MWzGuangGaoChaXunInfo(); chaXun.WeiZhi = WeiZhi; var items = new EyouSoft.BLL.YlStructure.BWz().GetGuangGaos(YuMingInfo.CompanyId, 8, 1, ref recordCount, chaXun); StringBuilder s1 = new StringBuilder(); StringBuilder s2 = new StringBuilder(); if (items != null && items.Count > 0) { int j = 0; foreach (var item in items) { string url = item.Url; string target = "target=\"_blank\""; string style = ""; if (j++ == 0) { style = " style=\"display:block;\" "; } if (string.IsNullOrEmpty(url)) { url = "javascript:void(0)"; target = string.Empty; } s1.AppendFormat("<li class=\"bg_img\" data-src='{0}' {1}>", item.Url, style); s1.AppendFormat("<div class=\"banner_con\" style=\"background-image: url({0});\" time=\"5000\">", Utils.GetErpFilepath() + item.Filepath); //if (!string.IsNullOrEmpty(item.Url)) //{ // s1.AppendFormat("<a href='{0}' target='_blank' style='display:block;width:100%;height:100%;position:relative;z-index:100'></a>", item.Url); //} s1.Append("</div>"); s1.Append("</li>"); } for (int i = 0; i < items.Count; i++) { string _class = "play_but_disc"; if (i == 0) { _class = "play_but_disc current"; } s2.AppendFormat("<span class=\"{1}\" rel=\"{0}\"></span>", i + 1, _class); } } ltr1.Text = s1.ToString(); ltr2.Text = s2.ToString(); }
/// <summary> /// init info /// </summary> void InitInfo() { var info = new EyouSoft.BLL.YlStructure.BWz().GetKvInfo(YuMingInfo.CompanyId, (EyouSoft.Model.EnumType.YlStructure.WzKvKey)EyouSoft.Common.Utils.GetInt(EyouSoft.Common.Utils.GetQueryStringValue("k"))); if (info == null) { return; } ltr.Text = info.V; }
private void GetContent(EyouSoft.Model.EnumType.YlStructure.WzKvKey dotype) { EyouSoft.BLL.YlStructure.BWz bll = new EyouSoft.BLL.YlStructure.BWz(); var KyInfo = bll.GetKvInfo(YuMingInfo.CompanyId, dotype); if (KyInfo != null) { switch (dotype) { case EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮大型会议包租流程: this.lbliucheng.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮大型会议航线介绍: this.lbjieshao.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮大型会议包租价格: this.lbjiage.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮大型会议会展服务: this.lbfuwu.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮大型会议关切问题: this.lbwenti.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮大型会议包租流程: this.lbliucheng.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮大型会议航线介绍: this.lbjieshao.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮大型会议包租价格: this.lbjiage.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮大型会议会展服务: this.lbfuwu.Text = KyInfo.V; break; case EyouSoft.Model.EnumType.YlStructure.WzKvKey.海洋邮轮大型会议关切问题: this.lbwenti.Text = KyInfo.V; break; default: break; } } }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮小型会议接待); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮小型会议场地选择); var info3 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮小型会议服务项目及流程); txtV1.Value = info1.V; txtV2.Value = info2.V; txtV3.Value = info3.V; }
/// <summary> /// init info /// </summary> void InitInfo() { var info = new EyouSoft.BLL.YlStructure.BWz().GetKvInfo(YuMingInfo.CompanyId, EyouSoft.Model.EnumType.YlStructure.WzKvKey.联系我们); if (info == null) { return; } ltr.Text = info.V; }
/// <summary> /// baocun /// </summary> void BaoCun() { var info = new EyouSoft.Model.YlStructure.MWzHuiYiAnLiInfo(); info.AnLiId = AnLiId; info.ChuanZhiId = string.Empty; info.CompanyId = CurrentUserCompanyID; info.DanWei = string.Empty; info.Filepath = null; info.GongSiId = string.Empty; info.IssueTime = DateTime.Now; info.JiaGe = string.Empty; info.LeiXing = Utils.GetEnumValue <EyouSoft.Model.EnumType.YlStructure.YouLunLeiXing>(Utils.GetFormValue("txtLeiXing"), EyouSoft.Model.EnumType.YlStructure.YouLunLeiXing.长江游轮); info.MingCheng = Utils.GetFormValue(txtMingCheng.UniqueID); info.NeiRong = string.Empty; info.OperatorId = SiteUserInfo.UserId; info.RenShu = string.Empty; info.ShiJian = string.Empty; info.ShiJian1 = Utils.GetDateTime(Utils.GetFormValue(txtShiJian1.UniqueID), DateTime.Now); info.ShiJian2 = Utils.GetDateTime(Utils.GetFormValue(txtShiJian2.UniqueID), DateTime.Now); info.XiLieId = string.Empty; var items = upload1.Files; var items1 = upload1.YuanFiles; if (items != null && items.Count > 0) { info.Filepath = items[0].FilePath; } else if (items1 != null && items1.Count > 0) { info.Filepath = items1[0].FilePath; } int bllRetCode = 0; if (string.IsNullOrEmpty(AnLiId)) { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().InsertHuiYiAnLi(info); } else { bllRetCode = new EyouSoft.BLL.YlStructure.BWz().UpdateHuiYiAnLi(info); } if (bllRetCode == 1) { RCWE(UtilsCommons.AjaxReturnJson("1", "操作成功")); } else { RCWE(UtilsCommons.AjaxReturnJson("0", "操作失败")); } }
/// <summary> /// baocun /// </summary> void BaoCun() { if (Request.HttpMethod.ToLower() != "post") { RCWE(UtilsCommons.AjaxReturnJson("0", "异常请求")); } var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = new EyouSoft.Model.YlStructure.MWzKvInfo(); var info2 = new EyouSoft.Model.YlStructure.MWzKvInfo(); var info3 = new EyouSoft.Model.YlStructure.MWzKvInfo(); var info4 = new EyouSoft.Model.YlStructure.MWzKvInfo(); var info5 = new EyouSoft.Model.YlStructure.MWzKvInfo(); info1.CompanyId = CurrentUserCompanyID; info1.IssueTime = DateTime.Now; info1.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.礼品卡_关于礼品卡; info1.OperatorId = SiteUserInfo.UserId; info1.V = Utils.GetYlEditorText(Request.Form[txtV1.UniqueID]); info2.CompanyId = CurrentUserCompanyID; info2.IssueTime = DateTime.Now; info2.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.礼品卡_购买流程; info2.OperatorId = SiteUserInfo.UserId; info2.V = Utils.GetYlEditorText(Request.Form[txtV2.UniqueID]); info3.CompanyId = CurrentUserCompanyID; info3.IssueTime = DateTime.Now; info3.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.礼品卡_规则说明; info3.OperatorId = SiteUserInfo.UserId; info3.V = Utils.GetYlEditorText(Request.Form[txtV3.UniqueID]); info4.CompanyId = CurrentUserCompanyID; info4.IssueTime = DateTime.Now; info4.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.礼品卡_使用帮助; info4.OperatorId = SiteUserInfo.UserId; info4.V = Utils.GetYlEditorText(Request.Form[txtV4.UniqueID]); info5.CompanyId = CurrentUserCompanyID; info5.IssueTime = DateTime.Now; info5.K = EyouSoft.Model.EnumType.YlStructure.WzKvKey.礼品卡_常见问题; info5.OperatorId = SiteUserInfo.UserId; info5.V = Utils.GetYlEditorText(Request.Form[txtV5.UniqueID]); bll.SheZhiKvInfo(info1); bll.SheZhiKvInfo(info2); bll.SheZhiKvInfo(info3); bll.SheZhiKvInfo(info4); bll.SheZhiKvInfo(info5); RCWE(UtilsCommons.AjaxReturnJson("1", "操作成功")); }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_在线支付); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_门店支付); var info3 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_邮局汇款); var info4 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.支付方式_公司转账); txtV1.Value = info1.V; txtV2.Value = info2.V; txtV3.Value = info3.V; txtV4.Value = info4.V; }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮商务服务服务流程); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮商务服务会议设施); var info3 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮商务服务其它服务); var info4 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.长江游轮商务服务陆地服务); txtV1.Value = info1.V; txtV2.Value = info2.V; txtV3.Value = info3.V; txtV4.Value = info4.V; }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_如何订票); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_如何取票); var info3 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_游船旅行准备); var info4 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.新手指南_旅行注意事项); txtV1.Value = info1.V; txtV2.Value = info2.V; txtV3.Value = info3.V; txtV4.Value = info4.V; }
/// <summary> /// init info /// </summary> void InitInfo() { var bll = new EyouSoft.BLL.YlStructure.BWz(); var info1 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.售后服务_售后政策); var info2 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.售后服务_价格保护); var info3 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.售后服务_退款说明); var info4 = bll.GetKvInfo(CurrentUserCompanyID, EyouSoft.Model.EnumType.YlStructure.WzKvKey.售后服务_取消订单); txtV1.Value = info1.V; txtV2.Value = info2.V; txtV3.Value = info3.V; txtV4.Value = info4.V; }
protected void Page_Load(object sender, EventArgs e) { int pageSize = 20; int pageIndex = UtilsCommons.GetPadingIndex(); int recordCount = 0; var chaXun = new EyouSoft.Model.YlStructure.MWzZiXunChaXunInfo(); chaXun.LeiXing = Utils.GetEnumValue <EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing>(Utils.GetQueryStringValue("t"), EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮问题解答); if (chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮问题解答 || chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮攻略) { BangZhu1.LeiXing1 = EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮问题解答; BangZhu1.LeiXing2 = EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮攻略; } if (chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.海洋邮轮问题解答 || chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.海洋邮轮攻略) { BangZhu1.LeiXing1 = EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.海洋邮轮问题解答; BangZhu1.LeiXing2 = EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.海洋邮轮攻略; } string title = chaXun.LeiXing.Value.ToString(); if (chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮问题解答 || chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.海洋邮轮问题解答) { title = "问题解答"; } if (chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.长江游轮攻略) { title = "游轮攻略"; } if (chaXun.LeiXing == EyouSoft.Model.EnumType.YlStructure.WzZiXunLeiXing.海洋邮轮攻略) { title = "邮轮攻略"; } Title = title; ltr0.Text = title; var items = new EyouSoft.BLL.YlStructure.BWz().GetZiXuns(YuMingInfo.CompanyId, pageSize, pageIndex, ref recordCount, chaXun); if (items != null && items.Count > 0) { rpt.DataSource = items; rpt.DataBind(); RegisterScript(string.Format("pConfig.pageSize={0};pConfig.pageIndex={1};pConfig.recordCount={2};", pageSize, pageIndex, recordCount)); } }