图标调整

This commit is contained in:
李超 2023-06-21 16:11:04 +08:00
parent 8d5dfaa469
commit 2e68d7b7d2
1 changed files with 4 additions and 6 deletions

View File

@ -250,7 +250,6 @@ namespace FineUIPro.Web
group by b.RegisterTypesName"; group by b.RegisterTypesName";
DataTable tb = SQLHelper.GetDataTableRunText(strSql, null); DataTable tb = SQLHelper.GetDataTableRunText(strSql, null);
var getTypes = HSSE_Hazard_HazardRegisterTypesService.GetHazardRegisterTypesList("1");
if (tb!=null && tb.Rows.Count>0) if (tb!=null && tb.Rows.Count>0)
{ {
foreach (DataRow item in tb.Rows) foreach (DataRow item in tb.Rows)
@ -261,8 +260,7 @@ namespace FineUIPro.Web
listTAll.Add(int.Parse(item["allr"].ToString())); listTAll.Add(int.Parse(item["allr"].ToString()));
listTNo.Add(int.Parse(item["allr"].ToString()) - int.Parse(item["finish"].ToString())); listTNo.Add(int.Parse(item["allr"].ToString()) - int.Parse(item["finish"].ToString()));
} }
CheckTypeALLCount = JsonConvert.SerializeObject(listTAll);
CheckTypeNoCount = JsonConvert.SerializeObject(listTNo);
} }
else else
{ {
@ -271,8 +269,8 @@ namespace FineUIPro.Web
listTNo.Add(0); listTNo.Add(0);
} }
CheckType = JsonConvert.SerializeObject(listType); CheckType = JsonConvert.SerializeObject(listType);
CheckTypeALLCount = JsonConvert.SerializeObject(CheckTypeALLCount); CheckTypeALLCount = JsonConvert.SerializeObject(listTAll);
CheckTypeNoCount = JsonConvert.SerializeObject(CheckTypeNoCount); CheckTypeNoCount = JsonConvert.SerializeObject(listTNo);
} }
#endregion #endregion