Exemple #1
0
    private void InitControlValue()
    {
        WebCommon.SetUseYnDropDownList(ddlUseYn, true);
        MicroBSC.Biz.Common.Biz.Biz_Com_Code_Info objCode = new MicroBSC.Biz.Common.Biz.Biz_Com_Code_Info();
        objCode.GetKpiType(ddlKpiType, "", true, 0);

        MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver bizBscKpiPoolVer = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver();

        DataTable dtBscKpiPoolVer = bizBscKpiPoolVer.GetBscKpiPoolVer_DB();

        ddlKpiVersion.DataValueField = "KPI_POOL_VER_ID";
        ddlKpiVersion.DataTextField  = "KPI_POOL_VER_NAME";
        ddlKpiVersion.DataSource     = dtBscKpiPoolVer;
        ddlKpiVersion.DataBind();

        ddlKpiVersion.Items.Insert(0, new ListItem(":: 전체 ::", "0"));

        MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Templete bizBscKpiPoolTemplete = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Templete();

        DataTable dtBscKpiPoolTemplete = bizBscKpiPoolTemplete.GetBscKpiPoolTemplete_DB();

        ddlKpiTemplete.DataValueField = "KPI_POOL_TEMPLETE_ID";
        ddlKpiTemplete.DataTextField  = "KPI_POOL_TEMPLETE_NAME";
        ddlKpiTemplete.DataSource     = dtBscKpiPoolTemplete;
        ddlKpiTemplete.DataBind();

        ddlKpiTemplete.Items.Insert(0, new ListItem(":: 전체 ::", "0"));
    }
Exemple #2
0
    protected void ugrdKpiStatusTab_TabClick(object sender, Infragistics.WebUI.UltraWebTab.WebTabEvent e)
    {
        if (e.Tab.Key == "1")
        {
            UgrdView_Bind();
            TabExpand("V");
        }
        if (e.Tab.Key == "2")
        {
            ViewInfo_ddlBind();
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
            WebCommon.SetUseYnDropDownList(ddlUseYn, true);
            //WebCommon.SetEstTermDropDownList(ddlEstTermInfo2);
            this.IESTTERM_REF_ID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);
            //DoSetPossibleCopay();

            SetStgGrid();

            SetAllTimeBottom();
            TabExpand("S");
        }
        if (e.Tab.Key == "3")
        {
            WebCommon.SetUseYnDropDownList(ddlUseYn3, true);
            KpiPoolUpSkillBind();
            MicroBSC.Biz.Common.Biz.Biz_Com_Code_Info objCode = new MicroBSC.Biz.Common.Biz.Biz_Com_Code_Info();
            objCode.GetKpiType(ddlKpiType, "", true, 0);
            objCode.GetKpiExternalType(ddlKpi, "", true, 0);

            MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver bizBscKpiPoolVer = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver();

            DataTable dtBscKpiPoolVer = bizBscKpiPoolVer.GetBscKpiPoolVer_DB();

            ddlKpiVersion.DataValueField = "KPI_POOL_VER_ID";
            ddlKpiVersion.DataTextField  = "KPI_POOL_VER_NAME";
            ddlKpiVersion.DataSource     = dtBscKpiPoolVer;
            ddlKpiVersion.DataBind();

            ddlKpiVersion.Items.Insert(0, new ListItem(":: 전체 ::", "0"));

            MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Templete bizBscKpiPoolTemplete = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Templete();

            DataTable dtBscKpiPoolTemplete = bizBscKpiPoolTemplete.GetBscKpiPoolTemplete_DB();

            ddlKpiTemplete.DataValueField = "KPI_POOL_TEMPLETE_ID";
            ddlKpiTemplete.DataTextField  = "KPI_POOL_TEMPLETE_NAME";
            ddlKpiTemplete.DataSource     = dtBscKpiPoolTemplete;
            ddlKpiTemplete.DataBind();

            ddlKpiTemplete.Items.Insert(0, new ListItem(":: 전체 ::", "0"));
            SetKpiPoolGrid();
            TabExpand("K");
        }
    }
Exemple #3
0
    private void KpiPoolUpSkillBind()
    {
        ddlTargetName.Items.Add(new ListItem(":: 선택하세요 ::", "0"));
        DataTable dt = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver().Select_UpSkill_DB();

        if (dt.Rows.Count > 0)
        {
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                ddlTargetName.Items.Add(new ListItem(dt.Rows[i][1].ToString(), dt.Rows[i][0].ToString()));
            }
        }
    }
Exemple #4
0
    private void DoBinding()
    {
        MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver bizBscKpiPoolVer = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver();

        DataTable dtBscKpiPoolVer = bizBscKpiPoolVer.GetBscKpiPoolVer_DB();

        ugrdKPIPoolVer.DataSource = dtBscKpiPoolVer;
        ugrdKPIPoolVer.DataBind();

        txtKpiPoolVerID.Text   = string.Empty;
        txtKpiPoolVerName.Text = string.Empty;
        txtKpiPoolVerNote.Text = string.Empty;

        MODE = "A";
    }
Exemple #5
0
    private void DoDeleting()
    {
        MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver bizBscKpiPoolVer = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver();

        string msg = bizBscKpiPoolVer.RemoveData_DB(txtKpiPoolVerID.Text);

        if (msg.Equals(""))
        {
            DoBinding();
            ltrScript.Text = JSHelper.GetSclipt("alert('정상 처리 되었습니다.');opener.location.href=opener.document.location;");
        }
        else
        {
            ltrScript.Text = JSHelper.GetAlertScript(msg);
        }
    }
Exemple #6
0
    private void DoUpdating()
    {
        MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver bizBscKpiPoolVer = new MicroBSC.Integration.BSC.Biz.Biz_Bsc_Kpi_Pool_Ver();

        string msg = bizBscKpiPoolVer.ModifyData_DB(txtKpiPoolVerID.Text
                                                    , txtKpiPoolVerName.Text
                                                    , txtKpiPoolVerNote.Text
                                                    , DateTime.Now
                                                    , this.gUserInfo.Emp_Ref_ID);

        if (msg.Equals(""))
        {
            DoBinding();
            ltrScript.Text = JSHelper.GetSclipt("alert('정상 처리 되었습니다.');opener.location.href=opener.document.location;");
        }
        else
        {
            ltrScript.Text = JSHelper.GetAlertScript(msg);
        }
    }