Exemplo n.º 1
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 = "";
    }
Exemplo n.º 2
0
    private void SetFormData()
    {
        if (this.IType != "A")
        {
            Biz_MenuInfo objMenuInfo = new Biz_MenuInfo(_imenu_ref_id);

            txtMenuRefID.Text  = objMenuInfo.Menu_ref_id.ToString();
            txtUpMenuID.Text   = objMenuInfo.Up_menu_id.ToString();
            hdfUpMenuID.Value  = objMenuInfo.Up_menu_id.ToString();
            txtUpMenuName.Text = objMenuInfo.Up_Menu_name;

            txtMenuName.Text     = objMenuInfo.Menu_name;
            txtMenuDir.Text      = objMenuInfo.Menu_dir;
            txtMenuPageName.Text = objMenuInfo.Menu_page_name;
            txtMenuParam.Text    = objMenuInfo.Menu_param;
            txtMenuFullPath.Text = objMenuInfo.Menu_full_path;
            txtMenuDesc.Text     = objMenuInfo.Menu_desc;
            txtMenuPriority.Text = objMenuInfo.Menu_priority.ToString();
            WebUtility.FindByValueDropDownList(ddlMenuAuthType, objMenuInfo.Menu_auth_type);
            WebUtility.FindByValueDropDownList(ddlMenuType, objMenuInfo.Menu_type);
            txtMenuNameImagePath.Text  = objMenuInfo.Menu_name_image_path;
            txtMenuNameImagePathU.Text = objMenuInfo.Menu_name_image_path_u;
            txtMenuPrevIconPath.Text   = objMenuInfo.Menu_prev_icon_path;
            WebUtility.FindByValueDropDownList(ddlShowLeftMenu, objMenuInfo.Show_left_menu);
        }
        else
        {
            txtMenuRefID.Text = GetMaxMenuRefID().ToString();
        }
    }
Exemplo n.º 3
0
    private void ClearValueControls()
    {
        txtSeq.Text     = "";
        txtColName.Text = "";
        WebUtility.GetByValueDropDownList(ddlColStyleID, "");
        txtColKey.Text  = "";
        txtCaption.Text = "";
        txtWidth.Text   = "";
        WebUtility.FindByValueDropDownList(ddlDataType, "System.String");
        WebUtility.FindByValueDropDownList(ddlHAlign, "NotSet");
        txtBackColor.Text         = "";
        txtFormat.Text            = "";
        txtFormula.Text           = "";
        txtDefaultValue.Text      = "";
        txtColDesc.Text           = "";
        ckbBackColorYN.Checked    = false;
        ckbFormatYN.Checked       = false;
        ckbFormularYN.Checked     = false;
        ckbDefaultValueYN.Checked = false;
        WebUtility.FindByValueRadioButtonList(rbnVisibleYN, "Y");
        WebUtility.FindByValueRadioButtonList(rbnColEmpVisibleYN, "N");
        WebUtility.FindByValueDropDownList(ddlColStyleID, "NML");
        ddlColStyleID_SelectedIndexChanged(null, null);

        //WebUtility.FindByValueRadioButtonList(rbnGradeToPointVisibleYN, "N");
        //WebUtility.FindByValueRadioButtonList(rbnEstTermSubVisibleYN, "N");
        //WebUtility.FindByValueRadioButtonList(rbnEstTermStepVisibleYN, "N");
    }
Exemplo n.º 4
0
    private void BindOptValueData()
    {
        Biz_RelGroupPositionDatas relGrpPosData = new Biz_RelGroupPositionDatas();

        bool contain_all = relGrpPosData.IsExist(COMP_ID, "", REL_GRP_ID, REL_GRP_POS_ID, EST_ID, ESTTERM_REF_ID, "", "");
        bool contain     = relGrpPosData.IsExist(COMP_ID, "", REL_GRP_ID, REL_GRP_POS_ID, EST_ID, ESTTERM_REF_ID, "", "");

        if (contain_all)
        {
            if (contain)
            {
                WebUtility.FindByValueDropDownList(ddlOptValueData, "OR");
                ddlOptValueData.Visible = true;
                //ddlOptValueData.Enabled = false;
            }
            else
            {
                ddlOptValueData.ClearSelection();
                WebUtility.FindByValueDropDownList(ddlOptValueData, "AND");
                ddlOptValueData.Visible = true;
                //ddlOptValueData.Enabled = true;
            }
        }
        else
        {
            WebUtility.FindByValueDropDownList(ddlOptValueData, "OR");
            ddlOptValueData.Visible = false;
        }
    }
Exemplo n.º 5
0
    protected void ugrdColumn_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)
    {
        Infragistics.WebUI.UltraWebGrid.UltraGridRow ugrd = e.SelectedRows[0];

        this.ISEQ = DataTypeUtility.GetToInt32(ugrd.Cells.FromKey("SEQ").Value);
        if (ugrd.Cells.FromKey("COL_TYPE").Value.ToString() == "FIXEDKEY")
        {
            iBtnSave.Visible = false;
        }
        else
        {
            iBtnSave.Visible = true;
        }

        WebUtility.FindByValueRadioButtonList(rblVISIBLE_YN, ugrd.Cells.FromKey("VISIBLE_YN").Value.ToString());
        WebUtility.FindByValueRadioButtonList(rblUSE_YN, ugrd.Cells.FromKey("USE_YN").Value.ToString());
        txtCOL_ORDER.Text = ugrd.Cells.FromKey("COL_ORDER").Value.ToString();
        txtCOL_KEY.Text   = ugrd.Cells.FromKey("COL_KEY").Value.ToString();
        txtCOL_NAME.Text  = ugrd.Cells.FromKey("COL_NAME").Value.ToString();
        txtCOL_DESC.Text  = ugrd.Cells.FromKey("COL_DESC").Value.ToString();
        WebUtility.FindByValueDropDownList(ddlTYPE, ugrd.Cells.FromKey("COL_TYPE").Value.ToString());
        txtCOL_WIDTH.Text = ugrd.Cells.FromKey("COL_WIDTH").Value.ToString();
        WebUtility.FindByValueDropDownList(ddlALIGN, ugrd.Cells.FromKey("COL_ALIGN").Value.ToString());
        WebUtility.FindByValueDropDownList(ddlDATATYPE, ugrd.Cells.FromKey("DATA_TYPE").Value.ToString());
        txtPROC_NAME.Text = ugrd.Cells.FromKey("PROC_NAME").Value.ToString();
        WebUtility.FindByValueDropDownList(ddlPROCTYPE, ugrd.Cells.FromKey("PROC_TYPE").Value.ToString());
    }
