| | |
| | | |
| | | |
| | | |
| | | } }, |
| | | } |
| | | }, |
| | | { |
| | | label: '是否出书', name: 'ChushuStatus', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | if (cellvalue == "D") { |
| | | return "否" |
| | | } else { |
| | | return "是" |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | }, |
| | | { label: '状态', name: 'RecStatus', labtype: 'txt', hidden: true }, |
| | | { label: '创建人', name: 'Creater', labtype: 'txt', hidden: true }, |
| | | { label: '创建时间', name: 'Createtimetxt', labtype: 'txt', hidden: true }, |
| | | { 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%' }, |
| | |
| | | { label: '是否审核', name: 'Shifoushenhe', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' }, |
| | | { 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%' }, |
| | | ]; |
| | | 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 () { |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //function sendHuidaStatus() { |
| | | |
| | | // var msg = $("#PBSShifoushenhe"); |
| | | |
| | | |
| | | // if (msg.length > 0) { |
| | | // $("#PBSShifoushenhe").val("D"); |
| | | // $("#PBSShifoushenhe").trigger('chosen:updated');//更新选项 |
| | | // //_pageSearch(); |
| | | // } else { |
| | | // setTimeout(sendHuidaStatus, 1000); |
| | | // } |
| | | //} |
| | | //sendHuidaStatus(); |
| | | send(); |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | $(document).ready(function () { |
| | | |
| | | //setTimeout( |
| | | // function () { |
| | | $("#PBSShifoushenhe").val("D"); |
| | | $("#PBSShifoushenhe").trigger('chosen:updated');//更新选项 |
| | | // _pageSearch(); |
| | | //}, 2000); |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | } |