<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('组合表头')"/>
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 select-table table-bordered">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
    var prefix = ctx + "system/shzz";
    var datas = [[${@dict.getType('sys_normal_disable')}]];
    var dzzlxDatas = [[${@dict.getType('orhon_dzzlx')}]];

    $(function () {
        var options = {
            url: prefix + "/list",
            showSearch: false,
            showRefresh: false,
            showToggle: false,
            showColumns: false,
            columns: [
                [
                {
                    title: '汇总信息',
                    align: 'center',
                    colspan: 14
                }
                ],
                [ {
                    field: 'mc',
                    title: '社会组织名称'
                }, {
                    field: 'isdzz',
                    title: '是否建立党组织'
                }, {
                    field: 'dzzjlsj',
                    title: '建立党组织日期'
                }, {
                    field: 'dzzmc',
                    title: '党组织名称'
                }, {
                    field: 'dzzlx',
                    title: '党组织类别',
                    formatter: function(value, row, index) {
                        return $.table.selectDictLabel(dzzlxDatas, value);
                    }
                }, {
                    field: 'dzzsdgx',
                    title: '党组织属地关系'
                }, {
                    field: 'sjdzz',
                    title: '上级党组织名称'
                }, {
                    field: 'isgh',
                    title: '是否建立工会'
                }, {
                    field: 'istzz',
                    title: '是否建立团组织'
                },{
                    field : 'isjljcfnzz',
                    title : '是否建立基层妇女组织'
                },{
                    field : 'hjxx',
                    title : '换届信息'
                },{
                    field : 'dfzh',
                    title : '党费账户'
                },{
                    field : 'szd',
                    title : '地址'
                },{
                    field : 'lxdhjczh',
                    title : '联系方式'
                }
                ]
            ]
        };
        $.table.init(options);
    });
</script>
</body>
</html>