Exemplo n.º 6
0
    protected void UltraWebGrid1_InitializeRow(object sender, RowEventArgs e)
    {
        DataRowView drw = (DataRowView)e.Data;

        TemplatedColumn scale_col  = (TemplatedColumn)e.Row.Band.Columns.FromKey("SCALE_ID");
        DropDownList    ddlScaleID = (DropDownList)((CellItem)scale_col.CellItems[e.Row.BandIndex]).FindControl("ddlScaleID");

        ddlScaleID.DataTextField  = "SCALE_NAME";
        ddlScaleID.DataValueField = "SCALE_ID";
        ddlScaleID.DataSource     = _dwScale;
        ddlScaleID.DataBind();

        DataRow[] drArr = _dtEstScale.Select(string.Format(@" ESTTERM_REF_ID   = {0}
                                                            AND DEPT_REF_ID     = {1}
                                                            AND EST_ID          = '{2}'"
                                                           , ESTTERM_REF_ID
                                                           , drw["DEPT_REF_ID"]
                                                           , EST_ID));

        if (drArr.Length > 0)
        {
            WebUtility.FindByValueDropDownList(ddlScaleID, drArr[0]["SCALE_ID"]);
            e.Row.Cells.FromKey("STATUS").Value = "<img src='../images/icon/est_i02.gif'>";
        }
        else
        {
            e.Row.Cells.FromKey("STATUS").Value = "<img src='../images/icon/est_i03.gif'>";
        }
    }
Exemplo n.º 7
0
    private void ViewOne(int comp_id, string est_id, string col_key)
    {
        Biz_ColumnInfos  columnInfos  = new Biz_ColumnInfos(comp_id, est_id, col_key);
        Biz_ColumnStyles columnStyles = new Biz_ColumnStyles(columnInfos.Col_Style_ID);

        txtSeq.Text     = columnInfos.Seq.ToString();
        txtColName.Text = columnInfos.Col_Name;
        WebUtility.FindByValueDropDownList(ddlColStyleID, columnInfos.Col_Style_ID);
        txtColKey.Text  = columnInfos.Col_Key;
        txtCaption.Text = columnInfos.Caption;
        txtWidth.Text   = columnInfos.Width.ToString();

        WebUtility.FindByValueDropDownList(ddlDataType, columnInfos.Data_Type);
        WebUtility.FindByValueDropDownList(ddlHAlign, columnInfos.Halign);
        txtBackColor.Text    = columnInfos.Back_Color;
        txtFormat.Text       = columnInfos.Format;
        txtFormula.Text      = columnInfos.Formula;
        txtDefaultValue.Text = columnInfos.Default_Value;
        txtColDesc.Text      = columnInfos.Col_Desc;

        ckbBackColorYN.Checked    = DataTypeUtility.GetYNToBoolean(columnInfos.Back_color_YN);
        ckbFormatYN.Checked       = DataTypeUtility.GetYNToBoolean(columnInfos.Format_YN);
        ckbFormularYN.Checked     = DataTypeUtility.GetYNToBoolean(columnInfos.Formula_YN);
        ckbDefaultValueYN.Checked = DataTypeUtility.GetYNToBoolean(columnInfos.Default_Value_YN);
        WebUtility.FindByValueRadioButtonList(rbnVisibleYN, columnInfos.Visible_YN);
        WebUtility.FindByValueRadioButtonList(rbnColEmpVisibleYN, columnInfos.Col_Emp_Visible_YN);
        //WebUtility.FindByValueRadioButtonList(rbnGradeToPointVisibleYN, columnInfos.Col_Grade_To_Point_Visible_YN);

        BindEstJob(COMP_ID, EST_ID, col_key);

        ddlColStyleID_SelectedIndexChanged(null, null);
    }
Exemplo n.º 8
0
    protected void UltraWebGrid1_InitializeRow(object sender, RowEventArgs e)
    {
        DataRowView drw = (DataRowView)e.Data;

        // DDL - DDLSCALE_ID
        TemplatedColumn tcol_ScaleId = (TemplatedColumn)e.Row.Band.Columns.FromKey("DDLSCALE_ID");
        DropDownList    ddl_ScaleId  = (DropDownList)((CellItem)tcol_ScaleId.CellItems[e.Row.BandIndex]).FindControl("ddlScaleId");

        DropDownListCommom.BindEstScaleInfo(ddl_ScaleId, COMP_ID);

        if (e.Row.Cells.FromKey("SCALE_ID").Value != null)
        {
            WebUtility.FindByValueDropDownList(ddl_ScaleId, e.Row.Cells.FromKey("SCALE_ID").Value);
        }

        // TXT - START_SCOPE
        TemplatedColumn tcol_StartScope = (TemplatedColumn)e.Row.Band.Columns.FromKey("TXTSTART_SCOPE");
        TextBox         txtStartScope   = (TextBox)((CellItem)tcol_StartScope.CellItems[e.Row.BandIndex]).FindControl("txtStartScope");

        if (e.Row.Cells.FromKey("START_SCOPE").Value != null)
        {
            txtStartScope.Text = e.Row.Cells.FromKey("START_SCOPE").Value.ToString();
        }

        TextBoxCommon.SetOnlyInteger(txtStartScope);

        // TXT - END_SCOPE
        TemplatedColumn tcol_EndScope = (TemplatedColumn)e.Row.Band.Columns.FromKey("TXTEND_SCOPE");
        TextBox         txtEndScope   = (TextBox)((CellItem)tcol_EndScope.CellItems[e.Row.BandIndex]).FindControl("txtEndScope");

        if (e.Row.Cells.FromKey("END_SCOPE").Value != null)
        {
            txtEndScope.Text = e.Row.Cells.FromKey("END_SCOPE").Value.ToString();
        }

        TextBoxCommon.SetOnlyInteger(txtEndScope);

        // DDL - SCOPE_UNIT_ID
        TemplatedColumn tcol_ScopeUnitId = (TemplatedColumn)e.Row.Band.Columns.FromKey("DDLSCOPE_UNIT_ID");
        DropDownList    ddl_ScopeUnitId  = (DropDownList)((CellItem)tcol_ScopeUnitId.CellItems[e.Row.BandIndex]).FindControl("ddlScopeUnitId");

        DropDownListCommom.BindEstScopeUnit(ddl_ScopeUnitId);

        if (e.Row.Cells.FromKey("SCOPE_UNIT_ID").Value != null)
        {
            WebUtility.FindByValueDropDownList(ddl_ScopeUnitId, e.Row.Cells.FromKey("SCOPE_UNIT_ID").Value);
        }

        // TXT - GRADE_TO_POINT
        TemplatedColumn tcol_GradeToPoint = (TemplatedColumn)e.Row.Band.Columns.FromKey("TXTGRADE_TO_POINT");
        TextBox         txtGradeToPoint   = (TextBox)((CellItem)tcol_GradeToPoint.CellItems[e.Row.BandIndex]).FindControl("txtGradeToPoint");

        if (e.Row.Cells.FromKey("GRADE_TO_POINT").Value != null)
        {
            txtGradeToPoint.Text = e.Row.Cells.FromKey("GRADE_TO_POINT").Value.ToString();
        }

        TextBoxCommon.SetOnlyInteger(txtGradeToPoint);
    }
