108 lines
3.5 KiB
Plaintext
108 lines
3.5 KiB
Plaintext
@{
|
|
ViewBag.Title = "互换预付金监控";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
canEdit = CurUser.基础参数管理.互换预付金率修改,
|
|
swapMonitorConfg = ViewBag.swapMonitorConfg,
|
|
configcolumn_name = configcolumn_data.互换预付金监控V2,
|
|
};
|
|
}
|
|
@section CSS{
|
|
<style>
|
|
.waring-line {
|
|
background-color: #facd91 !important;
|
|
}
|
|
|
|
.close-position-line {
|
|
background-color: #ef949f !important;
|
|
}
|
|
|
|
.credit-coverage {
|
|
background-color: #81d3f8 !important;
|
|
}
|
|
|
|
.first-wrap-gtja{
|
|
display: flex;
|
|
}
|
|
|
|
.search-left {
|
|
flex: 1.7;
|
|
}
|
|
|
|
.search-right {
|
|
flex: 0.3;
|
|
}
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script src="~/Statics/libs/v1/jqGridExtensions.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script>
|
|
var page = @Json.Serialize(pageObj);
|
|
</script>
|
|
<script src="~/Scripts/app/marginRate/marginRateSwapMonitorV2.js"></script>
|
|
}
|
|
<div class="searchdiv">
|
|
<div class="first-wrap-gtja">
|
|
<div class="search-left">
|
|
@Html.MyAceDropdownInput("WarnningType", "提醒类型", TradeSwapMarginMonitorModel.GetWarnningTypes())
|
|
@Html.MyAceDropdownInput("ClientId", "客户名称", ClientDataModel.GetAllClient())
|
|
|
|
@MyControls.SearchBtn()
|
|
@MyControls.Btn("导出", "execExport()")
|
|
<div title="配置显示列" style="width:30px;display:inline;cursor:pointer;" onclick="showcolumnChooser();return false;">
|
|
<img alt="配置显示列" src="~/Images/configure.png" />
|
|
</div>
|
|
</div>
|
|
<div class="search-right">
|
|
@if (CurUser.风险控制_互换预付金预警设置)
|
|
{
|
|
<div style="margin-left:86px;"> @MyControls.Btn("预警设置", "OpenSetMonitor()")</div>
|
|
}
|
|
<div style="margin-top:5px;">当前计算时间:<span id="searchTime"></span></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@Html.Raw(JqGridSimple.OutTable())
|
|
|
|
@* 导出面板 *@
|
|
<template id="detailDiv">
|
|
<table id='listGrid_1' class='scroll' cellpadding='0' cellspacing='0'></table>
|
|
<div id='pagerGrid_1'></div>
|
|
</template>
|
|
|
|
@* 预警显示设置 *@
|
|
<template id="setMonitor">
|
|
<table class="table table-form mt-4">
|
|
<colgroup>
|
|
<col span="1" width="130" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<th>预警线</th>
|
|
<td>
|
|
<input type="number" name="WarningLine" id="WarningLine" value="" class="text-box" />%
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>平仓线</th>
|
|
<td>
|
|
<input type="number" name="ClosePositionLine" id="ClosePositionLine" value="" class="text-box" />%
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div style="margin:6px 6px 6px 20px; ">
|
|
<b>说明:</b><span>分子为期末结存+质押市值+授信额度-预付金占用</span>
|
|
<div>分母为期末结存+质押市值+授信额度</div>
|
|
</div>
|
|
<div style="padding-left:100px">
|
|
<button type="button" class="btn btn-primary" onclick="setMonitor()">确定</button>
|
|
<button type="button" class="btn btn-primary" onclick="layer.closeAll()">取消</button>
|
|
</div>
|
|
</template>
|
|
<form target="_blank" method="post" id="exportForm" action="">
|
|
<input type="hidden" name="" value="" />
|
|
</form> |