Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ltrScript.Text = "";

        // 웹 취약성 검사 때문에 처리
        if (IType.Equals("-0") ||
            IYmd.Equals("-0") ||
            ISumType.Equals("-0") ||
            IPrintType.Equals("-0"))
        {
            ltrScript.Text = JSHelper.GetAlertScript("악성 요청을 거부합니다.", false);
            FormsAuthentication.SignOut();
            string login_page_url = WebUtility.GetConfig("Login_Page_Url", "~/base/Login.aspx");
            Response.Redirect(login_page_url);
        }

        if (!IsPostBack)
        {
            this.NotPostBackSetting();
            //IEstDeptID = -1;
            //SetDeptScoreCard();
        }
        else
        {
        }
    }
Exemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        writeLog(string.Format("{0} : Page_Load START", Request.PhysicalPath));

        //좌측메뉴설정
        //base.SetMenuControl(true, true, true);

        // 웹 취약성 검사 때문에 처리
        if (IYmd.Equals("-0") ||
            ISumType.Equals("-0") ||
            IBonID.Equals("-0") ||
            IBonNAME.Equals("-0") ||
            ITeamID.Equals("-0") ||
            ITeamNAME.Equals("-0") ||
            KPI_URL.Equals("-0"))
        {
            FormsAuthentication.SignOut();
            string login_page_url = WebUtility.GetConfig("Login_Page_Url", "~/base/Login.aspx");
            Response.Redirect(login_page_url);
        }

        if (!IsPostBack)
        {
            DropDownListCommom.BindEstTerm(ddlEstTermRefID);
            IEstTermRefID = WebUtility.GetIntByValueDropDownList(ddlEstTermRefID);

            MicroBSC.Integration.BSC.Biz.Biz_My_Kpi bizMyKpi = new MicroBSC.Integration.BSC.Biz.Biz_My_Kpi();
            IYmd = bizMyKpi.SelectCurrentYYYYMM();


            SetSCHDGrid("조직성과평가");
            btn1.ImageUrl = "../images/Intro/mywork1_on.png";
            btn2.ImageUrl = "../images/Intro/mywork2_off.png";
            btn3.ImageUrl = "../images/Intro/mywork3_off.png";
            btn4.ImageUrl = "../images/Intro/mywork4_off.png";

            SetMyKPIGrid();
            SetNoticeGrid();
            SetFAQGrid();
            DisplayScore();
        }
        else
        {
        }



        writeLog(string.Format("{0} : Page_Load END", Request.PhysicalPath));
    }
Exemplo n.º 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        // 웹 취약성 검사 때문에 처리
        if (IYmd.Equals("-0") ||
            ISumType.Equals("-0"))
        {
            ltrScript.Text = JSHelper.GetAlertScript("악성 요청을 거부합니다.", false);
            FormsAuthentication.SignOut();
            string login_page_url = WebUtility.GetConfig("Login_Page_Url", "~/base/Login.aspx");
            Response.Redirect(login_page_url);
        }

        if (!IsPostBack)
        {
            WebCommon.SetEstTermDropDownList(ddlEstTermInfo);
            WebCommon.SetTermMonthDropDownList(ddlMonthInfo, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));
            WebCommon.SetSumTypeDropDownList(ddlSumType, false);

            WebCommon.SetExternalScoreCheckBox(chkApplyExtScore, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo));
            chkApplyExtScore.Visible = false;

            wdtSYM.Value = DateTime.Now.AddYears(-1); //PageUtility.GetByTextDropDownList(ddlMonthInfo).Substring(1, 4) + "-01";
            wdtEYM.Value = DateTime.Now;

            this.SetParameter();
            this.SetGraph();
        }

        if (PageUtility.GetByValueRadioButtonList(rdoGubun) == "AY")
        {
            pnlAY.Visible = true;
            pnlAM.Visible = false;
        }
        else
        {
            pnlAY.Visible = false;
            pnlAM.Visible = true;
        }


        if (PageUtility.GetByValueRadioButtonList(rdoGubun) == "AY")
        {
            this.SetYearlyResultGraph();
        }
        else
        {
            this.SetKpiStatusGraph();
        }
    }