Exemplo n.º 9
0
 private void ClearValueControls()
 {
     txtSubjectText.Text  = "";
     txtContentText.Value = "";
     cbPopupYN.Checked    = false;
     wdcStartDate.Value   = DBNull.Value;
     wdcEndDate.Value     = DBNull.Value;
     WebUtility.FindByValueDropDownList(ddlMenuRefID, "");
     lblWriteEmpName.Text = "";
 }
Exemplo n.º 10
0
    private void ClearControlValues()
    {
        WebUtility.FindByValueDropDownList(ddlPositionValue, "");

        txtWeightPos.Text           = "";
        hdfEstPosEstTermRefID.Value = "";
        hdfEstPosEstDeptRefID.Value = "";
        hdfEstPosEstID.Value        = "";
        hdfEstPosSeq.Value          = "";
    }
Exemplo n.º 11
0
    protected void UltraWebGrid3_SelectedRowsChange(object sender, SelectedRowsEventArgs e)
    {
        if (e.SelectedRows.Count > 0)
        {
            hdfEstPosSeq.Value = e.SelectedRows[0].Cells.FromKey("SEQ").Value.ToString();

            WebUtility.FindByValueDropDownList(ddlPositionType, e.SelectedRows[0].Cells.FromKey("POS_ID").Value);
            WebUtility.FindByValueDropDownList(ddlPositionValue, e.SelectedRows[0].Cells.FromKey("POS_VALUE").Value);
            WebUtility.FindByValueDropDownList(ddlScaleID, e.SelectedRows[0].Cells.FromKey("SCALE_ID").Value);
        }
    }
Exemplo n.º 12
0
    private void SelectCtrlInfo(string ctrl_id)
    {
        Biz_CtrlInfos ctrlInfo = new Biz_CtrlInfos(ctrl_id);
        Biz_EmpInfos  empInfo  = new Biz_EmpInfos(ctrlInfo.Ctrl_Emp_ID);

        hdfEmpRefID.Value = DataTypeUtility.GetValue(ctrlInfo.Ctrl_Emp_ID);
        txtEmpName.Text   = empInfo.Emp_Name;
        txtScope.Text     = DataTypeUtility.GetValue(ctrlInfo.Scope);
        WebUtility.FindByValueDropDownList(ddlScopeUnitID, ctrlInfo.Scope);
        ckbAllEstYN.Checked     = DataTypeUtility.GetYNToBoolean(ctrlInfo.All_Est_YN);
        ckbAllEstDeptYN.Checked = DataTypeUtility.GetYNToBoolean(ctrlInfo.All_Est_Dept_YN);
        ckbConfirmEmpYN.Checked = DataTypeUtility.GetYNToBoolean(ctrlInfo.Confirm_Emp_YN);
    }
Exemplo n.º 13
0
 protected void Page_Load(object sender, EventArgs e)
 {
     sXml = Server.MapPath(".") + "\\Bias.xml";
     if (!IsPostBack)
     {
         this.INAME = GetRequest("NAME", "");
         ddlBiasID.Items.Insert(0, new ListItem("평균조정산식", "BIAS_AVG_METHOD"));
         ddlBiasID.Items.Insert(1, new ListItem("평균표준편차조정산식", "BIAS_STD_METHOD"));
         WebUtility.FindByValueDropDownList(ddlBiasID, this.INAME);
         BindingScaleInfo(COMP_ID, "");
         ButtonStatusByInit();
     }
 }
Exemplo n.º 14
0
    private void SetFormData()
    {
        Biz_Prj_Info     objPrj      = new Biz_Prj_Info(this.IPrjRefID);
        Biz_Prj_Resource prjResource = new Biz_Prj_Resource();
        Biz_Prj_Share    objPrjShare = new Biz_Prj_Share();
        Biz_Prj_Schedule objSchedule = new Biz_Prj_Schedule();

        DataSet actualDs = objSchedule.GetActualDate(this.IPrjRefID);

        this.IApp_Ref_Id           = objPrj.IApp_Ref_Id;
        txtPRJ_CODE.Text           = objPrj.IPrj_Code;
        txtPRJ_NAME.Text           = objPrj.IPrj_Name;
        txtDEFINITION.Text         = objPrj.IDefinition;
        txtEFFECTIVENESS.Text      = objPrj.IEffectiveness;
        txtRANGE.Text              = objPrj.IRange;
        txtOWNER_EMP_ID.Text       = objPrj.IOwner_Emp_Name;
        hdfOWNER_EMP_ID.Value      = objPrj.IOwner_Emp_Id.ToString();
        this.IDraftEmpID           = objPrj.IOwner_Emp_Id;
        txtREF_STG.Text            = objPrj.IRef_Stg;
        txtREQUEST_DEPT.Text       = objPrj.IRequest_Dept;
        txtTotalBudget.Text        = objPrj.ITotal_Budget.ToString("###,##0");
        txtINTERESTED_PARTIES.Text = objPrj.IInterested_Parties;

        WebUtility.FindByValueDropDownList(ddlOwnerDeptID, objPrj.IOwner_Dept_Id);
        WebUtility.FindByValueDropDownList(ddlPRIORITY, objPrj.IPriority);
        WebUtility.FindByValueDropDownList(ddlPrjType, objPrj.IPrj_Type);

        wdcPlanStartDate.Value = objPrj.IPlan_Start_Date;
        wdcPlanEndDate.Value   = objPrj.IPlan_End_Date;

        wdcActualStartDate.Value = actualDs.Tables[0].Rows[0]["ACTUAL_START_DATE"];
        wdcActualEndDate.Value   = actualDs.Tables[0].Rows[0]["ACTUAL_END_DATE"];

        DataSet dsPSH = objPrjShare.GetAllList(this.IPrjRefID, 0);

        if (dsPSH.Tables.Count > 0)
        {
            dsPSH.Tables[0].DefaultView.Sort = "CREATE_DATE ASC";
            ugrdProjectShareList.Clear();
            ugrdProjectShareList.DataSource = dsPSH.Tables[0].DefaultView;
            ugrdProjectShareList.DataBind();
        }
        else
        {
            ugrdProjectShareList.Clear();
        }

        ugrdResourceList.Clear();
        ugrdResourceList.DataSource = prjResource.GetAllList(this.IPrjRefID, 0);
        ugrdResourceList.DataBind();
    }
