You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/BookingWeb/Views/Manage/ClientList.cshtml

104 lines
4.8 KiB
Plaintext

@{
}
<div class="top-navigation">
<div id="wrapper">
<div class="gray-bg">
<div class="wrapper wrapper-content">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins fixed-top">
<div class="ibox-title">
<h5>客户端管理</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
<table id="table"
data-toggle="table"
data-show-refresh="false"
data-show-toggle="false"
data-show-columns="false"
data-url="@Url.Action("ClientListData")"
data-content-type="application/x-www-form-urlencoded"
data-pagination="true"
data-side-pagination="server"
data-total-field="Total"
data-data-field="DataList"
data-page-number="1"
data-page-size="15"
data-method="post">
<thead>
<tr>
<th data-field="GID" data-sortable="true" data-formatter="operateFormatter">ID</th>
<th data-field="NAME" data-sortable="true">名称</th>
<th data-field="URL" data-sortable="true">东胜7 URL</th>
<th data-field="BANK_NAME_RMB" data-sortable="true">人民币银行名称</th>
<th data-field="BANK_ACCOUNT_RMB" data-sortable="true">人民币银行账号</th>
<th data-field="BANK_NAME_USD" data-sortable="true">美元银行名称</th>
<th data-field="BANK_ACCOUNT_USD" data-sortable="true">美元账号名称</th>
<th data-field="EMAIL" data-sortable="true">公司邮箱</th>
<th data-field="SMTP_SERVER" data-sortable="true">邮件发送服务器</th>
<th data-field="SMTP_PORT" data-sortable="true">邮件发送服务器端口</th>
<th data-field="SMTP_SSL" data-sortable="true">使用SSL</th>
<th data-field="MAIL_ACCOUNT">邮件发送账号</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@section scripts{
<script src="~/Content/hplus/js/plugins/validate/jquery.validate.min.js"></script>
<script src="~/Content/hplus/js/plugins/suggest/bootstrap-suggest.min.js"></script>
<script src="~/Content/js/validatorConfig.js"></script>
<script src="~/Content/js/jquery.form.js"></script>
<script>
$(function () {
$('#table').bootstrapTable({ height: $(window).height() - 150 });
$("#btnSearch").click(function () {
$('#table').bootstrapTable('refresh')
})
});
function queryParams(params) {
var cond = $("#formCond").serializeObject();
params.MBLNO = cond.MBLNO;
params.ETD_START = cond.ETD_START;
params.ETD_END = cond.ETD_END;
params.PORTDISCHARGE = cond.PORTDISCHARGE;
params.VESSEL = cond.VESSEL;
params.VOYNO = cond.VOYNO;
return params
}
function operateFormatter(value, row, index) {
return [
'<a class="audit tabs" href="@Url.Action("ClientEdit")?gid=' + row.GID + '" target="_blank">' + row.GID,
'</a>'
].join('');
return '';
}
</script>
}