@page "/AppCase/ShensuReview/{Id:int}"
@using wispro.sp.web.Components
<PageContainer>
    <Breadcrumb>
        <Breadcrumb>
            <BreadcrumbItem>
                <a href="/Home"><Icon Type="home"></Icon></a>
            </BreadcrumbItem>
            <BreadcrumbItem>
                <Icon Type="setting"></Icon><span>审核</span>
            </BreadcrumbItem>

        </Breadcrumb>
    </Breadcrumb>
    <Content>
        @*<Button Type="primary" Icon="plus" OnClick="AddNew" Style="float:right">添加</Button>*@
    </Content>
    <ChildContent>
        <Card>
            <Card Style="width:100%" Bordered>
                <div>
                    <Row>
                        <AntDesign.Col Span="4"><b>我方文号:</b></AntDesign.Col>
                        <AntDesign.Col Span="8">@_task.ProjectInfo.CaseNo</AntDesign.Col>
                        <AntDesign.Col Span="4"><b>处理事项:</b></AntDesign.Col>
                        <AntDesign.Col Span="8">@_task.ProjectInfo.DoItem</AntDesign.Col>
                    </Row>
                    <Row><AntDesign.Col Span="24">&nbsp;</AntDesign.Col></Row>
                    <Row>
                        <AntDesign.Col Span="4"><b>案件名称:</b></AntDesign.Col>
                        <AntDesign.Col Span="20">@_task.ProjectInfo.CaseName</AntDesign.Col>

                    </Row>
                </div>
            </Card>
            <br />
            <Card Style="width:100%" Bordered>
                <div>
                    <Row>
                        @foreach (Models.InputField field in _task.InputFields)
                        {
                            <AntDesign.Col Span="4"></AntDesign.Col>
                            <AntDesign.Col Span="6"><b>@field.FieldName:</b></AntDesign.Col>
                            <AntDesign.Col Span="10">@field.FieldValue</AntDesign.Col>
                            <AntDesign.Col Span="4"></AntDesign.Col>
                        }
                    </Row>
                    <Row>
                        <AntDesign.Col Span="4"></AntDesign.Col>
                        <AntDesign.Col Span="6"><b>附件:</b></AntDesign.Col>
                        <AntDesign.Col Span="10">
                            @foreach (UploadFileItem file in fileList)
                            {
                                <a href="#">@file.FileName</a><br />
                            }
                        </AntDesign.Col>
                        <AntDesign.Col Span="4"></AntDesign.Col>
                    </Row>
                </div>
            </Card>
            <Card>
                <span>审核说明:</span>
                <TextArea @bind-Value="@Memo" Rows="6"></TextArea>
                <br/><br />
                <center>
                    <Space>
                        <SpaceItem>
                            <AntDesign.Tooltip Title=@("系统通过后，将改变的栏位值保存到流程管理系统")>
                                <Button Type="primary">通过</Button>
                            </AntDesign.Tooltip>
                        </SpaceItem>
                        <SpaceItem><Button Danger Type="primary">不通过</Button></SpaceItem>
                    </Space>
                </center>
            </Card>
        </Card>
    </ChildContent>
</PageContainer>