Exemplo n.º 15
0
    protected void UltraWebGrid3_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)
    {
        if (e.SelectedRows.Count > 0)
        {
            hdfEstPosEstTermRefID.Value = e.SelectedRows[0].Cells.FromKey("ESTTERM_REF_ID").Value.ToString();
            hdfEstPosEstDeptRefID.Value = e.SelectedRows[0].Cells.FromKey("DEPT_REF_ID").Value.ToString();
            hdfEstPosEstID.Value        = e.SelectedRows[0].Cells.FromKey("EST_ID").Value.ToString();
            hdfEstPosSeq.Value          = e.SelectedRows[0].Cells.FromKey("SEQ").Value.ToString();

            WebUtility.FindByValueDropDownList(ddlPositionType, e.SelectedRows[0].Cells.FromKey("POS_ID").Value);
            WebUtility.FindByValueDropDownList(ddlPositionValue, e.SelectedRows[0].Cells.FromKey("POS_VALUE").Value);
            txtWeightPos.Text = e.SelectedRows[0].Cells.FromKey("WEIGHT").Value.ToString();
        }
    }
Exemplo n.º 16
0
    private void SelectBoardInfo(string board_id)
    {
        Biz_Boards boardInfo = new Biz_Boards(board_id, BOARD_CATEGORY_ID);

        hdfBoardID.Value     = board_id;
        txtSubjectText.Text  = boardInfo.Subject_Text;
        txtContentText.Value = boardInfo.Content_Text;
        cbPopupYN.Checked    = DataTypeUtility.GetYNToBoolean(boardInfo.Pop_Up_YN);
        wdcStartDate.Value   = boardInfo.Start_Date;
        wdcEndDate.Value     = boardInfo.End_Date;
        WebUtility.FindByValueDropDownList(ddlMenuRefID, boardInfo.Menu_Ref_ID);
        lblWriteEmpName.Text = boardInfo.Write_Emp_Name + "( " + boardInfo.Write_Emp_ID.ToString() + " )";

        SetPopupYN(cbPopupYN.Checked);
    }
Exemplo n.º 17
0
    private void SelectRelGrpPosInfo(int comp_id, string rel_grp_pos_id)
    {
        Biz_RelGroupPositionInfos relGroupPosInfo = new Biz_RelGroupPositionInfos(comp_id, rel_grp_pos_id);

        hdfRelGrpPosID.Value  = relGroupPosInfo.Rel_Grp_Pos_ID;
        txtRelGrpPosName.Text = relGroupPosInfo.Rel_Grp_Pos_Name;
        txtRelGrpPosDesc.Text = relGroupPosInfo.Rel_Grp_Pos_Desc;
        WebUtility.FindByValueDropDownList(ddlOptValue, relGroupPosInfo.Opt_Value);

        if (relGroupPosInfo.Opt_Value.Equals(""))
        {
            //ddlOptValue.Enabled = false;
        }
        else
        {
            //ddlOptValue.Enabled = true;
        }
    }
Exemplo n.º 18
0
    private void BindOptValue(int comp_id, string rel_grp_id, string est_id, int estterm_ref_id)
    {
        Biz_RelGroupPositionInfos relGroupPosInfo = new Biz_RelGroupPositionInfos();
        bool isContain = relGroupPosInfo.IsExist(comp_id
                                                 , ""
                                                 , rel_grp_id
                                                 , est_id
                                                 , estterm_ref_id);

        if (isContain)
        {
            WebUtility.FindByValueDropDownList(ddlOptValue, "OR");
            //ddlOptValue.Enabled = true;
        }
        else
        {
            //ddlOptValue.Enabled = false;
        }
    }
Exemplo n.º 19
0
    private void ClearValueControls()
    {
        txtEstID.Text       = "";
        txtEstName.Text     = "";
        hdfUpEstID.Value    = "";
        txtUpEstID.Text     = "";
        txtHeaderColor.Text = "";

        WebUtility.FindByValueRadioButtonList(rblGradeConfirmYN, "N");
        WebUtility.FindByValueRadioButtonList(rblBiasYN, "N");
        WebUtility.FindByValueRadioButtonList(rblTgtSendType, "N");
        CheckBoxListCommon.Check(cblEstTermSub, false);
        CheckBoxListCommon.Check(cblEstTermStep, false);
        WebUtility.FindByValueDropDownList(ddlPointCtrlStep, "1");
        WebUtility.FindByValueDropDownList(ddlGradeCtrlStep, "1");
        WebUtility.FindByValueRadioButtonList(rblOwnerType, "P");
        WebUtility.FindByValueRadioButtonList(rblEstStyle, "BLK");

        txtLinkEstID.Text  = "";
        hdfLinkEstID.Value = "";

        WebUtility.FindByValueRadioButtonList(rblWeightType, "DPT");
        WebUtility.FindByValueRadioButtonList(rblScaleType, "DPT");
        WebUtility.FindByValueDropDownList(ddlBiasTypeID, "1");
        WebUtility.FindByValueRadioButtonList(rblQItemDescUseYN, "N");
        WebUtility.FindByValueRadioButtonList(rblUseYN, "Y");
        WebUtility.FindByValueRadioButtonList(rblVisiblePastPointYN, "Y");
        WebUtility.FindByValueRadioButtonList(rblEstQTTMBOYN, "N");
        WebUtility.FindByValueRadioButtonList(rblMboScoreEstimateYN, "N");
        WebUtility.FindByValueRadioButtonList(rblDashBoardTYPE, "N");

        ddlQuestionStyleID.SelectedIndex = 0;
        ddlDashBoardTYPE.SelectedIndex   = 0;
        ddlDashBoardTYPE.Style.Add("display", "none");
        ddlPreviousStempYN.SelectedIndex = 0;
        //ddlPreviousStempYN.Style.Add("display", "none");
        divQPSYN.Style.Add("display", "none");
        WebUtility.FindByValueRadioButtonList(rblAllStepVisibleYN, "N");
        WebUtility.FindByValueRadioButtonList(rblEmpComDeptYN, "N");

        rblEstStyle_SelectedIndexChanged(null, null);
    }
