@@ -17,7 +17,7 @@
@foreach (int i in DrawerNos)
{
-
+
}
@@ -29,7 +29,7 @@
@foreach (int i in DrawerNos)
{
-
+
}
@@ -37,14 +37,14 @@
}
+ LoadData="@LoadData"
+ IsLoading="@isLoading"
+ Count="@count"
+ EmptyText="无数据"
+ Data="@channels"
+ AllowColumnResize="true" AllowAlternatingRows="false"
+ CellClick="@((DataGridCellMouseEventArgs args) => OnCellClick(args))"
+ AllowPaging="true" PageSize="10" PagerHorizontalAlign="HorizontalAlign.Left" ShowPagingSummary="true" PagingSummaryFormat="{0}/{1} 共{2}条数据">
@if (status < 3)
@@ -52,11 +52,11 @@
if (setting.Value.returnDrawer != null && setting.Value.returnDrawer.Contains(drawerNo))
{
-
+
}
else
{
-
+
}
}
@if (status == 3)
@@ -68,8 +68,8 @@
{
+ ValueChanged="@((args) => OnColorChanged(args))" AllowFiltering="false"
+ AllowFilteringByAllStringColumns="true" TextProperty="药箱号">
@((context as BoxModel).BoxNo == 1 ? "白" : (context as BoxModel).BoxNo == 3 ? "非常规" : "绿")
@@ -78,23 +78,23 @@
+ ValueChanged="@((args) => OnBoxChanged(args))" AllowFilteringByAllStringColumns="true" TextProperty="药箱号">
@(
- (context as BoxModel).BoxName == 99 ? "急诊药盒" : (context as BoxModel).BoxName == 111 ? "恢复室药盒" :
- (context as BoxModel).BoxName == 31 ? "胃镜药盒" :
- (context as BoxModel).BoxName == 32 ? "导管药盒" :
- (context as BoxModel).BoxName == 33 ? "生殖药盒" :
- (context as BoxModel).BoxName == 34 ? "妇门药盒" : (context as BoxModel).BoxName + "-" + ((context as BoxModel).BoxNo == 1 ? "白" : "绿")
- )
+ (context as BoxModel).BoxName == 99 ? "急诊药盒" : (context as BoxModel).BoxName == 111 ? "恢复室药盒" :
+ (context as BoxModel).BoxName == 31 ? "胃镜药盒" :
+ (context as BoxModel).BoxName == 32 ? "导管药盒" :
+ (context as BoxModel).BoxName == 33 ? "生殖药盒" :
+ (context as BoxModel).BoxName == 34 ? "妇门药盒" : (context as BoxModel).BoxName + "-" + ((context as BoxModel).BoxNo == 1 ? "白" : "绿")
+ )
-
-
-
-
-
- }
+
+
+
+
+