72 lines
3.2 KiB
Plaintext
72 lines
3.2 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "个股黑白名单列表";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
}
|
|
@section JS{
|
|
<script src="~/Scripts/app/underlying/StockBlackWhiteList.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
InitPage();
|
|
function keyEnter(event) {
|
|
try {
|
|
var e = event ? event : (window.event ? window.event : null);
|
|
(e.keyCode == 13) && SearchClick(true);
|
|
} catch (e) { }
|
|
}
|
|
|
|
document.onkeydown = keyEnter;
|
|
});
|
|
function reloadclient_black() {
|
|
//重新加载
|
|
SearchClick();
|
|
}
|
|
</script>
|
|
}
|
|
<script type="text/html" id="uploadTpl">
|
|
<div class="container" style="overflow:hidden;padding:20px;">
|
|
<form class="form-horizontal" method="post" id="formImport" onsubmit="return false;">
|
|
<div>
|
|
<input type="file" id="openFile" name="file" accept="text/csv" />
|
|
</div>
|
|
<div style="margin: 0px auto; padding: 10px;">
|
|
<input class="btn btn-primary" type="button" onclick="importDatas();return false;" value="导入" />
|
|
<a class="btn btn-primary" href="/download/ImportTemplate/个股黑(白)名单导入模板" target="_blank">模板下载</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</script>
|
|
|
|
|
|
|
|
<div class="searchdiv">
|
|
<form class="form-inline search-form" onsubmit="return false;" autocomplete="off">
|
|
<label>标的资产码</label>
|
|
<input type="text" name="UnderlyingCode" id="UnderlyingCode" maxlength="50" />
|
|
<label>标的名称</label>
|
|
<input type="text" name="UnderlyingName" id="UnderlyingName" maxlength="50" />
|
|
<button type="button" class="btn btn-primary" onclick="return(SearchClick(true));"><span class="glyphicon glyphicon-search"></span> 查询</button>
|
|
<button type="button" class="btn btn-primary" onclick="startAddStockBlackWhite();">新增</button>
|
|
<button type="button" class="btn btn-primary" onclick="uploadSettlementBill();">批量导入</button>
|
|
<button type="button" class="btn btn-primary" onclick="exportStock();">批量导出</button>
|
|
<button type="button" class="btn btn-primary" onclick="StockBlackWhiteDelete();">移除</button>
|
|
</form>
|
|
</div>
|
|
<div class="tabbable">
|
|
<ul id="myTab" class="nav nav-tabs nav-main">
|
|
<li class="nav-item active">
|
|
<a class="nav-link" href="javascript:void(0)" value="0">个股黑名单</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="javascript:void(0)" value="1">个股白名单</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table id='listGrid_Option' class='scroll' cellpadding='0' cellspacing='0'></table>
|
|
<div id='pagerGrid_Option'></div>
|
|
<table id='listGrid_Swap' class='scroll' cellpadding='0' cellspacing='0'></table>
|
|
<div id='pagerGrid_Swap'></div>
|
|
<div id="tip" class="ui-jqgrid" style="background-color: darkgray; display: inline-block;">背景色表示该标的同时存在于黑名单中</div>
|
|
<form target="_blank" method="post" id="exportForm" action="">
|
|
<input type="hidden" name="" value="" />
|
|
</form> |