Esempio n. 1
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);
        }
    }
Esempio n. 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.SetStatus(this.jzdc, "尽职调查");

            item1.SetStatus(this.fasp, "方案审批");

            item1.SetStatus(this.fazx, "方案执行");

            item1.Close();

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

            depart_SelectedIndexChanged(this.depart, e);
        }
    }
Esempio n. 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; } ");
    }
Esempio n. 4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            U_ItemBU item1 = new U_ItemBU();
            if (Context.Items["wpkind"].ToString() == "0")
            {
                item1.ItemName = "抵押物类别";
                item1.SetLiteralControl(this.wplb, "请选择...");
            }
            else
            {
                item1.ItemName = "质押物类别";
                item1.SetLiteralControl(this.wplb, "请选择...");
            }
            item1.Close();

            if (Context.Items["id"] != null)
            {
                U_ZCBU  zc1 = new U_ZCBU();
                DataSet ds1 = zc1.GetDZYWInfoByID(Context.Items["id"].ToString());
                zc1.Close();

                ViewState["id"] = Context.Items["id"];

                Util.SetControlValue(wplb, ds1.Tables[0].Rows[0]["wplb"]);
                Util.SetControlValue(wpsl, ds1.Tables[0].Rows[0]["wpsl"]);
                Util.SetControlValue(wpdw, ds1.Tables[0].Rows[0]["wpdw"]);
                Util.SetControlValue(wpjz, ds1.Tables[0].Rows[0]["wpjz"]);
            }
            //////////////////////////////////////////////////////////////
            string wpkind = Context.Items["wpkind"].ToString();
            if (wpkind == "0")
            {
                this.dzkind.Text = "抵 押 物 详 细 信 息";
            }
            else
            {
                this.dzkind.Text = "质 押 物 详 细 信 息";
            }
            if (Context.Items["zcid"] != null)
            {
                ViewState["zcid"] = Context.Items["zcid"];
            }
            if (Context.Items["wpkind"] != null)
            {
                ViewState["wpkind"] = Context.Items["wpkind"];
            }
        }
    }
Esempio n. 5
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();
    }
Esempio n. 6
0
    //设置政策包类别
    public static void SetZCB(ListControl drop1, string blankValue)
    {
        U_ItemBU item1 = new U_ItemBU();

        item1.ItemName = "政策包";
        item1.SetLiteralControl(drop1, blankValue);
        item1.Close();
    }
Esempio n. 7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         U_ItemBU item1 = new U_ItemBU();
         item1.SetLiteralControl(gkind, "抵债物资类别", "全部");
         this.BindData(null, null, null, false);
     }
 }
Esempio n. 8
0
 protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e)
 {
     if (e.Item.FindControl("gkind") != null)
     {
         DropDownList list1 = (DropDownList)e.Item.FindControl("gkind");
         U_ItemBU     item1 = new U_ItemBU();
         item1.SetLiteralControl(list1, "抵债物资类别", "请选择...");
         item1.Close();
     }
 }
Esempio n. 9
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            U_ItemBU item1 = new U_ItemBU();
            item1.ItemName = "资产时效";
            item1.SetLiteralControl(timename, null);
            item1.Close();

            Comm.SetTimeDays(tellday);
            this.SetPageData();
        }
    }
Esempio n. 10
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         //this.BindData(null);
         U_ItemBU item1 = new U_ItemBU();
         item1.ItemName = "案卷类别";
         item1.SetLiteralControl(this.DropDownList1, "全部...");
         this.DropDownList1.SelectedValue = "";
         this.time1.Attributes["onfocus"] = "setday(this)";
         this.time2.Attributes["onfocus"] = "setday(this)";
     }
 }
Esempio n. 11
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         U_ItemBU item1 = new U_ItemBU();
         item1.ItemName = "案卷类别";
         item1.SetLiteralControl(this.ajkind, "--请选择--");
         this.ajkind.SelectedValue        = "";
         this.time0.Attributes["onfocus"] = "setday(this)";
         this.time0.Text = DateTime.Now.ToString("yyyy-MM-dd");
         this.ljren.Text = User.Identity.Name;
     }
 }
