123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- @page "/AppealRecords"
- @using Microsoft.Extensions.Configuration
- @inject IConfiguration configuration
- @{
- RenderFragment appealIcon =
- @<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>;
- RenderFragment avatar = @<Avatar Src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"></Avatar>;
- }
- <PageContainer>
- <Breadcrumb>
- <Breadcrumb>
- <BreadcrumbItem>
- <a href="/Home"><Icon Type="home"></Icon></a>
- </BreadcrumbItem>
- <BreadcrumbItem>
- <Icon Component="appealIcon" Style="width:18px;height:18px;" /><span>申诉记录查看</span>
- </BreadcrumbItem>
- </Breadcrumb>
- </Breadcrumb>
- <Content>
- <Collapse DefaultActiveKey="@(new[]{"1"})">
- <Panel Header="检索条件" Key="1" ShowArrow="false" Active="@ShowSearchPanel">
- <ExtraTemplate>
- @if (ShowSearchPanel)
- {
- <div @onclick="()=> { ShowSearchPanel = !ShowSearchPanel; }">隐藏</div>
- }
- else
- {
- <div @onclick="()=> { ShowSearchPanel = !ShowSearchPanel; }">展开</div>
- }
- </ExtraTemplate>
- <ChildContent>
- <Form @ref="_form" Model="_filter" Size="@AntSizeLDSType.Small">
- <Row Gutter="(16,0)">
- <GridCol Span="6">
- <FormItem Label="@($" 申诉类型")">
- <Select DataSource="@AppealTypes"
- @bind-Value="@context.AppealTypeId"
- LabelName="@nameof(wispro.sp.entity.AppealType.Name)"
- ValueName="@nameof(wispro.sp.entity.AppealType.Id)"
- Style="width: 170px"
- Placeholder="请选择"
- AllowClear>
- </Select>
- @*<Input @bind-Value="@context.AppealTypeId" Placeholder="placeholder" />*@
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($"案件编号")">
- <Input @bind-Value="@context.CaseNo" Placeholder="请输入案件编号" />
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($"申 诉 人")">
- <Input @bind-Value="@context.CreateUser" Placeholder="请输入申诉人名称" />
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($"审 核 人")">
- <Input @bind-Value="@context.Reviewer" Placeholder="请输入审核人名称" />
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($"申诉日期从")">
- <DatePicker @bind-Value="@context.beginCreateTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
- @*<Input @bind-Value="@context.beginCreateTime" />*@
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($" 到")">
- <DatePicker @bind-Value="@context.endCreateTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
- @*<Input @bind-Value="@context.endCreateTime" />*@
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($"审核日期从")">
- <DatePicker @bind-Value="@context.beginReviewTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
- @*<Input @bind-Value="@context.beginReviewTime" />*@
- </FormItem>
- </GridCol>
- <GridCol Span="6">
- <FormItem Label="@($" 到")">
- <DatePicker @bind-Value="@context.endReviewTime" TValue="DateTime?" Picker="@DatePickerType.Date" />
- @*<Input @bind-Value="@context.endReviewTime" />*@
- </FormItem>
- </GridCol>
- </Row>
- <Row>
- <GridCol Span="24" Style="text-align:right;">
- <Button Type="primary" HtmlType="submit" OnClick="OnSearch">查询</Button>
- <Button Style="margin: 0 8px;" OnClick="()=>{_form?.Reset();}">清除</Button>
- </GridCol>
- </Row>
- </Form>
- </ChildContent>
- </Panel>
- </Collapse>
- </Content>
- <ChildContent>
- <wispro.sp.web.Components.SSTable Datas="@showRecords" ShowAction="false"></wispro.sp.web.Components.SSTable>
- @*<div style="height:600px;width:100%;overflow:auto;background:#FFFFFF;" id="div-Container">
- <AntList DataSource="@showRecords" TItem="AppealRecord">
- <ListItem OnClick="()=>ShowDetail(context)">
- <ListItemMeta AvatarTemplate="avatar" Description="@GetDescription(context)">
- <TitleTemplate>
- @context.Type.Name
- </TitleTemplate>
- </ListItemMeta>
- </ListItem>
- </AntList>
- <Drawer Style="position:absolute" Width="600" Visible="_ShowDetail" Placement="right" Title='("申诉详情")' OnClose="_=>CloseDetail()">
- @if (CurrentAppealRecord != null && CurrentAppealRecord.Item != null)
- {
- <div>
- <Row>
- <AntDesign.Col Span="4"><b>我方文号:</b></AntDesign.Col>
- <AntDesign.Col Span="8">@CurrentAppealRecord.Item.CaseNo</AntDesign.Col>
- <AntDesign.Col Span="4"><b>处理事项:</b></AntDesign.Col>
- <AntDesign.Col Span="8">@CurrentAppealRecord.Item.DoItem</AntDesign.Col>
- </Row>
- <Row>
- <AntDesign.Col Span="4"><b>案件名称:</b></AntDesign.Col>
- <AntDesign.Col Span="20">@CurrentAppealRecord.Item.CaseName</AntDesign.Col>
- </Row>
- </div>
- }
- @if (_FieldValues != null)
- {
- <Divider Orientation="left" Style="font-weight:bold">申诉人:@CurrentAppealRecord.Creater.Name 申诉时间:@CurrentAppealRecord.CreateTime.ToString("yyyy-MM-dd") </Divider>
- foreach (InputFieldValue temValue in _FieldValues)
- {
- <Row>
- <AntDesign.Col Span="2"></AntDesign.Col>
- <AntDesign.Col Span="8"><b>@temValue.InputField.FieldName:</b></AntDesign.Col>
- <AntDesign.Col Span="14">@temValue.Value</AntDesign.Col>
- </Row>
- }
- }
- <Divider />
- @if (_ReviewValues != null)
- {
- <Divider Orientation="left" Style="font-weight:bold">审核人:@CurrentAppealRecord.Reviewer.Name 审核时间:@CurrentAppealRecord.ReviewTime?.ToString("yyyy-MM-dd") </Divider>
- foreach (InputFieldValue temValue in _ReviewValues)
- {
- <Row>
- <AntDesign.Col Span="2"></AntDesign.Col>
- <AntDesign.Col Span="8"><b>@temValue.InputField.FieldName:</b></AntDesign.Col>
- <AntDesign.Col Span="14">@temValue.Value</AntDesign.Col>
- </Row>
- }
- }
- @if (attachFiles != null && attachFiles.Count > 0)
- {
- <Divider Orientation="left" Style="font-weight:bold">附件</Divider>
- <Row>
- <AntDesign.Col Span="2"></AntDesign.Col>
- <AntDesign.Col Span="14">文件名称</AntDesign.Col>
- <AntDesign.Col Span="8">上传人</AntDesign.Col>
- </Row>
- @foreach (AttachFile file in attachFiles)
- {
- <Row>
- <AntDesign.Col Span="2"></AntDesign.Col>
- <AntDesign.Col Span="14"><a href="@($"{configuration.GetValue<string>("APIUrl")}AttachFiles/Download?id={file.Id}")">@file.Name </a></AntDesign.Col>
- <AntDesign.Col Span="8">@file.UploadUser.Name</AntDesign.Col>
- </Row>
- }
- }
- </Drawer>
- </div>*@
- </ChildContent>
- </PageContainer>
|