<!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 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <!--<li>
                                <label>业务宗号：</label>
                                <input type="text" name="YWZH"/>
                            </li>-->
                            <li>
                                <label>查封机关：</label>
                                <input type="text" name="CFJG"/>
                            </li>
                            <!--<li>
                                <label>查封文号：</label>
                                <input type="text" name="CFWH"/>
                            </li>-->
                            <!--<li>
                                <label>查封日期：</label>
                                <input type="text" name="CFRQ"/>
                            </li>
                            <li>
                                <label>查封期限：</label>
                                <input type="text" name="CFQX"/>
                            </li>
                            <li>
                                <label>查封起始日期：</label>
                                <input type="text" name="CFQSRQ"/>
                            </li>
                            <li>
                                <label>查封终止日期：</label>
                                <input type="text" name="CFZZRQ"/>
                            </li>
                            <li>
                                <label>解封机关：</label>
                                <input type="text" name="JFJG"/>
                            </li>
                            <li>
                                <label>解封文号：</label>
                                <input type="text" name="JFWH"/>
                            </li>
                            <li>
                                <label>解封日期：</label>
                                <input type="text" name="JFRQ"/>
                            </li>-->
                            <li>
                                <label>被限制人：</label>
                                <input type="text" name="BXZR"/>
                            </li>
                            <li>
                                <label style="width: auto">被限制人证件号码：</label>
                                <input type="text" name="BXZRZJHM"/>
                            </li>
                            <!--<li>
                                <label>权证号：</label>
                                <input type="text" name="QZH"/>
                            </li>
                            <li>
                                <label>幢号：</label>
                                <input type="text" name="ZH"/>
                            </li>
                            <li>
                                <label>房号：</label>
                                <input type="text" name="FH"/>
                            </li>
                            <li>
                                <label>房屋用途：</label>
                                <input type="text" name="FWYT"/>
                            </li>
                            <li>
                                <label>房屋性质：</label>
                                <input type="text" name="FWXZ"/>
                            </li>
                            <li>
                                <label>建筑面积：</label>
                                <input type="text" name="JZMJ"/>
                            </li>
                            <li>
                                <label>坐落：</label>
                                <input type="text" name="ZL"/>
                            </li>-->
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="btn-group-sm" id="toolbar" role="group">
<!--                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:unseal:add">-->
<!--                    <i class="fa fa-plus"></i> 添加-->
<!--                </a>-->
<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:unseal:edit">-->
<!--                    <i class="fa fa-edit"></i> 修改-->
<!--                </a>-->
<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:unseal:remove">-->
<!--                    <i class="fa fa-remove"></i> 删除-->
<!--                </a>-->
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:unseal:export">
                    <i class="fa fa-download"></i> 导出
                </a>
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('system:unseal:edit')}]];
        var removeFlag = [[${@permission.hasPermi('system:unseal:remove')}]];
        var detailFlag = [[${@permission.hasPermi('system:unseal:detail')}]];

        var prefix = ctx + "system/real_estate/real_estate_unseal";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                detailUrl: prefix + "/detail/{id}",
                modalName: "市房地产-解封信息",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'id',
                    title: 'ID',
                    visible: false
                },
                    {
                        field: 'ywzh',
                        title: '业务宗号'
                    },
                    {
                        field: 'cfjg',
                        title: '查封机关'
                    },
                    {
                        field: 'cfwh',
                        title: '查封文号'
                    },
                    {
                        field: 'cfrq',
                        title: '查封日期'
                    },
                    {
                        field: 'cfqx',
                        title: '查封期限'
                    },
                    {
                        field: 'cfqsrq',
                        title: '查封起始日期'
                    },
                    {
                        field: 'cfzzrq',
                        title: '查封终止日期'
                    },
                    {
                        field: 'jfjg',
                        title: '解封机关'
                    },
                    {
                        field: 'jfwh',
                        title: '解封文号'
                    },
                    {
                        field: 'jfrq',
                        title: '解封日期'
                    },
                    {
                        field: 'bxzr',
                        title: '被限制人'
                    },
                    {
                        field: 'bxzrzjhm',
                        title: '被限制人证件号码'
                    },
                    {
                        field: 'qzh',
                        title: '权证号'
                    },
                    {
                        field: 'zh',
                        title: '幢号'
                    },
                    {
                        field: 'fh',
                        title: '房号'
                    },
                    {
                        field: 'fwyt',
                        title: '房屋用途'
                    },
                    {
                        field: 'fwxz',
                        title: '房屋性质'
                    },
                    {
                        field: 'jzmj',
                        title: '建筑面积'
                    },
                    {
                        field: 'zl',
                        title: '坐落'
                    },
                {
                    title: '操作',
                    align: 'center',
                    formatter: function(value, row, index) {
                        var actions = [];
                        // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
                        // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
                        actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a>');
                        return actions.join('');
                    }
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>