Exemplo n.º 20
0
    private void SelectCtrlData(int comp_id
                                , string est_id
                                , int estterm_ref_id
                                , int estterm_sub_id
                                , int estterm_step_id
                                , int ctrl_emp_id
                                , int tgt_dept_id
                                , int tgt_emp_id
                                , int ctrl_seq)
    {
        if (POINT_GRADE_TYPE.Equals("PNT"))
        {
            Biz_CtrlPointDatas ctrlPointData = new Biz_CtrlPointDatas(comp_id
                                                                      , est_id
                                                                      , estterm_ref_id
                                                                      , estterm_sub_id
                                                                      , estterm_step_id
                                                                      , ctrl_emp_id
                                                                      , tgt_dept_id
                                                                      , tgt_emp_id
                                                                      , ctrl_seq);

            txtCtrlPoint.Text   = ctrlPointData.Ctrl_Point.ToString();
            txtCtrlOpinion.Text = ctrlPointData.Ctrl_Opinion;
        }
        else if (POINT_GRADE_TYPE.Equals("GRD"))
        {
            Biz_CtrlGradeDatas ctrlGradeData = new Biz_CtrlGradeDatas(comp_id
                                                                      , est_id
                                                                      , estterm_ref_id
                                                                      , estterm_sub_id
                                                                      , estterm_step_id
                                                                      , ctrl_emp_id
                                                                      , tgt_dept_id
                                                                      , tgt_emp_id
                                                                      , ctrl_seq);

            WebUtility.FindByValueDropDownList(ddlCtrlGradeID, ctrlGradeData.Ctrl_Grade_ID);
            txtCtrlOpinion.Text = ctrlGradeData.Ctrl_Opinion;
        }
    }
Exemplo n.º 21
0
    private void ViewEmp(int empId)
    {
        iBtnSave.ImageUrl = "../images/btn/b_002.gif";

        EmpInfos emp = new EmpInfos(empId);


        string en_use_yn      = WebUtility.GetConfig("ENCRYPTION_USE_YN").ToUpper();
        string encryption_key = WebUtility.GetConfig("ENCRYPTION_KEY").ToUpper();


        string emp_email;
        string emp_cellphone;



        //WebCommon.SetPositionDutyDropDownList(ddlPositionDuty, false);
        //WebCommon.SetPositionClassDropDownList(ddlPositionClass, false);
        //WebCommon.SetPositionGrpDropDownList(ddlPositionGrp, false);
        //WebCommon.SetPositionRankDropDownList(ddlPositionRank, false);

        //ddlPositionClass.Items.FindByValue(emp.Position_class_code).Selected = true;
        //ddlPositionDuty.Items.FindByValue(emp.Position_duty_code).Selected = true;
        //PageUtility.FindByValueDropDownList(ddlPositionGrp, emp.Position_grp_code);
        //ddlPositionRank.Items.FindByValue(emp.Position_rank_code).Selected = true;

        DropDownListCommom.BindPositionClass(ddlPositionClass);
        DropDownListCommom.BindPositionDuty(ddlPositionDuty);
        DropDownListCommom.BindPositionGroup(ddlPositionGrp);
        DropDownListCommom.BindPositionRank(ddlPositionRank);
        DropDownListCommom.BindPositionKind(ddlPositionKind);

        WebUtility.FindByValueDropDownList(ddlPositionClass, emp.Position_class_code);
        WebUtility.FindByValueDropDownList(ddlPositionClass, emp.Position_class_code);
        WebUtility.FindByValueDropDownList(ddlPositionDuty, emp.Position_duty_code);
        WebUtility.FindByValueDropDownList(ddlPositionGrp, emp.Position_grp_code);
        WebUtility.FindByValueDropDownList(ddlPositionRank, emp.Position_rank_code);
        WebUtility.FindByValueDropDownList(ddlPositionKind, emp.Position_Kind_Code);



        if (en_use_yn.Equals("Y"))
        {
            emp_email     = DataTypeUtility.Decrypt(emp.Emp_Email, encryption_key);
            emp_cellphone = DataTypeUtility.Decrypt(emp.Cell_Phone, encryption_key);
        }
        else
        {
            emp_email     = emp.Emp_Email;
            emp_cellphone = emp.Cell_Phone;
        }



        hfPrevDeptID.Value = emp.Dept_Ref_ID.ToString();
        txtDeptID.Text     = emp.Dept_Ref_ID.ToString();
        txtLoginID.Text    = emp.LoginID;
        txtLoginIP.Text    = emp.LoginIP;
        txtName.Text       = emp.Emp_Name;
        txtDaily.Text      = emp.Daily_Phone;

        txtEmail.Text = emp_email;
        txtCell.Text  = emp_cellphone;



        txtZipcode1.Text = ((emp.ZipCode == null) || emp.ZipCode.Trim().Equals("")) ? "": emp.ZipCode.Substring(0, 3);
        txtZipcode2.Text = ((emp.ZipCode == null) || emp.ZipCode.Trim().Equals("")) ? "": emp.ZipCode.Substring(3, 3);


        //txtZipcode1.Text = (emp.ZipCode.Trim().Equals("")) ? emp.ZipCode.Substring(0, 3) : "";
        //txtZipcode2.Text = (!emp.ZipCode.Trim().Equals("")) ? emp.ZipCode.Substring(2, 3) : "";
        txtAddr1.Text    = emp.Addr_1;
        txtAddr2.Text    = emp.Addr_2;
        txtDeptName.Text = emp.Dept_Name;

        if (emp.Position_duty_code == null)
        {
            WebUtility.FindByValueDropDownList(ddlPositionClass, "99");
            WebUtility.FindByValueDropDownList(ddlPositionDuty, "99");
            WebUtility.FindByValueDropDownList(ddlPositionGrp, "99");
            WebUtility.FindByValueDropDownList(ddlPositionRank, "99");
        }
        else
        {
            //ddlPositionDuty.Items.FindByValue(emp.Position_duty_code).Selected = true;
            //ddlPositionRank.Items.FindByValue(emp.Position_duty_code).Selected = true;
            //ddlPositionClass.Items.FindByValue(emp.Position_duty_code).Selected = true;
        }
    }
