username@email.com
2021-07-27 072169e3c5446f94e2cf4e570e5c7952bb5b15b9
zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml
@@ -17,7 +17,7 @@
            {
                label: '问题', name: 'Question', labtype: 'txt', hidden: false, width: 400 ,
                formatter: function (cellvalue, options, rowObject) {
                    return "<a onclick=\"OpenWindow('" + cellvalue + "','98%','100%', '/Liaotian/Edit?id=" + rowObject.Id + "')\"  >" + cellvalue + "</a>";
                    return "<a onclick=\"OpenWindow('修改问题','98%','100%', '/Liaotian/Edit?id=" + rowObject.Id + "')\"  >" + cellvalue + "</a>";
                }
            },
            { label: '回答', name: 'Anwser', labtype: 'textarea', hidden: false, width: 800 },
@@ -33,7 +33,21 @@
                   
                } },
                }
            },
            {
                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 },
@@ -50,8 +64,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/");
@@ -175,11 +189,43 @@
        }
        //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);
        });