username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml
@@ -54,7 +54,7 @@
            { label: '修改人', name: 'Modifier', labtype: 'txt', hidden: true },
            { label: '修改时间', name: 'Modifytimetxt', labtype: 'txt', hidden: true }
        ];
        dataUrl = "/Liaotian/GetLiaotianList";
        dataUrl = "/Liaotian/GetLiaotianList?Shifoushenhe=D";
        searchCol = [
            { label: '问题类别', name: 'Questiontype', labtype: 'combox', hidden: false, data: JSON.parse(questiontypeDropDown), cwidth: '5%', cccwidth: '8%' },
@@ -65,12 +65,24 @@
            { label: '录入时间', name: 'Createtime', labtype: 'datearea', hidden: false },
            { label: '录入人', name: 'Creater', labtype: 'combox', hidden: false, data: JSON.parse(Creater), cwidth: '5%', cccwidth: '8%' },
            { label: '是否出书', name: 'ChushuStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
            { label: '是否收藏', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
            //{ label: '是否收藏', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
        ];
        var _pageAdd = function () {
            OpenWindow("新增问题", "98%", "90%", "/Liaotian/Edit/");
        }
        var _pageSearch = function () {
            $("#jqGrid").jqGrid('setGridParam', {
                url:'/Liaotian/GetLiaotianList',   postData: jsons, page: 1
            }); //重新载入
            var jsons = GetSearchEnd();
            if (jsons == false) {
                msg.info("请录入查询条件");
                return false;
            }
            LoadGrid(jsons);
        }
        var _pageZhuanyi = function () {
            $.ajax({
@@ -192,29 +204,39 @@
       
        function sendHuidaStatus() {
        //function sendHuidaStatus() {
            var msg = $("#PBSShifoushenhe");
        //    var msg = $("#PBSShifoushenhe");
            if (msg.length > 0) {
                $("#PBSShifoushenhe").val("D");
                $("#PBSShifoushenhe").trigger('chosen:updated');//更新选项
                _pageSearch();
            } else {
                setTimeout(sendHuidaStatus, 1000);
            }
        }
        //    if (msg.length > 0) {
        //        $("#PBSShifoushenhe").val("D");
        //        $("#PBSShifoushenhe").trigger('chosen:updated');//更新选项
        //        //_pageSearch();
        //    } else {
        //        setTimeout(sendHuidaStatus, 1000);
        //    }
        //}
        //sendHuidaStatus();
        send();
        sendHuidaStatus();
       
        
        $(document).ready(function () {
            //setTimeout(
            //    function () {
                    $("#PBSShifoushenhe").val("D");
                    $("#PBSShifoushenhe").trigger('chosen:updated');//更新选项
                //    _pageSearch();
                //}, 2000);
        });