Exemplo n.º 22
0
    /// <summary>
    /// 그리드 바인딩 메소드
    /// </summary>
    /// <param name="comp_id"></param>
    /// <param name="est_id"></param>
    /// <param name="estterm_ref_id"></param>
    /// <param name="estterm_sub_id"></param>
    /// <param name="estterm_step_id"></param>
    private void GridBidingData(int comp_id
                                , string est_id
                                , int estterm_ref_id
                                , int estterm_sub_id
                                , int estterm_step_id
                                , int est_emp_id
                                , bool isAll)
    {
        Biz_EstInfos estInfo = new Biz_EstInfos(comp_id, est_id);

        if (!estInfo.IsExists(comp_id, est_id))
        {
            ltrScript.Text = JSHelper.GetAlertScript("선택된 회사의 평가정보가 없습니다.");
            return;
        }

        DropDownListCommom.BindEstTermSub(ddlEstTermSubID, comp_id, est_id, "");
        DropDownListCommom.BindEstTermStep(ddlEstTermStepID, comp_id, est_id);

        // 처음 실행될때
        if (estterm_sub_id.Equals(0))
        {
            ESTTERM_SUB_ID = WebUtility.GetIntByValueDropDownList(ddlEstTermSubID);
        }

        // 만약 주기가 년간일 경우
        if (YEAR_YN.Equals("Y"))
        {
            ESTTERM_SUB_ID = BizUtility.GetEstTermSubIDByYearYN(COMP_ID);
        }

        // 만약 차수가 합산일 경우
        if (MERGE_YN.Equals("Y"))
        {
            ESTTERM_STEP_ID = BizUtility.GetEstTermStepIDByMergeYN(COMP_ID);
        }
        else
        {
            // 만약 모든 차수를 보여 줘야하는 경우
            if (ESTTERM_STEP_ALL_USE_YN.Equals("Y"))
            {
                ESTTERM_STEP_ID          = 0;
                ddlEstTermStepID.Visible = false;
            }
        }

        WebUtility.FindByValueDropDownList(ddlEstTermRefID, estterm_ref_id);

        if (ddlEstTermSubID.Visible)
        {
            WebUtility.FindByValueDropDownList(ddlEstTermSubID, estterm_sub_id);
        }

        if (ddlEstTermStepID.Visible)
        {
            WebUtility.FindByValueDropDownList(ddlEstTermStepID, estterm_step_id);
        }

        // 상태 html
        HtmlScriptCommon.CreateStatusHtmlTable(tblViewStatus, est_id);

        Biz_Prj_Data objPrjData = new Biz_Prj_Data();

        if (isAll)
        {
            est_emp_id = 0;
        }

        DataTable dt = objPrjData.GetPrjData(comp_id
                                             , est_id
                                             , estterm_ref_id
                                             , estterm_sub_id
                                             , estterm_step_id
                                             , 0
                                             , est_emp_id
                                             , 0
                                             , YEAR_YN
                                             , MERGE_YN).Tables[0];

        UltraWebGrid1.Clear();
        UltraWebGrid1.DataSource = dt;
        UltraWebGrid1.DataBind();

        lblRowCount.Text = dt.Rows.Count.ToString();
    }
Exemplo n.º 23
0
    private void BindingData(int comp_id
                             , string est_id
                             , int estterm_ref_id
                             , int estterm_sub_id
                             , int estterm_step_id
                             , string graphType
                             , BiasType dataType)
    {
        Biz_EstInfos estInfo = new Biz_EstInfos(comp_id, est_id);

        if (!estInfo.IsExists(comp_id, est_id))
        {
            ltrScript.Text = JSHelper.GetAlertScript("선택된 회사의 평가정보가 없습니다.");
            return;
        }

        DropDownListCommom.BindEstTermSub(ddlEstTermSubID, comp_id, est_id, "");
        DropDownListCommom.BindEstTermStep(ddlEstTermStepID, comp_id, est_id);

        // 처음 실행될때
        if (estterm_sub_id.Equals(0))
        {
            ESTTERM_SUB_ID = WebUtility.GetIntByValueDropDownList(ddlEstTermSubID);
        }

        // 만약 주기가 년간일 경우
        if (YEAR_YN.Equals("Y"))
        {
            ESTTERM_SUB_ID = BizUtility.GetEstTermSubIDByYearYN(COMP_ID);
        }

        // 만약 차수가 합산일 경우
        if (MERGE_YN.Equals("Y"))
        {
            ESTTERM_STEP_ID = BizUtility.GetEstTermStepIDByMergeYN(COMP_ID);
        }
        else
        {
            // 만약 모든 차수를 보여 줘야하는 경우
            if (ESTTERM_STEP_ALL_USE_YN.Equals("Y"))
            {
                ESTTERM_STEP_ID          = 0;
                ddlEstTermStepID.Visible = false;
            }
        }

        WebUtility.FindByValueDropDownList(ddlEstTermRefID, estterm_ref_id);

        if (ddlEstTermSubID.Visible)
        {
            WebUtility.FindByValueDropDownList(ddlEstTermSubID, estterm_sub_id);
        }

        if (ddlEstTermStepID.Visible)
        {
            WebUtility.FindByValueDropDownList(ddlEstTermStepID, estterm_step_id);
        }

        if (estInfo.Owner_Type.Equals("D"))
        {
            OwnerTypeMode = OwnerType.Dept;
        }
        else
        {
            OwnerTypeMode = OwnerType.Emp_User;
        }

        ScaleTypeMode  = estInfo.Scale_Type;
        WeightTypeMode = estInfo.Weight_Type;

        if (estInfo.Bias_YN.Equals("Y"))
        {
            BiasYN = YesNo.Yes;
        }
        else
        {
            BiasYN = YesNo.No;
        }

        if (estInfo.Grade_Confirm_YN.Equals("Y"))
        {
            GradeConfirmYN = YesNo.Yes;
        }
        else
        {
            GradeConfirmYN = YesNo.No;
        }

        Biz_Datas est_data = new Biz_Datas();

        int est_emp_id  = 0;;
        int tgt_dept_id = 0;
        int tgt_emp_id  = 0;

        if (OwnerTypeMode == OwnerType.Dept)
        {
            if (EST_TGT_TYPE.Equals("EST"))
            {
                est_emp_id  = EMP_REF_ID;
                tgt_dept_id = 0;
                tgt_emp_id  = 0;
            }
            else if (EST_TGT_TYPE.Equals("TGT"))
            {
                est_emp_id  = 0;
                tgt_dept_id = BizUtility.GetDeptID(EMP_REF_ID);
                tgt_emp_id  = -1;
            }
        }
        else if (OwnerTypeMode == OwnerType.Emp_User)
        {
            if (EST_TGT_TYPE.Equals("EST"))
            {
                est_emp_id  = EMP_REF_ID;
                tgt_dept_id = 0;
                tgt_emp_id  = 0;
            }
            else if (EST_TGT_TYPE.Equals("TGT"))
            {
                est_emp_id  = 0;
                tgt_dept_id = 0;
                tgt_emp_id  = EMP_REF_ID;
            }
        }

        if (OwnerTypeMode == OwnerType.Dept && COL_DEPT_TO_EMP_DATA.Equals("Y"))
        {
            OwnerTypeMode = OwnerType.Emp_User;
        }
        else if (OwnerTypeMode == OwnerType.Emp_User && COL_DEPT_TO_EMP_DATA.Equals("Y"))
        {
            OwnerTypeMode = OwnerType.Dept;
        }

        if (estInfo.Bias_Dept_Use_YN.Equals("Y"))
        {
            tdBiasDept.Visible = true;
        }
        else
        {
            tdBiasDept.Visible = false;
            hdfEstDept.Value   = "";
        }

        BindChart(COMP_ID
                  , EST_ID
                  , ESTTERM_REF_ID
                  , ESTTERM_SUB_ID
                  , ESTTERM_STEP_ID
                  , GraphType
                  , DataType
                  , DEPT_VALUES);
    }
