MvcBug/obj/Release/Package/PackageTmp/Views/Buginfo/ZIndex.cshtml

(开头部分) 10KB

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

<script type="text/javascript">


    $(function () {
        GetzBuginfoDataGrid();
    })

    function GetzBuginfoDataGrid() {
        $("#zdgBuginfo").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 }
                ]]
        });
    }

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

    //添加按钮_Start
    function zaddBug() {
        $("<div/>").dialog({
            id: "zdg_Buginfo",
            href: "/Buginfo/add",
            title: "提交bug",
            //height: 550,
            //width: 850,
            //modal: true,
            fit: true,
            border: false,
            buttons: [{
                id: "zui_NewsInfo_add_btn",
                text: '添 加',
                handler: function () {
                    $('#formBuginfo').form('submit', {
                        url: "/Buginfo/AddUpdate",
                        onSubmit: function () {
                            return $(this).form('validate');
                        },
                        success: function (result) {
                            var result = eval('(' + result + ')');
                            if (result.errorMsg) {
                                $.messager.show({
                                    title: 'Error',
                                    msg: result.errorMsg
                                });
后面还有 191 行代码,购买后查看完整代码

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

AI 解读 AI

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

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