Пример #1
0
    private void DoInitControl()
    {
        this.IDEPT_ID = BizUtility.GetDeptID(gUserInfo.Emp_Ref_ID);
        WebCommon.SetComDeptDropDownList(ddlComDeptLeft, true, gUserInfo.Emp_Ref_ID);
        WebCommon.SetComDeptDropDownList(ddlComDeptLeft2, true, gUserInfo.Emp_Ref_ID);
        WebCommon.SetComDeptDropDownList(ddlComDeptRight, true, gUserInfo.Emp_Ref_ID);
        PageUtility.FindByValueDropDownList(ddlComDeptLeft, this.IDEPT_ID);
        PageUtility.FindByValueDropDownList(ddlComDeptLeft2, this.IDEPT_ID);
        PageUtility.FindByValueDropDownList(ddlComDeptRight, this.IDEPT_ID);

        WebCommon.SetEstTermDropDownList(ddlEstTerm);

        Biz_Com_Code_Info objCom = new Biz_Com_Code_Info();

        objCom.GetKpiType(ddlKpiGroup, "", true, 120);

        WebCommon.SetKpiCategoryTopActiveDropDownList(ddlKpiCategoryTop, true, "Y");
        WebCommon.SetKpiCategoryMidActiveDropDownList(ddlKpiCategoryMid, true, PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop), "Y");
        WebCommon.SetKpiCategoryLowActiveDropDownList(ddlKpiCategoryLow, true, PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop), PageUtility.GetIntByValueDropDownList(ddlKpiCategoryMid), "Y");

        if (!User.IsInRole(ROLE_ADMIN))
        {
            txtChampionNameRight.Text = gUserInfo.Emp_Name;
        }
    }
Пример #2
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;

        WebCommon.SetComDeptDropDownList(ddlEstDept, true);
        PageUtility.FindByValueDropDownList(ddlEstDept, BizUtility.GetDeptID(EMP_REF_ID));

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultInput, "", true, 120);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);

        lblCopyText.Style.Add("vertical-align", "middle");
        ddlEsttermCopy.Style.Add("vertical-align", "middle");

        TermInfos objTerm     = new TermInfos();
        TermInfos objTermOpen = new TermInfos(objTerm.GetOpenEstTermID());

        if (objTermOpen.Estterm_ref_id > 0)
        {
            ddlEsttermCopy.Items.Add(new ListItem(objTermOpen.Estterm_name, objTermOpen.Estterm_ref_id.ToString()));
        }
        else
        {
            lblCopyText.Visible    = false;
            ddlEsttermCopy.Visible = false;
            iBtnKpiCopy.Visible    = false;
        }
    }
Пример #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ugrdMapKpi.DisplayLayout.Bands[0].Columns.FromKey("CHAMPION_EMP_NAME").Header.Caption = this.GetText("LBL_00001", "KPI담당자");

        if (!IsPostBack)
        {
            iBtnPrint.Style.Add("vertical-align", "middle");
            iBtnMoonChart.Attributes.Add("onclick", "ShowYahooScreen('문챠트를 조회하고 있습니다... 다량의 데이터 전송으로 인해 시간이 걸릴 수 있습니다.')");
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

            int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;
            WebCommon.SetEstDeptDropDownList(ddlEstDept, intEstTermId, false, gUserInfo.Emp_Ref_ID);
            WebUtility.FindByValueDropDownList(ddlEstDept, gUserInfo.Dept_Ref_ID);


            WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);

            Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();
            objCode.getResultMethod(ddlResultInput, "", true, 100);
            objCode.GetKpiType(ddlKpiGroupRefID, "", true, 100);

            setKpiData();
        }

        ltrScript.Text = "";
    }
Пример #4
0
    private void DoInitControl()
    {
        WebCommon.SetEstTermDropDownList(ddlDraftTerm);
        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlDraftResultType, "", true, 120);
        objCode.GetKpiType(ddlDraftKpiType, "", true, 120);
    }
Пример #5
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        this.IEstTermRefID = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;
        WebCommon.SetComDeptDropDownList(ddlEstDept, true);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultInput, "", true, 0);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 0);
    }
Пример #6
0
    private void DoInitControl()
    {
        WebCommon.SetEstTermDropDownList(ddlDraftTerm);

        int intEstTermId = (ddlDraftTerm.Items.Count > 0) ? int.Parse(ddlDraftTerm.SelectedValue) : 0;

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlDraftResultType, "", true, 120);
        objCode.GetKpiType(ddlDraftKpiType, "", true, 120);
    }
