diff --git a/Waste.Application/BaseInfoService.cs b/Waste.Application/BaseInfoService.cs index 76ed286..0dabfc1 100644 --- a/Waste.Application/BaseInfoService.cs +++ b/Waste.Application/BaseInfoService.cs @@ -12,6 +12,6 @@ namespace Waste.Application { public static string CDNURL = App.Configuration["CDNURL"]; - public static OperatorModel currentUser = OperatorProvider.Provider.GetCurrent(); + public OperatorModel currentUser = OperatorProvider.Provider.GetCurrent(); } } diff --git a/Waste.Application/Business/BusinessService.cs b/Waste.Application/Business/BusinessService.cs index 9124716..5e3b03a 100644 --- a/Waste.Application/Business/BusinessService.cs +++ b/Waste.Application/Business/BusinessService.cs @@ -75,11 +75,11 @@ namespace Waste.Application public async Task> GetAllList(int status = -1) { var tempquery = dbClient.Queryable(); - if(status >= 0) + if (status >= 0) { tempquery = tempquery.Where(x => x.Status == status); } - if(currentUser.AccountType != (int)AccountType.platform) + if (currentUser.AccountType != (int)AccountType.platform) { tempquery = tempquery.Where(x => x.ParentId == currentUser.BusinessId || x.Id == currentUser.BusinessId); } @@ -124,30 +124,34 @@ namespace Waste.Application { temquery = temquery.Where(x => SqlFunc.Subqueryable().Where(e => e.AccountType == 1 && e.BusinessId == x.Id).Any()); } + //针对非平台类型,则可以查看下面所有的子账户设备 if (currentUser.AccountType != (int)AccountType.platform) { - temquery = temquery.Where(x => x.ParentId == currentUser.BusinessId); + var sql = $" code !={currentUser.BusinessCode} and code like '{currentUser.BusinessCode}'+'%' and id = x.id"; + temquery = temquery.Where(x => SqlFunc.Subqueryable().Where(sql).Any()); } string sorts = string.Format("{0} {1}", param.sort, param.order); var query = await temquery.OrderBy(sorts) - .Select(x=>new BusinessList { - Id=x.Id, - Address=x.Address, - CreateTime=x.CreateTime, - Status=x.Status, - Name=x.Name, - Phone=x.Phone + .Select(x => new BusinessList + { + Id = x.Id, + Address = x.Address, + CreateTime = x.CreateTime, + Status = x.Status, + Name = x.Name, + Phone = x.Phone }) .Mapper((it, cache) => { if (!noadmin) { - var allrealdata = cache.Get(list => { + var allrealdata = cache.Get(list => + { var ids = list.Select(x => x.Id).ToList(); return repository.Change().Context.Queryable().Where(x => ids.Contains(x.BusinessId)).ToList(); }); var realdata = allrealdata.FirstOrDefault(x => x.BusinessId == it.Id); - if(realdata != null) + if (realdata != null) { it.BusinessCnt = realdata.BusinessCnt; it.DevCnt = realdata.DevCnt; @@ -247,7 +251,7 @@ namespace Waste.Application buss.AccountType = (int)AccountType.agent; } Guid roleid = Guid.Parse("39FC70AA-652F-CE76-98A8-5C32D6E5D619"); - if (currentUser.AccountType == (int)AccountType.platform) + if (buss.AccountType == (int)AccountType.platform) { roleid = Guid.Parse("39FC70AA-1CDA-B9CD-5275-3D144841BEDD"); } @@ -506,7 +510,7 @@ namespace Waste.Application { if (currentUser.AccountType != (int)AccountType.platform) { - var data = await repository.Change().Context.Queryable().FirstAsync(); + var data = await repository.Change().Context.Queryable().FirstAsync(x => x.BusinessId == currentUser.BusinessId); if (data == null) return null; return new W_RealData @@ -528,5 +532,48 @@ namespace Waste.Application return data; } } + /// + /// 获取商户的昨天汇总信息 + /// + /// + public async Task GetBusinessTotalInfo() + { + DateTime yestodaytime = DateTime.Now.AddDays(-1); + if (currentUser.AccountType != (int)AccountType.platform) + { + string basesql = $"code like '{currentUser.BusinessCode}'+'%' and id = x.id"; + string sql = $" code !={currentUser.BusinessCode} and {basesql}"; + string devicesql = $"code like '{currentUser.BusinessCode}'+'%' and id = x.businessid"; + int businesscnt = await dbClient.Queryable().Where(x => SqlFunc.Subqueryable().Where(sql).Any()).CountAsync(); + int devcnt = await repository.Change().Context.Queryable().Where(x => SqlFunc.Subqueryable().Where(devicesql).Any()).CountAsync(); + var tempquery = repository.Change().Context.Queryable().Where(x => SqlFunc.DateIsSame(x.CreateTime, yestodaytime) && SqlFunc.Subqueryable().Where(devicesql).Any()); + int count = await tempquery.Clone().SumAsync(x => x.DayCount); + decimal weight = await tempquery.Clone().SumAsync(x => x.DayWeight); + decimal pureweight = await tempquery.Clone().SumAsync(x => x.DayPureWeight); + return new BusinessReport + { + BusinessCnt = businesscnt, + DevCount = devcnt, + YestodayCount = count, + YestodayPureWeight = pureweight, + YestodayWeight = weight + }; + } + else + { + var tempquery = repository.Change().Where(x => SqlFunc.DateIsSame(x.CreateTime, yestodaytime)); + int count = await tempquery.Clone().SumAsync(x => x.DayCount); + decimal weight = await tempquery.Clone().SumAsync(x => x.DayWeight); + decimal pureweight = await tempquery.Clone().SumAsync(x => x.DayPureWeight); + var data = await repository.Change().Context.Queryable().FirstAsync(); + return new BusinessReport { + DevCount = data.DevCnt, + BusinessCnt = data.BusinessCnt, + YestodayCount = count, + YestodayPureWeight = pureweight, + YestodayWeight = weight + }; + } + } } } diff --git a/Waste.Application/Business/Dtos/BusinessDto.cs b/Waste.Application/Business/Dtos/BusinessDto.cs index 1dd7ad3..6ff00e7 100644 --- a/Waste.Application/Business/Dtos/BusinessDto.cs +++ b/Waste.Application/Business/Dtos/BusinessDto.cs @@ -78,4 +78,30 @@ namespace Waste.Application /// public decimal TotalPureWeight { get; set; } = 0; } + /// + /// 商户汇总信息 + /// + public class BusinessReport + { + /// + /// 名下商户数量,包含所有级 + /// + public int BusinessCnt { get; set; } = 0; + /// + /// 名下设备数量,包含所有级 + /// + public int DevCount { get; set; } = 0; + /// + /// 昨日测量次数 + /// + public int YestodayCount { get; set; } = 0; + /// + /// 昨日测量毛重 + /// + public decimal YestodayWeight { get; set; } = 0; + /// + /// 昨日测量净重 + /// + public decimal YestodayPureWeight { get; set; } = 0; + } } diff --git a/Waste.Application/Business/IBusinessService.cs b/Waste.Application/Business/IBusinessService.cs index 69090ae..610d0cf 100644 --- a/Waste.Application/Business/IBusinessService.cs +++ b/Waste.Application/Business/IBusinessService.cs @@ -50,5 +50,10 @@ namespace Waste.Application /// /// Task GetTotalInfoAsync(); + /// + /// 获取商户的昨天汇总信息 + /// + /// + Task GetBusinessTotalInfo(); } } diff --git a/Waste.Application/Device/DeviceService.cs b/Waste.Application/Device/DeviceService.cs index e371b1c..852078f 100644 --- a/Waste.Application/Device/DeviceService.cs +++ b/Waste.Application/Device/DeviceService.cs @@ -149,9 +149,11 @@ namespace Waste.Application.Device temquery = temquery.Where(conModels); } } + //针对非平台类型,则可以查看下面所有的子账户设备 if (currentUser.AccountType != (int)AccountType.platform) { - temquery = temquery.Where(x => x.Businessid == currentUser.BusinessId); + var sql = $"code like '{currentUser.BusinessCode}'+'%' and id = x.businessid"; + temquery = temquery.Where(x => SqlFunc.Subqueryable().Where(sql).Any()); } string sorts = string.Format("{0} {1}", param.sort, param.order); var query = await temquery.OrderBy(sorts) @@ -276,13 +278,16 @@ namespace Waste.Application.Device var tdbclient = repository.Change().Context; if (!await tdbclient.Queryable().AnyAsync(x => x.DeviceId == role.Id)) { - await tdbclient.Insertable(new W_SZDevice + if(!string.IsNullOrEmpty(role.Secret) && !string.IsNullOrEmpty(role.SecretHash) && !string.IsNullOrEmpty(role.DevId)) { - DeviceId = role.Id, - Secret = role.Secret, - SecretHash = role.SecretHash, - DevId = role.DevId - }).ExecuteCommandAsync(); + await tdbclient.Insertable(new W_SZDevice + { + DeviceId = role.Id, + Secret = role.Secret, + SecretHash = role.SecretHash, + DevId = role.DevId + }).ExecuteCommandAsync(); + } } else { @@ -332,15 +337,17 @@ namespace Waste.Application.Device Tare = role.Tare }).ExecuteCommandAsync(); //更新平台信息 - var tdbclient = repository.Change().Context; - await tdbclient.Insertable(new W_SZDevice + if (!string.IsNullOrEmpty(role.Secret) && !string.IsNullOrEmpty(role.SecretHash) && !string.IsNullOrEmpty(role.DevId)) { - DeviceId = role.Id, - Secret = role.Secret, - SecretHash = role.SecretHash, - DevId = role.DevId - }).ExecuteCommandAsync(); - + var tdbclient = repository.Change().Context; + await tdbclient.Insertable(new W_SZDevice + { + DeviceId = role.Id, + Secret = role.Secret, + SecretHash = role.SecretHash, + DevId = role.DevId + }).ExecuteCommandAsync(); + } await _businessService.InsertOrUpdateRealDataAsync(); return new ResultInfo() { code = ResultState.SUCCESS, message = "添加成功!" }; } diff --git a/Waste.Application/ReportInfo/Dtos/ReportDto.cs b/Waste.Application/ReportInfo/Dtos/ReportDto.cs index 4cb733d..c6d7354 100644 --- a/Waste.Application/ReportInfo/Dtos/ReportDto.cs +++ b/Waste.Application/ReportInfo/Dtos/ReportDto.cs @@ -24,5 +24,19 @@ namespace Waste.Application /// 设备编号 /// public string DevCode { get; set; } = ""; + /// + /// 合计测量次数 + /// + public int TotalDayCount { get; set; } = 0; + + /// + /// 合计测量净重 + /// + public decimal TotalDayPureWeight { get; set; } = 0; + + /// + /// 合计测量重量 + /// + public decimal TotalDayWeight { get; set; } = 0; } } diff --git a/Waste.Application/ReportInfo/IReportService.cs b/Waste.Application/ReportInfo/IReportService.cs index e3319e9..9d79ffe 100644 --- a/Waste.Application/ReportInfo/IReportService.cs +++ b/Waste.Application/ReportInfo/IReportService.cs @@ -18,5 +18,11 @@ namespace Waste.Application /// /// Task> GetListAsync(QueryParams param); + /// + /// 根据商户和垃圾类型进行汇总 + /// + /// + /// + Task> GetListByBusinessAsync(QueryParams param); } } diff --git a/Waste.Application/ReportInfo/ReportAppService.cs b/Waste.Application/ReportInfo/ReportAppService.cs index 30861e9..d5bd321 100644 --- a/Waste.Application/ReportInfo/ReportAppService.cs +++ b/Waste.Application/ReportInfo/ReportAppService.cs @@ -29,5 +29,16 @@ namespace Waste.Application.ReportInfo { return await _reportService.GetListAsync(param); } + + /// + /// 根据商户和垃圾类型进行汇总 + /// + /// + /// + [HttpPost] + public async Task> GetListByBusinessAsync(QueryParams param) + { + return await _reportService.GetListByBusinessAsync(param); + } } } diff --git a/Waste.Application/ReportInfo/ReportService.cs b/Waste.Application/ReportInfo/ReportService.cs index ed27bf1..7a1fc29 100644 --- a/Waste.Application/ReportInfo/ReportService.cs +++ b/Waste.Application/ReportInfo/ReportService.cs @@ -60,10 +60,15 @@ namespace Waste.Application temquery = temquery.Where(conModels); } } + //针对非平台类型,则可以查看下面所有的子账户设备 if (currentUser.AccountType != (int)AccountType.platform) { - temquery = temquery.Where(x => x.Businessid == currentUser.BusinessId); + var sql = $"code like '{currentUser.BusinessCode}'+'%' and id = x.businessid"; + temquery = temquery.Where(x => SqlFunc.Subqueryable().Where(sql).Any()); } + int totaldaycount = await temquery.Clone().SumAsync(x => x.DayCount); + decimal totaldaypureweight = await temquery.Clone().SumAsync(x => x.DayPureWeight); + decimal totaldayweight = await temquery.Clone().SumAsync(x => x.DayWeight); string sorts = string.Format("{0} {1}", param.sort, param.order); var query = await temquery.OrderBy(sorts) .Select(x => new ReportList @@ -94,6 +99,81 @@ namespace Waste.Application var dev = alldev.FirstOrDefault(x => x.Id == it.DevId); it.DevName = dev != null ? dev.Name : ""; it.DevCode = dev != null ? dev.Ecode : ""; + it.TotalDayCount = totaldaycount; + it.TotalDayPureWeight = totaldaypureweight; + it.TotalDayWeight = totaldayweight; + }) + .ToPageListAsync(param.offset, param.limit, totalnum); + return new PageParms + { + page = param.offset, + Items = query, + totalnum = totalnum, + limit = param.limit + }; + } + /// + /// 根据商户和垃圾类型进行汇总 + /// + /// + /// + public async Task> GetListByBusinessAsync(QueryParams param) + { + RefAsync totalnum = 0; + var temquery = repository.Change().Context.Queryable(); + if (param.queryParam != null && param.queryParam.Count > 0) + { + List conModels = new List(); + param.queryParam.ForEach(x => + { + x.Value = x.Value.ToStr(); + if (!string.IsNullOrEmpty(x.Value)) + { + conModels.Add(new ConditionalModel() + { + FieldName = x.Name, + ConditionalType = (ConditionalType)x.Type, + FieldValue = x.Value.Trim() + }); + } + }); + if (conModels.Count > 0) + { + temquery = temquery.Where(conModels); + } + } + //针对非平台类型,则可以查看下面所有的子账户设备 + if (currentUser.AccountType != (int)AccountType.platform) + { + var sql = $"code like '{currentUser.BusinessCode}'+'%' and id = x.businessid"; + temquery = temquery.Where(x => SqlFunc.Subqueryable().Where(sql).Any()); + } + int totaldaycount = await temquery.Clone().SumAsync(x => x.DayCount); + decimal totaldaypureweight = await temquery.Clone().SumAsync(x => x.DayPureWeight); + decimal totaldayweight = await temquery.Clone().SumAsync(x => x.DayWeight); + string sorts = string.Format("{0} {1}", param.sort, param.order); + var query = await temquery.Clone().OrderBy(sorts) + .Select(x => new ReportList + { + Businessid = x.BusinessId, + CreateTime = x.CreateTime, + DayCount = x.DayCount, + DayPureWeight = x.DayPureWeight, + DayWeight = x.DayWeight, + WasteType = x.WasteType + }) + .Mapper((it, cache) => + { + var allbus = cache.Get(list => + { + var ids = list.Where(x => x.Businessid != Guid.Empty).Select(x => x.Businessid).ToList(); + return repository.Change().Context.Queryable().Where(e => ids.Contains(e.Id)).ToList(); + }); + var bus = allbus.FirstOrDefault(x => x.Id == it.Businessid); + it.BusinessName = bus != null ? bus.Name : ""; + it.TotalDayCount = totaldaycount; + it.TotalDayPureWeight = totaldaypureweight; + it.TotalDayWeight = totaldayweight; }) .ToPageListAsync(param.offset, param.limit, totalnum); return new PageParms diff --git a/Waste.Application/ResultInfos/ResultService.cs b/Waste.Application/ResultInfos/ResultService.cs index 80efc89..5ca1d32 100644 --- a/Waste.Application/ResultInfos/ResultService.cs +++ b/Waste.Application/ResultInfos/ResultService.cs @@ -69,9 +69,11 @@ namespace Waste.Application temquery = temquery.Where(conModels); } } + //针对非平台类型,则可以查看下面所有的子账户设备 if (currentUser.AccountType != (int)AccountType.platform) { - temquery = temquery.Where(x => x.BusinessId == currentUser.BusinessId); + var sql = $"code like '{currentUser.BusinessCode}'+'%' and id = x.businessid"; + temquery = temquery.Where(x => SqlFunc.Subqueryable().Where(sql).Any()); } string sorts = string.Format("{0} {1}", param.sort, param.order); var query = await temquery.OrderBy(sorts) @@ -183,7 +185,9 @@ namespace Waste.Application if (myPackage.IsWeight && myPackage.Weight.ToDecimal() >0) { var devicesecret = await repository.Change().Context.Queryable().FirstAsync(x => x.DeviceId == device.Id); - if (devicesecret != null) + if (devicesecret != null && !string.IsNullOrEmpty(devicesecret.Secret) + && !string.IsNullOrEmpty(devicesecret.SecretHash) + && !string.IsNullOrEmpty(devicesecret.DevId)) { int timestamp = GetTimestamp(time); await _suZhouService.PostGarbagesAsync(new GarbagePltC2SDto diff --git a/Waste.Application/Waste.Application.xml b/Waste.Application/Waste.Application.xml index 6c89c06..98c7a3c 100644 --- a/Waste.Application/Waste.Application.xml +++ b/Waste.Application/Waste.Application.xml @@ -248,6 +248,12 @@ + + + 获取商户的昨天汇总信息 + + + 密码 @@ -328,6 +334,36 @@ 累计净重 + + + 商户汇总信息 + + + + + 名下商户数量,包含所有级 + + + + + 名下设备数量,包含所有级 + + + + + 昨日测量次数 + + + + + 昨日测量毛重 + + + + + 昨日测量净重 + + 重置密码 @@ -367,6 +403,12 @@ + + + 获取商户的昨天汇总信息 + + + 设备接口 @@ -1058,6 +1100,21 @@ 设备编号 + + + 合计测量次数 + + + + + 合计测量净重 + + + + + 合计测量重量 + + 统计信息 @@ -1070,6 +1127,13 @@ + + + 根据商户和垃圾类型进行汇总 + + + + 统计报表 @@ -1082,6 +1146,13 @@ + + + 根据商户和垃圾类型进行汇总 + + + + 统计管理 @@ -1094,6 +1165,13 @@ + + + 根据商户和垃圾类型进行汇总 + + + + 商户名称 diff --git a/Waste.Doc/Waste.pdb b/Waste.Doc/Waste.pdb index dfb051c..8fd1ec6 100644 --- a/Waste.Doc/Waste.pdb +++ b/Waste.Doc/Waste.pdb @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ Waste 1619681546 Administrator -1622029364 +1622166314 Administrator [FolderOptions] @@ -3867,7 +3867,7 @@ PhysOpts= PhysicalDiagram_1 1619681546 Administrator -1622029364 +1622166314 Administrator [DisplayPreferences] @@ -4640,6 +4640,31 @@ LABL 0 新宋体,8,N + +1622166286 +1622166314 +-1 +((-7197,-109143), (7195,-101945)) +12615680 +16570034 +12632256 +STRN 0 新宋体,8,N +DISPNAME 0 新宋体,8,N +OWNRDISPNAME 0 新宋体,8,N +Columns 0 新宋体,8,N +TablePkColumns 0 新宋体,8,U +TableFkColumns 0 新宋体,8,N +Keys 0 新宋体,8,N +Indexes 0 新宋体,8,N +Triggers 0 新宋体,8,N +LABL 0 新宋体,8,N +6 +65 +16777215 + + + + @@ -4658,7 +4683,7 @@ LABL 0 新宋体,8,N 商户表 - + EAE094A3-4F9B-4A34-B7B5-36CE2CA069FD Id Id @@ -4669,7 +4694,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D5B117B2-4204-4A8F-B614-935FFCBC1F7B Code Code @@ -4682,7 +4707,7 @@ LABL 0 新宋体,8,N 100 1 - + 6FEE4EA8-49B0-4F2E-95F0-C5295126D8EA ParentId ParentId @@ -4694,7 +4719,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 1524845B-187C-4A6D-8862-959DC2467C16 Name Name @@ -4707,7 +4732,7 @@ LABL 0 新宋体,8,N 100 1 - + 60CF7AD1-F2BC-4B24-90F8-574BE65EDD81 Phone Phone @@ -4720,7 +4745,7 @@ LABL 0 新宋体,8,N 20 1 - + EDA6D2EA-56EC-4145-B770-08D0393CE960 Status Status @@ -4732,7 +4757,7 @@ LABL 0 新宋体,8,N int 1 - + 176F8BE8-5551-433B-AA9C-6DC37589F341 Remark Remark @@ -4745,7 +4770,7 @@ LABL 0 新宋体,8,N 200 1 - + C7152CE9-62A3-4BDD-8C58-A519FA71EBFD Province Province @@ -4758,7 +4783,7 @@ LABL 0 新宋体,8,N 50 1 - + E33C31D6-D772-4B4A-A785-66C13DE1560D City City @@ -4771,7 +4796,7 @@ LABL 0 新宋体,8,N 50 1 - + EC4648B7-3E69-409D-A1E9-462378402C75 Area Area @@ -4784,7 +4809,7 @@ LABL 0 新宋体,8,N 50 1 - + 54F2A6F1-F286-4FC3-A890-36BA8C809A12 Address Address @@ -4797,7 +4822,7 @@ LABL 0 新宋体,8,N 200 1 - + 7C861AC8-B0F4-4DFF-A76C-C18A3D98244C CreateTime CreateTime @@ -4811,7 +4836,7 @@ LABL 0 新宋体,8,N - + 8955CDA4-BC70-4380-8471-90D07B1679A4 Key_1 Key_1 @@ -4820,15 +4845,15 @@ LABL 0 新宋体,8,N 1619689024 Administrator - + - + - + @@ -4842,7 +4867,7 @@ LABL 0 新宋体,8,N 垃圾物品分类 - + 424BBCBB-AB98-4D40-8C4B-9C6E2BAAC8EC Id Id @@ -4853,7 +4878,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 563DED82-6310-48BB-89A0-2BCC0D913DC7 Code Code @@ -4866,7 +4891,7 @@ LABL 0 新宋体,8,N 20 1 - + 5E598A6D-D287-4287-B84A-2ABEAA0FB757 Name Name @@ -4879,7 +4904,7 @@ LABL 0 新宋体,8,N 100 1 - + 2A460ABF-C0F2-4417-BC0E-1DE96969D82A Status Status @@ -4891,7 +4916,7 @@ LABL 0 新宋体,8,N int 1 - + 3EA6B67A-E4EF-47DC-B3BD-6965087009A1 CreateTime CreateTime @@ -4905,7 +4930,7 @@ LABL 0 新宋体,8,N - + E307D2AA-E2D4-4B31-9EB1-E07448FD7768 Key_1 Key_1 @@ -4914,15 +4939,15 @@ LABL 0 新宋体,8,N 1619689530 Administrator - + - + - + @@ -4936,7 +4961,7 @@ LABL 0 新宋体,8,N 账户表 - + FCD48089-A5E1-4673-AF4F-161A922C02BA Id Id @@ -4947,7 +4972,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 346D03BE-04E6-4003-BFA3-21938540E730 UserName UserName @@ -4960,7 +4985,7 @@ LABL 0 新宋体,8,N 50 1 - + 0EA1F5AF-BDD7-4850-BD58-968B00862BAD RealName RealName @@ -4973,7 +4998,7 @@ LABL 0 新宋体,8,N 100 1 - + 32FE8F30-F637-48EC-87FA-68E43CAF9809 Phone Phone @@ -4986,7 +5011,7 @@ LABL 0 新宋体,8,N 50 1 - + 6EAD6C7C-EA78-4E17-B845-69E05FA43B08 Password Password @@ -4999,7 +5024,7 @@ LABL 0 新宋体,8,N 50 1 - + B5268828-D74F-42E1-A686-AF8C55CC99CD Secret Secret @@ -5012,7 +5037,7 @@ LABL 0 新宋体,8,N 50 1 - + 498C89F8-A2D2-42C7-B686-501445872CEA RoleId RoleId @@ -5024,7 +5049,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + F1F92641-E582-4980-86B8-AD903D3EE1E6 AccountType AccountType @@ -5036,7 +5061,7 @@ LABL 0 新宋体,8,N int 1 - + 32559E84-B606-4298-9C1F-C8032F4496DF BusinessId BusinessId @@ -5048,7 +5073,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 1550F6CE-E9C7-4C68-86B6-00286E66931B Status Status @@ -5060,7 +5085,7 @@ LABL 0 新宋体,8,N int 1 - + EF047C05-A619-4069-91E5-80202742C406 LastVisitIP LastVisitIP @@ -5073,7 +5098,7 @@ LABL 0 新宋体,8,N 50 1 - + 2E81436B-2536-4A3C-A274-EC134EB41DC3 LastVisitTime LastVisitTime @@ -5084,7 +5109,7 @@ LABL 0 新宋体,8,N 最近访问时间 datetime - + 5DC1C9D1-1BC4-48D1-BEE3-5FC64BE73278 CreateTime CreateTime @@ -5098,7 +5123,7 @@ LABL 0 新宋体,8,N - + 99E90195-B1DF-4429-837B-86314217FAD1 Key_1 Key_1 @@ -5107,15 +5132,15 @@ LABL 0 新宋体,8,N 1619689815 Administrator - + - + - + @@ -5129,7 +5154,7 @@ LABL 0 新宋体,8,N 设备表 - + A2E88279-AFB8-49CB-A10D-75C855636FEA Id Id @@ -5140,7 +5165,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + EFECEDDC-FAB5-4166-99FF-020BCF4C55E3 FacEcode FacEcode @@ -5153,7 +5178,7 @@ LABL 0 新宋体,8,N 50 1 - + B94CCF4A-19F3-4D0C-BBFD-184E1963BA75 Ecode Ecode @@ -5166,7 +5191,7 @@ LABL 0 新宋体,8,N 50 1 - + 493C2DA4-DFEF-40A7-98B8-081BFB83CB45 DeviceType DeviceType @@ -5178,7 +5203,7 @@ LABL 0 新宋体,8,N int 1 - + 24E5CE1E-F678-4448-BACE-7928351B6941 Name Name @@ -5191,7 +5216,7 @@ LABL 0 新宋体,8,N 100 1 - + BB5F5BC4-A871-425F-8573-933CDEAA5098 Businessid Businessid @@ -5203,7 +5228,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + E18DE320-7060-4CB3-A162-70D78DEE2143 NetType NetType @@ -5215,7 +5240,7 @@ LABL 0 新宋体,8,N int 1 - + 8E337024-A315-47F1-ACF1-4EFC0CF06A28 Province Province @@ -5227,7 +5252,7 @@ LABL 0 新宋体,8,N 50 1 - + DD1BBE78-B55E-458B-ACAE-93477212E255 City City @@ -5240,7 +5265,7 @@ LABL 0 新宋体,8,N 50 1 - + 6300F722-C4E8-4CFC-B4F8-998A228D740A Area Area @@ -5253,7 +5278,7 @@ LABL 0 新宋体,8,N 50 1 - + DC5077A8-E9EA-421C-8DEC-7BFC6E376D3F Address Address @@ -5266,7 +5291,7 @@ LABL 0 新宋体,8,N 200 1 - + 7D506E33-4C24-4966-A23E-464932B94D84 Remark Remark @@ -5279,7 +5304,7 @@ LABL 0 新宋体,8,N 200 1 - + 226BE9DD-94F6-48E9-8D35-BA2AF5AF606D InstallTime InstallTime @@ -5290,7 +5315,7 @@ LABL 0 新宋体,8,N 安装到小区的时间 datetime - + B2DDEB9E-7359-4F5F-827E-88071D461B85 ActiveTime ActiveTime @@ -5301,7 +5326,7 @@ LABL 0 新宋体,8,N 激活时间 datetime - + 661D7181-8EE5-48EF-A04B-6F431C6AC354 Status Status @@ -5313,7 +5338,7 @@ LABL 0 新宋体,8,N int 1 - + F44652B4-37F2-458F-9559-702A0265BC20 LastHeartTime LastHeartTime @@ -5324,7 +5349,7 @@ LABL 0 新宋体,8,N 最近使用时间 datetime - + 1B090CD6-977C-4900-871F-12FE9A1FB31F CreateTime CreateTime @@ -5336,7 +5361,7 @@ LABL 0 新宋体,8,N datetime 1 - + D9867D35-4FAD-4000-84D8-7E4200147760 Tare Tare @@ -5353,7 +5378,7 @@ LABL 0 新宋体,8,N - + 55DDE656-5768-400E-9C78-E53B6E97AA29 Key_1 Key_1 @@ -5362,15 +5387,15 @@ LABL 0 新宋体,8,N 1619689861 Administrator - + - + - + @@ -5384,7 +5409,7 @@ LABL 0 新宋体,8,N 设备实时数据 - + 5B773A68-ABEE-4039-8BA3-B60DE4149F44 Id Id @@ -5395,7 +5420,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D11BD4F4-95C1-4E0E-BCB1-E39513B4E949 DeviceId DeviceId @@ -5407,7 +5432,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 69CB7474-1CF3-4092-AEE7-BBEE2B242A84 BusinessId BusinessId @@ -5419,7 +5444,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D983C066-50DD-410E-976E-3D451C240A2B TodayCount TodayCount @@ -5431,7 +5456,7 @@ LABL 0 新宋体,8,N int 1 - + 3666B978-6B39-459F-B5AB-107076C7D61E TotalCount TotalCount @@ -5443,7 +5468,7 @@ LABL 0 新宋体,8,N int 1 - + CE352F39-4DD1-45E2-88F6-0EFAAB2C8133 TodayWeigth TodayWeigth @@ -5457,7 +5482,7 @@ LABL 0 新宋体,8,N 2 1 - + 8814639B-19B7-4600-BFCA-105CF914A2E1 TotalWeight TotalWeight @@ -5471,7 +5496,7 @@ LABL 0 新宋体,8,N 2 1 - + B116E00C-4B6E-4DD7-BBC9-B9EFD4B37BC8 TodayPureWeight TodayPureWeight @@ -5485,7 +5510,7 @@ LABL 0 新宋体,8,N 2 1 - + 0FC5895A-6CDC-4909-A4A5-846C527FD45B TotalPureWeight TotalPureWeight @@ -5501,7 +5526,7 @@ LABL 0 新宋体,8,N - + B079AD1A-1735-449A-899A-707D93543F01 Key_1 Key_1 @@ -5510,15 +5535,15 @@ LABL 0 新宋体,8,N 1619690280 Administrator - + - + - + @@ -5532,7 +5557,7 @@ LABL 0 新宋体,8,N 投放记录 - + DE6E3C24-546A-41C0-87E2-AA733BF1F3B4 Id Id @@ -5543,7 +5568,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 077B62FA-4F62-40AD-BF51-9DAF77067F76 DeviceId DeviceId @@ -5555,7 +5580,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + ACC88E34-5937-4D1D-A856-A03068F4A036 BusinessId BusinessId @@ -5567,7 +5592,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 32048D6F-D2A7-4C30-A5F2-E230C235A237 WasteType WasteType @@ -5580,7 +5605,7 @@ LABL 0 新宋体,8,N 50 1 - + A2B218C4-D530-4513-8188-83DD26B7719C Tare Tare @@ -5594,7 +5619,7 @@ LABL 0 新宋体,8,N 2 1 - + 33AF4358-257C-4FDE-8409-7D7F98324D94 GrossWeight GrossWeight @@ -5608,7 +5633,7 @@ LABL 0 新宋体,8,N 2 1 - + DA09CD95-1452-474D-9DD3-DE78C93C1BF9 NetWeight NetWeight @@ -5622,7 +5647,7 @@ LABL 0 新宋体,8,N 2 1 - + E984E1AB-BEA7-499F-A5A6-5CB5325FC09E Registration Registration @@ -5635,7 +5660,7 @@ LABL 0 新宋体,8,N 200 1 - + 1F9FA8EF-C1FB-4479-AF47-90E8FA430C47 CreateTime CreateTime @@ -5649,7 +5674,7 @@ LABL 0 新宋体,8,N - + ACEDCDE3-0940-4C78-AE4C-848894183D1F Key_1 Key_1 @@ -5658,18 +5683,18 @@ LABL 0 新宋体,8,N 1619690638 Administrator - + - + - + - + ACE4B647-A954-44F7-902A-F3448F4BFAE5 W_Role W_Role @@ -5680,7 +5705,7 @@ LABL 0 新宋体,8,N 角色 - + 5000382C-BC84-4421-8D4C-EF9B5151E7BF Id Id @@ -5691,7 +5716,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + BFBFFA69-2C74-405E-95B3-3CA2B483D751 Name Name @@ -5704,7 +5729,7 @@ LABL 0 新宋体,8,N 50 1 - + 118B7F1F-1775-4F50-B73F-4317077310E2 EnCode EnCode @@ -5717,7 +5742,7 @@ LABL 0 新宋体,8,N 50 1 - + 38B3DD51-CA8D-4AA9-899C-D3583BDDB47C Remark Remark @@ -5730,7 +5755,7 @@ LABL 0 新宋体,8,N 200 1 - + 5936881D-D6D3-4A37-909C-BD2E20C6D9A1 CreateTime CreateTime @@ -5744,7 +5769,7 @@ LABL 0 新宋体,8,N - + CE860C86-FCFC-4B35-BBC4-705445B773CB Key_1 Key_1 @@ -5753,18 +5778,18 @@ LABL 0 新宋体,8,N 1620290672 Administrator - + - + - + - + 208DADDC-2D55-4A0C-BFFA-4CFE3AAF4F34 W_RoleAuthorize W_RoleAuthorize @@ -5775,7 +5800,7 @@ LABL 0 新宋体,8,N 角色菜单 - + 0D7C4194-E4B7-4150-A3D7-52E99EBA9482 Id Id @@ -5786,7 +5811,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + B25F3823-FB47-402A-9F57-8D1E38F98E17 RoleId RoleId @@ -5798,7 +5823,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + FD1484A6-79AE-4EBA-B4ED-1461C3E847F9 MenuId MenuId @@ -5810,7 +5835,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + C36B41D6-C497-4013-97C7-15B64CF2095D CreateTime CreateTime @@ -5824,7 +5849,7 @@ LABL 0 新宋体,8,N - + 95D8732D-9C10-47D0-8CEE-C6AABF24D565 Key_1 Key_1 @@ -5833,18 +5858,18 @@ LABL 0 新宋体,8,N 1620290672 Administrator - + - + - + - + 0B5B6F9F-A9E6-4473-8747-E53FF0962338 W_Menu W_Menu @@ -5855,7 +5880,7 @@ LABL 0 新宋体,8,N 菜单 - + 19063851-86D7-4F3F-B5E3-82962B4802F3 Id Id @@ -5866,7 +5891,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + EFB90817-31A8-40A3-B7F8-5CC3F1FD8AEE ParentId ParentId @@ -5878,7 +5903,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 239CAC63-4876-4B17-ADDB-B1B87E275345 Name Name @@ -5891,7 +5916,7 @@ LABL 0 新宋体,8,N 50 1 - + 493AFF63-21B1-403D-9B09-B8274597E5B8 Icon Icon @@ -5904,7 +5929,7 @@ LABL 0 新宋体,8,N 50 1 - + E922E459-49A5-4D08-8A2B-396426553A64 UrlAddress UrlAddress @@ -5917,7 +5942,7 @@ LABL 0 新宋体,8,N 200 1 - + 785FFECA-9E60-4047-BB96-C457FD417DE7 SortCode SortCode @@ -5929,7 +5954,7 @@ LABL 0 新宋体,8,N int 1 - + A3194E35-565A-4897-8659-10B424219E18 Status Status @@ -5941,7 +5966,7 @@ LABL 0 新宋体,8,N int 1 - + D96339DC-0C0F-4ED6-B3DC-93AE77565E00 CreateTime CreateTime @@ -5955,7 +5980,7 @@ LABL 0 新宋体,8,N - + 9EE04610-E470-486C-A66A-0A6288149CD7 Key_1 Key_1 @@ -5964,15 +5989,15 @@ LABL 0 新宋体,8,N 1620290672 Administrator - + - + - + @@ -5986,7 +6011,7 @@ LABL 0 新宋体,8,N 地址信息配置 - + AC14B4FC-522D-4E1F-B329-30F9B7C955AA Id Id @@ -5997,7 +6022,7 @@ LABL 0 新宋体,8,N int 1 - + C6B310E8-7E4B-4681-8763-B3756BBD5F86 pid pid @@ -6008,7 +6033,7 @@ LABL 0 新宋体,8,N int 1 - + 39797626-12A8-4863-93EB-6F7B523D7B65 name name @@ -6020,7 +6045,7 @@ LABL 0 新宋体,8,N 100 1 - + 931B8CE0-1096-469C-9E48-C8E848BAC1C8 code code @@ -6032,7 +6057,7 @@ LABL 0 新宋体,8,N 50 1 - + B0D39907-E6D0-4C26-B471-D14F34A19CE9 level level @@ -6056,7 +6081,7 @@ LABL 0 新宋体,8,N 设备信息 - + 88AFC42C-53C0-4FB4-AC29-592172FF1858 DeviceId DeviceId @@ -6067,7 +6092,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 1C02E90D-DB3C-4A18-A057-3EB561E3028F ICCID ICCID @@ -6080,7 +6105,7 @@ LABL 0 新宋体,8,N 50 1 - + FC8ABC44-373B-4816-BAE3-CF01E8A786E8 IMEI IMEI @@ -6093,7 +6118,7 @@ LABL 0 新宋体,8,N 50 1 - + 97CEFA2E-6AF6-407A-A3DB-B64D57F2F536 IMSI IMSI @@ -6106,7 +6131,7 @@ LABL 0 新宋体,8,N 50 1 - + B99CCA89-E237-45D2-9D10-545ECD3DC48C Longitude Longitude @@ -6119,7 +6144,7 @@ LABL 0 新宋体,8,N 50 1 - + 732A5A74-F226-462D-8555-E0FBCFEF5342 Latitude Latitude @@ -6132,7 +6157,7 @@ LABL 0 新宋体,8,N 50 1 - + 6A7146AE-73E4-4506-8271-00EC32E395A0 LastBeatTime LastBeatTime @@ -6143,7 +6168,7 @@ LABL 0 新宋体,8,N 最近心跳时间 datetime - + 48A159AE-078F-45B9-B7EB-3CEA7A299D70 LastStartTime LastStartTime @@ -6154,7 +6179,7 @@ LABL 0 新宋体,8,N 最近开机时间 datetime - + 37427A1C-5648-45F1-8AE5-1CE75C54AA26 Sign Sign @@ -6169,7 +6194,7 @@ LABL 0 新宋体,8,N - + 08070677-6F55-4C44-A88D-4ABD632550D8 Key_1 Key_1 @@ -6178,15 +6203,15 @@ LABL 0 新宋体,8,N 1620819000 Administrator - + - + - + @@ -6200,7 +6225,7 @@ LABL 0 新宋体,8,N 商户实时统计数据 - + AD79FCD7-898C-4366-9F24-F809CB080977 Id Id @@ -6211,7 +6236,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 81AD769E-0C49-455F-92AA-D0CFA436A7BD BusinessId BusinessId @@ -6223,7 +6248,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D96DEE55-90E5-4092-A78D-CC3BD1B5A020 BusinessCnt BusinessCnt @@ -6235,7 +6260,7 @@ LABL 0 新宋体,8,N int 1 - + C52D99B4-3D07-46E9-BDB4-366F83D4495C DevCnt DevCnt @@ -6247,7 +6272,7 @@ LABL 0 新宋体,8,N int 1 - + 366EA4FB-BB74-4B8C-B24D-8D7EF138B970 TodayDevActiveCnt TodayDevActiveCnt @@ -6259,7 +6284,7 @@ LABL 0 新宋体,8,N int 1 - + 1DF9CD44-FD4A-43F1-B258-96B3D8B3FEF0 TodayCount TodayCount @@ -6271,7 +6296,7 @@ LABL 0 新宋体,8,N int 1 - + 7D92ECB9-0513-4EEB-9AC8-15048CFCA262 TodayWeight TodayWeight @@ -6285,7 +6310,7 @@ LABL 0 新宋体,8,N 2 1 - + AEAA8ECB-B505-4A20-BF17-A739E862AACD TodayPureWeight TodayPureWeight @@ -6299,7 +6324,7 @@ LABL 0 新宋体,8,N 2 1 - + 8C1515B0-A1E1-46FB-B9B6-7A7EE99E8AF7 TotalCount TotalCount @@ -6311,7 +6336,7 @@ LABL 0 新宋体,8,N int 1 - + 2C40EDBA-80AD-4C4F-A35D-C77411D3F1DF TotalWeight TotalWeight @@ -6325,7 +6350,7 @@ LABL 0 新宋体,8,N 2 1 - + E57E92FE-7529-4F1C-ACCB-D648A99CF485 TotalPureWeight TotalPureWeight @@ -6341,7 +6366,7 @@ LABL 0 新宋体,8,N - + 5F112707-923A-4F0D-8E17-01FB261D317C Key_1 Key_1 @@ -6350,15 +6375,15 @@ LABL 0 新宋体,8,N 1621837634 Administrator - + - + - + @@ -6372,7 +6397,7 @@ LABL 0 新宋体,8,N 账户总计实时数据 - + 3FECB935-5AE6-4867-89D3-BA84F76C5BA5 Id Id @@ -6383,7 +6408,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + F72D0CB9-5783-4C42-BF3A-AE506C1840E6 BusinessCnt BusinessCnt @@ -6395,7 +6420,7 @@ LABL 0 新宋体,8,N int 1 - + BC9D81F2-2508-4D89-8247-1B368E6C7C8B DevCnt DevCnt @@ -6407,7 +6432,7 @@ LABL 0 新宋体,8,N int 1 - + 2874D41B-450A-4C25-9178-38161514D816 TodayDevActiveCnt TodayDevActiveCnt @@ -6419,7 +6444,7 @@ LABL 0 新宋体,8,N int 1 - + F114B2EA-7F25-4B47-9D1C-9290F23FCB98 TodayCount TodayCount @@ -6431,7 +6456,7 @@ LABL 0 新宋体,8,N int 1 - + 00147609-078F-48C0-BB8A-310031FBABD4 TodayWeight TodayWeight @@ -6445,7 +6470,7 @@ LABL 0 新宋体,8,N 2 1 - + E931A0EE-E064-49CC-95BC-5295BFFA9927 TodayPureWeight TodayPureWeight @@ -6459,7 +6484,7 @@ LABL 0 新宋体,8,N 2 1 - + D863CB0C-1228-4108-B7DC-ED7B4759CDF4 TotalCount TotalCount @@ -6471,7 +6496,7 @@ LABL 0 新宋体,8,N int 1 - + 1940C18D-F7E2-4033-B708-680E44DE2710 TotalWeight TotalWeight @@ -6485,7 +6510,7 @@ LABL 0 新宋体,8,N 2 1 - + F15F6BD9-2089-4979-994E-4B794DF700AE TotalPureWeight TotalPureWeight @@ -6501,7 +6526,7 @@ LABL 0 新宋体,8,N - + ADFCF82A-CBD9-4B6E-8507-DB48BA848FC3 Key_1 Key_1 @@ -6510,15 +6535,15 @@ LABL 0 新宋体,8,N 1621840707 Administrator - + - + - + @@ -6532,7 +6557,7 @@ LABL 0 新宋体,8,N 设备统计 - + 6F68FC6F-62A6-48B9-830E-BE41598AC3EE Id Id @@ -6544,7 +6569,7 @@ LABL 0 新宋体,8,N 1 1 - + 74DADCF7-93A9-4F93-AF4C-1B30E6ED844D Businessid Businessid @@ -6556,7 +6581,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 29A0E824-F619-4E48-B6D9-1B69AF143710 DevId DevId @@ -6568,7 +6593,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 18B63CFA-1BE1-4659-8ADA-237E102BFA87 DayCount DayCount @@ -6580,7 +6605,7 @@ LABL 0 新宋体,8,N int 1 - + 98E9442A-B5E3-4612-9745-E2B078A63C1C DayWeight DayWeight @@ -6594,7 +6619,7 @@ LABL 0 新宋体,8,N 2 1 - + 4EBE0415-F9BD-497F-9C41-E614AF99D1DC DayPureWeight DayPureWeight @@ -6608,7 +6633,7 @@ LABL 0 新宋体,8,N 2 1 - + 8DD45777-4948-49B4-8684-822E28DA6876 WasteType WasteType @@ -6621,7 +6646,7 @@ LABL 0 新宋体,8,N 50 1 - + DF48BAB3-A662-4E2F-97F2-AB8A42461135 CreateTime CreateTime @@ -6635,7 +6660,7 @@ LABL 0 新宋体,8,N - + E5462E67-D593-45E3-88CA-00A920CFF72E Key_1 Key_1 @@ -6644,15 +6669,15 @@ LABL 0 新宋体,8,N 1621845844 Administrator - + - + - + @@ -6666,7 +6691,7 @@ LABL 0 新宋体,8,N 地产区域 - + 55DF7B52-A439-43E8-95CA-EDAF1C479E49 Id Id @@ -6677,7 +6702,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 03D35C30-FA35-49DD-B3CF-680DB42F76C9 AdId AdId @@ -6690,7 +6715,7 @@ LABL 0 新宋体,8,N 50 1 - + 188B451F-FE49-49E5-B64A-B736DA998E16 Code Code @@ -6703,7 +6728,7 @@ LABL 0 新宋体,8,N 50 1 - + 31EB6C96-39E7-450D-99D9-87836E9524A9 Name Name @@ -6716,7 +6741,7 @@ LABL 0 新宋体,8,N 100 1 - + 3EF5EBCF-6A87-4EE0-BED5-73FE52746732 Addr Addr @@ -6729,7 +6754,7 @@ LABL 0 新宋体,8,N 300 1 - + CE00A46F-396D-44BE-85EE-56435E048632 City City @@ -6741,7 +6766,7 @@ LABL 0 新宋体,8,N 50 1 - + B3F5D215-A2D9-41A3-872D-9389668A6AE5 Area Area @@ -6753,7 +6778,7 @@ LABL 0 新宋体,8,N 50 1 - + DBBECB3A-0F7D-47D7-848C-C023376D3194 Street Street @@ -6765,7 +6790,7 @@ LABL 0 新宋体,8,N 50 1 - + CBE167C1-C1D1-426A-B123-0DA2E051C716 CreateTime CreateTime @@ -6779,7 +6804,7 @@ LABL 0 新宋体,8,N - + 862A6BDE-103E-4399-8DE1-595E0B3506FA Key_1 Key_1 @@ -6788,15 +6813,15 @@ LABL 0 新宋体,8,N 1622016023 Administrator - + - + - + @@ -6810,7 +6835,7 @@ LABL 0 新宋体,8,N 采集点 - + 259A3E4D-5118-4532-B0EA-013B6F0900D6 Id Id @@ -6821,7 +6846,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 03B74128-F1C6-4D72-ACFC-B94302F4CF9C CoId CoId @@ -6834,7 +6859,7 @@ LABL 0 新宋体,8,N 50 1 - + F5C25882-F109-470B-A3C1-6108E4D87A98 EstateId EstateId @@ -6847,7 +6872,7 @@ LABL 0 新宋体,8,N 50 1 - + 8B185000-6590-41A2-B002-F935EE06F319 Code Code @@ -6860,7 +6885,7 @@ LABL 0 新宋体,8,N 50 1 - + ED56B9E2-221D-4515-B0E2-8DC02A1075FE Name Name @@ -6873,7 +6898,7 @@ LABL 0 新宋体,8,N 200 1 - + CBFAFADA-D9FB-4F50-A41A-3A667E2DB57B Addr Addr @@ -6886,7 +6911,7 @@ LABL 0 新宋体,8,N 300 1 - + 299740EE-DAC0-423F-AA35-60B9826A848C CreateTime CreateTime @@ -6900,7 +6925,7 @@ LABL 0 新宋体,8,N - + D1E36FF7-2AA7-4483-8E4E-410A6948B272 Key_1 Key_1 @@ -6909,15 +6934,15 @@ LABL 0 新宋体,8,N 1622016369 Administrator - + - + - + @@ -6931,7 +6956,7 @@ LABL 0 新宋体,8,N 苏州设备平台关联的设备信息 - + 7F78376E-4C29-4AEB-B8B1-1858EF392610 DeviceId DeviceId @@ -6943,7 +6968,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 44813611-8D0A-49B9-ACC1-F376FD53B84C SecretHash SecretHash @@ -6956,7 +6981,7 @@ LABL 0 新宋体,8,N 50 1 - + D7416041-0A79-46D8-9A94-2122128CCE3A DevId DevId @@ -6969,7 +6994,7 @@ LABL 0 新宋体,8,N 50 1 - + 0990FE7F-A2CF-40A4-928A-6DC1F04240EA Secret Secret @@ -6984,7 +7009,7 @@ LABL 0 新宋体,8,N - + 62DC23BC-A091-45B0-9C3C-73C99C708380 Key_1 Key_1 @@ -6993,20 +7018,141 @@ LABL 0 新宋体,8,N 1622029379 Administrator - + - + - + + + + +5BE0B88B-34D6-450F-B86F-3616352853E7 +W_BusinessStatistics +W_BusinessStatistics +1622166286 +Administrator +1622172794 +Administrator +商户统计 + + + +3D60FD17-5B95-4721-935D-54E7C169B4CA +Id +Id +1622166314 +Administrator +1622166325 +Administrator +int +1 +1 + + +395B3916-5887-45A3-9479-62FC5F951F29 +BusinessId +BusinessId +1622166322 +Administrator +1622172718 +Administrator +商户ID +uniqueidentifier +1 + + +CBAF2317-428E-4C4C-B460-A348D734D9C4 +WasteType +WasteType +1622166335 +Administrator +1622172712 +Administrator +垃圾类型 +varchar(50) +50 +1 + + +276B54F1-ABE2-4EB0-9910-B848C1B8CD6D +DayCount +DayCount +1622172661 +Administrator +1622172698 +Administrator +测量次数 +int +1 + + +D85ADB63-8D57-4FD1-A82C-BFA1DA772AC0 +DayWeight +DayWeight +1622172692 +Administrator +1622172746 +Administrator +测量重量 +decimal(18,2) +18 +2 +1 + + +51FB3DB7-D53C-4398-BC8F-3686A384C0DB +DayPureWeight +DayPureWeight +1622172735 +Administrator +1622172766 +Administrator +测量净重 +decimal(18,2) +18 +2 +1 + + +3CDC3DC9-01A7-4FB7-9162-CC22BC13AA60 +CreateTime +CreateTime +1622172757 +Administrator +1622172794 +Administrator +date +1 + + + + +20F9C1AF-6D11-4F28-8D42-52916F00279A +Key_1 +Key_1 +1622166314 +Administrator +1622166322 +Administrator + + + + + + + + + + - + 5728945A-1970-4CD5-B0BB-972845F49F99 PUBLIC PUBLIC @@ -7017,7 +7163,7 @@ LABL 0 新宋体,8,N - + 1FC152BA-25A4-4408-A3C4-4E73CB309440 Microsoft SQL Server 2012 MSSQLSRV2012 diff --git a/Waste.Doc/Waste.pdm b/Waste.Doc/Waste.pdm index dfb051c..8fd1ec6 100644 --- a/Waste.Doc/Waste.pdm +++ b/Waste.Doc/Waste.pdm @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ Waste 1619681546 Administrator -1622029364 +1622166314 Administrator [FolderOptions] @@ -3867,7 +3867,7 @@ PhysOpts= PhysicalDiagram_1 1619681546 Administrator -1622029364 +1622166314 Administrator [DisplayPreferences] @@ -4640,6 +4640,31 @@ LABL 0 新宋体,8,N + +1622166286 +1622166314 +-1 +((-7197,-109143), (7195,-101945)) +12615680 +16570034 +12632256 +STRN 0 新宋体,8,N +DISPNAME 0 新宋体,8,N +OWNRDISPNAME 0 新宋体,8,N +Columns 0 新宋体,8,N +TablePkColumns 0 新宋体,8,U +TableFkColumns 0 新宋体,8,N +Keys 0 新宋体,8,N +Indexes 0 新宋体,8,N +Triggers 0 新宋体,8,N +LABL 0 新宋体,8,N +6 +65 +16777215 + + + + @@ -4658,7 +4683,7 @@ LABL 0 新宋体,8,N 商户表 - + EAE094A3-4F9B-4A34-B7B5-36CE2CA069FD Id Id @@ -4669,7 +4694,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D5B117B2-4204-4A8F-B614-935FFCBC1F7B Code Code @@ -4682,7 +4707,7 @@ LABL 0 新宋体,8,N 100 1 - + 6FEE4EA8-49B0-4F2E-95F0-C5295126D8EA ParentId ParentId @@ -4694,7 +4719,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 1524845B-187C-4A6D-8862-959DC2467C16 Name Name @@ -4707,7 +4732,7 @@ LABL 0 新宋体,8,N 100 1 - + 60CF7AD1-F2BC-4B24-90F8-574BE65EDD81 Phone Phone @@ -4720,7 +4745,7 @@ LABL 0 新宋体,8,N 20 1 - + EDA6D2EA-56EC-4145-B770-08D0393CE960 Status Status @@ -4732,7 +4757,7 @@ LABL 0 新宋体,8,N int 1 - + 176F8BE8-5551-433B-AA9C-6DC37589F341 Remark Remark @@ -4745,7 +4770,7 @@ LABL 0 新宋体,8,N 200 1 - + C7152CE9-62A3-4BDD-8C58-A519FA71EBFD Province Province @@ -4758,7 +4783,7 @@ LABL 0 新宋体,8,N 50 1 - + E33C31D6-D772-4B4A-A785-66C13DE1560D City City @@ -4771,7 +4796,7 @@ LABL 0 新宋体,8,N 50 1 - + EC4648B7-3E69-409D-A1E9-462378402C75 Area Area @@ -4784,7 +4809,7 @@ LABL 0 新宋体,8,N 50 1 - + 54F2A6F1-F286-4FC3-A890-36BA8C809A12 Address Address @@ -4797,7 +4822,7 @@ LABL 0 新宋体,8,N 200 1 - + 7C861AC8-B0F4-4DFF-A76C-C18A3D98244C CreateTime CreateTime @@ -4811,7 +4836,7 @@ LABL 0 新宋体,8,N - + 8955CDA4-BC70-4380-8471-90D07B1679A4 Key_1 Key_1 @@ -4820,15 +4845,15 @@ LABL 0 新宋体,8,N 1619689024 Administrator - + - + - + @@ -4842,7 +4867,7 @@ LABL 0 新宋体,8,N 垃圾物品分类 - + 424BBCBB-AB98-4D40-8C4B-9C6E2BAAC8EC Id Id @@ -4853,7 +4878,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 563DED82-6310-48BB-89A0-2BCC0D913DC7 Code Code @@ -4866,7 +4891,7 @@ LABL 0 新宋体,8,N 20 1 - + 5E598A6D-D287-4287-B84A-2ABEAA0FB757 Name Name @@ -4879,7 +4904,7 @@ LABL 0 新宋体,8,N 100 1 - + 2A460ABF-C0F2-4417-BC0E-1DE96969D82A Status Status @@ -4891,7 +4916,7 @@ LABL 0 新宋体,8,N int 1 - + 3EA6B67A-E4EF-47DC-B3BD-6965087009A1 CreateTime CreateTime @@ -4905,7 +4930,7 @@ LABL 0 新宋体,8,N - + E307D2AA-E2D4-4B31-9EB1-E07448FD7768 Key_1 Key_1 @@ -4914,15 +4939,15 @@ LABL 0 新宋体,8,N 1619689530 Administrator - + - + - + @@ -4936,7 +4961,7 @@ LABL 0 新宋体,8,N 账户表 - + FCD48089-A5E1-4673-AF4F-161A922C02BA Id Id @@ -4947,7 +4972,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 346D03BE-04E6-4003-BFA3-21938540E730 UserName UserName @@ -4960,7 +4985,7 @@ LABL 0 新宋体,8,N 50 1 - + 0EA1F5AF-BDD7-4850-BD58-968B00862BAD RealName RealName @@ -4973,7 +4998,7 @@ LABL 0 新宋体,8,N 100 1 - + 32FE8F30-F637-48EC-87FA-68E43CAF9809 Phone Phone @@ -4986,7 +5011,7 @@ LABL 0 新宋体,8,N 50 1 - + 6EAD6C7C-EA78-4E17-B845-69E05FA43B08 Password Password @@ -4999,7 +5024,7 @@ LABL 0 新宋体,8,N 50 1 - + B5268828-D74F-42E1-A686-AF8C55CC99CD Secret Secret @@ -5012,7 +5037,7 @@ LABL 0 新宋体,8,N 50 1 - + 498C89F8-A2D2-42C7-B686-501445872CEA RoleId RoleId @@ -5024,7 +5049,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + F1F92641-E582-4980-86B8-AD903D3EE1E6 AccountType AccountType @@ -5036,7 +5061,7 @@ LABL 0 新宋体,8,N int 1 - + 32559E84-B606-4298-9C1F-C8032F4496DF BusinessId BusinessId @@ -5048,7 +5073,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 1550F6CE-E9C7-4C68-86B6-00286E66931B Status Status @@ -5060,7 +5085,7 @@ LABL 0 新宋体,8,N int 1 - + EF047C05-A619-4069-91E5-80202742C406 LastVisitIP LastVisitIP @@ -5073,7 +5098,7 @@ LABL 0 新宋体,8,N 50 1 - + 2E81436B-2536-4A3C-A274-EC134EB41DC3 LastVisitTime LastVisitTime @@ -5084,7 +5109,7 @@ LABL 0 新宋体,8,N 最近访问时间 datetime - + 5DC1C9D1-1BC4-48D1-BEE3-5FC64BE73278 CreateTime CreateTime @@ -5098,7 +5123,7 @@ LABL 0 新宋体,8,N - + 99E90195-B1DF-4429-837B-86314217FAD1 Key_1 Key_1 @@ -5107,15 +5132,15 @@ LABL 0 新宋体,8,N 1619689815 Administrator - + - + - + @@ -5129,7 +5154,7 @@ LABL 0 新宋体,8,N 设备表 - + A2E88279-AFB8-49CB-A10D-75C855636FEA Id Id @@ -5140,7 +5165,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + EFECEDDC-FAB5-4166-99FF-020BCF4C55E3 FacEcode FacEcode @@ -5153,7 +5178,7 @@ LABL 0 新宋体,8,N 50 1 - + B94CCF4A-19F3-4D0C-BBFD-184E1963BA75 Ecode Ecode @@ -5166,7 +5191,7 @@ LABL 0 新宋体,8,N 50 1 - + 493C2DA4-DFEF-40A7-98B8-081BFB83CB45 DeviceType DeviceType @@ -5178,7 +5203,7 @@ LABL 0 新宋体,8,N int 1 - + 24E5CE1E-F678-4448-BACE-7928351B6941 Name Name @@ -5191,7 +5216,7 @@ LABL 0 新宋体,8,N 100 1 - + BB5F5BC4-A871-425F-8573-933CDEAA5098 Businessid Businessid @@ -5203,7 +5228,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + E18DE320-7060-4CB3-A162-70D78DEE2143 NetType NetType @@ -5215,7 +5240,7 @@ LABL 0 新宋体,8,N int 1 - + 8E337024-A315-47F1-ACF1-4EFC0CF06A28 Province Province @@ -5227,7 +5252,7 @@ LABL 0 新宋体,8,N 50 1 - + DD1BBE78-B55E-458B-ACAE-93477212E255 City City @@ -5240,7 +5265,7 @@ LABL 0 新宋体,8,N 50 1 - + 6300F722-C4E8-4CFC-B4F8-998A228D740A Area Area @@ -5253,7 +5278,7 @@ LABL 0 新宋体,8,N 50 1 - + DC5077A8-E9EA-421C-8DEC-7BFC6E376D3F Address Address @@ -5266,7 +5291,7 @@ LABL 0 新宋体,8,N 200 1 - + 7D506E33-4C24-4966-A23E-464932B94D84 Remark Remark @@ -5279,7 +5304,7 @@ LABL 0 新宋体,8,N 200 1 - + 226BE9DD-94F6-48E9-8D35-BA2AF5AF606D InstallTime InstallTime @@ -5290,7 +5315,7 @@ LABL 0 新宋体,8,N 安装到小区的时间 datetime - + B2DDEB9E-7359-4F5F-827E-88071D461B85 ActiveTime ActiveTime @@ -5301,7 +5326,7 @@ LABL 0 新宋体,8,N 激活时间 datetime - + 661D7181-8EE5-48EF-A04B-6F431C6AC354 Status Status @@ -5313,7 +5338,7 @@ LABL 0 新宋体,8,N int 1 - + F44652B4-37F2-458F-9559-702A0265BC20 LastHeartTime LastHeartTime @@ -5324,7 +5349,7 @@ LABL 0 新宋体,8,N 最近使用时间 datetime - + 1B090CD6-977C-4900-871F-12FE9A1FB31F CreateTime CreateTime @@ -5336,7 +5361,7 @@ LABL 0 新宋体,8,N datetime 1 - + D9867D35-4FAD-4000-84D8-7E4200147760 Tare Tare @@ -5353,7 +5378,7 @@ LABL 0 新宋体,8,N - + 55DDE656-5768-400E-9C78-E53B6E97AA29 Key_1 Key_1 @@ -5362,15 +5387,15 @@ LABL 0 新宋体,8,N 1619689861 Administrator - + - + - + @@ -5384,7 +5409,7 @@ LABL 0 新宋体,8,N 设备实时数据 - + 5B773A68-ABEE-4039-8BA3-B60DE4149F44 Id Id @@ -5395,7 +5420,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D11BD4F4-95C1-4E0E-BCB1-E39513B4E949 DeviceId DeviceId @@ -5407,7 +5432,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 69CB7474-1CF3-4092-AEE7-BBEE2B242A84 BusinessId BusinessId @@ -5419,7 +5444,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D983C066-50DD-410E-976E-3D451C240A2B TodayCount TodayCount @@ -5431,7 +5456,7 @@ LABL 0 新宋体,8,N int 1 - + 3666B978-6B39-459F-B5AB-107076C7D61E TotalCount TotalCount @@ -5443,7 +5468,7 @@ LABL 0 新宋体,8,N int 1 - + CE352F39-4DD1-45E2-88F6-0EFAAB2C8133 TodayWeigth TodayWeigth @@ -5457,7 +5482,7 @@ LABL 0 新宋体,8,N 2 1 - + 8814639B-19B7-4600-BFCA-105CF914A2E1 TotalWeight TotalWeight @@ -5471,7 +5496,7 @@ LABL 0 新宋体,8,N 2 1 - + B116E00C-4B6E-4DD7-BBC9-B9EFD4B37BC8 TodayPureWeight TodayPureWeight @@ -5485,7 +5510,7 @@ LABL 0 新宋体,8,N 2 1 - + 0FC5895A-6CDC-4909-A4A5-846C527FD45B TotalPureWeight TotalPureWeight @@ -5501,7 +5526,7 @@ LABL 0 新宋体,8,N - + B079AD1A-1735-449A-899A-707D93543F01 Key_1 Key_1 @@ -5510,15 +5535,15 @@ LABL 0 新宋体,8,N 1619690280 Administrator - + - + - + @@ -5532,7 +5557,7 @@ LABL 0 新宋体,8,N 投放记录 - + DE6E3C24-546A-41C0-87E2-AA733BF1F3B4 Id Id @@ -5543,7 +5568,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 077B62FA-4F62-40AD-BF51-9DAF77067F76 DeviceId DeviceId @@ -5555,7 +5580,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + ACC88E34-5937-4D1D-A856-A03068F4A036 BusinessId BusinessId @@ -5567,7 +5592,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 32048D6F-D2A7-4C30-A5F2-E230C235A237 WasteType WasteType @@ -5580,7 +5605,7 @@ LABL 0 新宋体,8,N 50 1 - + A2B218C4-D530-4513-8188-83DD26B7719C Tare Tare @@ -5594,7 +5619,7 @@ LABL 0 新宋体,8,N 2 1 - + 33AF4358-257C-4FDE-8409-7D7F98324D94 GrossWeight GrossWeight @@ -5608,7 +5633,7 @@ LABL 0 新宋体,8,N 2 1 - + DA09CD95-1452-474D-9DD3-DE78C93C1BF9 NetWeight NetWeight @@ -5622,7 +5647,7 @@ LABL 0 新宋体,8,N 2 1 - + E984E1AB-BEA7-499F-A5A6-5CB5325FC09E Registration Registration @@ -5635,7 +5660,7 @@ LABL 0 新宋体,8,N 200 1 - + 1F9FA8EF-C1FB-4479-AF47-90E8FA430C47 CreateTime CreateTime @@ -5649,7 +5674,7 @@ LABL 0 新宋体,8,N - + ACEDCDE3-0940-4C78-AE4C-848894183D1F Key_1 Key_1 @@ -5658,18 +5683,18 @@ LABL 0 新宋体,8,N 1619690638 Administrator - + - + - + - + ACE4B647-A954-44F7-902A-F3448F4BFAE5 W_Role W_Role @@ -5680,7 +5705,7 @@ LABL 0 新宋体,8,N 角色 - + 5000382C-BC84-4421-8D4C-EF9B5151E7BF Id Id @@ -5691,7 +5716,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + BFBFFA69-2C74-405E-95B3-3CA2B483D751 Name Name @@ -5704,7 +5729,7 @@ LABL 0 新宋体,8,N 50 1 - + 118B7F1F-1775-4F50-B73F-4317077310E2 EnCode EnCode @@ -5717,7 +5742,7 @@ LABL 0 新宋体,8,N 50 1 - + 38B3DD51-CA8D-4AA9-899C-D3583BDDB47C Remark Remark @@ -5730,7 +5755,7 @@ LABL 0 新宋体,8,N 200 1 - + 5936881D-D6D3-4A37-909C-BD2E20C6D9A1 CreateTime CreateTime @@ -5744,7 +5769,7 @@ LABL 0 新宋体,8,N - + CE860C86-FCFC-4B35-BBC4-705445B773CB Key_1 Key_1 @@ -5753,18 +5778,18 @@ LABL 0 新宋体,8,N 1620290672 Administrator - + - + - + - + 208DADDC-2D55-4A0C-BFFA-4CFE3AAF4F34 W_RoleAuthorize W_RoleAuthorize @@ -5775,7 +5800,7 @@ LABL 0 新宋体,8,N 角色菜单 - + 0D7C4194-E4B7-4150-A3D7-52E99EBA9482 Id Id @@ -5786,7 +5811,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + B25F3823-FB47-402A-9F57-8D1E38F98E17 RoleId RoleId @@ -5798,7 +5823,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + FD1484A6-79AE-4EBA-B4ED-1461C3E847F9 MenuId MenuId @@ -5810,7 +5835,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + C36B41D6-C497-4013-97C7-15B64CF2095D CreateTime CreateTime @@ -5824,7 +5849,7 @@ LABL 0 新宋体,8,N - + 95D8732D-9C10-47D0-8CEE-C6AABF24D565 Key_1 Key_1 @@ -5833,18 +5858,18 @@ LABL 0 新宋体,8,N 1620290672 Administrator - + - + - + - + 0B5B6F9F-A9E6-4473-8747-E53FF0962338 W_Menu W_Menu @@ -5855,7 +5880,7 @@ LABL 0 新宋体,8,N 菜单 - + 19063851-86D7-4F3F-B5E3-82962B4802F3 Id Id @@ -5866,7 +5891,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + EFB90817-31A8-40A3-B7F8-5CC3F1FD8AEE ParentId ParentId @@ -5878,7 +5903,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 239CAC63-4876-4B17-ADDB-B1B87E275345 Name Name @@ -5891,7 +5916,7 @@ LABL 0 新宋体,8,N 50 1 - + 493AFF63-21B1-403D-9B09-B8274597E5B8 Icon Icon @@ -5904,7 +5929,7 @@ LABL 0 新宋体,8,N 50 1 - + E922E459-49A5-4D08-8A2B-396426553A64 UrlAddress UrlAddress @@ -5917,7 +5942,7 @@ LABL 0 新宋体,8,N 200 1 - + 785FFECA-9E60-4047-BB96-C457FD417DE7 SortCode SortCode @@ -5929,7 +5954,7 @@ LABL 0 新宋体,8,N int 1 - + A3194E35-565A-4897-8659-10B424219E18 Status Status @@ -5941,7 +5966,7 @@ LABL 0 新宋体,8,N int 1 - + D96339DC-0C0F-4ED6-B3DC-93AE77565E00 CreateTime CreateTime @@ -5955,7 +5980,7 @@ LABL 0 新宋体,8,N - + 9EE04610-E470-486C-A66A-0A6288149CD7 Key_1 Key_1 @@ -5964,15 +5989,15 @@ LABL 0 新宋体,8,N 1620290672 Administrator - + - + - + @@ -5986,7 +6011,7 @@ LABL 0 新宋体,8,N 地址信息配置 - + AC14B4FC-522D-4E1F-B329-30F9B7C955AA Id Id @@ -5997,7 +6022,7 @@ LABL 0 新宋体,8,N int 1 - + C6B310E8-7E4B-4681-8763-B3756BBD5F86 pid pid @@ -6008,7 +6033,7 @@ LABL 0 新宋体,8,N int 1 - + 39797626-12A8-4863-93EB-6F7B523D7B65 name name @@ -6020,7 +6045,7 @@ LABL 0 新宋体,8,N 100 1 - + 931B8CE0-1096-469C-9E48-C8E848BAC1C8 code code @@ -6032,7 +6057,7 @@ LABL 0 新宋体,8,N 50 1 - + B0D39907-E6D0-4C26-B471-D14F34A19CE9 level level @@ -6056,7 +6081,7 @@ LABL 0 新宋体,8,N 设备信息 - + 88AFC42C-53C0-4FB4-AC29-592172FF1858 DeviceId DeviceId @@ -6067,7 +6092,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 1C02E90D-DB3C-4A18-A057-3EB561E3028F ICCID ICCID @@ -6080,7 +6105,7 @@ LABL 0 新宋体,8,N 50 1 - + FC8ABC44-373B-4816-BAE3-CF01E8A786E8 IMEI IMEI @@ -6093,7 +6118,7 @@ LABL 0 新宋体,8,N 50 1 - + 97CEFA2E-6AF6-407A-A3DB-B64D57F2F536 IMSI IMSI @@ -6106,7 +6131,7 @@ LABL 0 新宋体,8,N 50 1 - + B99CCA89-E237-45D2-9D10-545ECD3DC48C Longitude Longitude @@ -6119,7 +6144,7 @@ LABL 0 新宋体,8,N 50 1 - + 732A5A74-F226-462D-8555-E0FBCFEF5342 Latitude Latitude @@ -6132,7 +6157,7 @@ LABL 0 新宋体,8,N 50 1 - + 6A7146AE-73E4-4506-8271-00EC32E395A0 LastBeatTime LastBeatTime @@ -6143,7 +6168,7 @@ LABL 0 新宋体,8,N 最近心跳时间 datetime - + 48A159AE-078F-45B9-B7EB-3CEA7A299D70 LastStartTime LastStartTime @@ -6154,7 +6179,7 @@ LABL 0 新宋体,8,N 最近开机时间 datetime - + 37427A1C-5648-45F1-8AE5-1CE75C54AA26 Sign Sign @@ -6169,7 +6194,7 @@ LABL 0 新宋体,8,N - + 08070677-6F55-4C44-A88D-4ABD632550D8 Key_1 Key_1 @@ -6178,15 +6203,15 @@ LABL 0 新宋体,8,N 1620819000 Administrator - + - + - + @@ -6200,7 +6225,7 @@ LABL 0 新宋体,8,N 商户实时统计数据 - + AD79FCD7-898C-4366-9F24-F809CB080977 Id Id @@ -6211,7 +6236,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 81AD769E-0C49-455F-92AA-D0CFA436A7BD BusinessId BusinessId @@ -6223,7 +6248,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + D96DEE55-90E5-4092-A78D-CC3BD1B5A020 BusinessCnt BusinessCnt @@ -6235,7 +6260,7 @@ LABL 0 新宋体,8,N int 1 - + C52D99B4-3D07-46E9-BDB4-366F83D4495C DevCnt DevCnt @@ -6247,7 +6272,7 @@ LABL 0 新宋体,8,N int 1 - + 366EA4FB-BB74-4B8C-B24D-8D7EF138B970 TodayDevActiveCnt TodayDevActiveCnt @@ -6259,7 +6284,7 @@ LABL 0 新宋体,8,N int 1 - + 1DF9CD44-FD4A-43F1-B258-96B3D8B3FEF0 TodayCount TodayCount @@ -6271,7 +6296,7 @@ LABL 0 新宋体,8,N int 1 - + 7D92ECB9-0513-4EEB-9AC8-15048CFCA262 TodayWeight TodayWeight @@ -6285,7 +6310,7 @@ LABL 0 新宋体,8,N 2 1 - + AEAA8ECB-B505-4A20-BF17-A739E862AACD TodayPureWeight TodayPureWeight @@ -6299,7 +6324,7 @@ LABL 0 新宋体,8,N 2 1 - + 8C1515B0-A1E1-46FB-B9B6-7A7EE99E8AF7 TotalCount TotalCount @@ -6311,7 +6336,7 @@ LABL 0 新宋体,8,N int 1 - + 2C40EDBA-80AD-4C4F-A35D-C77411D3F1DF TotalWeight TotalWeight @@ -6325,7 +6350,7 @@ LABL 0 新宋体,8,N 2 1 - + E57E92FE-7529-4F1C-ACCB-D648A99CF485 TotalPureWeight TotalPureWeight @@ -6341,7 +6366,7 @@ LABL 0 新宋体,8,N - + 5F112707-923A-4F0D-8E17-01FB261D317C Key_1 Key_1 @@ -6350,15 +6375,15 @@ LABL 0 新宋体,8,N 1621837634 Administrator - + - + - + @@ -6372,7 +6397,7 @@ LABL 0 新宋体,8,N 账户总计实时数据 - + 3FECB935-5AE6-4867-89D3-BA84F76C5BA5 Id Id @@ -6383,7 +6408,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + F72D0CB9-5783-4C42-BF3A-AE506C1840E6 BusinessCnt BusinessCnt @@ -6395,7 +6420,7 @@ LABL 0 新宋体,8,N int 1 - + BC9D81F2-2508-4D89-8247-1B368E6C7C8B DevCnt DevCnt @@ -6407,7 +6432,7 @@ LABL 0 新宋体,8,N int 1 - + 2874D41B-450A-4C25-9178-38161514D816 TodayDevActiveCnt TodayDevActiveCnt @@ -6419,7 +6444,7 @@ LABL 0 新宋体,8,N int 1 - + F114B2EA-7F25-4B47-9D1C-9290F23FCB98 TodayCount TodayCount @@ -6431,7 +6456,7 @@ LABL 0 新宋体,8,N int 1 - + 00147609-078F-48C0-BB8A-310031FBABD4 TodayWeight TodayWeight @@ -6445,7 +6470,7 @@ LABL 0 新宋体,8,N 2 1 - + E931A0EE-E064-49CC-95BC-5295BFFA9927 TodayPureWeight TodayPureWeight @@ -6459,7 +6484,7 @@ LABL 0 新宋体,8,N 2 1 - + D863CB0C-1228-4108-B7DC-ED7B4759CDF4 TotalCount TotalCount @@ -6471,7 +6496,7 @@ LABL 0 新宋体,8,N int 1 - + 1940C18D-F7E2-4033-B708-680E44DE2710 TotalWeight TotalWeight @@ -6485,7 +6510,7 @@ LABL 0 新宋体,8,N 2 1 - + F15F6BD9-2089-4979-994E-4B794DF700AE TotalPureWeight TotalPureWeight @@ -6501,7 +6526,7 @@ LABL 0 新宋体,8,N - + ADFCF82A-CBD9-4B6E-8507-DB48BA848FC3 Key_1 Key_1 @@ -6510,15 +6535,15 @@ LABL 0 新宋体,8,N 1621840707 Administrator - + - + - + @@ -6532,7 +6557,7 @@ LABL 0 新宋体,8,N 设备统计 - + 6F68FC6F-62A6-48B9-830E-BE41598AC3EE Id Id @@ -6544,7 +6569,7 @@ LABL 0 新宋体,8,N 1 1 - + 74DADCF7-93A9-4F93-AF4C-1B30E6ED844D Businessid Businessid @@ -6556,7 +6581,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 29A0E824-F619-4E48-B6D9-1B69AF143710 DevId DevId @@ -6568,7 +6593,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 18B63CFA-1BE1-4659-8ADA-237E102BFA87 DayCount DayCount @@ -6580,7 +6605,7 @@ LABL 0 新宋体,8,N int 1 - + 98E9442A-B5E3-4612-9745-E2B078A63C1C DayWeight DayWeight @@ -6594,7 +6619,7 @@ LABL 0 新宋体,8,N 2 1 - + 4EBE0415-F9BD-497F-9C41-E614AF99D1DC DayPureWeight DayPureWeight @@ -6608,7 +6633,7 @@ LABL 0 新宋体,8,N 2 1 - + 8DD45777-4948-49B4-8684-822E28DA6876 WasteType WasteType @@ -6621,7 +6646,7 @@ LABL 0 新宋体,8,N 50 1 - + DF48BAB3-A662-4E2F-97F2-AB8A42461135 CreateTime CreateTime @@ -6635,7 +6660,7 @@ LABL 0 新宋体,8,N - + E5462E67-D593-45E3-88CA-00A920CFF72E Key_1 Key_1 @@ -6644,15 +6669,15 @@ LABL 0 新宋体,8,N 1621845844 Administrator - + - + - + @@ -6666,7 +6691,7 @@ LABL 0 新宋体,8,N 地产区域 - + 55DF7B52-A439-43E8-95CA-EDAF1C479E49 Id Id @@ -6677,7 +6702,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 03D35C30-FA35-49DD-B3CF-680DB42F76C9 AdId AdId @@ -6690,7 +6715,7 @@ LABL 0 新宋体,8,N 50 1 - + 188B451F-FE49-49E5-B64A-B736DA998E16 Code Code @@ -6703,7 +6728,7 @@ LABL 0 新宋体,8,N 50 1 - + 31EB6C96-39E7-450D-99D9-87836E9524A9 Name Name @@ -6716,7 +6741,7 @@ LABL 0 新宋体,8,N 100 1 - + 3EF5EBCF-6A87-4EE0-BED5-73FE52746732 Addr Addr @@ -6729,7 +6754,7 @@ LABL 0 新宋体,8,N 300 1 - + CE00A46F-396D-44BE-85EE-56435E048632 City City @@ -6741,7 +6766,7 @@ LABL 0 新宋体,8,N 50 1 - + B3F5D215-A2D9-41A3-872D-9389668A6AE5 Area Area @@ -6753,7 +6778,7 @@ LABL 0 新宋体,8,N 50 1 - + DBBECB3A-0F7D-47D7-848C-C023376D3194 Street Street @@ -6765,7 +6790,7 @@ LABL 0 新宋体,8,N 50 1 - + CBE167C1-C1D1-426A-B123-0DA2E051C716 CreateTime CreateTime @@ -6779,7 +6804,7 @@ LABL 0 新宋体,8,N - + 862A6BDE-103E-4399-8DE1-595E0B3506FA Key_1 Key_1 @@ -6788,15 +6813,15 @@ LABL 0 新宋体,8,N 1622016023 Administrator - + - + - + @@ -6810,7 +6835,7 @@ LABL 0 新宋体,8,N 采集点 - + 259A3E4D-5118-4532-B0EA-013B6F0900D6 Id Id @@ -6821,7 +6846,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 03B74128-F1C6-4D72-ACFC-B94302F4CF9C CoId CoId @@ -6834,7 +6859,7 @@ LABL 0 新宋体,8,N 50 1 - + F5C25882-F109-470B-A3C1-6108E4D87A98 EstateId EstateId @@ -6847,7 +6872,7 @@ LABL 0 新宋体,8,N 50 1 - + 8B185000-6590-41A2-B002-F935EE06F319 Code Code @@ -6860,7 +6885,7 @@ LABL 0 新宋体,8,N 50 1 - + ED56B9E2-221D-4515-B0E2-8DC02A1075FE Name Name @@ -6873,7 +6898,7 @@ LABL 0 新宋体,8,N 200 1 - + CBFAFADA-D9FB-4F50-A41A-3A667E2DB57B Addr Addr @@ -6886,7 +6911,7 @@ LABL 0 新宋体,8,N 300 1 - + 299740EE-DAC0-423F-AA35-60B9826A848C CreateTime CreateTime @@ -6900,7 +6925,7 @@ LABL 0 新宋体,8,N - + D1E36FF7-2AA7-4483-8E4E-410A6948B272 Key_1 Key_1 @@ -6909,15 +6934,15 @@ LABL 0 新宋体,8,N 1622016369 Administrator - + - + - + @@ -6931,7 +6956,7 @@ LABL 0 新宋体,8,N 苏州设备平台关联的设备信息 - + 7F78376E-4C29-4AEB-B8B1-1858EF392610 DeviceId DeviceId @@ -6943,7 +6968,7 @@ LABL 0 新宋体,8,N uniqueidentifier 1 - + 44813611-8D0A-49B9-ACC1-F376FD53B84C SecretHash SecretHash @@ -6956,7 +6981,7 @@ LABL 0 新宋体,8,N 50 1 - + D7416041-0A79-46D8-9A94-2122128CCE3A DevId DevId @@ -6969,7 +6994,7 @@ LABL 0 新宋体,8,N 50 1 - + 0990FE7F-A2CF-40A4-928A-6DC1F04240EA Secret Secret @@ -6984,7 +7009,7 @@ LABL 0 新宋体,8,N - + 62DC23BC-A091-45B0-9C3C-73C99C708380 Key_1 Key_1 @@ -6993,20 +7018,141 @@ LABL 0 新宋体,8,N 1622029379 Administrator - + - + - + + + + +5BE0B88B-34D6-450F-B86F-3616352853E7 +W_BusinessStatistics +W_BusinessStatistics +1622166286 +Administrator +1622172794 +Administrator +商户统计 + + + +3D60FD17-5B95-4721-935D-54E7C169B4CA +Id +Id +1622166314 +Administrator +1622166325 +Administrator +int +1 +1 + + +395B3916-5887-45A3-9479-62FC5F951F29 +BusinessId +BusinessId +1622166322 +Administrator +1622172718 +Administrator +商户ID +uniqueidentifier +1 + + +CBAF2317-428E-4C4C-B460-A348D734D9C4 +WasteType +WasteType +1622166335 +Administrator +1622172712 +Administrator +垃圾类型 +varchar(50) +50 +1 + + +276B54F1-ABE2-4EB0-9910-B848C1B8CD6D +DayCount +DayCount +1622172661 +Administrator +1622172698 +Administrator +测量次数 +int +1 + + +D85ADB63-8D57-4FD1-A82C-BFA1DA772AC0 +DayWeight +DayWeight +1622172692 +Administrator +1622172746 +Administrator +测量重量 +decimal(18,2) +18 +2 +1 + + +51FB3DB7-D53C-4398-BC8F-3686A384C0DB +DayPureWeight +DayPureWeight +1622172735 +Administrator +1622172766 +Administrator +测量净重 +decimal(18,2) +18 +2 +1 + + +3CDC3DC9-01A7-4FB7-9162-CC22BC13AA60 +CreateTime +CreateTime +1622172757 +Administrator +1622172794 +Administrator +date +1 + + + + +20F9C1AF-6D11-4F28-8D42-52916F00279A +Key_1 +Key_1 +1622166314 +Administrator +1622166322 +Administrator + + + + + + + + + + - + 5728945A-1970-4CD5-B0BB-972845F49F99 PUBLIC PUBLIC @@ -7017,7 +7163,7 @@ LABL 0 新宋体,8,N - + 1FC152BA-25A4-4408-A3C4-4E73CB309440 Microsoft SQL Server 2012 MSSQLSRV2012 diff --git a/Waste.Domain/DataModel/W_BusinessStatistics.cs b/Waste.Domain/DataModel/W_BusinessStatistics.cs new file mode 100644 index 0000000..faf1992 --- /dev/null +++ b/Waste.Domain/DataModel/W_BusinessStatistics.cs @@ -0,0 +1,60 @@ +using SqlSugar; + +namespace Waste.Domain +{ + /// + /// 商户统计 + /// + public class W_BusinessStatistics + { + /// + /// 商户统计 + /// + public W_BusinessStatistics() + { + } + + private System.Int32 _Id; + /// + /// + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] + public System.Int32 Id { get { return this._Id; } set { this._Id = value; } } + + private System.Guid _BusinessId; + /// + /// 商户ID + /// + public System.Guid BusinessId { get { return this._BusinessId; } set { this._BusinessId = value; } } + + private System.String _WasteType; + /// + /// 垃圾类型 + /// + public System.String WasteType { get { return this._WasteType; } set { this._WasteType = value?.Trim(); } } + + private System.Int32 _DayCount; + /// + /// 测量次数 + /// + public System.Int32 DayCount { get { return this._DayCount; } set { this._DayCount = value; } } + + private System.Decimal _DayWeight; + /// + /// 测量重量 + /// + public System.Decimal DayWeight { get { return this._DayWeight; } set { this._DayWeight = value; } } + + private System.Decimal _DayPureWeight; + /// + /// 测量净重 + /// + public System.Decimal DayPureWeight { get { return this._DayPureWeight; } set { this._DayPureWeight = value; } } + + private System.DateTime _CreateTime; + /// + /// + /// + public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } } + } +} diff --git a/Waste.Web.Entry/Pages/CountInfo/Index.cshtml b/Waste.Web.Entry/Pages/CountInfo/Index.cshtml index d4198dc..b8d3f3a 100644 --- a/Waste.Web.Entry/Pages/CountInfo/Index.cshtml +++ b/Waste.Web.Entry/Pages/CountInfo/Index.cshtml @@ -4,7 +4,110 @@ ViewData["Title"] = "统计报表"; }
-
+
+

昨日整体汇总

+
+
+
+
+
+
+ 商户数量 +
+
+

@Model.data.BusinessCnt

+
+
+
+
+
+
+ 设备台数 +
+
+

@Model.data.DevCount

+
+
+
+
+
+
+ 测量次数 +
+
+

@Model.data.YestodayCount

+
+
+
+
+
+
+ 毛重 +
+
+

@Model.data.YestodayWeight

+
+
+
+
+
+
+ 净重 +
+
+

@Model.data.YestodayPureWeight

+
+
+
+
+
+
+
+
+

七日商户汇总

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+

七日设备汇总

+
+
@@ -17,7 +120,7 @@ @foreach (var item in Model.businesslist) { - + }
@@ -28,7 +131,7 @@ @foreach (var item in Model.wastetypelist) { - + }
@@ -42,12 +145,20 @@
-
-
+ + @section Scripts { -} \ No newline at end of file +} diff --git a/Waste.Web.Entry/Pages/CountInfo/Index.cshtml.cs b/Waste.Web.Entry/Pages/CountInfo/Index.cshtml.cs index 9e4b7b0..fb8bbb4 100644 --- a/Waste.Web.Entry/Pages/CountInfo/Index.cshtml.cs +++ b/Waste.Web.Entry/Pages/CountInfo/Index.cshtml.cs @@ -14,6 +14,7 @@ namespace Waste.Web.Entry.Pages.CountInfo public string defaulttime = ""; public List businesslist = new List(); public List wastetypelist = new List(); + public BusinessReport data = new BusinessReport(); private IBusinessService _businessService; private IWasteService _wasteService; public IndexModel(IBusinessService businessService,IWasteService wasteService) @@ -26,6 +27,7 @@ namespace Waste.Web.Entry.Pages.CountInfo defaulttime = $"{DateTime.Now.AddDays(-7).ToString("yyyy/MM/dd")} ~ {DateTime.Now.AddDays(-1).ToString("yyyy/MM/dd")}"; businesslist = await _businessService.GetAllList(); wastetypelist = await _wasteService.GetAllTypeList(); + data = await _businessService.GetBusinessTotalInfo(); } } } diff --git a/Waste.Web.Entry/Pages/Device/Edit.cshtml b/Waste.Web.Entry/Pages/Device/Edit.cshtml index 0ea9926..6cf2fea 100644 --- a/Waste.Web.Entry/Pages/Device/Edit.cshtml +++ b/Waste.Web.Entry/Pages/Device/Edit.cshtml @@ -51,19 +51,19 @@
- +
- +
- +
diff --git a/Waste.Web.Entry/Properties/PublishProfiles/waste.ybhdmob.com.pubxml.user b/Waste.Web.Entry/Properties/PublishProfiles/waste.ybhdmob.com.pubxml.user index af1f666..68ab6ed 100644 --- a/Waste.Web.Entry/Properties/PublishProfiles/waste.ybhdmob.com.pubxml.user +++ b/Waste.Web.Entry/Properties/PublishProfiles/waste.ybhdmob.com.pubxml.user @@ -5,6 +5,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121. <_PublishTargetUrl>D:\webpublish\waste.ybhdmob.com - True|2021-05-27T08:18:09.5993838Z;True|2021-05-27T16:07:31.3484951+08:00;True|2021-05-27T11:30:37.9119310+08:00;True|2021-05-27T11:28:35.5374674+08:00;True|2021-05-27T08:00:09.1625592+08:00;True|2021-05-26T20:42:17.0852150+08:00;True|2021-05-26T20:36:49.7527415+08:00;True|2021-05-25T17:57:31.8791293+08:00;True|2021-05-25T13:49:29.6488978+08:00;True|2021-05-25T13:48:24.6686105+08:00;True|2021-05-25T13:25:41.2512493+08:00;True|2021-05-24T17:55:33.3800078+08:00;True|2021-05-20T14:35:30.6957985+08:00;True|2021-05-20T13:17:22.6192995+08:00;True|2021-05-20T10:51:38.1268169+08:00;True|2021-05-19T19:50:03.7000224+08:00;True|2021-05-19T19:44:27.2518811+08:00;True|2021-05-19T19:43:26.5916681+08:00;True|2021-05-19T19:36:29.3197365+08:00;True|2021-05-19T19:30:00.3802430+08:00;True|2021-05-19T17:55:23.7939835+08:00;True|2021-05-19T11:05:17.9043392+08:00;True|2021-05-19T10:19:38.4839988+08:00;True|2021-05-19T10:17:19.7430612+08:00;True|2021-05-19T10:13:23.0031721+08:00;True|2021-05-19T10:06:03.9881599+08:00;True|2021-05-18T14:39:03.8876574+08:00;True|2021-05-18T14:23:46.9818836+08:00;True|2021-05-18T14:19:56.2382079+08:00;True|2021-05-18T11:29:53.5497590+08:00;True|2021-05-18T11:16:18.0123853+08:00;True|2021-05-17T18:59:52.4159105+08:00;True|2021-05-17T18:53:37.9438984+08:00;True|2021-05-17T18:48:14.9625161+08:00;True|2021-05-17T17:46:03.7723404+08:00;True|2021-05-17T17:14:20.2312990+08:00;True|2021-05-17T16:44:34.5837616+08:00;True|2021-05-17T16:25:20.1087804+08:00;True|2021-05-17T11:35:27.9388562+08:00; + True|2021-05-28T05:59:02.2308877Z;True|2021-05-28T11:56:26.6796406+08:00;True|2021-05-28T11:28:00.4087907+08:00;True|2021-05-27T16:18:09.5993838+08:00;True|2021-05-27T16:07:31.3484951+08:00;True|2021-05-27T11:30:37.9119310+08:00;True|2021-05-27T11:28:35.5374674+08:00;True|2021-05-27T08:00:09.1625592+08:00;True|2021-05-26T20:42:17.0852150+08:00;True|2021-05-26T20:36:49.7527415+08:00;True|2021-05-25T17:57:31.8791293+08:00;True|2021-05-25T13:49:29.6488978+08:00;True|2021-05-25T13:48:24.6686105+08:00;True|2021-05-25T13:25:41.2512493+08:00;True|2021-05-24T17:55:33.3800078+08:00;True|2021-05-20T14:35:30.6957985+08:00;True|2021-05-20T13:17:22.6192995+08:00;True|2021-05-20T10:51:38.1268169+08:00;True|2021-05-19T19:50:03.7000224+08:00;True|2021-05-19T19:44:27.2518811+08:00;True|2021-05-19T19:43:26.5916681+08:00;True|2021-05-19T19:36:29.3197365+08:00;True|2021-05-19T19:30:00.3802430+08:00;True|2021-05-19T17:55:23.7939835+08:00;True|2021-05-19T11:05:17.9043392+08:00;True|2021-05-19T10:19:38.4839988+08:00;True|2021-05-19T10:17:19.7430612+08:00;True|2021-05-19T10:13:23.0031721+08:00;True|2021-05-19T10:06:03.9881599+08:00;True|2021-05-18T14:39:03.8876574+08:00;True|2021-05-18T14:23:46.9818836+08:00;True|2021-05-18T14:19:56.2382079+08:00;True|2021-05-18T11:29:53.5497590+08:00;True|2021-05-18T11:16:18.0123853+08:00;True|2021-05-17T18:59:52.4159105+08:00;True|2021-05-17T18:53:37.9438984+08:00;True|2021-05-17T18:48:14.9625161+08:00;True|2021-05-17T17:46:03.7723404+08:00;True|2021-05-17T17:14:20.2312990+08:00;True|2021-05-17T16:44:34.5837616+08:00;True|2021-05-17T16:25:20.1087804+08:00;True|2021-05-17T11:35:27.9388562+08:00; \ No newline at end of file diff --git a/Waste.Web.Entry/wwwroot/js/lay/modules/common.js b/Waste.Web.Entry/wwwroot/js/lay/modules/common.js index 5ccf3f8..80bee5d 100644 --- a/Waste.Web.Entry/wwwroot/js/lay/modules/common.js +++ b/Waste.Web.Entry/wwwroot/js/lay/modules/common.js @@ -628,15 +628,18 @@ "message": res.message, }; }, - done: function () { + done: function (res,curr,count) { flow.lazyimg(); + if (options.ondone) { + options.ondone(res, curr, count); + } } //height: 'full-200' }; options = $.extend(defaults, options); table.render(options); //监听排序事件 - table.on('sort(list)', function (obj) { //注:tool是工具条事件名,test是table原始容器的属性 lay-filter="对应的值" + table.on('sort(' + options.id + ')', function (obj) { //注:tool是工具条事件名,test是table原始容器的属性 lay-filter="对应的值" table.reload(options.id, { initSort: obj //记录初始排序,如果不设的话,将无法标记表头的排序状态。 , where: { //请求参数(注意:这里面的参数可任意定义,并非下面固定的格式) @@ -646,7 +649,7 @@ }); }); - table.on('toolbar(list)', function (obj) { + table.on('toolbar(' + options.id + ')', function (obj) { var checkStatus = table.checkStatus(obj.config.id); var event = obj.event; if (event == "LAYTABLE_REFRESH") { diff --git a/Waste.Web.Entry/wwwroot/js/page.min.js b/Waste.Web.Entry/wwwroot/js/page.min.js index 7c82957..7414151 100644 --- a/Waste.Web.Entry/wwwroot/js/page.min.js +++ b/Waste.Web.Entry/wwwroot/js/page.min.js @@ -22,7 +22,7 @@ if(function(n,t){function gt(n){var t=n.length,r=i.type(n);return i.isWindow(n)? * * Date: 2013-07-03 */ -(function(n,t){function u(n,t,i,r){var p,u,f,l,w,a,k,c,g,d;if((t?t.ownerDocument||t:y)!==s&&nt(t),t=t||s,i=i||[],!n||typeof n!="string")return i;if((l=t.nodeType)!==1&&l!==9)return[];if(v&&!r){if(p=or.exec(n))if(f=p[1]){if(l===9)if(u=t.getElementById(f),u&&u.parentNode){if(u.id===f)return i.push(u),i}else return i;else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ot(t,u)&&u.id===f)return i.push(u),i}else{if(p[2])return b.apply(i,t.getElementsByTagName(n)),i;if((f=p[3])&&e.getElementsByClassName&&t.getElementsByClassName)return b.apply(i,t.getElementsByClassName(f)),i}if(e.qsa&&(!h||!h.test(n))){if(c=k=o,g=t,d=l===9&&n,l===1&&t.nodeName.toLowerCase()!=="object"){for(a=pt(n),(k=t.getAttribute("id"))?c=k.replace(cr,"\\$&"):t.setAttribute("id",c),c="[id='"+c+"'] ",w=a.length;w--;)a[w]=c+wt(a[w]);g=ti.test(n)&&t.parentNode||t;d=a.join(",")}if(d)try{return b.apply(i,g.querySelectorAll(d)),i}catch(tt){}finally{k||t.removeAttribute("id")}}}return pr(n.replace(vt,"$1"),t,i,r)}function ri(){function n(i,u){return t.push(i+=" ")>r.cacheLength&&delete n[t.shift()],n[i]=u}var t=[];return n}function c(n){return n[o]=!0,n}function l(n){var t=s.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ui(n,t){for(var u=n.split("|"),i=n.length;i--;)r.attrHandle[u[i]]=t}function bi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||vi)-(~n.sourceIndex||vi);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function rt(n){return c(function(t){return t=+t,c(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ki(){}function pt(n,t){var e,f,s,o,i,h,c,l=li[n+" "];if(l)return t?0:l.slice(0);for(i=n,h=[],c=r.preFilter;i;){(!e||(f=ir.exec(i)))&&(f&&(i=i.slice(f[0].length)||i),h.push(s=[]));e=!1;(f=rr.exec(i))&&(e=f.shift(),s.push({value:e,type:f[0].replace(vt," ")}),i=i.slice(e.length));for(o in r.filter)(f=yt[o].exec(i))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),i=i.slice(e.length));if(!e)break}return t?i.length:i?u.error(n):li(n,h).slice(0)}function wt(n){for(var t=0,r=n.length,i="";t1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f-1&&(f[l]=!(e[l]=a))}}else h=bt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function si(n){for(var s,u,i,e=n.length,h=r.relative[n[0].type],c=h||r.relative[" "],t=h?1:0,l=fi(function(n){return n===s},c,!0),a=fi(function(n){return it.call(s,n)>-1},c,!0),f=[function(n,t,i){return!h&&(i||t!==lt)||((s=t).nodeType?l(n,t,i):a(n,t,i))}];t1&&ei(f),t>1&&wt(n.slice(0,t-1).concat({value:n[t-2].type===" "?"*":""})).replace(vt,"$1"),u,t0,e=n.length>0,o=function(o,h,c,l,a){var y,g,k,w=[],d=0,v="0",nt=o&&[],tt=a!=null,it=lt,ut=o||e&&r.find.TAG("*",a&&h.parentNode||h),rt=p+=it==null?1:Math.random()||.1;for(tt&&(lt=h!==s&&h,ht=f);(y=ut[v])!=null;v++){if(e&&y){for(g=0;k=n[g++];)if(k(y,h,c)){l.push(y);break}tt&&(p=rt,ht=++f)}i&&((y=!k&&y)&&d--,o&&nt.push(y))}if(d+=v,i&&v!==d){for(g=0;k=t[g++];)k(nt,w,h,c);if(o){if(d>0)while(v--)nt[v]||w[v]||(w[v]=nr.call(l));w=bt(w)}b.apply(l,w);tt&&!o&&w.length>0&&d+t.length>1&&u.uniqueSort(l)}return tt&&(p=rt,lt=it),nt};return i?c(o):o}function yr(n,t,i){for(var r=0,f=t.length;r2&&(o=f[0]).type==="ID"&&e.getById&&t.nodeType===9&&v&&r.relative[f[1].type]){if(t=(r.find.ID(o.matches[0].replace(k,d),t)||[])[0],!t)return i;n=n.slice(f.shift().value.length)}for(s=yt.needsContext.test(n)?0:f.length;s--;){if(o=f[s],r.relative[c=o.type])break;if((l=r.find[c])&&(u=l(o.matches[0].replace(k,d),ti.test(f[0].type)&&t.parentNode||t))){if(f.splice(s,1),n=u.length&&wt(f),!n)return b.apply(i,u),i;break}}}return kt(n,h)(u,t,!v,i,ti.test(n)),i}var ut,e,ht,r,ct,hi,kt,lt,g,nt,s,a,v,h,tt,at,ot,o="sizzle"+-new Date,y=n.document,p=0,di=0,ci=ri(),li=ri(),ai=ri(),ft=!1,dt=function(n,t){return n===t?(ft=!0,0):0},st=typeof t,vi=-2147483648,gi={}.hasOwnProperty,w=[],nr=w.pop,tr=w.push,b=w.push,yi=w.slice,it=w.indexOf||function(n){for(var t=0,i=this.length;t+~]|"+f+")"+f+"*"),ti=new RegExp(f+"*[+~]"),ur=new RegExp("="+f+"*([^\\]'\"]*)"+f+"*\\]","g"),fr=new RegExp(ni),er=new RegExp("^"+pi+"$"),yt={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et.replace("w","w*")+")"),ATTR:new RegExp("^"+wi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+f+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)","i")},ii=/^[^{]+\{\s*\[native \w/,or=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,cr=/'|\\/g,k=new RegExp("\\\\([\\da-f]{1,6}"+f+"?|("+f+")|.)","ig"),d=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)};try{b.apply(w=yi.call(y.childNodes),y.childNodes);w[y.childNodes.length].nodeType}catch(wr){b={apply:w.length?function(n,t){tr.apply(n,yi.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}hi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};e=u.support={};nt=u.setDocument=function(n){var t=n?n.ownerDocument||n:y,i=t.defaultView;return t===s||t.nodeType!==9||!t.documentElement?s:(s=t,a=t.documentElement,v=!hi(t),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){nt()}),e.attributes=l(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=l(function(n){return n.appendChild(t.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=l(function(n){return n.innerHTML="
<\/div>
<\/div>",n.firstChild.className="i",n.getElementsByClassName("i").length===2}),e.getById=l(function(n){return a.appendChild(n).id=o,!t.getElementsByName||!t.getElementsByName(o).length}),e.getById?(r.find.ID=function(n,t){if(typeof t.getElementById!==st&&v){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},r.filter.ID=function(n){var t=n.replace(k,d);return function(n){return n.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(n){var t=n.replace(k,d);return function(n){var i=typeof n.getAttributeNode!==st&&n.getAttributeNode("id");return i&&i.value===t}}),r.find.TAG=e.getElementsByTagName?function(n,t){if(typeof t.getElementsByTagName!==st)return t.getElementsByTagName(n)}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},r.find.CLASS=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!==st&&v)return t.getElementsByClassName(n)},tt=[],h=[],(e.qsa=ii.test(t.querySelectorAll))&&(l(function(n){n.innerHTML="",a=u.getElementsByTagName("*")||[],e=u.getElementsByTagName("a")[0],!e||!e.style||!a.length)return t;h=r.createElement("select");l=h.appendChild(r.createElement("option"));f=u.getElementsByTagName("input")[0];e.style.cssText="top:1px;float:left;opacity:.5";t.getSetAttribute=u.className!=="t";t.leadingWhitespace=u.firstChild.nodeType===3;t.tbody=!u.getElementsByTagName("tbody").length;t.htmlSerialize=!!u.getElementsByTagName("link").length;t.style=/top/.test(e.getAttribute("style"));t.hrefNormalized=e.getAttribute("href")==="/a";t.opacity=/^0.5/.test(e.style.opacity);t.cssFloat=!!e.style.cssFloat;t.checkOn=!!f.value;t.optSelected=l.selected;t.enctype=!!r.createElement("form").enctype;t.html5Clone=r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav><\/:nav>";t.inlineBlockNeedsLayout=!1;t.shrinkWrapBlocks=!1;t.pixelPosition=!1;t.deleteExpando=!0;t.noCloneEvent=!0;t.reliableMarginRight=!0;t.boxSizingReliable=!0;f.checked=!0;t.noCloneChecked=f.cloneNode(!0).checked;h.disabled=!0;t.optDisabled=!l.disabled;try{delete u.test}catch(p){t.deleteExpando=!1}f=r.createElement("input");f.setAttribute("value","");t.input=f.getAttribute("value")==="";f.value="t";f.setAttribute("type","radio");t.radioValue=f.value==="t";f.setAttribute("checked","t");f.setAttribute("name","t");c=r.createDocumentFragment();c.appendChild(f);t.appendChecked=f.checked;t.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked;u.attachEvent&&(u.attachEvent("onclick",function(){t.noCloneEvent=!1}),u.cloneNode(!0).click());for(s in{submit:!0,change:!0,focusin:!0})u.setAttribute(v="on"+s,"t"),t[s+"Bubbles"]=v in n||u.attributes[v].expando===!1;u.style.backgroundClip="content-box";u.cloneNode(!0).style.backgroundClip="";t.clearCloneStyle=u.style.backgroundClip==="content-box";for(s in i(t))break;return t.ownLast=s!=="0",i(function(){var h,e,f,c="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=r.getElementsByTagName("body")[0];s&&(h=r.createElement("div"),h.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(h).appendChild(u),u.innerHTML="\s*$/g,e={option:[1,"
<\/td>t<\/td><\/tr><\/table>",f=u.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",y=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",t.reliableHiddenOffsets=y&&f[0].offsetHeight===0,u.innerHTML="",u.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",i.swap(s,s.style.zoom!=null?{zoom:1}:{},function(){t.boxSizing=u.offsetWidth===4}),n.getComputedStyle&&(t.pixelPosition=(n.getComputedStyle(u,null)||{}).top!=="1%",t.boxSizingReliable=(n.getComputedStyle(u,null)||{width:"4px"}).width==="4px",e=u.appendChild(r.createElement("div")),e.style.cssText=u.style.cssText=c,e.style.marginRight=e.style.width="0",u.style.width="1px",t.reliableMarginRight=!parseFloat((n.getComputedStyle(e,null)||{}).marginRight)),typeof u.style.zoom!==o&&(u.innerHTML="",u.style.cssText=c+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=u.offsetWidth===3,u.style.display="block",u.innerHTML="
<\/div>",u.firstChild.style.width="5px",t.shrinkWrapBlocks=u.offsetWidth!==3,t.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(h),h=u=f=e=null)}),a=h=c=l=e=f=null,t}({});ir=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/;rr=/([A-Z])/g;i.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ti(n)},data:function(n,t,i){return ur(n,t,i)},removeData:function(n,t){return fr(n,t)},_data:function(n,t,i){return ur(n,t,i,!0)},_removeData:function(n,t){return fr(n,t,!0)},acceptData:function(n){if(n.nodeType&&n.nodeType!==1&&n.nodeType!==9)return!1;var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}});i.fn.extend({data:function(n,r){var e,f,o=null,s=0,u=this[0];if(n===t){if(this.length&&(o=i.data(u),u.nodeType===1&&!i._data(u,"parsedAttrs"))){for(e=u.attributes;s1?this.each(function(){i.data(this,n,r)}):u?er(u,n,i.data(u,n)):null},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue");i._removeData(n,r)})})}});i.fn.extend({queue:function(n,r){var u=2;return(typeof n!="string"&&(r=n,n="fx",u--),arguments.length1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t;delete this[n]}catch(i){}})},addClass:function(n){var e,t,r,u,o,f=0,h=this.length,c=typeof n=="string"&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(c)for(e=(n||"").match(s)||[];f=0)t=t.replace(" "+u+" "," ");r.className=n?i.trim(t):""}return this},toggleClass:function(n,t){var r=typeof n;return typeof t=="boolean"&&r==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var t,f=0,u=i(this),e=n.match(s)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(r===o||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;t=0)return!0;return!1},val:function(n){var u,r,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f;this.nodeType===1&&(f=e?n.call(this,u,i(this).val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t)?u:(u=f.value,typeof u=="string"?u.replace(ie,""):u==null?"":u):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:n.text}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u=n.type==="select-one"||r<0,s=u?null:[],h=u?r+1:o.length,f=r<0?h:u?r:0;f=0)&&(u=!0);return u||(n.selectedIndex=-1),e}}},attr:function(n,r,u){var f,e,s=n.nodeType;if(n&&s!==3&&s!==8&&s!==2){if(typeof n.getAttribute===o)return i.prop(n,r,u);if(s===1&&i.isXMLDoc(n)||(r=r.toLowerCase(),f=i.attrHooks[r]||(i.expr.match.bool.test(r)?or:d)),u!==t)if(u===null)i.removeAttr(n,r);else return f&&"set"in f&&(e=f.set(n,u,r))!==t?e:(n.setAttribute(r,u+""),u);else return f&&"get"in f&&(e=f.get(n,r))!==null?e:(e=i.find.attr(n,r),e==null?t:e)}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&n.nodeType===1)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?ht&&a||!ri.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(a?r:u)},attrHooks:{type:{set:function(n,t){if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(n,r,u){var e,f,s,o=n.nodeType;if(n&&o!==3&&o!==8&&o!==2)return s=o!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:n[r]=u:f&&"get"in f&&(e=f.get(n,r))!==null?e:n[r]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):re.test(n.nodeName)||ue.test(n.nodeName)&&n.href?0:-1}}}});or={set:function(n,t,r){return t===!1?i.removeAttr(n,r):ht&&a||!ri.test(r)?n.setAttribute(!a&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,r){var u=i.expr.attrHandle[r]||i.find.attr;i.expr.attrHandle[r]=ht&&a||!ri.test(r)?function(n,r,f){var e=i.expr.attrHandle[r],o=f?t:(i.expr.attrHandle[r]=t)!=u(n,r,f)?r.toLowerCase():null;return i.expr.attrHandle[r]=e,o}:function(n,r,u){return u?t:n[i.camelCase("default-"+r)]?r.toLowerCase():null}});ht&&a||(i.attrHooks.value={set:function(n,t,r){if(i.nodeName(n,"input"))n.defaultValue=t;else return d&&d.set(n,t,r)}});a||(d={set:function(n,i,r){var u=n.getAttributeNode(r);return u||n.setAttributeNode(u=n.ownerDocument.createAttribute(r)),u.value=i+="",r==="value"||i===n.getAttribute(r)?i:t}},i.expr.attrHandle.id=i.expr.attrHandle.name=i.expr.attrHandle.coords=function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&u.value!==""?u.value:null},i.valHooks.button={get:function(n,i){var r=n.getAttributeNode(i);return r&&r.specified?r.value:t},set:d.set},i.attrHooks.contenteditable={set:function(n,t,i){d.set(n,t===""?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}}}));i.support.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText||t},set:function(n,t){return n.style.cssText=t+""}});i.support.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.support.enctype||(i.propFix.enctype="encoding");i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}};i.support.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});var ui=/^(?:input|select|textarea)$/i,fe=/^key/,ee=/^(?:mouse|contextmenu)|click/,sr=/^(?:focusinfocus|focusoutblur)$/,hr=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,r,u,f,e){var b,p,k,w,c,l,a,v,h,d,g,y=i._data(n);if(y){for(u.handler&&(w=u,u=w.handler,e=w.selector),u.guid||(u.guid=i.guid++),(p=y.events)||(p=y.events={}),(l=y.handle)||(l=y.handle=function(n){return typeof i!==o&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(l.elem,arguments):t},l.elem=n),r=(r||"").match(s)||[""],k=r.length;k--;)(b=hr.exec(r[k])||[],h=g=b[1],d=(b[2]||"").split(".").sort(),h)&&(c=i.event.special[h]||{},h=(e?c.delegateType:c.bindType)||h,c=i.event.special[h]||{},a=i.extend({type:h,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:d.join(".")},w),(v=p[h])||(v=p[h]=[],v.delegateCount=0,c.setup&&c.setup.call(n,f,d,l)!==!1||(n.addEventListener?n.addEventListener(h,l,!1):n.attachEvent&&n.attachEvent("on"+h,l))),c.add&&(c.add.call(n,a),a.handler.guid||(a.handler.guid=u.guid)),e?v.splice(v.delegateCount++,0,a):v.push(a),i.event.global[h]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,h,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;){if(h=hr.exec(t[p])||[],e=k=h[1],w=(h[2]||"").split(".").sort(),!e){for(e in a)i.event.remove(n,e+t[p],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],h=h[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],(f||k===o.origType)&&(!r||r.guid===o.guid)&&(!h||h.test(o.namespace))&&(!u||u===o.selector||u==="**"&&o.selector)&&(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(u,f,e,o){var a,v,s,w,l,c,b,p=[e||r],h=k.call(u,"type")?u.type:u,y=k.call(u,"namespace")?u.namespace.split("."):[];if((s=c=e=e||r,e.nodeType!==3&&e.nodeType!==8)&&!sr.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),v=h.indexOf(":")<0&&"on"+h,u=u[i.expando]?u:new i.Event(h,typeof u=="object"&&u),u.isTrigger=o?2:3,u.namespace=y.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=t,u.target||(u.target=e),f=f==null?[u]:i.makeArray(f,[u]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(w=l.delegateType||h,sr.test(w+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||r)&&p.push(c.defaultView||c.parentWindow||n)}for(b=0;(s=p[b++])&&!u.isPropagationStopped();)u.type=b>1?w:l.bindType||h,a=(i._data(s,"events")||{})[u.type]&&i._data(s,"handle"),a&&a.apply(s,f),a=v&&s[v],a&&i.acceptData(s)&&a.apply&&a.apply(s,f)===!1&&u.preventDefault();if(u.type=h,!o&&!u.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),f)===!1)&&i.acceptData(e)&&v&&e[h]&&!i.isWindow(e)){c=e[v];c&&(e[v]=null);i.event.triggered=h;try{e[h]()}catch(d){}i.event.triggered=t;c&&(e[v]=c)}return u.result}},dispatch:function(n){n=i.event.fix(n);var o,e,r,u,s,h=[],c=l.call(arguments),a=(i._data(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,a),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(r=u.handlers[s++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(r.namespace))&&(n.handleObj=r,n.data=r.data,e=((i.event.special[r.origType]||{}).handle||r.handler).apply(u.elem,c),e!==t&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,r){var e,o,f,s,c=[],h=r.delegateCount,u=n.target;if(h&&u.nodeType&&(!n.button||n.type!=="click"))for(;u!=this;u=u.parentNode||this)if(u.nodeType===1&&(u.disabled!==!0||n.type!=="click")){for(f=[],s=0;s=0:i.find(e,this,null,[u]).length),f[e]&&f.push(o);f.length&&c.push({elem:u,handlers:f})}return h1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t-1:r.nodeType===1&&i.find.matchesSelector(r,n))){r=u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){var r=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),u=i.merge(this.get(),r);return this.pushStack(i.unique(u))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return ar(n,"nextSibling")},prev:function(n){return ar(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(he[n]||(f=i.unique(f)),se.test(n)&&(f=f.reverse())),this.pushStack(f)}});i.extend({filter:function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var yr="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ce=/ jQuery\d+="(?:null|\d+)"/g,pr=new RegExp("<(?:"+yr+")[\\s/>]","i"),ei=/^\s+/,wr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,br=/<([\w:]+)/,kr=/
","<\/table>"],tr:[2,"
","<\/tbody><\/table>"],col:[2,"
<\/tbody>","<\/colgroup><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:i.support.htmlSerialize?[0,"",""]:[1,"X
","<\/div>"]},we=vr(r),si=we.appendChild(r.createElement("div"));e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=gr(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=gr(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,f=0;(r=e[f])!=null;f++)t||r.nodeType!==1||i.cleanData(u(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&hi(u(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++){for(n.nodeType===1&&i.cleanData(u(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},f=0,o=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(ce,""):t;if(typeof n=="string"&&!ae.test(n)&&(i.support.htmlSerialize||!pr.test(n))&&(i.support.leadingWhitespace||!ei.test(n))&&!e[(br.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(wr,"<$1><\/$2>");try{for(;f")?o=n.cloneNode(!0):(si.innerHTML=n.outerHTML,si.removeChild(o=si.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=u(o),s=u(n),e=0;(h=s[e])!=null;++e)f[e]&&be(h,f[e]);if(t)if(r)for(s=s||u(n),f=f||u(o),e=0;(h=s[e])!=null;e++)iu(h,f[e]);else iu(n,o);return f=u(o,"script"),f.length>0&&hi(f,!c&&u(n,"script")),f=s=h=null,o},buildFragment:function(n,t,r,f){for(var h,o,w,s,y,p,l,b=n.length,a=vr(t),c=[],v=0;v<\/$2>")+l[2],h=l[0];h--;)s=s.lastChild;if(!i.support.leadingWhitespace&&ei.test(o)&&c.push(t.createTextNode(ei.exec(o)[0])),!i.support.tbody)for(o=y==="table"&&!kr.test(o)?s.firstChild:l[1]==="
"&&!kr.test(o)?s:0,h=o&&o.childNodes.length;h--;)i.nodeName(p=o.childNodes[h],"tbody")&&!p.childNodes.length&&o.removeChild(p);for(i.merge(c,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=a.lastChild}else c.push(t.createTextNode(o));for(s&&a.removeChild(s),i.support.appendChecked||i.grep(u(c,"input"),ke),v=0;o=c[v++];)if((!f||i.inArray(o,f)===-1)&&(w=i.contains(o.ownerDocument,o),s=u(a.appendChild(o),"script"),w&&hi(s),r))for(h=0;o=s[h++];)dr.test(o.type||"")&&r.push(o);return s=null,a},cleanData:function(n,t){for(var r,e,u,f,c=0,s=i.expando,h=i.cache,l=i.support.deleteExpando,a=i.event.special;(r=n[c])!=null;c++)if((t||i.acceptData(r))&&(u=r[s],f=u&&h[u],f)){if(f.events)for(e in f.events)a[e]?i.event.remove(r,e):i.removeEvent(r,e,f.handle);h[u]&&(delete h[u],l?delete r[s]:typeof r.removeAttribute!==o?r.removeAttribute(s):r[s]=null,b.push(u))}},_evalUrl:function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}});i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});var rt,v,y,ci=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,ge=/^(top|right|bottom|left)$/,no=/^(none|table(?!-c[ea]).+)/,ru=/^margin/,to=new RegExp("^("+st+")(.*)$","i"),lt=new RegExp("^("+st+")(?!px)[a-z%]+$","i"),io=new RegExp("^([+-])=("+st+")","i"),uu={BODY:"block"},ro={position:"absolute",visibility:"hidden",display:"block"},fu={letterSpacing:0,fontWeight:400},p=["Top","Right","Bottom","Left"],eu=["Webkit","O","Moz","ms"];i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){var e,o,s={},f=0;if(i.isArray(r)){for(o=v(n),e=r.length;f1)},show:function(){return su(this,!0)},hide:function(){return su(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){ut(this)?i(this).show():i(this).hide()})}});i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=y(n,"opacity");return i===""?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var o,s,e,h=i.camelCase(r),c=n.style;if(r=i.cssProps[h]||(i.cssProps[h]=ou(c,h)),e=i.cssHooks[r]||i.cssHooks[h],u!==t){if(s=typeof u,s==="string"&&(o=io.exec(u))&&(u=(o[1]+1)*o[2]+parseFloat(i.css(n,r)),s="number"),u==null||s==="number"&&isNaN(u))return;if(s!=="number"||i.cssNumber[h]||(u+="px"),i.support.clearCloneStyle||u!==""||r.indexOf("background")!==0||(c[r]="inherit"),!e||!("set"in e)||(u=e.set(n,u,f))!==t)try{c[r]=u}catch(l){}}else return e&&"get"in e&&(o=e.get(n,!1,f))!==t?o:c[r]}},css:function(n,r,u,f){var h,e,o,s=i.camelCase(r);return(r=i.cssProps[s]||(i.cssProps[s]=ou(n.style,s)),o=i.cssHooks[r]||i.cssHooks[s],o&&"get"in o&&(e=o.get(n,!0,u)),e===t&&(e=y(n,r,f)),e==="normal"&&r in fu&&(e=fu[r]),u===""||u)?(h=parseFloat(e),u===!0||i.isNumeric(h)?h||0:e):e}});n.getComputedStyle?(v=function(t){return n.getComputedStyle(t,null)},y=function(n,r,u){var s,h,c,o=u||v(n),e=o?o.getPropertyValue(r)||o[r]:t,f=n.style;return o&&(e!==""||i.contains(n.ownerDocument,n)||(e=i.style(n,r)),lt.test(e)&&ru.test(r)&&(s=f.width,h=f.minWidth,c=f.maxWidth,f.minWidth=f.maxWidth=f.width=e,e=o.width,f.width=s,f.minWidth=h,f.maxWidth=c)),e}):r.documentElement.currentStyle&&(v=function(n){return n.currentStyle},y=function(n,i,r){var s,e,o,h=r||v(n),u=h?h[i]:t,f=n.style;return u==null&&f&&f[i]&&(u=f[i]),lt.test(u)&&!ge.test(i)&&(s=f.left,e=n.runtimeStyle,o=e&&e.left,o&&(e.left=n.currentStyle.left),f.left=i==="fontSize"?"1em":u,u=f.pixelLeft+"px",f.left=s,o&&(e.left=o)),u===""?"auto":u});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return n.offsetWidth===0&&no.test(i.css(n,"display"))?i.swap(n,ro,function(){return lu(n,t,u)}):lu(n,t,u)},set:function(n,r,u){var f=u&&v(n);return hu(n,r,u?cu(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing",!1,f)==="border-box",f):0)}}});i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return de.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",f=u&&u.filter||r.filter||"";(r.zoom=1,(t>=1||t==="")&&i.trim(f.replace(ci,""))===""&&r.removeAttribute&&(r.removeAttribute("filter"),t===""||u&&!u.filter))||(r.filter=ci.test(f)?f.replace(ci,e):f+" "+e)}});i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){if(t)return i.swap(n,{display:"inline-block"},y,[n,"marginRight"])}});!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r)return r=y(n,t),lt.test(r)?i(n).position()[t]+"px":r}}})});i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||i.css(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}};ru.test(n)||(i.cssHooks[n+t].set=hu)});var uo=/%20/g,fo=/\[\]$/,yu=/\r?\n/g,eo=/^(?:submit|button|image|reset|file)$/i,oo=/^(?:input|select|textarea|keygen)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&oo.test(this.nodeName)&&!eo.test(n)&&(this.checked||!oi.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yu,"\r\n")}}):{name:t.name,value:r.replace(yu,"\r\n")}}).get()}});i.param=function(n,r){var u,f=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(u in n)li(u,n[u],r,e);return f.join("&").replace(uo,"+")};i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}});var w,c,ai=i.now(),vi=/\?/,so=/#.*$/,pu=/([?&])_=[^&]*/,ho=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,co=/^(?:GET|HEAD)$/,lo=/^\/\//,wu=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,bu=i.fn.load,ku={},yi={},du="*/".concat("*");try{c=hf.href}catch(go){c=r.createElement("a");c.href="";c=c.href}w=wu.exec(c.toLowerCase())||[];i.fn.load=function(n,r,u){if(typeof n!="string"&&bu)return bu.apply(this,arguments);var f,s,h,e=this,o=n.indexOf(" ");return o>=0&&(f=n.slice(o,n.length),n=n.slice(0,o)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(h="POST"),e.length>0&&i.ajax({url:n,type:h,dataType:"html",data:r}).done(function(n){s=arguments;e.html(f?i("
").append(i.parseHTML(n)).find(f):n)}).complete(u&&function(n,t){e.each(u,s||[n.responseText,t,n])}),this};i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}});i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:c,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(w[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":du,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?pi(pi(n,i.ajaxSettings),t):pi(i.ajaxSettings,n)},ajaxPrefilter:gu(ku),ajaxTransport:gu(yi),ajax:function(n,r){function k(n,r,s,c){var a,rt,k,p,w,l=r;o!==2&&(o=2,g&&clearTimeout(g),v=t,d=c||"",f.readyState=n>0?4:0,a=n>=200&&n<300||n===304,s&&(p=ao(u,f,s)),p=vo(u,p,f,a),a?(u.ifModified&&(w=f.getResponseHeader("Last-Modified"),w&&(i.lastModified[e]=w),w=f.getResponseHeader("etag"),w&&(i.etag[e]=w)),n===204||u.type==="HEAD"?l="nocontent":n===304?l="notmodified":(l=p.state,rt=p.data,k=p.error,a=!k)):(k=l,(n||!l)&&(l="error",n<0&&(n=0))),f.status=n,f.statusText=(r||l)+"",a?tt.resolveWith(h,[rt,l,f]):tt.rejectWith(h,[f,l,k]),f.statusCode(b),b=t,y&&nt.trigger(a?"ajaxSuccess":"ajaxError",[f,u,a?rt:k]),it.fireWith(h,[f,l]),y&&(nt.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}typeof n=="object"&&(r=n,n=t);r=r||{};var l,a,e,d,g,y,v,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),b=u.statusCode||{},rt={},ut={},o=0,ft="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(o===2){if(!p)for(p={};t=ho.exec(d);)p[t[1].toLowerCase()]=t[2];t=p[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return o===2?d:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=ut[i]=ut[i]||n,rt[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(o<2)for(t in n)b[t]=[b[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||ft;return v&&v.abort(t),k(0,t),this}};if(tt.promise(f).complete=it.add,f.success=f.done,f.error=f.fail,u.url=((n||u.url||c)+"").replace(so,"").replace(lo,w[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],u.crossDomain==null&&(l=wu.exec(u.url.toLowerCase()),u.crossDomain=!!(l&&(l[1]!==w[1]||l[2]!==w[2]||(l[3]||(l[1]==="http:"?"80":"443"))!==(w[3]||(w[1]==="http:"?"80":"443"))))),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),nf(ku,u,r,f),o===2)return f;y=u.global;y&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!co.test(u.type);e=u.url;u.hasContent||(u.data&&(e=u.url+=(vi.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=pu.test(e)?e.replace(pu,"$1_="+ai++):e+(vi.test(e)?"&":"?")+"_="+ai++));u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+du+"; q=0.01":""):u.accepts["*"]);for(a in u.headers)f.setRequestHeader(a,u.headers[a]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||o===2))return f.abort();ft="abort";for(a in{success:1,error:1,complete:1})f[a](u[a]);if(v=nf(yi,u,r,f),v){f.readyState=1;y&&nt.trigger("ajaxSend",[f,u]);u.async&&u.timeout>0&&(g=setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1;v.send(rt,k)}catch(et){if(o<2)k(-1,et);else throw et;}}else k(-1,"No Transport");return f},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,r){return i.get(n,t,r,"script")}});i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({url:n,type:r,dataType:e,data:u,success:f})}});i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}});i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)});i.ajaxTransport("script",function(n){if(n.crossDomain){var u,f=r.head||i("head")[0]||r.documentElement;return{send:function(t,i){u=r.createElement("script");u.async=!0;n.scriptCharset&&(u.charset=n.scriptCharset);u.src=n.url;u.onload=u.onreadystatechange=function(n,t){(t||!u.readyState||/loaded|complete/.test(u.readyState))&&(u.onload=u.onreadystatechange=null,u.parentNode&&u.parentNode.removeChild(u),u=null,t||i(200,"success"))};f.insertBefore(u,f.firstChild)},abort:function(){if(u)u.onload(t,!0)}}}});wi=[];at=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=wi.pop()||i.expando+"_"+ai++;return this[n]=!0,n}});i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,h=r.jsonp!==!1&&(at.test(r.url)?"url":typeof r.data=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&at.test(r.data)&&"data");if(h||r.dataTypes[0]==="jsonp")return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,h?r[h]=r[h].replace(at,"$1"+e):r.jsonp!==!1&&(r.url+=(vi.test(r.url)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",s=n[e],n[e]=function(){o=arguments},f.always(function(){n[e]=s;r[e]&&(r.jsonpCallback=u.jsonpCallback,wi.push(e));o&&i.isFunction(s)&&s(o[0]);o=s=t}),"script"});tf=0;vt=n.ActiveXObject&&function(){for(var n in nt)nt[n](t,!0)};i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&rf()||yo()}:rf;tt=i.ajaxSettings.xhr();i.support.cors=!!tt&&"withCredentials"in tt;tt=i.support.ajax=!!tt;tt&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType);r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null);u=function(n,f){var s,a,l,c;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,vt&&delete nt[h]),f)o.readyState!==4&&o.abort();else{c={};s=o.status;a=o.getAllResponseHeaders();typeof o.responseText=="string"&&(c.text=o.responseText);try{l=o.statusText}catch(y){l=""}s||!r.isLocal||r.crossDomain?s===1223&&(s=204):s=c.text?200:404}}catch(v){f||e(-1,v)}c&&e(s,l,c,a)};r.async?o.readyState===4?setTimeout(u):(h=++tf,vt&&(nt||(nt={},i(n).unload(vt)),nt[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(t,!0)}}}});var it,yt,po=/^(?:toggle|show|hide)$/,uf=new RegExp("^(?:([+-])=|)("+st+")([a-z%]*)$","i"),wo=/queueHooks$/,pt=[ko],ft={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),u=uf.exec(t),e=u&&u[3]||(i.cssNumber[n]?"":"px"),r=(i.cssNumber[n]||e!=="px"&&+s)&&uf.exec(i.css(f.elem,n)),o=1,h=20;if(r&&r[3]!==e){e=e||r[3];u=u||[];r=+s||1;do o=o||".5",r=r/o,i.style(f.elem,n,r+e);while(o!==(o=f.cur()/s)&&o!==1&&--h)}return u&&(r=f.start=+r||+s||0,f.unit=e,f.end=u[1]?r+(u[1]+1)*u[2]:+u[2]),f}]};i.Animation=i.extend(of,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u-1,u={},s={},h,c;v?(s=e.position(),h=s.top,c=s.left):(h=parseFloat(l)||0,c=parseFloat(a)||0);i.isFunction(t)&&(t=t.call(n,r,o));t.top!=null&&(u.top=t.top-o.top+h);t.left!=null&&(u.left=t.left-o.left+c);"using"in t?t.using.call(n,u):e.css(u)}};i.fn.extend({position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[0];return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||ki;n&&!i.nodeName(n,"html")&&i.css(n,"position")==="static";)n=n.offsetParent;return n||ki})}});i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=sf(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}});i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var o=arguments.length&&(u||typeof f!="boolean"),s=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,s):i.style(r,u,f,s)},r,o?f:t,o,null)}})});i.fn.size=function(){return this.length};i.fn.andSelf=i.fn.addBack;typeof module=="object"&&module&&typeof module.exports=="object"?module.exports=i:(n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}))}(window),!function(n){"use strict";var r=document,t={modules:{},status:{},timeout:10,event:{}},i=function(){this.v="2.5.5"},e=function(){var n=r.currentScript?r.currentScript.src:function(){for(var i,n=r.scripts,u=n.length-1,t=u;t>0;t--)if("interactive"===n[t].readyState){i=n[t].src;break}return i||n[u].src}();return n.substring(0,n.lastIndexOf("/")+1)}(),u=function(t){n.console&&console.error&&console.error("Layui hint: "+t)},o="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),f={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",tableSelect:"modules/tableSelect",common:"modules/common",form:"modules/form",upload:"modules/upload",transfer:"modules/transfer",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",colorpicker:"modules/colorpicker",slider:"modules/slider",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};i.prototype.cache=t;i.prototype.define=function(n,i){var r=this,f="function"==typeof n,u=function(){var n=function(n,i){layui[n]=i;t.status[n]=!0};return"function"==typeof i&&i(function(r,u){n(r,u);t.callback[r]=function(){i(n)}}),this};return f&&(i=n,n=[]),!layui["layui.all"]&&layui["layui.mobile"]?u.call(r):(r.use(n,u),r)};i.prototype.use=function(n,i,s){function p(n,i){var r="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===n.type||r.test((n.currentTarget||n.srcElement).readyState))&&(t.modules[h]=i,b.removeChild(c),function f(){return++y>250*t.timeout?u(h+" is not a valid module"):void(t.status[h]?v():setTimeout(f,4))}())}function v(){s.push(layui[h]);n.length>1?a.use(n.slice(1),i,s):"function"==typeof i&&i.apply(layui,s)}var a=this,w=t.dir=t.dir?t.dir:e,b=r.getElementsByTagName("head")[0],h,y,c,l;return(n="string"==typeof n?[n]:n,window.jQuery&&jQuery.fn.on&&(a.each(n,function(t,i){"jquery"===i&&n.splice(t,1)}),layui.jquery=layui.$=jQuery),h=n[0],y=0,s=s||[],t.host=t.host||(w.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===n.length||layui["layui.all"]&&f[h]||!layui["layui.all"]&&layui["layui.mobile"]&&f[h])?(v(),a):(t.modules[h]?!function k(){return++y>250*t.timeout?u(h+" is not a valid module"):void("string"==typeof t.modules[h]&&t.status[h]?v():setTimeout(k,4))}():(c=r.createElement("script"),l=(f[h]?w+"lay/":/^\{\/\}/.test(a.modules[h])?"":t.base||"")+(a.modules[h]||h)+".js",l=l.replace(/^\{\/\}/,""),c.async=!0,c.charset="utf-8",c.src=l+function(){var n=t.version===!0?t.v||(new Date).getTime():t.version||"";return n?"?v="+n:""}(),b.appendChild(c),!c.attachEvent||c.attachEvent.toString&&c.attachEvent.toString().indexOf("[native code")<0||o?c.addEventListener("load",function(n){p(n,l)},!1):c.attachEvent("onreadystatechange",function(n){p(n,l)}),t.modules[h]=l),a)};i.prototype.getStyle=function(t,i){var r=t.currentStyle?t.currentStyle:n.getComputedStyle(t,null);return r[r.getPropertyValue?"getPropertyValue":"getAttribute"](i)};i.prototype.link=function(n,i,f){var o=this,e=r.createElement("link"),h=r.getElementsByTagName("head")[0];"string"==typeof i&&(f=i);var c=(f||n).replace(/\.|\//g,""),s=e.id="layuicss-"+c,l=0;return e.rel="stylesheet",e.href=n+(t.debug?"?v="+(new Date).getTime():""),e.media="all",r.getElementById(s)||h.appendChild(e),"function"!=typeof i?o:(function a(){return++l>10*t.timeout?u(n+" timeout"):void(1989===parseInt(o.getStyle(r.getElementById(s),"width"))?function(){i()}():setTimeout(a,100))}(),o)};t.callback={};i.prototype.factory=function(n){if(layui[n])return"function"==typeof t.callback[n]?t.callback[n]:null};i.prototype.addcss=function(n,i,r){return layui.link(t.dir+"css/"+n,i,r)};i.prototype.img=function(n,t,i){var r=new Image;return r.src=n,r.complete?t(r):(r.onload=function(){r.onload=null;"function"==typeof t&&t(r)},void(r.onerror=function(n){r.onerror=null;"function"==typeof i&&i(n)}))};i.prototype.config=function(n){n=n||{};for(var i in n)t[i]=n[i];return this};i.prototype.modules=function(){var n={};for(var t in f)n[t]=f[t];return n}();i.prototype.extend=function(n){var i=this,t;n=n||{};for(t in n)i[t]||i.modules[t]?u("模块名 "+t+" 已被占用"):i.modules[t]=n[t];return i};i.prototype.router=function(n){var i=this,n=n||location.hash,t={path:[],search:{},hash:(n.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(n)?(n=n.replace(/^#\//,""),t.href="/"+n,n=n.replace(/([^#])(#.*$)/,"$1").split("/")||[],i.each(n,function(n,i){/^\w+=/.test(i)?function(){i=i.split("=");t.search[i[0]]=i[1]}():t.path.push(i)}),t):t};i.prototype.data=function(t,i,r){var u;if(t=t||"layui",r=r||localStorage,n.JSON&&n.JSON.parse){if(null===i)return delete r[t];i="object"==typeof i?i:{key:i};try{u=JSON.parse(r[t])}catch(f){u={}}return"value"in i&&(u[i.key]=i.value),i.remove&&delete u[i.key],r[t]=JSON.stringify(u),i.key?u[i.key]:u}};i.prototype.sessionData=function(n,t){return this.data(n,t,sessionStorage)};i.prototype.device=function(t){var i=navigator.userAgent.toLowerCase(),u=function(n){var t=new RegExp(n+"/([^\\s\\_\\-]+)");return n=(i.match(t)||[])[1],n||!1},r={os:function(){return/windows/.test(i)?"windows":/linux/.test(i)?"linux":/iphone|ipod|ipad|ios/.test(i)?"ios":/mac/.test(i)?"mac":void 0}(),ie:function(){return!!(n.ActiveXObject||"ActiveXObject"in n)&&((i.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:u("micromessenger")};return t&&!r[t]&&(r[t]=u(t)),r.android=/android/.test(i),r.ios="ios"===r.os,r};i.prototype.hint=function(){return{error:u}};i.prototype.each=function(n,t){var i,r=this;if("function"!=typeof t)return r;if(n=n||[],n.constructor===Object){for(i in n)if(t.call(n[i],i,n[i]))break}else for(i=0;iu?1:r<\/a>'}},{field:"nick_name",title:"昵称"}]],initSort:!1,text:{none:"暂无相关数据"},request:{pageName:"offset"},response:{statusName:"code",msgName:"message",countName:"totalnum",dataName:"data"},parseData:function(n){return{data:n.data.Items,totalnum:n.data.TotalNum,code:n.code,message:n.message}},done:function(){f.lazyimg()}};typeof n!="undefined"&&(typeof n.url!="undefined"&&(r.url=n.url),typeof n.cols!="undefined"&&(r.cols=n.cols));i.table=r;n=t.extend(i,n);u.render(n)},echarts:function(n){var i;n=t.extend({id:"charts",tooltip:{trigger:"axis"},dataZoom:[{show:!1,realtime:!0,start:0,end:100},{type:"inside",realtime:!0,start:0,end:100}],title:{text:"趋势图"},yAxis:{type:"value"},grid:{left:"3%",right:"3%",containLabel:!0},toolbox:{show:!0,feature:{restore:{},magicType:{type:["line","bar"]},saveAsImage:{type:"jpeg"}}}},n);typeof n.series!="undefined"&&n.series.length>0&&t.each(n.series,function(){typeof this.itemStyle=="undefined"&&(this.itemStyle={normal:{label:{show:!0}}});typeof this.type=="undefined"&&(this.type="line");typeof this.smooth=="undefined"&&(this.smooth=!0);typeof this.stack=="undefined"&&(this.stack="总量")});typeof n.xAxis!="undefined"&&(typeof n.xAxis.boundaryGap=="undefined"&&(n.xAxis.boundaryGap=!1),typeof n.xAxis.type=="undefined"&&(n.xAxis.type="category"));typeof n.legend!="undefined"&&typeof n.legend.bottom=="undefined"&&(n.legend.bottom=10);console.log(n);i=echarts.init(document.getElementById(n.id),"ybhdmob");i.setOption(n);window.onresize=i.resize},alert:function(n,r){var u={content:"错误",icon:2,offset:"50px",yes:function(n){i.close(n);typeof r!="undefined"&&r()}};typeof n=="string"?(u.content=n,i.alert(u.content,u,u.yes)):(n=t.extend(u,n),i.alert(n.content,n,n.yes))},msg:function(n){i.msg(n,{offset:"50px"})},info:function(n,r){var u={icon:1,content:"成功",offset:"50px",yes:function(n){i.close(n);typeof r!="undefined"&&r()}};typeof n=="string"?(u.content=n,i.alert(n,u)):(n=t.extend(u,n),i.open(n))},confirm:function(n,r,u){u=t.extend({icon:3,title:"提示",offset:"50px"},u);i.confirm(n,u,function(n){i.close(n);r()})},prompt:function(n,r){n=t.extend({fromType:0,title:"请输入内容",offset:"50px",value:"请输入内容"},n);i.prompt(n,function(n,t){i.close(t);r(n)})},initTable:function(n){var i={elem:"#list",page:!0,toolbar:"#toolbar",defaultToolbar:[{title:"刷新",layEvent:"LAYTABLE_REFRESH",icon:"layui-icon-refresh"},"filter","print","exports"],limit:10,loading:!0,autoSort:!1,contentType:"application/json",even:!0,id:"list",skin:"row",initSort:!1,text:{none:"暂无相关数据"},request:{pageName:"offset"},ontoolbarevent:function(n){return n},response:{statusName:"statuscode",statusCode:200,msgName:"message",countName:"totalnum",dataName:"data"},parseData:function(n){return{data:n.data.items,totalnum:n.data.totalnum,statuscode:n.statuscode,message:n.message}},done:function(){f.lazyimg()}};n=t.extend(i,n);r.render(n);r.on("sort(list)",function(t){r.reload(n.id,{initSort:t,where:{sort:t.field,order:t.type}})});r.on("toolbar(list)",function(t){var u=r.checkStatus(t.config.id),i=t.event;i=="LAYTABLE_REFRESH"&&r.reload(n.id,n);n.ontoolbarevent(t)})},reloadtable:function(n,t){typeof n=="undefined"&&(n="list");t&&(t.page={curr:1});r.reload(n,t)},dialog:function(n){var u=this,f={title:"添加",type:2,content:"",success:function(){setTimeout(function(){layui.layer.tips("点击此处返回上一级",".layui-layer-setwin .layui-layer-close",{tips:3})},500)},end:function(){u.reloadtable();typeof n.close!="undefined"&&n.close();window.sessionStorage.setItem("indexs",0)}},r;n=t.extend(f,n);r=i.open(n);window.sessionStorage.setItem("indexs",r);i.full(r)},tabdialog:function(n){var i=this,r={title:"添加",type:2,content:"",success:function(){setTimeout(function(){layui.layer.tips("点击此处返回上一级",".layui-layer-setwin .layui-layer-close",{tips:3})},500)},end:function(){i.reloadtable();typeof n.close!="undefined"&&n.close();window.sessionStorage.setItem("indexs",0)}};n=t.extend(r,n);window.parent.layui.index.openTabsPage(n.content,n.title)},normaldialog:function(n){var r={title:"添加",type:2,content:"",area:["50%","50%"],offset:"50px",end:function(){t(".js-search").trigger("click");typeof n.close!="undefined"&&n.close()}};n=t.extend(r,n);i.open(n)},closedialog:function(n){typeof n=="undefined"&&(n=window.sessionStorage.getItem("index"));i.close(n)},clientsInit:function(n,t){var r=this,i;if(!t&&typeof sessionStorage.getItem("clientdata")!="undefined"&&sessionStorage.getItem("clientdata")!==null){i=sessionStorage.getItem("clientdata");i=JSON.parse(i);n(i);return}r.ajax({url:"/ClientsData",async:!1,success:function(t){sessionStorage.setItem("clientdata",JSON.stringify(t.data));n(t.data)}})},datetime:function(n){return(typeof n=="undefined"||n===null)&&(n=moment()),n=new Date(n*1e3),moment(n).format("YYYY-MM-DD HH:mm:ss")},cdatetime:function(n){return(typeof n=="undefined"||n===null)&&(n=moment()),moment(n).format("YYYY-MM-DD HH:mm:ss")},preview:function(n){n=t.extend({photos:{title:"图片预览",id:1,start:0,data:[{alt:"",pid:1,src:"",thumb:""}]}},n);i.photos(n)},previewimg:function(n){var t={photos:{title:"图片预览",id:1,start:0,data:[{alt:"",pid:1,src:n,thumb:""}]}};i.photos(t)}};n("common",e)}),!jQuery)throw new Error("Bootstrap requires jQuery");+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in n)if(i.style[t]!==undefined)return{end:n[t]}}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one(n.support.transition.end,function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t()})}(window.jQuery);+function(n){"use strict";var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.prototype.close=function(t){function f(){i.trigger("closed.bs.alert").remove()}var u=n(this),r=u.attr("data-target"),i;(r||(r=u.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=n(r),t&&t.preventDefault(),i.length||(i=u.hasClass("alert")?u:u.parent()),i.trigger(t=n.Event("close.bs.alert")),t.isDefaultPrevented())||(i.removeClass("in"),n.support.transition&&i.hasClass("fade")?i.one(n.support.transition.end,f).emulateTransitionEnd(150):f())};r=n.fn.alert;n.fn.alert=function(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));typeof i=="string"&&u[i].call(r)})};n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r)},i;t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(n){var i="disabled",t=this.$element,r=t.is("input")?"val":"html",u=t.data();n=n+"Text";u.resetText||t.data("resetText",t[r]());t[r](u[n]||this.options[n]);setTimeout(function(){n=="loadingText"?t.addClass(i).attr(i,i):t.removeClass(i).removeAttr(i)},0)};t.prototype.toggle=function(){var n=this.$element.closest('[data-toggle="buttons"]'),t;n.length&&(t=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change"),t.prop("type")==="radio"&&n.find(".active").removeClass("active"));this.$element.toggleClass("active")};i=n.fn.button;n.fn.button=function(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f=typeof i=="object"&&i;r||u.data("bs.button",r=new t(this,f));i=="toggle"?r.toggle():i&&r.setState(i)})};n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=i,this};n(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var i=n(t.target);i.hasClass("btn")||(i=i.closest(".btn"));i.button("toggle");t.preventDefault()})}(window.jQuery);+function(n){"use strict";var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=this.sliding=this.interval=this.$active=this.$items=null;this.options.pause=="hover"&&this.$element.on("mouseenter",n.proxy(this.pause,this)).on("mouseleave",n.proxy(this.cycle,this))},i;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)};t.prototype.to=function(t){var r=this,i=this.getActiveIndex();if(!(t>this.$items.length-1)&&!(t<0))return this.sliding?this.$element.one("slid",function(){r.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",n(this.$items[t]))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition.end&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(t,i){var u=this.$element.find(".item.active"),r=i||u[t](),s=this.interval,f=t=="next"?"left":"right",h=t=="next"?"first":"last",o=this,e;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[h]()}if(this.sliding=!0,s&&this.pause(),e=n.Event("slide.bs.carousel",{relatedTarget:r[0],direction:f}),!r.hasClass("active")){if(this.$indicators.length){this.$indicators.find(".active").removeClass("active");this.$element.one("slid",function(){var t=n(o.$indicators.children()[o.getActiveIndex()]);t&&t.addClass("active")})}if(n.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(e),e.isDefaultPrevented())return;r.addClass(t);r[0].offsetWidth;u.addClass(f);r.addClass(f);u.one(n.support.transition.end,function(){r.removeClass([t,f].join(" ")).addClass("active");u.removeClass(["active",f].join(" "));o.sliding=!1;setTimeout(function(){o.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(e),e.isDefaultPrevented())return;u.removeClass("active");r.addClass("active");this.sliding=!1;this.$element.trigger("slid")}return s&&this.cycle(),this}};i=n.fn.carousel;n.fn.carousel=function(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),typeof i=="object"&&i),e=typeof i=="string"?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));typeof i=="number"?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})};n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=i,this};n(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var i=n(this),f,r=n(i.attr("data-target")||(f=i.attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")),e=n.extend({},r.data(),i.data()),u=i.attr("data-slide-to");u&&(e.interval=!1);r.carousel(e);(u=i.attr("data-slide-to"))&&r.data("bs.carousel").to(u);t.preventDefault()});n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);t.carousel(t.data())})})}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.transitioning=null;this.options.parent&&(this.$parent=n(this.options.parent));this.options.toggle&&this.toggle()},i;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var u,t,r,i,f,e;if(!this.transitioning&&!this.$element.hasClass("in")&&(u=n.Event("show.bs.collapse"),this.$element.trigger(u),!u.isDefaultPrevented())){if(t=this.$parent&&this.$parent.find("> .panel > .in"),t&&t.length){if(r=t.data("bs.collapse"),r&&r.transitioning)return;t.collapse("hide");r||t.data("bs.collapse",null)}if(i=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1,f=function(){this.$element.removeClass("collapsing").addClass("in")[i]("auto");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return f.call(this);e=n.camelCase(["scroll",i].join("-"));this.$element.one(n.support.transition.end,n.proxy(f,this)).emulateTransitionEnd(350)[i](this.$element[0][e])}};t.prototype.hide=function(){var i,t,r;if(!this.transitioning&&this.$element.hasClass("in")&&(i=n.Event("hide.bs.collapse"),this.$element.trigger(i),!i.isDefaultPrevented())){if(t=this.dimension(),this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1,r=function(){this.transitioning=0;this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")},!n.support.transition)return r.call(this);this.$element[t](0).one(n.support.transition.end,n.proxy(r,this)).emulateTransitionEnd(350)}};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};i=n.fn.collapse;n.fn.collapse=function(i){return this.each(function(){var r=n(this),u=r.data("bs.collapse"),f=n.extend({},t.DEFAULTS,r.data(),typeof i=="object"&&i);u||r.data("bs.collapse",u=new t(this,f));typeof i=="string"&&u[i]()})};n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=i,this};n(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var i=n(this),e,s=i.attr("data-target")||t.preventDefault()||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),r=n(s),u=r.data("bs.collapse"),h=u?"toggle":i.data(),f=i.attr("data-parent"),o=f&&n(f);u&&u.transitioning||(o&&o.find('[data-toggle=collapse][data-parent="'+f+'"]').not(i).addClass("collapsed"),i[r.hasClass("in")?"addClass":"removeClass"]("collapsed"));r.collapse(h)})}(window.jQuery);+function(n){"use strict";function r(){n(e).remove();n(i).each(function(t){var i=u(n(this));i.hasClass("open")&&((i.trigger(t=n.Event("hide.bs.dropdown")),t.isDefaultPrevented())||i.removeClass("open").trigger("hidden.bs.dropdown"))})}function u(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}var e=".dropdown-backdrop",i="[data-toggle=dropdown]",t=function(t){var i=n(t).on("click.bs.dropdown",this.toggle)},f;t.prototype.toggle=function(t){var f=n(this),i,e;if(!f.is(".disabled, :disabled")){if(i=u(f),e=i.hasClass("open"),r(),!e){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length)n('
<\/table>a<\/a>",a=u.getElementsByTagName("*")||[],e=u.getElementsByTagName("a")[0],!e||!e.style||!a.length)return t;h=r.createElement("select");l=h.appendChild(r.createElement("option"));f=u.getElementsByTagName("input")[0];e.style.cssText="top:1px;float:left;opacity:.5";t.getSetAttribute=u.className!=="t";t.leadingWhitespace=u.firstChild.nodeType===3;t.tbody=!u.getElementsByTagName("tbody").length;t.htmlSerialize=!!u.getElementsByTagName("link").length;t.style=/top/.test(e.getAttribute("style"));t.hrefNormalized=e.getAttribute("href")==="/a";t.opacity=/^0.5/.test(e.style.opacity);t.cssFloat=!!e.style.cssFloat;t.checkOn=!!f.value;t.optSelected=l.selected;t.enctype=!!r.createElement("form").enctype;t.html5Clone=r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav><\/:nav>";t.inlineBlockNeedsLayout=!1;t.shrinkWrapBlocks=!1;t.pixelPosition=!1;t.deleteExpando=!0;t.noCloneEvent=!0;t.reliableMarginRight=!0;t.boxSizingReliable=!0;f.checked=!0;t.noCloneChecked=f.cloneNode(!0).checked;h.disabled=!0;t.optDisabled=!l.disabled;try{delete u.test}catch(p){t.deleteExpando=!1}f=r.createElement("input");f.setAttribute("value","");t.input=f.getAttribute("value")==="";f.value="t";f.setAttribute("type","radio");t.radioValue=f.value==="t";f.setAttribute("checked","t");f.setAttribute("name","t");c=r.createDocumentFragment();c.appendChild(f);t.appendChecked=f.checked;t.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked;u.attachEvent&&(u.attachEvent("onclick",function(){t.noCloneEvent=!1}),u.cloneNode(!0).click());for(s in{submit:!0,change:!0,focusin:!0})u.setAttribute(v="on"+s,"t"),t[s+"Bubbles"]=v in n||u.attributes[v].expando===!1;u.style.backgroundClip="content-box";u.cloneNode(!0).style.backgroundClip="";t.clearCloneStyle=u.style.backgroundClip==="content-box";for(s in i(t))break;return t.ownLast=s!=="0",i(function(){var h,e,f,c="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=r.getElementsByTagName("body")[0];s&&(h=r.createElement("div"),h.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(h).appendChild(u),u.innerHTML="
\s*$/g,e={option:[1,"
<\/td>t<\/td><\/tr><\/table>",f=u.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",y=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",t.reliableHiddenOffsets=y&&f[0].offsetHeight===0,u.innerHTML="",u.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",i.swap(s,s.style.zoom!=null?{zoom:1}:{},function(){t.boxSizing=u.offsetWidth===4}),n.getComputedStyle&&(t.pixelPosition=(n.getComputedStyle(u,null)||{}).top!=="1%",t.boxSizingReliable=(n.getComputedStyle(u,null)||{width:"4px"}).width==="4px",e=u.appendChild(r.createElement("div")),e.style.cssText=u.style.cssText=c,e.style.marginRight=e.style.width="0",u.style.width="1px",t.reliableMarginRight=!parseFloat((n.getComputedStyle(e,null)||{}).marginRight)),typeof u.style.zoom!==o&&(u.innerHTML="",u.style.cssText=c+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=u.offsetWidth===3,u.style.display="block",u.innerHTML="
<\/div>",u.firstChild.style.width="5px",t.shrinkWrapBlocks=u.offsetWidth!==3,t.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(h),h=u=f=e=null)}),a=h=c=l=e=f=null,t}({});ir=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/;rr=/([A-Z])/g;i.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ti(n)},data:function(n,t,i){return ur(n,t,i)},removeData:function(n,t){return fr(n,t)},_data:function(n,t,i){return ur(n,t,i,!0)},_removeData:function(n,t){return fr(n,t,!0)},acceptData:function(n){if(n.nodeType&&n.nodeType!==1&&n.nodeType!==9)return!1;var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}});i.fn.extend({data:function(n,r){var e,f,o=null,s=0,u=this[0];if(n===t){if(this.length&&(o=i.data(u),u.nodeType===1&&!i._data(u,"parsedAttrs"))){for(e=u.attributes;s1?this.each(function(){i.data(this,n,r)}):u?er(u,n,i.data(u,n)):null},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue");i._removeData(n,r)})})}});i.fn.extend({queue:function(n,r){var u=2;return(typeof n!="string"&&(r=n,n="fx",u--),arguments.length1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t;delete this[n]}catch(i){}})},addClass:function(n){var e,t,r,u,o,f=0,h=this.length,c=typeof n=="string"&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(c)for(e=(n||"").match(s)||[];f=0)t=t.replace(" "+u+" "," ");r.className=n?i.trim(t):""}return this},toggleClass:function(n,t){var r=typeof n;return typeof t=="boolean"&&r==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var t,f=0,u=i(this),e=n.match(s)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(r===o||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;t=0)return!0;return!1},val:function(n){var u,r,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f;this.nodeType===1&&(f=e?n.call(this,u,i(this).val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t)?u:(u=f.value,typeof u=="string"?u.replace(ie,""):u==null?"":u):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:n.text}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u=n.type==="select-one"||r<0,s=u?null:[],h=u?r+1:o.length,f=r<0?h:u?r:0;f=0)&&(u=!0);return u||(n.selectedIndex=-1),e}}},attr:function(n,r,u){var f,e,s=n.nodeType;if(n&&s!==3&&s!==8&&s!==2){if(typeof n.getAttribute===o)return i.prop(n,r,u);if(s===1&&i.isXMLDoc(n)||(r=r.toLowerCase(),f=i.attrHooks[r]||(i.expr.match.bool.test(r)?or:d)),u!==t)if(u===null)i.removeAttr(n,r);else return f&&"set"in f&&(e=f.set(n,u,r))!==t?e:(n.setAttribute(r,u+""),u);else return f&&"get"in f&&(e=f.get(n,r))!==null?e:(e=i.find.attr(n,r),e==null?t:e)}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&n.nodeType===1)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?ht&&a||!ri.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(a?r:u)},attrHooks:{type:{set:function(n,t){if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(n,r,u){var e,f,s,o=n.nodeType;if(n&&o!==3&&o!==8&&o!==2)return s=o!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:n[r]=u:f&&"get"in f&&(e=f.get(n,r))!==null?e:n[r]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):re.test(n.nodeName)||ue.test(n.nodeName)&&n.href?0:-1}}}});or={set:function(n,t,r){return t===!1?i.removeAttr(n,r):ht&&a||!ri.test(r)?n.setAttribute(!a&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,r){var u=i.expr.attrHandle[r]||i.find.attr;i.expr.attrHandle[r]=ht&&a||!ri.test(r)?function(n,r,f){var e=i.expr.attrHandle[r],o=f?t:(i.expr.attrHandle[r]=t)!=u(n,r,f)?r.toLowerCase():null;return i.expr.attrHandle[r]=e,o}:function(n,r,u){return u?t:n[i.camelCase("default-"+r)]?r.toLowerCase():null}});ht&&a||(i.attrHooks.value={set:function(n,t,r){if(i.nodeName(n,"input"))n.defaultValue=t;else return d&&d.set(n,t,r)}});a||(d={set:function(n,i,r){var u=n.getAttributeNode(r);return u||n.setAttributeNode(u=n.ownerDocument.createAttribute(r)),u.value=i+="",r==="value"||i===n.getAttribute(r)?i:t}},i.expr.attrHandle.id=i.expr.attrHandle.name=i.expr.attrHandle.coords=function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&u.value!==""?u.value:null},i.valHooks.button={get:function(n,i){var r=n.getAttributeNode(i);return r&&r.specified?r.value:t},set:d.set},i.attrHooks.contenteditable={set:function(n,t,i){d.set(n,t===""?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}}}));i.support.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText||t},set:function(n,t){return n.style.cssText=t+""}});i.support.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.support.enctype||(i.propFix.enctype="encoding");i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}};i.support.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});var ui=/^(?:input|select|textarea)$/i,fe=/^key/,ee=/^(?:mouse|contextmenu)|click/,sr=/^(?:focusinfocus|focusoutblur)$/,hr=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,r,u,f,e){var b,p,k,w,c,l,a,v,h,d,g,y=i._data(n);if(y){for(u.handler&&(w=u,u=w.handler,e=w.selector),u.guid||(u.guid=i.guid++),(p=y.events)||(p=y.events={}),(l=y.handle)||(l=y.handle=function(n){return typeof i!==o&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(l.elem,arguments):t},l.elem=n),r=(r||"").match(s)||[""],k=r.length;k--;)(b=hr.exec(r[k])||[],h=g=b[1],d=(b[2]||"").split(".").sort(),h)&&(c=i.event.special[h]||{},h=(e?c.delegateType:c.bindType)||h,c=i.event.special[h]||{},a=i.extend({type:h,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:d.join(".")},w),(v=p[h])||(v=p[h]=[],v.delegateCount=0,c.setup&&c.setup.call(n,f,d,l)!==!1||(n.addEventListener?n.addEventListener(h,l,!1):n.attachEvent&&n.attachEvent("on"+h,l))),c.add&&(c.add.call(n,a),a.handler.guid||(a.handler.guid=u.guid)),e?v.splice(v.delegateCount++,0,a):v.push(a),i.event.global[h]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,h,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;){if(h=hr.exec(t[p])||[],e=k=h[1],w=(h[2]||"").split(".").sort(),!e){for(e in a)i.event.remove(n,e+t[p],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],h=h[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],(f||k===o.origType)&&(!r||r.guid===o.guid)&&(!h||h.test(o.namespace))&&(!u||u===o.selector||u==="**"&&o.selector)&&(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(u,f,e,o){var a,v,s,w,l,c,b,p=[e||r],h=k.call(u,"type")?u.type:u,y=k.call(u,"namespace")?u.namespace.split("."):[];if((s=c=e=e||r,e.nodeType!==3&&e.nodeType!==8)&&!sr.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),v=h.indexOf(":")<0&&"on"+h,u=u[i.expando]?u:new i.Event(h,typeof u=="object"&&u),u.isTrigger=o?2:3,u.namespace=y.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=t,u.target||(u.target=e),f=f==null?[u]:i.makeArray(f,[u]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(w=l.delegateType||h,sr.test(w+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||r)&&p.push(c.defaultView||c.parentWindow||n)}for(b=0;(s=p[b++])&&!u.isPropagationStopped();)u.type=b>1?w:l.bindType||h,a=(i._data(s,"events")||{})[u.type]&&i._data(s,"handle"),a&&a.apply(s,f),a=v&&s[v],a&&i.acceptData(s)&&a.apply&&a.apply(s,f)===!1&&u.preventDefault();if(u.type=h,!o&&!u.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),f)===!1)&&i.acceptData(e)&&v&&e[h]&&!i.isWindow(e)){c=e[v];c&&(e[v]=null);i.event.triggered=h;try{e[h]()}catch(d){}i.event.triggered=t;c&&(e[v]=c)}return u.result}},dispatch:function(n){n=i.event.fix(n);var o,e,r,u,s,h=[],c=l.call(arguments),a=(i._data(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,a),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(r=u.handlers[s++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(r.namespace))&&(n.handleObj=r,n.data=r.data,e=((i.event.special[r.origType]||{}).handle||r.handler).apply(u.elem,c),e!==t&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,r){var e,o,f,s,c=[],h=r.delegateCount,u=n.target;if(h&&u.nodeType&&(!n.button||n.type!=="click"))for(;u!=this;u=u.parentNode||this)if(u.nodeType===1&&(u.disabled!==!0||n.type!=="click")){for(f=[],s=0;s=0:i.find(e,this,null,[u]).length),f[e]&&f.push(o);f.length&&c.push({elem:u,handlers:f})}return h1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t-1:r.nodeType===1&&i.find.matchesSelector(r,n))){r=u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){var r=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),u=i.merge(this.get(),r);return this.pushStack(i.unique(u))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return ar(n,"nextSibling")},prev:function(n){return ar(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(he[n]||(f=i.unique(f)),se.test(n)&&(f=f.reverse())),this.pushStack(f)}});i.extend({filter:function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var yr="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ce=/ jQuery\d+="(?:null|\d+)"/g,pr=new RegExp("<(?:"+yr+")[\\s/>]","i"),ei=/^\s+/,wr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,br=/<([\w:]+)/,kr=/
","<\/table>"],tr:[2,"
","<\/tbody><\/table>"],col:[2,"
<\/tbody>","<\/colgroup><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:i.support.htmlSerialize?[0,"",""]:[1,"X
","<\/div>"]},we=vr(r),si=we.appendChild(r.createElement("div"));e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=gr(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=gr(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,f=0;(r=e[f])!=null;f++)t||r.nodeType!==1||i.cleanData(u(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&hi(u(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++){for(n.nodeType===1&&i.cleanData(u(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},f=0,o=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(ce,""):t;if(typeof n=="string"&&!ae.test(n)&&(i.support.htmlSerialize||!pr.test(n))&&(i.support.leadingWhitespace||!ei.test(n))&&!e[(br.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(wr,"<$1><\/$2>");try{for(;f")?o=n.cloneNode(!0):(si.innerHTML=n.outerHTML,si.removeChild(o=si.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=u(o),s=u(n),e=0;(h=s[e])!=null;++e)f[e]&&be(h,f[e]);if(t)if(r)for(s=s||u(n),f=f||u(o),e=0;(h=s[e])!=null;e++)iu(h,f[e]);else iu(n,o);return f=u(o,"script"),f.length>0&&hi(f,!c&&u(n,"script")),f=s=h=null,o},buildFragment:function(n,t,r,f){for(var h,o,w,s,y,p,l,b=n.length,a=vr(t),c=[],v=0;v<\/$2>")+l[2],h=l[0];h--;)s=s.lastChild;if(!i.support.leadingWhitespace&&ei.test(o)&&c.push(t.createTextNode(ei.exec(o)[0])),!i.support.tbody)for(o=y==="table"&&!kr.test(o)?s.firstChild:l[1]==="
"&&!kr.test(o)?s:0,h=o&&o.childNodes.length;h--;)i.nodeName(p=o.childNodes[h],"tbody")&&!p.childNodes.length&&o.removeChild(p);for(i.merge(c,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=a.lastChild}else c.push(t.createTextNode(o));for(s&&a.removeChild(s),i.support.appendChecked||i.grep(u(c,"input"),ke),v=0;o=c[v++];)if((!f||i.inArray(o,f)===-1)&&(w=i.contains(o.ownerDocument,o),s=u(a.appendChild(o),"script"),w&&hi(s),r))for(h=0;o=s[h++];)dr.test(o.type||"")&&r.push(o);return s=null,a},cleanData:function(n,t){for(var r,e,u,f,c=0,s=i.expando,h=i.cache,l=i.support.deleteExpando,a=i.event.special;(r=n[c])!=null;c++)if((t||i.acceptData(r))&&(u=r[s],f=u&&h[u],f)){if(f.events)for(e in f.events)a[e]?i.event.remove(r,e):i.removeEvent(r,e,f.handle);h[u]&&(delete h[u],l?delete r[s]:typeof r.removeAttribute!==o?r.removeAttribute(s):r[s]=null,b.push(u))}},_evalUrl:function(n){return i.ajax({url:n,type:"GET",dataType:"script","async":!1,global:!1,throws:!0})}});i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});var rt,v,y,ci=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,ge=/^(top|right|bottom|left)$/,no=/^(none|table(?!-c[ea]).+)/,ru=/^margin/,to=new RegExp("^("+st+")(.*)$","i"),lt=new RegExp("^("+st+")(?!px)[a-z%]+$","i"),io=new RegExp("^([+-])=("+st+")","i"),uu={BODY:"block"},ro={position:"absolute",visibility:"hidden",display:"block"},fu={letterSpacing:0,fontWeight:400},p=["Top","Right","Bottom","Left"],eu=["Webkit","O","Moz","ms"];i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){var e,o,s={},f=0;if(i.isArray(r)){for(o=v(n),e=r.length;f1)},show:function(){return su(this,!0)},hide:function(){return su(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){ut(this)?i(this).show():i(this).hide()})}});i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=y(n,"opacity");return i===""?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var o,s,e,h=i.camelCase(r),c=n.style;if(r=i.cssProps[h]||(i.cssProps[h]=ou(c,h)),e=i.cssHooks[r]||i.cssHooks[h],u!==t){if(s=typeof u,s==="string"&&(o=io.exec(u))&&(u=(o[1]+1)*o[2]+parseFloat(i.css(n,r)),s="number"),u==null||s==="number"&&isNaN(u))return;if(s!=="number"||i.cssNumber[h]||(u+="px"),i.support.clearCloneStyle||u!==""||r.indexOf("background")!==0||(c[r]="inherit"),!e||!("set"in e)||(u=e.set(n,u,f))!==t)try{c[r]=u}catch(l){}}else return e&&"get"in e&&(o=e.get(n,!1,f))!==t?o:c[r]}},css:function(n,r,u,f){var h,e,o,s=i.camelCase(r);return(r=i.cssProps[s]||(i.cssProps[s]=ou(n.style,s)),o=i.cssHooks[r]||i.cssHooks[s],o&&"get"in o&&(e=o.get(n,!0,u)),e===t&&(e=y(n,r,f)),e==="normal"&&r in fu&&(e=fu[r]),u===""||u)?(h=parseFloat(e),u===!0||i.isNumeric(h)?h||0:e):e}});n.getComputedStyle?(v=function(t){return n.getComputedStyle(t,null)},y=function(n,r,u){var s,h,c,o=u||v(n),e=o?o.getPropertyValue(r)||o[r]:t,f=n.style;return o&&(e!==""||i.contains(n.ownerDocument,n)||(e=i.style(n,r)),lt.test(e)&&ru.test(r)&&(s=f.width,h=f.minWidth,c=f.maxWidth,f.minWidth=f.maxWidth=f.width=e,e=o.width,f.width=s,f.minWidth=h,f.maxWidth=c)),e}):r.documentElement.currentStyle&&(v=function(n){return n.currentStyle},y=function(n,i,r){var s,e,o,h=r||v(n),u=h?h[i]:t,f=n.style;return u==null&&f&&f[i]&&(u=f[i]),lt.test(u)&&!ge.test(i)&&(s=f.left,e=n.runtimeStyle,o=e&&e.left,o&&(e.left=n.currentStyle.left),f.left=i==="fontSize"?"1em":u,u=f.pixelLeft+"px",f.left=s,o&&(e.left=o)),u===""?"auto":u});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return n.offsetWidth===0&&no.test(i.css(n,"display"))?i.swap(n,ro,function(){return lu(n,t,u)}):lu(n,t,u)},set:function(n,r,u){var f=u&&v(n);return hu(n,r,u?cu(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing",!1,f)==="border-box",f):0)}}});i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return de.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",f=u&&u.filter||r.filter||"";(r.zoom=1,(t>=1||t==="")&&i.trim(f.replace(ci,""))===""&&r.removeAttribute&&(r.removeAttribute("filter"),t===""||u&&!u.filter))||(r.filter=ci.test(f)?f.replace(ci,e):f+" "+e)}});i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){if(t)return i.swap(n,{display:"inline-block"},y,[n,"marginRight"])}});!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r)return r=y(n,t),lt.test(r)?i(n).position()[t]+"px":r}}})});i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||i.css(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}};ru.test(n)||(i.cssHooks[n+t].set=hu)});var uo=/%20/g,fo=/\[\]$/,yu=/\r?\n/g,eo=/^(?:submit|button|image|reset|file)$/i,oo=/^(?:input|select|textarea|keygen)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&oo.test(this.nodeName)&&!eo.test(n)&&(this.checked||!oi.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yu,"\r\n")}}):{name:t.name,value:r.replace(yu,"\r\n")}}).get()}});i.param=function(n,r){var u,f=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(u in n)li(u,n[u],r,e);return f.join("&").replace(uo,"+")};i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}});var w,c,ai=i.now(),vi=/\?/,so=/#.*$/,pu=/([?&])_=[^&]*/,ho=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,co=/^(?:GET|HEAD)$/,lo=/^\/\//,wu=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,bu=i.fn.load,ku={},yi={},du="*/".concat("*");try{c=hf.href}catch(go){c=r.createElement("a");c.href="";c=c.href}w=wu.exec(c.toLowerCase())||[];i.fn.load=function(n,r,u){if(typeof n!="string"&&bu)return bu.apply(this,arguments);var f,s,h,e=this,o=n.indexOf(" ");return o>=0&&(f=n.slice(o,n.length),n=n.slice(0,o)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(h="POST"),e.length>0&&i.ajax({url:n,type:h,dataType:"html",data:r}).done(function(n){s=arguments;e.html(f?i("
").append(i.parseHTML(n)).find(f):n)}).complete(u&&function(n,t){e.each(u,s||[n.responseText,t,n])}),this};i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}});i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:c,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(w[1]),global:!0,processData:!0,"async":!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":du,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?pi(pi(n,i.ajaxSettings),t):pi(i.ajaxSettings,n)},ajaxPrefilter:gu(ku),ajaxTransport:gu(yi),ajax:function(n,r){function k(n,r,s,c){var a,rt,k,p,w,l=r;o!==2&&(o=2,g&&clearTimeout(g),v=t,d=c||"",f.readyState=n>0?4:0,a=n>=200&&n<300||n===304,s&&(p=ao(u,f,s)),p=vo(u,p,f,a),a?(u.ifModified&&(w=f.getResponseHeader("Last-Modified"),w&&(i.lastModified[e]=w),w=f.getResponseHeader("etag"),w&&(i.etag[e]=w)),n===204||u.type==="HEAD"?l="nocontent":n===304?l="notmodified":(l=p.state,rt=p.data,k=p.error,a=!k)):(k=l,(n||!l)&&(l="error",n<0&&(n=0))),f.status=n,f.statusText=(r||l)+"",a?tt.resolveWith(h,[rt,l,f]):tt.rejectWith(h,[f,l,k]),f.statusCode(b),b=t,y&&nt.trigger(a?"ajaxSuccess":"ajaxError",[f,u,a?rt:k]),it.fireWith(h,[f,l]),y&&(nt.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}typeof n=="object"&&(r=n,n=t);r=r||{};var l,a,e,d,g,y,v,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),b=u.statusCode||{},rt={},ut={},o=0,ft="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(o===2){if(!p)for(p={};t=ho.exec(d);)p[t[1].toLowerCase()]=t[2];t=p[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return o===2?d:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=ut[i]=ut[i]||n,rt[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(o<2)for(t in n)b[t]=[b[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||ft;return v&&v.abort(t),k(0,t),this}};if(tt.promise(f).complete=it.add,f.success=f.done,f.error=f.fail,u.url=((n||u.url||c)+"").replace(so,"").replace(lo,w[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],u.crossDomain==null&&(l=wu.exec(u.url.toLowerCase()),u.crossDomain=!!(l&&(l[1]!==w[1]||l[2]!==w[2]||(l[3]||(l[1]==="http:"?"80":"443"))!==(w[3]||(w[1]==="http:"?"80":"443"))))),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),nf(ku,u,r,f),o===2)return f;y=u.global;y&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!co.test(u.type);e=u.url;u.hasContent||(u.data&&(e=u.url+=(vi.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=pu.test(e)?e.replace(pu,"$1_="+ai++):e+(vi.test(e)?"&":"?")+"_="+ai++));u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+du+"; q=0.01":""):u.accepts["*"]);for(a in u.headers)f.setRequestHeader(a,u.headers[a]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||o===2))return f.abort();ft="abort";for(a in{success:1,error:1,complete:1})f[a](u[a]);if(v=nf(yi,u,r,f),v){f.readyState=1;y&&nt.trigger("ajaxSend",[f,u]);u.async&&u.timeout>0&&(g=setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1;v.send(rt,k)}catch(et){if(o<2)k(-1,et);else throw et;}}else k(-1,"No Transport");return f},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,r){return i.get(n,t,r,"script")}});i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({url:n,type:r,dataType:e,data:u,success:f})}});i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}});i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)});i.ajaxTransport("script",function(n){if(n.crossDomain){var u,f=r.head||i("head")[0]||r.documentElement;return{send:function(t,i){u=r.createElement("script");u.async=!0;n.scriptCharset&&(u.charset=n.scriptCharset);u.src=n.url;u.onload=u.onreadystatechange=function(n,t){(t||!u.readyState||/loaded|complete/.test(u.readyState))&&(u.onload=u.onreadystatechange=null,u.parentNode&&u.parentNode.removeChild(u),u=null,t||i(200,"success"))};f.insertBefore(u,f.firstChild)},abort:function(){if(u)u.onload(t,!0)}}}});wi=[];at=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=wi.pop()||i.expando+"_"+ai++;return this[n]=!0,n}});i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,h=r.jsonp!==!1&&(at.test(r.url)?"url":typeof r.data=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&at.test(r.data)&&"data");if(h||r.dataTypes[0]==="jsonp")return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,h?r[h]=r[h].replace(at,"$1"+e):r.jsonp!==!1&&(r.url+=(vi.test(r.url)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",s=n[e],n[e]=function(){o=arguments},f.always(function(){n[e]=s;r[e]&&(r.jsonpCallback=u.jsonpCallback,wi.push(e));o&&i.isFunction(s)&&s(o[0]);o=s=t}),"script"});tf=0;vt=n.ActiveXObject&&function(){for(var n in nt)nt[n](t,!0)};i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&rf()||yo()}:rf;tt=i.ajaxSettings.xhr();i.support.cors=!!tt&&"withCredentials"in tt;tt=i.support.ajax=!!tt;tt&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType);r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null);u=function(n,f){var s,a,l,c;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,vt&&delete nt[h]),f)o.readyState!==4&&o.abort();else{c={};s=o.status;a=o.getAllResponseHeaders();typeof o.responseText=="string"&&(c.text=o.responseText);try{l=o.statusText}catch(y){l=""}s||!r.isLocal||r.crossDomain?s===1223&&(s=204):s=c.text?200:404}}catch(v){f||e(-1,v)}c&&e(s,l,c,a)};r.async?o.readyState===4?setTimeout(u):(h=++tf,vt&&(nt||(nt={},i(n).unload(vt)),nt[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(t,!0)}}}});var it,yt,po=/^(?:toggle|show|hide)$/,uf=new RegExp("^(?:([+-])=|)("+st+")([a-z%]*)$","i"),wo=/queueHooks$/,pt=[ko],ft={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),u=uf.exec(t),e=u&&u[3]||(i.cssNumber[n]?"":"px"),r=(i.cssNumber[n]||e!=="px"&&+s)&&uf.exec(i.css(f.elem,n)),o=1,h=20;if(r&&r[3]!==e){e=e||r[3];u=u||[];r=+s||1;do o=o||".5",r=r/o,i.style(f.elem,n,r+e);while(o!==(o=f.cur()/s)&&o!==1&&--h)}return u&&(r=f.start=+r||+s||0,f.unit=e,f.end=u[1]?r+(u[1]+1)*u[2]:+u[2]),f}]};i.Animation=i.extend(of,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u-1,u={},s={},h,c;v?(s=e.position(),h=s.top,c=s.left):(h=parseFloat(l)||0,c=parseFloat(a)||0);i.isFunction(t)&&(t=t.call(n,r,o));t.top!=null&&(u.top=t.top-o.top+h);t.left!=null&&(u.left=t.left-o.left+c);"using"in t?t.using.call(n,u):e.css(u)}};i.fn.extend({position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[0];return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||ki;n&&!i.nodeName(n,"html")&&i.css(n,"position")==="static";)n=n.offsetParent;return n||ki})}});i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=sf(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}});i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var o=arguments.length&&(u||typeof f!="boolean"),s=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,s):i.style(r,u,f,s)},r,o?f:t,o,null)}})});i.fn.size=function(){return this.length};i.fn.andSelf=i.fn.addBack;typeof module=="object"&&module&&typeof module.exports=="object"?module.exports=i:(n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}))}(window),!function(n){"use strict";var r=document,t={modules:{},status:{},timeout:10,event:{}},i=function(){this.v="2.5.5"},e=function(){var n=r.currentScript?r.currentScript.src:function(){for(var i,n=r.scripts,u=n.length-1,t=u;t>0;t--)if("interactive"===n[t].readyState){i=n[t].src;break}return i||n[u].src}();return n.substring(0,n.lastIndexOf("/")+1)}(),u=function(t){n.console&&console.error&&console.error("Layui hint: "+t)},o="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),f={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",tableSelect:"modules/tableSelect",common:"modules/common",form:"modules/form",upload:"modules/upload",transfer:"modules/transfer",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",colorpicker:"modules/colorpicker",slider:"modules/slider",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};i.prototype.cache=t;i.prototype.define=function(n,i){var r=this,f="function"==typeof n,u=function(){var n=function(n,i){layui[n]=i;t.status[n]=!0};return"function"==typeof i&&i(function(r,u){n(r,u);t.callback[r]=function(){i(n)}}),this};return f&&(i=n,n=[]),!layui["layui.all"]&&layui["layui.mobile"]?u.call(r):(r.use(n,u),r)};i.prototype.use=function(n,i,s){function p(n,i){var r="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===n.type||r.test((n.currentTarget||n.srcElement).readyState))&&(t.modules[h]=i,b.removeChild(c),function f(){return++y>250*t.timeout?u(h+" is not a valid module"):void(t.status[h]?v():setTimeout(f,4))}())}function v(){s.push(layui[h]);n.length>1?a.use(n.slice(1),i,s):"function"==typeof i&&i.apply(layui,s)}var a=this,w=t.dir=t.dir?t.dir:e,b=r.getElementsByTagName("head")[0],h,y,c,l;return(n="string"==typeof n?[n]:n,window.jQuery&&jQuery.fn.on&&(a.each(n,function(t,i){"jquery"===i&&n.splice(t,1)}),layui.jquery=layui.$=jQuery),h=n[0],y=0,s=s||[],t.host=t.host||(w.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===n.length||layui["layui.all"]&&f[h]||!layui["layui.all"]&&layui["layui.mobile"]&&f[h])?(v(),a):(t.modules[h]?!function k(){return++y>250*t.timeout?u(h+" is not a valid module"):void("string"==typeof t.modules[h]&&t.status[h]?v():setTimeout(k,4))}():(c=r.createElement("script"),l=(f[h]?w+"lay/":/^\{\/\}/.test(a.modules[h])?"":t.base||"")+(a.modules[h]||h)+".js",l=l.replace(/^\{\/\}/,""),c.async=!0,c.charset="utf-8",c.src=l+function(){var n=t.version===!0?t.v||(new Date).getTime():t.version||"";return n?"?v="+n:""}(),b.appendChild(c),!c.attachEvent||c.attachEvent.toString&&c.attachEvent.toString().indexOf("[native code")<0||o?c.addEventListener("load",function(n){p(n,l)},!1):c.attachEvent("onreadystatechange",function(n){p(n,l)}),t.modules[h]=l),a)};i.prototype.getStyle=function(t,i){var r=t.currentStyle?t.currentStyle:n.getComputedStyle(t,null);return r[r.getPropertyValue?"getPropertyValue":"getAttribute"](i)};i.prototype.link=function(n,i,f){var o=this,e=r.createElement("link"),h=r.getElementsByTagName("head")[0];"string"==typeof i&&(f=i);var c=(f||n).replace(/\.|\//g,""),s=e.id="layuicss-"+c,l=0;return e.rel="stylesheet",e.href=n+(t.debug?"?v="+(new Date).getTime():""),e.media="all",r.getElementById(s)||h.appendChild(e),"function"!=typeof i?o:(function a(){return++l>10*t.timeout?u(n+" timeout"):void(1989===parseInt(o.getStyle(r.getElementById(s),"width"))?function(){i()}():setTimeout(a,100))}(),o)};t.callback={};i.prototype.factory=function(n){if(layui[n])return"function"==typeof t.callback[n]?t.callback[n]:null};i.prototype.addcss=function(n,i,r){return layui.link(t.dir+"css/"+n,i,r)};i.prototype.img=function(n,t,i){var r=new Image;return r.src=n,r.complete?t(r):(r.onload=function(){r.onload=null;"function"==typeof t&&t(r)},void(r.onerror=function(n){r.onerror=null;"function"==typeof i&&i(n)}))};i.prototype.config=function(n){n=n||{};for(var i in n)t[i]=n[i];return this};i.prototype.modules=function(){var n={};for(var t in f)n[t]=f[t];return n}();i.prototype.extend=function(n){var i=this,t;n=n||{};for(t in n)i[t]||i.modules[t]?u("模块名 "+t+" 已被占用"):i.modules[t]=n[t];return i};i.prototype.router=function(n){var i=this,n=n||location.hash,t={path:[],search:{},hash:(n.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(n)?(n=n.replace(/^#\//,""),t.href="/"+n,n=n.replace(/([^#])(#.*$)/,"$1").split("/")||[],i.each(n,function(n,i){/^\w+=/.test(i)?function(){i=i.split("=");t.search[i[0]]=i[1]}():t.path.push(i)}),t):t};i.prototype.data=function(t,i,r){var u;if(t=t||"layui",r=r||localStorage,n.JSON&&n.JSON.parse){if(null===i)return delete r[t];i="object"==typeof i?i:{key:i};try{u=JSON.parse(r[t])}catch(f){u={}}return"value"in i&&(u[i.key]=i.value),i.remove&&delete u[i.key],r[t]=JSON.stringify(u),i.key?u[i.key]:u}};i.prototype.sessionData=function(n,t){return this.data(n,t,sessionStorage)};i.prototype.device=function(t){var i=navigator.userAgent.toLowerCase(),u=function(n){var t=new RegExp(n+"/([^\\s\\_\\-]+)");return n=(i.match(t)||[])[1],n||!1},r={os:function(){return/windows/.test(i)?"windows":/linux/.test(i)?"linux":/iphone|ipod|ipad|ios/.test(i)?"ios":/mac/.test(i)?"mac":void 0}(),ie:function(){return!!(n.ActiveXObject||"ActiveXObject"in n)&&((i.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:u("micromessenger")};return t&&!r[t]&&(r[t]=u(t)),r.android=/android/.test(i),r.ios="ios"===r.os,r};i.prototype.hint=function(){return{error:u}};i.prototype.each=function(n,t){var i,r=this;if("function"!=typeof t)return r;if(n=n||[],n.constructor===Object){for(i in n)if(t.call(n[i],i,n[i]))break}else for(i=0;iu?1:r<\/a>'}},{field:"nick_name",title:"昵称"}]],initSort:!1,text:{none:"暂无相关数据"},request:{pageName:"offset"},response:{statusName:"code",msgName:"message",countName:"totalnum",dataName:"data"},parseData:function(n){return{data:n.data.Items,totalnum:n.data.TotalNum,code:n.code,message:n.message}},done:function(){f.lazyimg()}};typeof n!="undefined"&&(typeof n.url!="undefined"&&(r.url=n.url),typeof n.cols!="undefined"&&(r.cols=n.cols));i.table=r;n=t.extend(i,n);u.render(n)},echarts:function(n){var i;n=t.extend({id:"charts",tooltip:{trigger:"axis"},dataZoom:[{show:!1,realtime:!0,start:0,end:100},{type:"inside",realtime:!0,start:0,end:100}],title:{text:"趋势图"},yAxis:{type:"value"},grid:{left:"3%",right:"3%",containLabel:!0},toolbox:{show:!0,feature:{restore:{},magicType:{type:["line","bar"]},saveAsImage:{type:"jpeg"}}}},n);typeof n.series!="undefined"&&n.series.length>0&&t.each(n.series,function(){typeof this.itemStyle=="undefined"&&(this.itemStyle={normal:{label:{show:!0}}});typeof this.type=="undefined"&&(this.type="line");typeof this.smooth=="undefined"&&(this.smooth=!0);typeof this.stack=="undefined"&&(this.stack="总量")});typeof n.xAxis!="undefined"&&(typeof n.xAxis.boundaryGap=="undefined"&&(n.xAxis.boundaryGap=!1),typeof n.xAxis.type=="undefined"&&(n.xAxis.type="category"));typeof n.legend!="undefined"&&typeof n.legend.bottom=="undefined"&&(n.legend.bottom=10);console.log(n);i=echarts.init(document.getElementById(n.id),"ybhdmob");i.setOption(n);window.onresize=i.resize},alert:function(n,r){var u={content:"错误",icon:2,offset:"50px",yes:function(n){i.close(n);typeof r!="undefined"&&r()}};typeof n=="string"?(u.content=n,i.alert(u.content,u,u.yes)):(n=t.extend(u,n),i.alert(n.content,n,n.yes))},msg:function(n){i.msg(n,{offset:"50px"})},info:function(n,r){var u={icon:1,content:"成功",offset:"50px",yes:function(n){i.close(n);typeof r!="undefined"&&r()}};typeof n=="string"?(u.content=n,i.alert(n,u)):(n=t.extend(u,n),i.open(n))},confirm:function(n,r,u){u=t.extend({icon:3,title:"提示",offset:"50px"},u);i.confirm(n,u,function(n){i.close(n);r()})},prompt:function(n,r){n=t.extend({fromType:0,title:"请输入内容",offset:"50px",value:"请输入内容"},n);i.prompt(n,function(n,t){i.close(t);r(n)})},initTable:function(n){var i={elem:"#list",page:!0,toolbar:"#toolbar",defaultToolbar:[{title:"刷新",layEvent:"LAYTABLE_REFRESH",icon:"layui-icon-refresh"},"filter","print","exports"],limit:10,loading:!0,autoSort:!1,contentType:"application/json",even:!0,id:"list",skin:"row",initSort:!1,text:{none:"暂无相关数据"},request:{pageName:"offset"},ontoolbarevent:function(n){return n},response:{statusName:"statuscode",statusCode:200,msgName:"message",countName:"totalnum",dataName:"data"},parseData:function(n){return{data:n.data.items,totalnum:n.data.totalnum,statuscode:n.statuscode,message:n.message}},done:function(t,i,r){if(f.lazyimg(),n.ondone)n.ondone(t,i,r)}};n=t.extend(i,n);r.render(n);r.on("sort("+n.id+")",function(t){r.reload(n.id,{initSort:t,where:{sort:t.field,order:t.type}})});r.on("toolbar("+n.id+")",function(t){var u=r.checkStatus(t.config.id),i=t.event;i=="LAYTABLE_REFRESH"&&r.reload(n.id,n);n.ontoolbarevent(t)})},reloadtable:function(n,t){typeof n=="undefined"&&(n="list");t&&(t.page={curr:1});r.reload(n,t)},dialog:function(n){var u=this,f={title:"添加",type:2,content:"",success:function(){setTimeout(function(){layui.layer.tips("点击此处返回上一级",".layui-layer-setwin .layui-layer-close",{tips:3})},500)},end:function(){u.reloadtable();typeof n.close!="undefined"&&n.close();window.sessionStorage.setItem("indexs",0)}},r;n=t.extend(f,n);r=i.open(n);window.sessionStorage.setItem("indexs",r);i.full(r)},tabdialog:function(n){var i=this,r={title:"添加",type:2,content:"",success:function(){setTimeout(function(){layui.layer.tips("点击此处返回上一级",".layui-layer-setwin .layui-layer-close",{tips:3})},500)},end:function(){i.reloadtable();typeof n.close!="undefined"&&n.close();window.sessionStorage.setItem("indexs",0)}};n=t.extend(r,n);window.parent.layui.index.openTabsPage(n.content,n.title)},normaldialog:function(n){var r={title:"添加",type:2,content:"",area:["50%","50%"],offset:"50px",end:function(){t(".js-search").trigger("click");typeof n.close!="undefined"&&n.close()}};n=t.extend(r,n);i.open(n)},closedialog:function(n){typeof n=="undefined"&&(n=window.sessionStorage.getItem("index"));i.close(n)},clientsInit:function(n,t){var r=this,i;if(!t&&typeof sessionStorage.getItem("clientdata")!="undefined"&&sessionStorage.getItem("clientdata")!==null){i=sessionStorage.getItem("clientdata");i=JSON.parse(i);n(i);return}r.ajax({url:"/ClientsData","async":!1,success:function(t){sessionStorage.setItem("clientdata",JSON.stringify(t.data));n(t.data)}})},datetime:function(n){return(typeof n=="undefined"||n===null)&&(n=moment()),n=new Date(n*1e3),moment(n).format("YYYY-MM-DD HH:mm:ss")},cdatetime:function(n){return(typeof n=="undefined"||n===null)&&(n=moment()),moment(n).format("YYYY-MM-DD HH:mm:ss")},preview:function(n){n=t.extend({photos:{title:"图片预览",id:1,start:0,data:[{alt:"",pid:1,src:"",thumb:""}]}},n);i.photos(n)},previewimg:function(n){var t={photos:{title:"图片预览",id:1,start:0,data:[{alt:"",pid:1,src:n,thumb:""}]}};i.photos(t)}};n("common",e)}),!jQuery)throw new Error("Bootstrap requires jQuery");+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in n)if(i.style[t]!==undefined)return{end:n[t]}}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one(n.support.transition.end,function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t()})}(window.jQuery);+function(n){"use strict";var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.prototype.close=function(t){function f(){i.trigger("closed.bs.alert").remove()}var u=n(this),r=u.attr("data-target"),i;(r||(r=u.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=n(r),t&&t.preventDefault(),i.length||(i=u.hasClass("alert")?u:u.parent()),i.trigger(t=n.Event("close.bs.alert")),t.isDefaultPrevented())||(i.removeClass("in"),n.support.transition&&i.hasClass("fade")?i.one(n.support.transition.end,f).emulateTransitionEnd(150):f())};r=n.fn.alert;n.fn.alert=function(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));typeof i=="string"&&u[i].call(r)})};n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r)},i;t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(n){var i="disabled",t=this.$element,r=t.is("input")?"val":"html",u=t.data();n=n+"Text";u.resetText||t.data("resetText",t[r]());t[r](u[n]||this.options[n]);setTimeout(function(){n=="loadingText"?t.addClass(i).attr(i,i):t.removeClass(i).removeAttr(i)},0)};t.prototype.toggle=function(){var n=this.$element.closest('[data-toggle="buttons"]'),t;n.length&&(t=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change"),t.prop("type")==="radio"&&n.find(".active").removeClass("active"));this.$element.toggleClass("active")};i=n.fn.button;n.fn.button=function(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f=typeof i=="object"&&i;r||u.data("bs.button",r=new t(this,f));i=="toggle"?r.toggle():i&&r.setState(i)})};n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=i,this};n(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var i=n(t.target);i.hasClass("btn")||(i=i.closest(".btn"));i.button("toggle");t.preventDefault()})}(window.jQuery);+function(n){"use strict";var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=this.sliding=this.interval=this.$active=this.$items=null;this.options.pause=="hover"&&this.$element.on("mouseenter",n.proxy(this.pause,this)).on("mouseleave",n.proxy(this.cycle,this))},i;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)};t.prototype.to=function(t){var r=this,i=this.getActiveIndex();if(!(t>this.$items.length-1)&&!(t<0))return this.sliding?this.$element.one("slid",function(){r.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",n(this.$items[t]))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition.end&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(t,i){var u=this.$element.find(".item.active"),r=i||u[t](),s=this.interval,f=t=="next"?"left":"right",h=t=="next"?"first":"last",o=this,e;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[h]()}if(this.sliding=!0,s&&this.pause(),e=n.Event("slide.bs.carousel",{relatedTarget:r[0],direction:f}),!r.hasClass("active")){if(this.$indicators.length){this.$indicators.find(".active").removeClass("active");this.$element.one("slid",function(){var t=n(o.$indicators.children()[o.getActiveIndex()]);t&&t.addClass("active")})}if(n.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(e),e.isDefaultPrevented())return;r.addClass(t);r[0].offsetWidth;u.addClass(f);r.addClass(f);u.one(n.support.transition.end,function(){r.removeClass([t,f].join(" ")).addClass("active");u.removeClass(["active",f].join(" "));o.sliding=!1;setTimeout(function(){o.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(e),e.isDefaultPrevented())return;u.removeClass("active");r.addClass("active");this.sliding=!1;this.$element.trigger("slid")}return s&&this.cycle(),this}};i=n.fn.carousel;n.fn.carousel=function(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),typeof i=="object"&&i),e=typeof i=="string"?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));typeof i=="number"?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})};n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=i,this};n(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var i=n(this),f,r=n(i.attr("data-target")||(f=i.attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")),e=n.extend({},r.data(),i.data()),u=i.attr("data-slide-to");u&&(e.interval=!1);r.carousel(e);(u=i.attr("data-slide-to"))&&r.data("bs.carousel").to(u);t.preventDefault()});n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);t.carousel(t.data())})})}(window.jQuery);+function(n){"use strict";var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.transitioning=null;this.options.parent&&(this.$parent=n(this.options.parent));this.options.toggle&&this.toggle()},i;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var u,t,r,i,f,e;if(!this.transitioning&&!this.$element.hasClass("in")&&(u=n.Event("show.bs.collapse"),this.$element.trigger(u),!u.isDefaultPrevented())){if(t=this.$parent&&this.$parent.find("> .panel > .in"),t&&t.length){if(r=t.data("bs.collapse"),r&&r.transitioning)return;t.collapse("hide");r||t.data("bs.collapse",null)}if(i=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[i](0),this.transitioning=1,f=function(){this.$element.removeClass("collapsing").addClass("in")[i]("auto");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return f.call(this);e=n.camelCase(["scroll",i].join("-"));this.$element.one(n.support.transition.end,n.proxy(f,this)).emulateTransitionEnd(350)[i](this.$element[0][e])}};t.prototype.hide=function(){var i,t,r;if(!this.transitioning&&this.$element.hasClass("in")&&(i=n.Event("hide.bs.collapse"),this.$element.trigger(i),!i.isDefaultPrevented())){if(t=this.dimension(),this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1,r=function(){this.transitioning=0;this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")},!n.support.transition)return r.call(this);this.$element[t](0).one(n.support.transition.end,n.proxy(r,this)).emulateTransitionEnd(350)}};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};i=n.fn.collapse;n.fn.collapse=function(i){return this.each(function(){var r=n(this),u=r.data("bs.collapse"),f=n.extend({},t.DEFAULTS,r.data(),typeof i=="object"&&i);u||r.data("bs.collapse",u=new t(this,f));typeof i=="string"&&u[i]()})};n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=i,this};n(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var i=n(this),e,s=i.attr("data-target")||t.preventDefault()||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),r=n(s),u=r.data("bs.collapse"),h=u?"toggle":i.data(),f=i.attr("data-parent"),o=f&&n(f);u&&u.transitioning||(o&&o.find('[data-toggle=collapse][data-parent="'+f+'"]').not(i).addClass("collapsed"),i[r.hasClass("in")?"addClass":"removeClass"]("collapsed"));r.collapse(h)})}(window.jQuery);+function(n){"use strict";function r(){n(e).remove();n(i).each(function(t){var i=u(n(this));i.hasClass("open")&&((i.trigger(t=n.Event("hide.bs.dropdown")),t.isDefaultPrevented())||i.removeClass("open").trigger("hidden.bs.dropdown"))})}function u(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}var e=".dropdown-backdrop",i="[data-toggle=dropdown]",t=function(t){var i=n(t).on("click.bs.dropdown",this.toggle)},f;t.prototype.toggle=function(t){var f=n(this),i,e;if(!f.is(".disabled, :disabled")){if(i=u(f),e=i.hasClass("open"),r(),!e){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length)n('