<!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('czrxx列表')" />
</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>
                                <p>Bsid：</p>
                                <input type="text" name="bsid"/>
                            </li>
                            <li>
                                <p>出资人类型：</p>
                                <select name="czrtype" th:with="type=${@dict.getType('')}">
                                    <option value="">所有</option>
                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                                </select>
                            </li>
                            <li>
                                <p>出资人名称：</p>
                                <input type="text" name="czrname"/>
                            </li>
                            <li>
                                <p>出资人电话：</p>
                                <input type="text" name="czrphone"/>
                            </li>
                            <li>
                                <p>出资人联系：</p>
                                <input type="text" name="czrlx"/>
                            </li>
                            <li>
                                <p>出资人资金：</p>
                                <input type="text" name="czrzj"/>
                            </li>
                            <li>
                                <p>出资人身份证：</p>
                                <input type="text" name="czrcardno"/>
                            </li>
                            <li>
                                <p>出资人民族：</p>
                                <input type="text" name="czrmz"/>
                            </li>
                            <li>
                                <p>出资人政治面貌：</p>
                                <input type="text" name="czrzzmm"/>
                            </li>
                            <li>
                                <p>出资人微信cd：</p>
                                <input type="text" name="czrwxcd"/>
                            </li>
                            <li>
                                <p>出资人性别：</p>
                                <input type="text" name="czrxb"/>
                            </li>
                            <li>
                                <p>出资人收入：</p>
                                <input type="text" name="czrsr"/>
                            </li>
                            <li>
                                <p>出资人住址：</p>
                                <input type="text" name="czrzz"/>
                            </li>
                            <li>
                                <p>出资人职业状况：</p>
                                <input type="text" name="czrzyzk"/>
                            </li>
                            <li>
                                <p>出资人规划：</p>
                                <input type="text" name="czrgh"/>
                            </li>
                            <li>
                                <p>出资人地址邮箱：</p>
                                <input type="text" name="czrdzyx"/>
                            </li>
                            <li>
                                <p>操作类型：</p>
                                <select name="cztype" th:with="type=${@dict.getType('')}">
                                    <option value="">所有</option>
                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                                </select>
                            </li>
                            <li>
                                <p>操作方式：</p>
                                <input type="text" name="czfs"/>
                            </li>
                            <li>
                                <p>操作步骤：</p>
                                <input type="text" name="czbz"/>
                            </li>
                            <li>
                                <p>认缴金额：</p>
                                <input type="text" name="renjiaoje"/>
                            </li>
                            <li class="select-time">
                                <p>认缴期限：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginRenjiaoqxtime]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endRenjiaoqxtime]"/>
                            </li>
                            <li>
                                <p>实缴金额：</p>
                                <input type="text" name="shijiaoje"/>
                            </li>
                            <li class="select-time">
                                <p>实缴期限：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginShijiaoqxtime]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endShijiaoqxtime]"/>
                            </li>
                            <li>
                                <p>验证机构：</p>
                                <input type="text" name="yzjg"/>
                            </li>
                            <li>
                                <p>出资人身份证：</p>
                                <input type="text" name="czrsfz"/>
                            </li>
                            <li>
                                <p>出资人身份证1：</p>
                                <input type="text" name="czrsfz1"/>
                            </li>
                            <li>
                                <p>出资人签名：</p>
                                <input type="text" name="czrqm"/>
                            </li>
                            <li>
                                <p>出资人拍照：</p>
                                <input type="text" name="czrpaizhao"/>
                            </li>
                            <li>
                                <p>表单复制：</p>
                                <input type="text" name="bdfz"/>
                            </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:czrxx:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:czrxx:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:czrxx:remove">
                    <i class="fa fa-remove"></i> 删除
                </a>
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:czrxx:export">
                    <i class="fa fa-download"></i> 导出
                 </a>
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table" data-mobile-responsive="true"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('system:czrxx:edit')}]];
        var removeFlag = [[${@permission.hasPermi('system:czrxx:remove')}]];
        var prefix = ctx + "Ytj/czrxx";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                modalName: "czrxx",
                columns: [{
                    checkbox: true
                },
                {
                    field : 'id', 
                    title : 'Id',
                    visible: false
                },
                {
                    field : 'bsid', 
                    title : 'Bsid'
                },
                {
                    field : 'czrtype', 
                    title : '出资人类型'
                },
                {
                    field : 'czrname', 
                    title : '出资人名称'
                },
                {
                    field : 'czrphone', 
                    title : '出资人电话'
                },
                {
                    field : 'czrlx', 
                    title : '出资人联系'
                },
                {
                    field : 'czrzj', 
                    title : '出资人资金'
                },
                {
                    field : 'czrcardno', 
                    title : '出资人身份证'
                },
                {
                    field : 'czrmz', 
                    title : '出资人民族'
                },
                {
                    field : 'czrzzmm', 
                    title : '出资人政治面貌'
                },
                {
                    field : 'czrwxcd', 
                    title : '出资人微信cd'
                },
                {
                    field : 'czrxb', 
                    title : '出资人性别'
                },
                {
                    field : 'czrsr', 
                    title : '出资人收入'
                },
                {
                    field : 'czrzz', 
                    title : '出资人住址'
                },
                {
                    field : 'czrzyzk', 
                    title : '出资人职业状况'
                },
                {
                    field : 'czrgh', 
                    title : '出资人规划'
                },
                {
                    field : 'czrdzyx', 
                    title : '出资人地址邮箱'
                },
                {
                    field : 'cztype', 
                    title : '操作类型'
                },
                {
                    field : 'czfs', 
                    title : '操作方式'
                },
                {
                    field : 'czbz', 
                    title : '操作步骤'
                },
                {
                    field : 'renjiaoje', 
                    title : '认缴金额'
                },
                {
                    field : 'renjiaoqxtime', 
                    title : '认缴期限'
                },
                {
                    field : 'shijiaoje', 
                    title : '实缴金额'
                },
                {
                    field : 'shijiaoqxtime', 
                    title : '实缴期限'
                },
                {
                    field : 'yzjg', 
                    title : '验证机构'
                },
                {
                    field : 'czrsfz', 
                    title : '出资人身份证'
                },
                {
                    field : 'czrsfz1', 
                    title : '出资人身份证1'
                },
                {
                    field : 'czrqm', 
                    title : '出资人签名'
                },
                {
                    field : 'czrpaizhao', 
                    title : '出资人拍照'
                },
                {
                    field : 'bdfz', 
                    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>');
                        return actions.join('');
                    }
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>