Esempio n. 12
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            U_ItemBU item1 = new U_ItemBU();
            item1.ItemName = "资产时效";
            item1.SetLiteralControl(timename, "请选择...");
            item1.Close();

            Comm.SetTimeDays(tellday);
            this.time0.Attributes["onfocus"] = "javascript:setday(this);";
        }
    }
Esempio n. 13
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            Page.DataBind();
            U_ItemBU item1 = new U_ItemBU();
            item1.ItemName = "案卷类别";
            item1.SetLiteralControl(this.ajkind, "--请选择--");
            item1.Close();

            this.SetControlData();
            this.BindFiles(null);

            this.time0.Attributes["onfocus"] = "setday(this)";
        }
    }
Esempio n. 14
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();
            ///////////////////////////////////////////////
        }
    }
Esempio n. 15
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            U_ItemBU item1 = new U_ItemBU();

            item1.ItemName = "保证有效性";
            item1.SetLiteralControl(this.bzyx, "请选择...");

            item1.ItemName = "保证人的偿债能力";
            item1.SetLiteralControl(this.bzcznl, "请选择...");

            item1.ItemName = "保证人的偿债意愿";
            item1.SetLiteralControl(this.bzczyy, "请选择...");

            item1.ItemName = "抵押物取得是否存在障碍";
            item1.SetLiteralControl(this.qdza1, "请选择...");

            item1.ItemName = "抵押物处置是否存在障碍";
            item1.SetLiteralControl(this.czza1, "请选择...");

            item1.ItemName = "抵押物变现难易";
            item1.SetLiteralControl(this.bxny1, "请选择...");

            item1.ItemName = "抵押物法律意见";
            item1.SetLiteralControl(this.flyj1, "请选择...");

            item1.ItemName = "质押物取得是否存在障碍";
            item1.SetLiteralControl(this.qdza2, "请选择...");

            item1.ItemName = "质押物处置是否存在障碍";
            item1.SetLiteralControl(this.czza2, "请选择...");

            item1.ItemName = "质押物变现难易";
            item1.SetLiteralControl(this.bxny2, "请选择...");

            item1.ItemName = "质押物法律意见";
            item1.SetLiteralControl(this.flyj2, "请选择...");

            item1.Close();

            this.hssj.Attributes["onfocus"] = "setday(this)";
            ////////////////////////////////////////////////
            this.BindData();
            this.BindDZYW();
        }
    }
Esempio n. 16
0
    //页面控件初始化
    private void SetPageControlIni()
    {
        //设置数据字典的条码
        U_ItemBU item1 = new U_ItemBU();

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

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

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

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

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

        item1.ItemName = "企业经营状况";
        item1.SetLiteralControl(this.jysfzc, "请选择...");

        item1.ItemName = "地区经济与信用状况";
        item1.SetLiteralControl(this.dqjj, "请选择...");

        item1.ItemName = "企业规模";
        item1.SetLiteralControl(this.qygm, "请选择...");

        item1.ItemName = "企业经济性质";
        item1.SetLiteralControl(this.qyjjxz, "请选择...");

        item1.ItemName = "债务人有效资产状况";
        item1.SetLiteralControl(this.yxzzzk, "请选择...");

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

        item1.ItemName = "政策包";
        item1.SetLiteralControl(this.zcbao, "请选择...");
        item1.Close();

        //设置时间控件
        this.time0.Attributes["onfocus"]   = "setday(this)";
        this.clsj.Attributes["onfocus"]    = "setday(this)";
        this.xdri.Attributes["onfocus"]    = "setday(this)";
        this.dkffrq1.Attributes["onfocus"] = "setday(this)";
        this.dkffrq2.Attributes["onfocus"] = "setday(this)";
        this.htdqr.Attributes["onfocus"]   = "setday(this)";
        this.xcyqrq.Attributes["onfocus"]  = "setday(this)";
        this.jrblsj.Attributes["onfocus"]  = "setday(this)";
    }