<%@ Page Title="" Language="C#" MasterPageFile="../BaseMaster.Master" CodeBehind="UserCreditDetail.aspx.cs" Inherits="WAP2P.Web.PC.Admin.Member.UserCreditDetail" %>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form class="auto" method="post" action="<% =Request.RawUrl %>" onsuccess="parent.$.jPopupEdit.close(true);">
        <div class="m-editbar">
            <% =Request.QueryString["action"]  == "view" ? string.Empty : "<input type=\"submit\" class=\"btn-larger c-priority iconfont\" value=\"&#xe684; 保存\" />" %>
            <input type="button" class="btn-larger c-normal iconfont" value="&#xe634; 关闭" onclick="parent.$.jPopupEdit.close();" />
        </div>
        <div class="m-content m-editcontent">
            <table class="m-info" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <th>会员账号</th>
                    <td class="g-fbold"><%= GetUserDisplay(Model.Id, Model.Name) %></td>
                </tr>
                <tr>
                    <th>会员信用评级</th>
                    <td><ruson:Select runat="server" ID="credit" FillRequestValue="true"></ruson:Select></td>
                </tr>
                <tr>
                    <th>风险类型</th>
                    <td>
                        <ruson:Select runat="server" ID="gradeLevel"></ruson:Select>
                    </td>
                </tr>
                <tr>
                    <th>基本认证情况</th>
                    <td><%= GetBasicStatus(Model) %></td>
                </tr>
                <tr>
                    <th>基本资料认证情况</th>
                    <td><%= GetDataStatus(Model) %></td>
                </tr>
                <tr>
                    <th>借款资料认证情况</th>
                    <td><%= GetBorrowInfoStatus() %></td>
                </tr>
                <tr>
                    <th class="info-listhead" colspan="2">历史变更记录</th>
                </tr>
                <tr>
                    <td colspan="2">
                        <table class="m-info" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <th widht="80%" class="g-fcenter">来源</th>
                                <th widht="20%" class="g-fcenter">异动分值</th>
                                <th widht="20%" class="g-fcenter">异动时间</th>
                            </tr>
                            <ruson:Repater runat="server" ID="rptLog" ItemType="WAP2P.Member.CreditLog">
                                <ItemTemplate>
                                    <tr>
                                        <td><%# Item.Op %></td>
                                        <td class="g-fcenter <%# Item.Value > 0 ? "fcred-3":" fcgreen-3"  %>"><%# Item.Value %></td>
                                        <td class="g-fcenter"><%# Item.CreateAt.ToDateTimeString() %></td>
                                    </tr>
                                </ItemTemplate>
                                <EmptyTemplate>
                                    <tr>
                                        <td colspan="3">暂无数据。</td>
                                    </tr>
                                </EmptyTemplate>
                            </ruson:Repater>                            
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </form>

</asp:Content>
