示例#1
0
 protected string isCheckedRightOfShowSpecialField(string strReportID)
 {
     if (RightList.Contains(strReportID))
     {
         return(RightList[RightList.IndexOf(strReportID) + 1].StartsWith("0.1") ? " checked='checked' " : "");
     }
     return("");
 }
示例#2
0
 protected string isCheckedRightOfOutput(string strReportID)
 {
     if (RightList.Contains(strReportID))
     {
         string strTmp = RightList[RightList.IndexOf(strReportID) + 1];
         return((strTmp.StartsWith("0.01") || strTmp.StartsWith("0.11")) ? " checked='checked' " : "");
     }
     return("");
 }
示例#3
0
    protected string isCheckedRightOfOutputAll(string strReportID)
    {
        if (RightList.Contains(strReportID))
        {
            string strTmp = RightList[RightList.IndexOf(strReportID) + 1];

            if (strTmp.Length == 5)
            {
                strTmp += ",";

                return(strTmp.EndsWith("1,") ? " checked='checked' " : "");
            }
        }
        return("");
    }
示例#4
0
 protected string isCheckedAddinRight(string strReportID)
 {
     if (strFucID.Equals(strReportID))
     {
         iIndex++;
     }
     else
     {
         strFucID = strReportID;
         iIndex   = 0;
     }
     if (RightList.Contains(strReportID) && RightList[RightList.IndexOf(strReportID) + 1].Length > iIndex + 2)
     {
         return((RightList[RightList.IndexOf(strReportID) + 1][iIndex + 2] == '1') ? " checked='checked' " : "");
     }
     return("");
 }