Пример #7
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);
        WebCommon.SetComDeptDropDownList(ddlEstDept, true);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultMethod, "", true, 0);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 0);
    }
Пример #8
0
    private void InitControlValue()
    {
        iBtnPrint.Style.Add("vertical-align", "middle");
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;

        WebCommon.SetComDeptDropDownList(ddlComDept, true);

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 100);
    }
Пример #9
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);
        WebCommon.SetEstDeptDropDownList(ddlEstDept, intEstTermId, true, gUserInfo.Emp_Ref_ID);
        PageUtility.FindByValueDropDownList(ddlEstDept, BizUtility.GetDeptID(gUserInfo.Emp_Ref_ID));

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultMethod, "", true, 120);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);
    }
Пример #10
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            WebCommon.SetComDeptDropDownList(ddlEstDept, true);
            Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();
            objCode.getResultMethod(ddlResultInput, "", true, 120);
            objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);

            this.ugrdKpiStatusTab.SelectedTab = 0;

            this.setChildKpi();
            ltrAppLegend.Text = Biz_Type.app_legend;;
        }
        else
        {
        }
    }
Пример #11
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);
        //WebCommon.SetComDeptDropDownList(ddlEstDept, true);
        //WebCommon.SetEstDeptDropDownList(ddlEstDept, intEstTermId, true, gUserInfo.Emp_Ref_ID);
        WebCommon.SetComDeptDropDownList(ddlEstDept, true, gUserInfo.Emp_Ref_ID);
        PageUtility.FindByValueDropDownList(ddlEstDept, BizUtility.GetDeptID(gUserInfo.Emp_Ref_ID));

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultMethod, "", true, 120);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);

        this.IESTTERM_REF_ID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);
        this.IYMD            = PageUtility.GetByValueDropDownList(ddlEstTermMonth);
    }
Пример #12
0
    private void DoInitControl()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
        this.IESTTERM_REF_ID = PageUtility.GetIntByValueDropDownList(ddlEstTermInfo);

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, this.IESTTERM_REF_ID);
        this.IYMD = PageUtility.GetByValueDropDownList(ddlEstTermMonth);


        WebCommon.SetComDeptDropDownList(ddlEstDept, true, gUserInfo.Emp_Ref_ID);
        PageUtility.FindByValueDropDownList(ddlEstDept, BizUtility.GetDeptID(gUserInfo.Emp_Ref_ID));

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);

        WebCommon.SetKpiCategoryTopActiveDropDownList(ddlKpiCategoryTop, true, "Y");
        WebCommon.SetKpiCategoryMidActiveDropDownList(ddlKpiCategoryMid, true, PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop), "Y");
        WebCommon.SetKpiCategoryLowActiveDropDownList(ddlKpiCategoryLow, true, PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop), PageUtility.GetIntByValueDropDownList(ddlKpiCategoryMid), "Y");
    }
Пример #13
0
    public void SetFormInit()
    {
        hdfPrjRefID.Value = this.IPrjRefID.ToString();

        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;

        WebCommon.SetComDeptDropDownList(ddlEstDept, false);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultInput, "", true, 120);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);

        iBtnDraft.OnClientClick   = "return OpenDraft('" + Biz_Type.app_draft_first + "');";
        iBtnReDraft.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_redraft + "');";
        iBtnMoDraft.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_modify + "');";
        iBtnReWrite.OnClientClick = "return OpenDraft('" + Biz_Type.app_draft_rewrite + "');";
    }
Пример #14
0
    private void InitControlValue()
    {
        //WebCommon.SetMonthDropDownList(ddlEstTermMonth);
        //StrategyMapInfos stgMapInfo = new StrategyMapInfos();
        //_iymd = stgMapInfo.GetTMCODE();
        //ddlEstTermMonth.Items.FindByValue(_iymd.ToString()).Selected = true;

        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);


        int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;

        WebCommon.SetTermMonthDropDownList(ddlEstTermMonth, intEstTermId);
        WebCommon.SetComDeptDropDownList(ddlEstDept, true);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultMethod, "", true, 120);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);
    }
Пример #15
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        this.IEstTermRefID = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;
        WebCommon.SetComDeptDropDownList(ddlEstDept, true);
        this.SetApplyNormdistGroupDropDownList(ddlNormdistYN, true);


        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultInput, "", true, 120);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);
        objCode.GetKpiNormdistGroup(ddlNormdistGroup, 0, false, 300);

        objCode.GetKpiNormdistGroup(ddlsNormdistGroup, -1, true, 100);


        MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Pool();
        PageUtility.FindByValueDropDownList(ddlNormdistGroup, 0);
    }
