예제 #1
0
 // 确认新增小组
 public static bool InsertGroup(string text, ref string a_strErr)
 {
     if (FlowSystemPro.InsertGroup(text, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 // 删除小组
 public static bool DeleteGroup(string gid, ref string a_strErr)
 {
     if (FlowSystemPro.DeleteGroup(gid, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #3
0
 // 确认修改
 public static bool ModifyBasic(string XID, string Type, string Text, ref string a_strErr)
 {
     if (FlowSystemPro.ModifyBasic(XID, Type, Text, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #4
0
 // 删除
 public static bool DeleteBasic(string xid, string type, ref string a_strErr)
 {
     if (FlowSystemPro.DeleteBasic(xid, type, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #5
0
 // 确认新增
 public static bool InsertBasic(string type, string text, ref string a_strErr)
 {
     if (FlowSystemPro.InsertBasic(type, text, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #6
0
 // 确认修改 小组人员
 public static bool ModifyGroupUser(string UserID, string Text, string GroupID, ref string a_strErr)
 {
     if (FlowSystemPro.ModifyGroupUser(UserID, Text, GroupID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #7
0
        //
        public static List <SelectListItem> GetBasicContent()
        {
            List <SelectListItem> ListItem = new List <SelectListItem>();
            DataTable             dtDesc   = FlowSystemPro.GetBasicContent();

            if (dtDesc == null)
            {
                return(ListItem);
            }
            SelectListItem SelListItem = new SelectListItem();

            SelListItem.Value = "";
            SelListItem.Text  = "请选择";
            ListItem.Add(SelListItem);
            for (int i = 0; i < dtDesc.Rows.Count; i++)
            {
                SelListItem       = new SelectListItem();
                SelListItem.Value = dtDesc.Rows[i]["SID"].ToString();
                SelListItem.Text  = dtDesc.Rows[i]["Text"].ToString();
                ListItem.Add(SelListItem);
            }
            return(ListItem);
        }
예제 #8
0
 public static UIDataTable getBasicGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(FlowSystemPro.getBasicGrid(a_intPageSize, a_intPageIndex, where));
 }
예제 #9
0
 public static UIDataTable getPersonList(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(FlowSystemPro.getPersonList(a_intPageSize, a_intPageIndex, where));
 }