Exemplo n.º 24
0
    private void ViewOne(int comp_id, string est_id)
    {
        Biz_EstInfos estInfo = new Biz_EstInfos(comp_id, est_id);

        txtEstID.Text   = estInfo.Est_ID;
        txtEstName.Text = estInfo.Est_Name;

        if (estInfo.Up_Est_ID != DBNull.Value)
        {
            Biz_EstInfos upEstInfo = new Biz_EstInfos(comp_id, estInfo.Up_Est_ID.ToString());
            txtUpEstID.Text  = upEstInfo.Est_Name;
            hdfUpEstID.Value = estInfo.Up_Est_ID.ToString();
        }

        txtHeaderColor.Text = estInfo.Header_Color;

        WebUtility.FindByValueRadioButtonList(rblFixedWeightUseYN, estInfo.Fixed_Weight_Use_YN);
        txtFixedWeight.Text = estInfo.Fixed_Weight.ToString();
        TextBoxCommon.SetOnlyPercent(txtFixedWeight);

        rblFixedWeightUseYN_SelectedIndexChanged(rblFixedWeightUseYN, null);

        WebUtility.FindByValueRadioButtonList(rblGradeConfirmYN, estInfo.Grade_Confirm_YN);
        WebUtility.FindByValueRadioButtonList(rblBiasYN, estInfo.Bias_YN);
        WebUtility.FindByValueRadioButtonList(rblBiasDeptUseID, estInfo.Bias_Dept_Use_YN);

        if (estInfo.Tgt_Opinion_YN.Equals("Y") && estInfo.FeedBack_YN.Equals("N"))
        {
            WebUtility.FindByValueRadioButtonList(rblTgtSendType, "OPN");
        }
        else if (estInfo.Tgt_Opinion_YN.Equals("N") && estInfo.FeedBack_YN.Equals("Y"))
        {
            WebUtility.FindByValueRadioButtonList(rblTgtSendType, "FBK");
        }
        else
        {
            WebUtility.FindByValueRadioButtonList(rblTgtSendType, "N");
        }

        WebUtility.FindByValueDropDownList(ddlPointCtrlStep, estInfo.Point_Ctrl_Step);
        WebUtility.FindByValueDropDownList(ddlGradeCtrlStep, estInfo.Grade_Ctrl_Step);
        WebUtility.FindByValueRadioButtonList(rblOwnerType, estInfo.Owner_Type);
        WebUtility.FindByValueRadioButtonList(rblEstStyle, estInfo.Est_Style_ID);

        if (estInfo.Link_Est_ID != "")
        {
            Biz_EstInfos lnkEstInfo = new Biz_EstInfos(comp_id, estInfo.Link_Est_ID);
            txtLinkEstID.Text  = lnkEstInfo.Est_Name;
            hdfLinkEstID.Value = estInfo.Link_Est_ID;
        }

        WebUtility.FindByValueRadioButtonList(rblWeightType, estInfo.Weight_Type);
        WebUtility.FindByValueRadioButtonList(rblScaleType, estInfo.Scale_Type);
        WebUtility.FindByValueDropDownList(ddlStatusStyleID, estInfo.Status_Style_ID);
        WebUtility.FindByValueDropDownList(ddlQuestionStyleID, estInfo.Q_Style_ID);
        WebUtility.FindByValueDropDownList(ddlBiasTypeID, estInfo.Bias_Type_ID);
        WebUtility.FindByValueRadioButtonList(rblQItemDescUseYN, estInfo.Q_Item_Desc_Use_YN);
        WebUtility.FindByValueRadioButtonList(rblQTgtPosBizUseYN, estInfo.Q_Tgt_Pos_Biz_Use_YN);
        WebUtility.FindByValueRadioButtonList(rblAllStepVisibleYN, estInfo.All_Step_Visible_YN);
        WebUtility.FindByValueRadioButtonList(rblEmpComDeptYN, estInfo.Emp_Com_Dept_YN);
        WebUtility.FindByValueRadioButtonList(rblUseYN, estInfo.Use_YN);
        WebUtility.FindByValueRadioButtonList(rblVisiblePastPointYN, estInfo.Visible_Past_Point_YN.Trim());
        WebUtility.FindByValueRadioButtonList(rblEstQTTMBOYN, estInfo.Est_Qtt_Mbo_YN.Trim());
        WebUtility.FindByValueRadioButtonList(rblMboScoreEstimateYN, estInfo.Mbo_Score_Estimate_YN.Trim());
        WebUtility.FindByValueRadioButtonList(rblDashBoardTYPE, estInfo.DashBoard_TYPE.Trim());
        if (estInfo.DashBoard_TYPE.Trim() == "" || estInfo.DashBoard_TYPE.Trim() == "N")
        {
            rblDashBoardTYPE.Items.FindByValue("N").Selected = true;
            ddlDashBoardTYPE.Style.Add("display", "none");
        }
        else
        {
            rblDashBoardTYPE.Items.FindByValue("Y").Selected = true;
            ddlDashBoardTYPE.Style.Add("display", "block");
            WebUtility.FindByValueDropDownList(ddlDashBoardTYPE, estInfo.DashBoard_TYPE.Trim());
        }

        //이전차수의 질의평가지 보이기 여부
        WebUtility.FindByValueDropDownList(ddlPreviousStempYN, estInfo.Question_Previous_Step_YN.Trim());
        if (estInfo.Q_Style_ID.Trim() == "" || estInfo.Q_Style_ID.Trim() == "BLK")
        {
            divQPSYN.Style.Add("display", "none");
        }
        else
        {
            divQPSYN.Style.Add("display", "true");
        }

        // 평가주기 바인딩
        BindCblEstTermSub(comp_id, est_id);

        // 평가차수 바인딩
        BindCblEstTermStep(comp_id, est_id);

        BindEstJob(comp_id, est_id);

        rblEstStyle_SelectedIndexChanged(null, null);
        rblBiasYN_SelectedIndexChanged(null, null);

        MicroBSC.Integration.EST.Biz.Biz_Est_Outer_Data_Proc_Info bizOuterDataProcInfo = new MicroBSC.Integration.EST.Biz.Biz_Est_Outer_Data_Proc_Info();
        DataTable dtOuterDataProcInfo = bizOuterDataProcInfo.GetOuterDataProcInfo(comp_id
                                                                                  , est_id).Tables[0];

        if (dtOuterDataProcInfo.Rows.Count > 0)
        {
            txtQueryString.Text = DataTypeUtility.GetValue(dtOuterDataProcInfo.Rows[0]["QUERY_STRING"]);
        }
    }
