예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (Request.QueryString["kind"] != null && Request.QueryString["kind"] == "31")
         {
             U_ZCBU zc1 = new U_ZCBU();
             zc1.SetUserKind(Request.QueryString["id"], "31", "");
             zc1.Close();
             PubComm.ShowInfo("提示:清除用户自定义分类操作成功!", Application["root"] + "/ZcMng1/FixZcUserKind.aspx");
         }
         else if (Request.QueryString["kind"] != null && Request.QueryString["kind"] == "32")
         {
             U_ZCBU zc1 = new U_ZCBU();
             zc1.SetUserKind(Request.QueryString["id"], "32", "");
             zc1.Close();
             PubComm.ShowInfo("提示:清除用户自定义分类操作成功!", Application["root"] + "/ZcMng1/MyFixZcUserKind.aspx");
         }
         else
         {
             U_ItemBU item = new U_ItemBU();
             item.Setuserkind(this.userkind);
             item.Close();
             if (this.userkind.Items.Count > 0)
             {
                 this.userkind.SelectedIndex = 0;
             }
         }
     }
 }
예제 #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            Comm.SetDepart(this.depart, "所有部门");

            /////////////////////////////////////
            ;
            this.depart.SelectedValue = "";
            ///////////////////////////////////////
            U_ItemBU item1 = new U_ItemBU();;

            item1.ItemName = "行政区域";
            item1.SetLiteralControl(this.quyu, "全部...");

            item1.ItemName = "行业分类";
            item1.SetLiteralControl(this.hangye, "全部...");

            item1.ItemName = "资产性质分类";
            item1.SetLiteralControl(this.fenlei, "全部...");

            item1.Setuserkind(this.userkind);
            item1.Close();
            ////////////////////////////////////////////

            depart_SelectedIndexChanged(this.depart, e);
        }
    }
예제 #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            PubComm.SetDepart(this.depart, "所有部门");
            PubComm.SetZCStatus(this.status, "所有状态");


            /////////////////////////////////////

            this.depart.SelectedValue = "";
            this.zcbao.SelectedValue  = "";
            ///////////////////////////////////////
            U_ItemBU item1 = new U_ItemBU();
            item1.ItemName = "政策包";
            item1.SetLiteralControl(this.zcbao, "全部...");
            this.zcbao.SelectedValue = "";

            item1.ItemName = "行政区域";
            item1.SetLiteralControl(this.quyu, "全部...");

            item1.ItemName = "行业分类";
            item1.SetLiteralControl(this.hangye, "全部...");

            item1.ItemName = "资产性质分类";
            item1.SetLiteralControl(this.fenlei, "全部...");


            item1.Close();

            U_ZCBAOBU zcb1 = new U_ZCBAOBU();
            zcb1.SetBstatus(this.Bstatus, "全部...");
            zcb1.Close();
            ////////////////////////////////////////////

            depart_SelectedIndexChanged(this.depart, e);

            U_ItemBU item = new U_ItemBU();
            item.Setuserkind(this.userkind);
            item.Close();


            //调整执行状态的选择 (====2013年新增=====)
            PubComm.SetProfile("方案执行结果", this.spresult, "");
            PubComm.SetProfile("方案执行状态大类", this.status1, "全部...");

            //this.status1.Items.Add(new ListItem("全部...", ""));
            this.status2.Items.Add(new ListItem("全部...", ""));
        }

        this.danwei.Attributes.Add("onkeydown", "javascript:if( event.keyCode == 13 ) { " + this.Button1.ClientID + ".click(); return false; } ");
        this.num1.Attributes.Add("onkeydown", "javascript:if( event.keyCode == 13 ) { " + this.Button1.ClientID + ".click(); return false; } ");
        this.num2.Attributes.Add("onkeydown", "javascript:if( event.keyCode == 13 ) { " + this.Button1.ClientID + ".click(); return false; } ");
    }
예제 #4
0
    /// <summary>
    /// 初始化代码
    /// </summary>
    private void SetMyData()
    {
        Comm.SetDepart(this.depart, "所有部门");
        this.depart.SelectedValue = "";
        this.zcbao.SelectedValue  = "";

        ///////////////////////////////////////
        U_ItemBU item1 = new U_ItemBU();

        item1.ItemName = "政策包";
        item1.SetLiteralControl(this.zcbao, "全部...");
        this.zcbao.SelectedValue = "";

        //调整行政区域
        item1.ItemName = "行政区域";
        item1.SetLiteralControl(this.quyu, "全部...");
        this.quyu.Items.Add(new ListItem("未分类", "null"));

        //调整行业分类
        item1.ItemName = "行业分类";
        item1.SetLiteralControl(this.hangye, "全部...");
        this.hangye.Items.Add(new ListItem("未分类", "null"));

        //调整管辖的处置
        item1.ItemName = "管辖";
        item1.SetLiteralControl(this.guangxia, "全部...");
        this.guangxia.Items.Add(new ListItem("未分类", "null"));

        //调整执行状态的选择
        Comm.SetProfile("方案执行结果", this.spresult, "");
        Comm.SetProfile("方案执行状态大类", this.status1, "全部...");

        //this.status1.Items.Add(new ListItem("全部...", ""));
        this.status2.Items.Add(new ListItem("全部...", ""));


        // Comm.SetProfile("方案执行状态大类", this.status1, "全部...");
        // Comm.SetProfile(this.status1.SelectedValue, this.status2, "全部...");

        item1.Close();

        ////////////////////////////////////////////

        U_ItemBU item = new U_ItemBU();

        item.Setuserkind(this.userkind);
        item.Close();
    }
예제 #5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            PubComm.SetAccess(User.Identity.Name, "资产管理员");

            //////////////////////////////////////////////
            U_ItemBU item1 = new U_ItemBU();

            item1.ItemName = "总行委贷";
            item1.SetLiteralControl(this.zhwd, "请选择...");

            item1.ItemName = "行业分类";
            item1.SetLiteralControl(this.sshy, "请选择...");

            item1.ItemName = "银行定义";
            item1.SetLiteralControl(this.bank, "请选择...");

            item1.ItemName = "行政区域";
            item1.SetLiteralControl(this.quyu, "请选择...");

            item1.ItemName = "资产性质分类";
            item1.SetLiteralControl(this.fenlei, "请选择...");

            item1.ItemName = "管辖";
            item1.SetLiteralControl(this.guangxia, "请选择...");


            item1.Setuserkind(this.userkind);

            item1.Close();

            PubComm.SetZCB(this.zcbao, null);
            this.time0.Text = DateTime.Now.ToShortDateString();
            ///////////////////////////////////////////////
        }
    }