zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml
@@ -4,16 +4,26 @@
}
@section headerStyle{
    <script type="text/javascript">
        var falv = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.falv))';
        var question = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.question))';
        dataCol = [
            { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
            {
                label: '质疑事项', name: 'Classify1Name', labtype: 'txt', hidden: false, width: 300,
            },
            {
                label: '编码', name: 'CodeSn', labtype: 'txt', hidden: false, width: 50,
                formatter: function (cellvalue, options, rowObject) {
                    return "<a onclick=\"OpenWindow('" + rowObject.Comments + "','98%','100%', '/SysCode/Editlaw?id=" + rowObject.Id + "')\"  >" + cellvalue + "</a>";
                    return "<a onclick=\"OpenWindow('" + rowObject.Comments + "','98%','100%', '/SysCode/Editlaw?Classify1=" + rowObject.Classify1 + "')\"  >" + cellvalue + "</a>";
                }
            },
            {
                label: '法律名称', name: 'CommentsName', labtype: 'txt', hidden: false, width: 300,
                label: '法律名称', name: 'CommentsName', labtype: 'txt', hidden: false, width: 100,
            },
            {
                label: '法条', name: 'Classify2', labtype: 'txt', hidden: false, width: 100,
            },
            {
@@ -24,6 +34,8 @@
                label: '内容', name: 'Contents', labtype: 'txt', hidden: false, width: 300,
            },
            { label: '状态', name: 'RecStatus', labtype: 'txt', hidden: true },
            { label: '创建人', name: 'Creater', labtype: 'txt', hidden: true },
            { label: '创建时间', name: 'Createtime', labtype: 'txt', hidden: true },
@@ -33,10 +45,12 @@
        ];
        dataUrl = "/SysCode/GetListlaw";
        searchCol = [
            { label: '质疑事项', name: 'Classify1', labtype: 'combox', hidden: false, data: JSON.parse(question) },
            { label: '编码', name: 'CodeSn', labtype: 'txt', hidden: false },
            { label: '名称', name: 'Comments', labtype: 'txt', hidden: false },
            { label: '名称', name: 'Comments', labtype: 'combox', hidden: false, data: JSON.parse(falv) },
        ];