/// <summary> /// 获取某个区域用户列表 /// </summary> /// <param name="pageIndex"></param> /// <param name="location"></param> /// <returns></returns> public static string GetLocationUsr(int pageIndex, string location, string order = "") { IndexDetailModel detailModel = new IndexDetailModel(); int[] accId = DashBoardAnalyzeBLL.GetLocationAccId(pageIndex, location); //int[] accId = CommonLib.Helper.JsonDeserializeObject<List<int>>(dic["accidList"]).ToArray(); detailModel.listData = DashBoardAnalyzeBLL.GetGeneralList(accId, order, pageIndex); detailModel.rowCount = accId.Length; //int.Parse(dic["rowCount"]); detailModel.maxPage = accId.Length % 15 == 0 ? accId.Length / 15 : (accId.Length / 15 + 1); //int.Parse(dic["maxPage"]); return(CommonLib.Helper.JsonSerializeObject(detailModel, "")); }
public static string GetLocationUsrStatus(string location) { int[] accId = DashBoardAnalyzeBLL.GetLocationAccId(1, location); return(CommonLib.Helper.JsonSerializeObject(DashBoardAnalyzeBLL.GetLocationUsrStatus(accId))); }