140 lines
5.2 KiB
Plaintext
140 lines
5.2 KiB
Plaintext
@{
|
|
ViewBag.Title = "查看合同";
|
|
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
|
|
}
|
|
<style>
|
|
.mnas li {
|
|
line-height: 25px;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: white !important;
|
|
}
|
|
</style>
|
|
@{
|
|
if (string.IsNullOrEmpty(ViewBag.ViewMsg))
|
|
{
|
|
<table class="fromEditTable ">
|
|
|
|
<tr>
|
|
<td style="width:120px;">
|
|
订单号:
|
|
</td>
|
|
<td>
|
|
@ViewBag.OrderId
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:120px;">
|
|
合同地址:
|
|
</td>
|
|
<td>
|
|
<textarea rows="8" cols="50" disabled>@Html.Raw(ViewBag.htUrl)</textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
合同号:
|
|
</td>
|
|
<td>
|
|
@Html.Raw(ViewBag.CONTRACTCODE)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>合同:</td>
|
|
<td>
|
|
<ul class="mnas">
|
|
<li><a href="@ViewBag.fxjssUrl" target="_blank" class="layui-btn layui-btn-normal layui-btn-sm">风险揭示书.pdf</a></li>
|
|
@if (ViewBag.businesstype == "smallAmount")
|
|
{
|
|
<li><a href="@ViewBag.tgfwxyUrl" target="_blank" class="layui-btn layui-btn-normal layui-btn-sm">投教服务协议.pdf</a></li>
|
|
}
|
|
else
|
|
{
|
|
<li><a href="@ViewBag.tgfwxyUrl" target="_blank" class="layui-btn layui-btn-normal layui-btn-sm">投顾服务协议.pdf</a></li>
|
|
}
|
|
@if (ViewBag.cphfwUrl != null)
|
|
{
|
|
<li><a href="@ViewBag.cphfwUrl" target="_blank" class="layui-btn layui-btn-warm" layui-btn-sm">产品或服务不适当警示及投资者确认书.pdf</a></li>
|
|
}
|
|
@if (ViewBag.sdxpgUrl != null)
|
|
{
|
|
<li><a href="@ViewBag.sdxpgUrl" target="_blank" class="layui-btn layui-btn-normal layui-btn-sm">适当性评估结果确认书.pdf</a></li>
|
|
}
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>风控状态:</td>
|
|
<td>
|
|
@if (ViewBag.RiskCtrlStatus == -1)
|
|
{
|
|
<span style="color:orange; font-weight:bold;padding-right:20px;">未通过,已驳回</span><a href="javascript:void(0)" id="showRejectRemark">查看驳回说明</a>
|
|
}
|
|
else if (ViewBag.RiskCtrlStatus == 0)
|
|
{
|
|
<span style="font-weight:bold;">未审核</span>
|
|
}
|
|
else if (ViewBag.RiskCtrlStatus == 1)
|
|
{
|
|
<span style="font-weight:bold;">分部已审核</span>
|
|
}
|
|
else if (ViewBag.RiskCtrlStatus == 2)
|
|
{
|
|
<span style="color: green; font-weight:bold;">已通过</span>
|
|
}
|
|
else
|
|
{
|
|
<span>未知</span>
|
|
}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="button" value="确认" id="btnSave" /></td>
|
|
<td>(备注:风控完成,点击确认按钮提交到总部)</td>
|
|
</tr>
|
|
</table>
|
|
<div id="rejectRemarkDiv">
|
|
@System.Web.HttpUtility.JavaScriptStringEncode(ViewBag.RejectRemark)
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$("#btnSave").click(function () {
|
|
$.r_ajax({
|
|
url: "/WeiXin/JZOrder/AuditContract",
|
|
type: "Post",
|
|
data: { orderId : @ViewBag.OrderId },
|
|
dataType: "json",
|
|
loading: true,
|
|
success: function (data) {
|
|
if (data.type == 1) {
|
|
window.parent.frameReturnByMes('提交成功');
|
|
window.parent.frameReturnByReload(true);
|
|
window.parent.frameReturnByClose();
|
|
}
|
|
else {
|
|
$.messager.alert("警告", data.message, "error");
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
$("#showRejectRemark").click(function () {
|
|
$('#rejectRemarkDiv').window({
|
|
title: ' ', width: 350, height: 200, shadow: true,
|
|
modal: true,
|
|
closed: true,
|
|
minimizable: false,
|
|
maximizable: false,
|
|
collapsible: false
|
|
}).window('open');
|
|
});
|
|
});
|
|
</script>
|
|
}
|
|
else
|
|
{
|
|
@ViewBag.ViewMsg
|
|
}
|
|
}
|