AppealRecords.razor 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @page "/AppealRecords"
  2. @using Microsoft.Extensions.Configuration
  3. @inject IConfiguration configuration
  4. @{
  5. RenderFragment appealIcon =
  6. @<svg t="1640841864723" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1655"><path d="M430.1 568.2l79 79c2.5 2.5 4.3 5.6 5.1 9.1l17.9 71.8c3.7 14.7 22 19.8 32.7 9.1l213.5-213.5c10.7-10.7 5.6-29-9-32.7l-71.8-18.1c-3.4-0.9-6.5-2.6-9-5.1L420.1 199.6c-2.5-2.5-4.3-5.6-5.1-9.1l-17.9-71.8c-3.7-14.7-22-19.8-32.7-9.1L151 323.1c-10.7 10.7-5.6 29 9.1 32.7l71.8 17.9c3.4 0.9 6.6 2.6 9.1 5.1l79 79c7.6 7.6 7.6 19.9 0 27.5L140.4 664.9c-22.8 22.8-22.8 59.9 0 82.7 22.8 22.8 59.9 22.8 82.7 0l179.4-179.4c7.6-7.6 19.9-7.6 27.6 0zM865.9 920H386c-19.1 0-34.8-15.6-34.8-34.8 0-19.1 15.6-34.8 34.8-34.8h479.9c19.1 0 34.8 15.6 34.8 34.8 0 19.2-15.6 34.8-34.8 34.8z" fill="#151515" p-id="1656"></path></svg>;
  7. RenderFragment avatar = @<Avatar Src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"></Avatar>;
  8. }
  9. <PageContainer>
  10. <Breadcrumb>
  11. <Breadcrumb>
  12. <BreadcrumbItem>
  13. <a href="/Home"><Icon Type="home"></Icon></a>
  14. </BreadcrumbItem>
  15. <BreadcrumbItem>
  16. <Icon Component="appealIcon" Style="width:18px;height:18px;" /><span>申诉记录查看</span>
  17. </BreadcrumbItem>
  18. </Breadcrumb>
  19. </Breadcrumb>
  20. <Content>
  21. <Collapse DefaultActiveKey="@(new[]{"1"})">
  22. <Panel Header="检索条件" Key="1" ShowArrow="false" Active="@ShowSearchPanel">
  23. <ExtraTemplate>
  24. @if (ShowSearchPanel)
  25. {
  26. <div @onclick="()=> { ShowSearchPanel = !ShowSearchPanel; }">隐藏</div>
  27. }
  28. else
  29. {
  30. <div @onclick="()=> { ShowSearchPanel = !ShowSearchPanel; }">展开</div>
  31. }
  32. </ExtraTemplate>
  33. <ChildContent>
  34. <Form @ref="_form" Model="_filter" Size="@AntSizeLDSType.Small">
  35. <Row Gutter="(16,0)">
  36. <GridCol Span="6">
  37. <FormItem Label="@($" 申诉类型")">
  38. <Select DataSource="@AppealTypes"
  39. @bind-Value="@context.AppealTypeId"
  40. LabelName="@nameof(wispro.sp.entity.AppealType.Name)"
  41. ValueName="@nameof(wispro.sp.entity.AppealType.Id)"
  42. Style="width: 170px"
  43. Placeholder="请选择"
  44. AllowClear>
  45. </Select>
  46. </FormItem>
  47. </GridCol>
  48. <GridCol Span="6">
  49. <FormItem Label="@($"案件编号")">
  50. <Input @bind-Value="@context.CaseNo" Placeholder="请输入案件编号" />
  51. </FormItem>
  52. </GridCol>
  53. <GridCol Span="6">
  54. <FormItem Label="@($"申 诉 人")">
  55. <Input @bind-Value="@context.CreateUser" Placeholder="请输入申诉人名称" />
  56. </FormItem>
  57. </GridCol>
  58. <GridCol Span="6">
  59. <FormItem Label="@($"审 核 人")">
  60. <Input @bind-Value="@context.Reviewer" Placeholder="请输入审核人名称" />
  61. </FormItem>
  62. </GridCol>
  63. <GridCol Span="6">
  64. <FormItem Label="@($"申诉日期从")">
  65. <DatePicker @bind-Value="@context.beginCreateTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
  66. @*<Input @bind-Value="@context.beginCreateTime" />*@
  67. </FormItem>
  68. </GridCol>
  69. <GridCol Span="6">
  70. <FormItem Label="@($" 到")">
  71. <DatePicker @bind-Value="@context.endCreateTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
  72. @*<Input @bind-Value="@context.endCreateTime" />*@
  73. </FormItem>
  74. </GridCol>
  75. <GridCol Span="6">
  76. <FormItem Label="@($"审核日期从")">
  77. <DatePicker @bind-Value="@context.beginReviewTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
  78. @*<Input @bind-Value="@context.beginReviewTime" />*@
  79. </FormItem>
  80. </GridCol>
  81. <GridCol Span="6">
  82. <FormItem Label="@($" 到")">
  83. <DatePicker @bind-Value="@context.endReviewTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
  84. @*<Input @bind-Value="@context.endReviewTime" />*@
  85. </FormItem>
  86. </GridCol>
  87. </Row>
  88. <Row>
  89. <GridCol Span="24" Style="text-align:right;">
  90. <Button Type="primary" HtmlType="submit" OnClick="OnSearch">查询</Button>
  91. <Button Style="margin: 0 8px;" OnClick="()=>{_form?.Reset();}">清除</Button>
  92. </GridCol>
  93. </Row>
  94. </Form>
  95. </ChildContent>
  96. </Panel>
  97. </Collapse>
  98. </Content>
  99. <ChildContent>
  100. <wispro.sp.web.Components.SSTable Datas="@showRecords" ShowAction="false"></wispro.sp.web.Components.SSTable>
  101. </ChildContent>
  102. </PageContainer>