CRM_EasyUI_2016/Views/CRM_Right/Index.cshtml
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@using CRM_EasyUI_2016;
@using GroupThink.CRM.Common;
@using GroupThink.CRM.Model.Sys;
@{
//List<PermModel> perm = (List<PermModel>)ViewBag.Perm;
//if (perm == null)
//{
// perm = new List<PermModel>();
//}
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Index_Layout.cshtml";
}
<style type="text/css">
.datagrid-btable td[field="Name"] > div
{
line-height: 19px;
}
.datagrid-header-row, .datagrid-row
{
height: 50px;
}
</style>
<div data-options="region:'center',split:false,border:false" style="padding: 5px;">
<div class="easyui-layout" fit="true">
<div data-options="region:'north',split:false,border:false" align="right">
<div class="btn bootbtn titlebtn">
<a href="javascript:void(0)" class="bt_node" id="btnSave"><i class="ic_t19"></i><strong>
权限分配</strong></a>
</div>
</div>
<div data-options="region:'west',split:false,border:true" style="width: 440px; border-top: none;
background: #fff;">
<table id="RoleList">
</table>
<input type="hidden" id="roleId" />
</div>
<div data-options="region:'east',split:false,border:true" style="width: 450px; border-top: none;
background: #fff;">
<table id="OptList">
</table>
</div>
<div data-options="region:'center',split:false,border:true" style="border-bottom: 1px solid #d3d3d3;">
<table id="ModuleList">
</table>
<input type="hidden" id="moduleId" />
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$("#btnSave").click(function () {
var ids = [];
var rows = $('#OptList').datagrid('getSelections');
if (rows.length > 0) {
for (var i = 0; i < rows.length; i++) {
ids.push(rows[i].KeyCode);
}
}
else {
ids = null;
后面还有 139 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
