Hl.WebMain/AdmPage/BaseBizManage/ServiceInfoEdit-ItemPartHadEnsure.aspx.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Hl.Code;
using Hl.WebMain.Common;

namespace Hl.WebMain.AdmPage.BaseBizManage
{
    public partial class ServiceInfoEdit_ItemPartHadEnsure : System.Web.UI.Page
    {
        public Hl.DataModel.BizServiceInfo ServInfo = null;

        #region "全局变量"

        public string XgItemPath = SystemHelper.GetCurrentPagePath() + "ServiceInfoEdit-ItemPartHadEnsure-EditorItem.aspx?op=Editor";//修改-路径
        public string XgPartPath = SystemHelper.GetCurrentPagePath() + "ServiceInfoEdit-ItemPartHadEnsure-EditorPart.aspx?op=Editor";//修改-路径
        public string DeletePath = SystemHelper.GetCurrentPagePath() + "ServiceInfoEdit-ItemPartHadEnsure.aspx?op=Delete";//删除-路径
        public string CancelPath = SystemHelper.GetCurrentPagePath() + "ServiceInfoEdit-ItemPartHadEnsure.aspx?op=Cancel";//取消-路径
        public string AdjustPath = SystemHelper.GetCurrentPagePath() + "ServiceInfoEdit-ItemPartHadEnsure-SelectSort.aspx";//取消-路径

        #endregion

        #region "页面加载"

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Bind_Info();
                Bind_Data();
            }
        }

        #endregion

        #region "数据绑定"

        protected void Bind_Info()
        {
            ServInfo = DataBll.BizServiceInfo.Select(DataConvert.ToInt(Request.QueryString["ServiceId"], 0));
            if (ServInfo == null)
            {
                ServInfo = new DataModel.BizServiceInfo();
                ServInfo.Id = 0;
                ServInfo.ServiceNo = "";
            }
            if (ServInfo.Id <= 0 || (ServInfo.ServiceStatus != (int)Enum.BizServiceStatus.在报价 && ServInfo.ServiceStatus != (int)Enum.BizServiceStatus.在维修))
            {
                HtmlHelper.ButtonDisabled(ToolOperUpdate);
                HtmlHelper.ButtonDisabled(ToolOperDelete);
                HtmlHelper.ButtonDisabled(ToolOperCancel);
                HtmlHelper.ButtonDisabled(ToolOperAdjust);
            }
        }

        protected void Bind_Data()
后面还有 52 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。