CRM_EasyUI_2016/Views/CRM_Module/CreateAreaCus.cshtml
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model GroupThink.CRM.Model.Sys.GroupThink_CRM_Module_Model
@using GroupThink.CRM.Common;
@using GroupThink.CRM.Model.Sys;
@using GroupThink.CRM.Web;
@{
ViewBag.Title = "创建区域客户菜单";
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<div id="dlg" class="dialog_tt easyui-window " data-options="modal:true,closed:true,minimizable:false,shadow:false"
style="z-index: 9999">
</div>
<script type="text/javascript">
$(function () {
$('#ParentId').combotree({
url: "/GroupThink_CRM_Module/InitTree",
onLoadSuccess: function (row, data) {
// 需要修改样式,使菜单能够带滚动条,避免数据过多显示不了
$('#ParentId').combotree('tree').tree("collapseAll");
}
})
})
</script>
<script type="text/javascript">
$(function () {
$("#Controller").focus(function () {
$(this).addClass("focus");
}).blur(function () {
$(this).removeClass("focus");
if ($(this).val() != '') {
$("#Url").val($(this).val());
}
});
$("#Action").focus(function () {
$(this).addClass("focus");
}).blur(function () {
$(this).removeClass("focus");
if ($(this).val() != '') {
$("#Url").val($("#Controller").val() + '/' + $(this).val());
}
});
$("#SelectProvince").click(function () {
$("#dlg").html("<iframe width='100%' height='98%' scrolling='no' frameborder='0' src='/GroupThink_CRM_Module/SelectProvince'></iframe>");
$("#dlg").window({ title: '选择区域', width: 350, height: 350, iconCls: 'icon-add' }).window('open');
})
})
</script>
<script type="text/javascript">
$(function () {
$("#btnClose").click(function () {
window.parent.frameReturnByClose()
});
$("#btnSave").click(function () {
if ($("form").valid()) {
$.ajax({
url: '@Url.Action("CreateAreaCus")',
后面还有 161 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
