code/Athena0.0.1/Web/Areas/SystemManage/Views/BootstrapTemplate/User/Details.cshtml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@{
    ViewBag.Title = "Form";
    Layout = "~/Views/Shared/_Form.cshtml";
}

<script>
    var keyValue = $.request("keyValue");
    $(function () {
        initControl();
        $.ajax({
            url: "/SystemManage/User/GetFormJson",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                $("#form1").formSerialize(data);
                $("#form1").find('.form-control,select,input').attr('readonly', 'readonly');
                $("#form1").find('div.ckbox label').attr('for', '');
            }
        });
    });
    function initControl() {
        $('#wizard').wizard().on('change', function (e, data) {
            var $next = $("#btn_next");
            if (data.direction == "next") {
                switch (data.step) {
                    case 1:
                        $next.attr('disabled');
                        break;
                    default:
                        break;
                    }
            } 
        });
        //$("#rolelist").treeview({
        //    height: 444,
        //    showcheck: true,
        //    url: "/SystemManage/User/getRolelist",
        //    param: { userId: keyValue }
        //});
        //$("#grouplist").treeview({
        //    height: 444,
        //    showcheck: true,
        //    url: "/SystemManage/User/getGrouplist",
        //    param: { userid: keyValue }
        //});


    }
</script>

<form id="form1">
   @* <div class="widget-body">
        <div id="wizard" class="wizard" data-target="#wizard-steps" style="border-left: none; border-top: none; border-right: none;">
             <ul class="nav nav-tabs">
            <li class="active"><a href="#">基本信息</a></li>
        </ul>
        </div>*@
@*        <div class="step-content" id="wizard-steps" style="border-left: none; border-bottom: none; border-right: none;">*@
            <div style="padding-top: 20px; margin-right: 30px;">
后面还有 45 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。