개인정보 관련 업데이트 진행
ot 정보는 타인이 못봄 휴가신청 관련건도 타인이 못봄
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FCOMMON;
|
||||
using AR;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -12,10 +13,11 @@ namespace FPJ0000.JobReport_
|
||||
{
|
||||
public partial class rJobReportOT : fBase
|
||||
{
|
||||
int curLevel=0;
|
||||
public rJobReportOT()
|
||||
{
|
||||
InitializeComponent();
|
||||
//this.WindowState = FormWindowState.Maximized;
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.otconfirm));
|
||||
}
|
||||
|
||||
private void rJobReport_Load(object sender, EventArgs e)
|
||||
@@ -38,14 +40,16 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
cmbUserList.SelectedIndex = 0;
|
||||
|
||||
refrehData();
|
||||
//refrehData();
|
||||
}
|
||||
|
||||
void refrehData()
|
||||
{
|
||||
////휴일데이터가 들어가 있음.
|
||||
//var taH = new dsReportTableAdapters.HolidayLIstTableAdapter();
|
||||
//taH.Fill(this.dsReport.HolidayLIst, tbMon.Text + "%");
|
||||
if(curLevel < 5)
|
||||
{
|
||||
UTIL.MsgE("사용 권한이 없습니다");
|
||||
return;
|
||||
}
|
||||
|
||||
var isReqData = cmbApploval.SelectedIndex > 0; //미승인선택
|
||||
string prcname = tbProcess.SelectedIndex < 1 ? "%" : tbProcess.Text.Trim();
|
||||
@@ -459,7 +463,7 @@ namespace FPJ0000.JobReport_
|
||||
|
||||
private void tbProcess_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (tbProcess.SelectedIndex >= 0) refrehData();
|
||||
if (tbProcess.SelectedIndex >= 0 && curLevel >= 5) refrehData();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user