Пример #16
0
    private void DoInitControl()
    {
        this.IDEPT_ID = BizUtility.GetDeptID(gUserInfo.Emp_Ref_ID);
        WebCommon.SetEstTermDropDownList(ddlEstTerm);

        WebCommon.SetComDeptDropDownList(ddlComDept, true, gUserInfo.Emp_Ref_ID);
        PageUtility.FindByValueDropDownList(ddlComDept, this.IDEPT_ID);

        Biz_Com_Code_Info objCom = new Biz_Com_Code_Info();

        objCom.GetKpiType(ddlKpiGroup, "", true, 120);

        DataSet dsCode = objCom.GetCodeListPerCategory("BS0014", "Y");

        ddlMboType.DataValueField = "ETC_CODE";
        ddlMboType.DataTextField  = "CODE_NAME";
        ddlMboType.DataSource     = dsCode;
        ddlMboType.DataBind();

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

        WebCommon.SetKpiCategoryTopActiveDropDownList(ddlKpiCategoryTop, true, "Y");
        WebCommon.SetKpiCategoryMidActiveDropDownList(ddlKpiCategoryMid, true, PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop), "Y");
        WebCommon.SetKpiCategoryLowActiveDropDownList(ddlKpiCategoryLow, true, PageUtility.GetIntByValueDropDownList(ddlKpiCategoryTop), PageUtility.GetIntByValueDropDownList(ddlKpiCategoryMid), "Y");

        if (User.IsInRole(ROLE_ADMIN))
        {
            txtKpiCode.ReadOnly = txtKpiName.ReadOnly = txtChampionName.ReadOnly = false;
            ddlComDept.Enabled  = ddlKpiGroup.Enabled = ddlMboType.Enabled = ddlKpiCategoryTop.Enabled = ddlKpiCategoryMid.Enabled = ddlKpiCategoryLow.Enabled = true;
            //iBtnDraft.Visible = ImgBtnPrint.Visible = false;
        }
        else
        {
            txtKpiCode.ReadOnly  = txtKpiName.ReadOnly = txtChampionName.ReadOnly = true;
            ddlComDept.Enabled   = ddlKpiGroup.Enabled = ddlMboType.Enabled = ddlKpiCategoryTop.Enabled = ddlKpiCategoryMid.Enabled = ddlKpiCategoryLow.Enabled = false;
            txtChampionName.Text = gUserInfo.Emp_Name;
            iBtnDraft.Visible    = ImgBtnPrint.Visible = true;
        }
        ImgBtnPrint.OnClientClick = "return OpenDraftPrint('" + Biz_Type.app_draft_select + "')";
    }
Пример #17
0
    private void InitControlValue()
    {
        WebCommon.SetEstTermDropDownList(ddlEstTermInfo);

        int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0;

        MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Group bizBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Kpi_Group();
        DataTable dtGroup = bizBSC.GetIssueGroup(intEstTermId, 0);

        ddlGroup.DataValueField = "GROUP_CODE";
        ddlGroup.DataTextField  = "GROUP_NAME";
        ddlGroup.DataSource     = dtGroup;
        ddlGroup.DataBind();
        ddlGroup.Items.Insert(0, new ListItem("::선택::", "0"));

        ddlEstYN.Items.Insert(0, new ListItem("::선택::", ""));
        ddlEstYN.Items.Insert(1, new ListItem("대상", "Y"));
        ddlEstYN.Items.Insert(2, new ListItem("비대상", "N"));

        //Biz_EtcCodeInfos objCode = new Biz_EtcCodeInfos();
        //objCode.getResultMethod(ddlResultInput, "", true, 80);
        //objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);

        Biz_Com_Code_Info objCode = new Biz_Com_Code_Info();

        objCode.getResultMethod(ddlResultInput, "", true, 80);
        objCode.GetKpiType(ddlKpiGroupRefID, "", true, 120);
        ddlKpiGroupRefID.Width = Unit.Percentage(99);
        objCode.GetKpiExternalType(ddlExternalType, 0, true, 90);

        WebCommon.SetTermMonthDropDownList(ddlMonthInfo, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));
        WebCommon.SetSumTypeDropDownList(ddlSumType, false);
        WebCommon.SetSortTypeDropDownList(ddlOrderType, true);

        this.SetSignalDropDownList(ddlSignal, true);
    }