Exemplo n.º 25
0
    protected void Page_Load(object sender, EventArgs e)
    {
        CTRL_ID          = WebUtility.GetRequest("CTRL_ID");
        COMP_ID          = WebUtility.GetRequestByInt("COMP_ID");
        EST_ID           = WebUtility.GetRequest("EST_ID");
        ESTTERM_REF_ID   = WebUtility.GetRequestByInt("ESTTERM_REF_ID");
        ESTTERM_SUB_ID   = WebUtility.GetRequestByInt("ESTTERM_SUB_ID");
        POINT_GRADE_TYPE = WebUtility.GetRequest("POINT_GRADE_TYPE");
        EST_DEPT_ID      = WebUtility.GetRequestByInt("EST_DEPT_ID");
        EST_EMP_ID       = WebUtility.GetRequestByInt("EST_EMP_ID");
        CTRL_EMP_ID      = WebUtility.GetRequestByInt("CTRL_EMP_ID");
        TGT_DEPT_ID      = WebUtility.GetRequestByInt("TGT_DEPT_ID");
        TGT_EMP_ID       = WebUtility.GetRequestByInt("TGT_EMP_ID");

        if (!Page.IsPostBack)
        {
            if (CTRL_EMP_ID != EMP_REF_ID)
            {
                Response.Write(JSHelper.GetAlertScript("조정자와 접근한 조정 페이지의 권한자와 같지 않습니다.", true));
            }

            // 현재 평가의 주체가 부서/ 사원인지 구분
            if (TGT_EMP_ID >= -1)
            {
                trTgtDeptName.Visible = true;
                trTgtEmpName.Visible  = false;

                Biz_DeptInfos deptInfo = new Biz_DeptInfos(TGT_DEPT_ID);
                lblTgtDeptName.Text = deptInfo.Dept_Name;
            }
            else
            {
                trTgtDeptName.Visible = false;
                trTgtEmpName.Visible  = true;

                Biz_DeptInfos deptInfo = new Biz_DeptInfos(TGT_DEPT_ID);
                Biz_EmpInfos  empInfo  = new Biz_EmpInfos(TGT_EMP_ID);
                lblTgtEmpName.Text = string.Format("{0} / {1}", deptInfo.Dept_Name, empInfo.Emp_Name);
            }

            Biz_Datas data = new Biz_Datas(COMP_ID
                                           , EST_ID
                                           , ESTTERM_REF_ID
                                           , ESTTERM_SUB_ID
                                           , ESTTERM_STEP_ID
                                           , EST_DEPT_ID
                                           , EST_EMP_ID
                                           , TGT_DEPT_ID
                                           , TGT_EMP_ID);

            Biz_EstInfos  estInfo  = new Biz_EstInfos(COMP_ID, EST_ID);
            Biz_CtrlInfos ctrlInfo = new Biz_CtrlInfos(CTRL_ID);

            if (ctrlInfo.Ctrl_Emp_ID == CTRL_EMP_ID)
            {
                ibnSave.Visible = true;
            }
            else
            {
                BizUtility.SetButtonVisibleCommandNameByRolID(EMP_REF_ID, ibnSave);

                ibnSave.Visible = false;
            }

            if (ctrlInfo.Ctrl_Emp_ID == CTRL_EMP_ID &&
                ctrlInfo.Confirm_Emp_YN == "Y")
            {
                ibnCtrlConfirm.Visible = true;
            }
            else
            {
                BizUtility.SetButtonVisibleCommandNameByRolID(EMP_REF_ID, ibnCtrlConfirm);

                ibnCtrlConfirm.Visible = false;
            }

            if (POINT_GRADE_TYPE.Equals("PNT"))
            {
                TextBoxCommon.SetOnlyPercent(txtCtrlPoint);

                imgTitle.Src        = "../images/title/popup_t73.gif";
                trCurPoint.Visible  = true;
                trCurGrade.Visible  = false;
                trCtrlPoint.Visible = true;
                trCtrlGrade.Visible = false;
                UltraWebGrid1.Bands[0].Columns.FromKey("CTRL_GRADE_NAME").Hidden = true;

                lblPoint.Text     = data.Point.ToString("#,##0.00");
                lblCtrlMsg.Text   = string.Format("- {0}는 {1}차까지 점수조정 가능합니다.", estInfo.Est_Name, estInfo.Point_Ctrl_Step);
                hdfCtrlStep.Value = estInfo.Point_Ctrl_Step.ToString();
            }
            else if (POINT_GRADE_TYPE.Equals("GRD"))
            {
                DropDownListCommom.BindGrade(ddlCtrlGradeID, COMP_ID);
                WebUtility.FindByValueDropDownList(ddlCtrlGradeID, data.Grade_ID);

                imgTitle.Src        = "../images/title/popup_t72.gif";
                trCurPoint.Visible  = false;
                trCurGrade.Visible  = true;
                trCtrlPoint.Visible = false;
                trCtrlGrade.Visible = true;
                UltraWebGrid1.Bands[0].Columns.FromKey("CTRL_POINT").Hidden = true;

                lblGrade.Text     = new Biz_Grades(COMP_ID, data.Grade_ID).Grade_Name;
                lblCtrlMsg.Text   = string.Format("- {0}는 {1}차까지 등급조정 가능합니다.", estInfo.Est_Name, estInfo.Grade_Ctrl_Step);
                hdfCtrlStep.Value = estInfo.Grade_Ctrl_Step.ToString();
            }
            else
            {
                ltrScript.Text = JSHelper.GetAlertScript("조정 타입이 없습니다.", true);
            }

            GridBinding();
        }
    }