MvcBug/Views/Buginfo/Index.cshtml

(开头部分) 13KB

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



<script type="text/javascript">

    $(function () {
       GetBuginfoDataGrid();
    })

    function GetBuginfoDataGrid() {
        $("#dgBuginfo").datagrid({       //初始化datagrid
            url: "/Buginfo/GetDataGridJson",
            striped: true, rownumbers: true, pagination: true, singleSelect: true,
            columns: [[
                           { field: 'Id', title: '序号', sortable: true, width: 80 },
                           { field: 'SofttypeName', title: '软件版本', sortable: true, width: 100 },
                           { field: 'Title', title: '标题', sortable: true, width: 200 },
                           { field: 'OpName', title: '操作员', sortable: true, width: 100 },
                           { field: 'Opdate', title: '创建日期', sortable: true, width: 200 },
                           { field: 'UpopName', title: '执行人', sortable: true, width: 100 },
                           { field: 'Upopdate', title: '执行日期', sortable: true, width: 200 },
                           { field: 'bugresultName', title: '修改结果', sortable: true, width: 100 }
            ]],
            onDblClickRow: function ()
            {
                $("<div/>").dialog({
                    id: "show_Buginfo",
                    href: "/Buginfo/show",
                    title: "提交问题",
                    //height: 620,
                    //width: 950,
                    fit: true,
                    border: false,
                    modal: true,
                    onLoad: function () {
                        var row = $('#dgBuginfo').datagrid('getSelected');
                        if (row) {
                            $("#huifu").html(row.bugInfo);
                            $("#updateinfo").html(row.updateinfo);
                            $("#causeinfo").html(row.causeinfo);
                        }
                    },
                    onClose: function () {
                        $("#show_Buginfo").dialog('destroy');  //销毁dialog对象
                    }
                });
            }

        });
    }

    //操作
    function searchBuginfo() {
        $("#dgBuginfo").datagrid('load', {
            softtype: $("#softtype").textbox('getValue'),
            employ: $('#employ').combobox('getValue'),
            bugresult: $('#bugresult').combobox('getValue')
        });
    }

    //回复
后面还有 266 行代码,购买后查看完整代码

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

AI 解读 AI

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

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