<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增非公企业信息')" />
    <th:block th:include="include :: datetimepicker-css" />
    <th:block th:include="include :: bootstrap-fileinput-css"/>
    <th:block th:include="include :: select2-css"/>
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-fgqy-add">
            <h4 class="form-header h4">基本信息</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label is-required" >非公企业名称：</label>
                        <div class="col-sm-8">
                            <input name="mc" class="form-control" type="text" required placeholder="请输入非公企业名称">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">企业区域：</label>
                        <div class="col-sm-8">

                            <select name="deptId" class="form-control m-b" th:with="type=${@dict.getType('orhon_qyfl')}" >
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">企业类型：</label>
                        <div class="col-sm-8">
                            <select name="type" class="form-control m-b" th:with="type=${@dict.getType('orhon_qylx')}">
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">所在地：</label>
                        <div class="col-sm-8">
                            <input name="szd" class="form-control" type="text" placeholder="请输入所在地">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">资产总额：</label>
                        <div class="col-sm-8">
                            <input name="zcze" class="form-control" type="text" placeholder="请输入资产总额">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">年营业收入：</label>
                        <div class="col-sm-8">
                            <input name="nyysr" class="form-control" type="text" placeholder="请输入年营业收入">
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">从业人员数：</label>
                        <div class="col-sm-8">
                            <input name="cyrs" class="form-control" type="text" placeholder="请输入从业人员数">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">经营范围：</label>
                        <div class="col-sm-8">
                            <input name="jyfw" class="form-control" type="text" placeholder="请输入经营范围">
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">注册资本(金)币种：</label>
                        <div class="col-sm-8">
                            <input name="zcbjbz" class="form-control" type="text" placeholder="请输入注册资本(金)币种">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">注册号：</label>
                        <div class="col-sm-8">
                            <input name="zch" class="form-control" type="text" placeholder="请输入注册号">
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">经营(驻在)期限自：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="jyqxz" class="form-control" placeholder="请输入经营(驻在)期限自" type="text">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">经营(驻在)期限至：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="jyqxzhi" class="form-control" placeholder="请输入经营(驻在)期限至" type="text">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">行业门类：</label>
                        <div class="col-sm-8">
<!--                            <input name="hyml" class="form-control" type="text" placeholder="请输入行业门类">-->
                            <select name="hyml" class="form-control m-b" th:with="type=${@dict.getType('hymldm')}" >
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">市场主体类型：</label>
                        <div class="col-sm-8">
<!--                            <input name="scztlx" class="form-control" type="text" placeholder="请输入市场主体类型">-->
                            <select name="scztlx" class="form-control m-b" th:with="type=${@dict.getType('scztlxdm')}" >
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" ></option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">登记机关：</label>
                        <div class="col-sm-8">
                            <input name="djjgzwmc" class="form-control" type="text" placeholder="请输入登记机关中文名称">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">登记状态：</label>
                        <div class="col-sm-8">
<!--                            <input name="djzt" class="form-control" type="text" placeholder="请输入登记状态">-->
                            <select name="djzt" class="form-control m-b" th:with="type=${@dict.getType('djztdm')}" >
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">注册资本(金)万元：</label>
                        <div class="col-sm-8">
                            <input name="zczbwy" class="form-control" type="text" placeholder="请输入注册资本(金)万元">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">数据汇总时间：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="sjhzsj" class="form-control" placeholder="请输入数据汇总时间" type="text">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">成立日期：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="clrq" class="form-control" placeholder="请输入成立日期" type="text">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">统一社会信用代码：</label>
                        <div class="col-sm-8">
                            <input name="tyshxydm" class="form-control" type="text" placeholder="请输入统一社会信用代码">
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">

                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">住所：</label>
                        <div class="col-sm-8">
                            <input name="zs" class="form-control" type="text" placeholder="请输入住所">
                        </div>
                    </div>
                </div>
            </div>

            <h4 class="form-header h4">党组织情况</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否建立党组织：</label>
                        <div class="col-sm-8">
                            <select name="isdzz" class="form-control m-b" th:with="type=${@dict.getType('is_dzz')}">
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党组织建立时间：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="dzzjlsj" class="form-control" placeholder="请输入党组织建立时间" type="text">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label is-required">党组织名称：</label>
                        <div class="col-sm-8">
                            <input name="dzzmc" class="form-control" type="text" placeholder="请输入党组织名称" required>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党组织类型：</label>
                        <div class="col-sm-8">
                            <select name="dzzlx" class="form-control m-b" th:with="type=${@dict.getType('orhon_dzzlx')}">
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label is-required">党组织属地关系：</label>
                        <div class="col-sm-8">
                            <input name="dzzsdgx" class="form-control" type="text" placeholder="请输入党组织属地关系" required>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">上级党组织：</label>
                        <div class="col-sm-8">
                            <input name="sjdzz" class="form-control" type="text" placeholder="请输入上级党组织" >
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否建立团组织：</label>
                        <div class="col-sm-8">
                            <div class="radio-box" th:each="dict : ${@dict.getType('is_tzz')}">
                                <input type="radio" th:id="${'istzz_' + dict.dictCode}" name="istzz" th:value="${dict.dictValue}" th:checked="${dict.default}">
                                <label th:for="${'istzz_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">换届信息：</label>
                        <div class="col-sm-8">
                            <input name="hjxx" class="form-control" type="text" placeholder="请输入换届信息">
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党费账户：</label>
                        <div class="col-sm-8">
                            <input name="dfzh" class="form-control" type="text" placeholder="请输入党费账户">
                        </div>
                    </div>
                </div>
            </div>

            <h4 class="form-header h4">党组织班子情况</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">法定代表人姓名：</label>
                        <div class="col-sm-8">
                            <input name="shzzxm" class="form-control" type="text" placeholder="请输入法定代表人姓名">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">法定代表人电话：</label>
                        <div class="col-sm-8">
                            <input name="shzzdh" class="form-control" type="text" placeholder="请输入法定代表人电话">
                        </div>
                    </div>
                </div>

            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">法人是否党员：</label>
                        <div class="col-sm-8">
                            <div class="radio-box" th:each="dict : ${@dict.getType('orhon_isdy')}">
                                <input type="radio" th:id="${'isdy_' + dict.dictCode}" name="isdy" th:value="${dict.dictValue}" th:checked="${dict.default}">
                                <label th:for="${'isdy_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党组织书记姓名：</label>
                        <div class="col-sm-8">
                            <input name="dzzsjxm" class="form-control" type="text" placeholder="请输入党组织书记姓名">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党组织书记电话：</label>
                        <div class="col-sm-8">
                            <input name="dzzsjdh" class="form-control" type="text" placeholder="请输入党组织书记电话">
                        </div>
                    </div>
                </div>
            </div>

            <h4 class="form-header h4">党员情况</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">有无党员：</label>
                        <div class="col-sm-8">
                            <div class="radio-box" th:each="dict : ${@dict.getType('orhon_isdy')}">
                                <input type="radio" th:id="${'isdy_' + dict.dictCode}" name="ywdy" th:value="${dict.dictValue}" th:checked="${dict.default}">
                                <label th:for="${'isdy_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党员数：</label>
                        <div class="col-sm-8">
                            <input name="dys" class="form-control" type="text" placeholder="请输入党员数">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">积极分子数量：</label>
                        <div class="col-sm-8">
                            <input name="jjfzsl" class="form-control" type="text" placeholder="请输入积极分子数量">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">发展对象数量：</label>
                        <div class="col-sm-8">
                            <input name="fzdxsl" class="form-control" type="text" placeholder="请输入发展对象数量">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党费收缴标准：</label>
                        <div class="col-sm-8">
                            <input name="dfsjbz" class="form-control" type="text" placeholder="请输入党费收缴标准">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">年内发展党员数：</label>
                        <div class="col-sm-8">
                            <input name="nnfzdys" class="form-control" type="text" placeholder="请输入年内发展党员数">
                        </div>
                    </div>
                </div>
            </div>
            <h4 class="form-header h4">党建工作保障情况</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否有活动阵地：</label>
                        <div class="col-sm-8">
                            <select name="ishdzd" class="form-control m-b" th:with="type=${@dict.getType('is_hdzd')}">
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">活动阵地面积：</label>
                        <div class="col-sm-8">
                            <input name="hdzdmj" class="form-control" type="text" placeholder="请输入活动阵地面积">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党建经费：</label>
                        <div class="col-sm-8">
                            <input name="djjf" class="form-control" type="text" placeholder="请输入党建经费">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否派党建指导员：</label>
                        <div class="col-sm-8">
                            <div class="radio-box" th:each="dict : ${@dict.getType('orhon_isdy')}">
                                <input type="radio" th:id="${'isdy_' + dict.dictCode}" name="sfpdjzdy" th:value="${dict.dictValue}" th:checked="${dict.default}">
                                <label th:for="${'isdy_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党建指导员姓名：</label>
                        <div class="col-sm-8">
                            <input name="djzdyxm" class="form-control" type="text" placeholder="请输入党建指导员姓名">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党建指导员电话：</label>
                        <div class="col-sm-8">
                            <input name="djzdydh" class="form-control" type="text" placeholder="请输入党建指导员电话">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否建立工会：</label>
                        <div class="col-sm-8">
                            <div class="radio-box" th:each="dict : ${@dict.getType('is_gh')}">
                                <input type="radio" th:id="${'isgh_' + dict.dictCode}" name="isgh" th:value="${dict.dictValue}" th:checked="${dict.default}">
                                <label th:for="${'isgh_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <h4 class="form-header h4">党建工作特色</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否"双强六好"：</label>
                        <div class="col-sm-8">
                            <select name="issqlh" class="form-control m-b" th:with="type=${@dict.getType('is_sqlh')}">
                                <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">星级评定结果：</label>
                        <div class="col-sm-8">
                            <input name="xjpdjg" class="form-control" type="text" placeholder="请输入星级评定结果">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">奖惩情况：</label>
                        <div class="col-sm-8">
                            <input name="jcqk" class="form-control" type="text" placeholder="请输入奖惩情况">
                        </div>
                    </div>
                </div>
            </div>
            <h4 class="form-header h4">联系地址及方式</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">党组织办公地址：</label>
                        <div class="col-sm-8">
                            <input name="dzzbgdz" class="form-control" type="text" placeholder="请输入党组织办公地址">
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">联系电话及传真号：</label>
                        <div class="col-sm-8">
                            <input name="lxdhjczh" class="form-control" type="text" placeholder="请输入联系电话及传真号">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">电子邮箱：</label>
                        <div class="col-sm-8">
                            <input name="dzyx" class="form-control" type="text" placeholder="请输入电子邮箱">
                        </div>
                    </div>
                </div>
            </div>
            <h4 class="form-header h4">其他</h4>
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">未建立党组织原因：</label>
                        <div class="col-sm-8">
                            <textarea name="wjlyy" class="form-control" placeholder="请输入未建立党组织原因"></textarea>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">集中组建阶段具体措施：</label>
                        <div class="col-sm-8">
                            <textarea name="jzzjyysm" class="form-control" placeholder="请输入集中组建阶段具体措施"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <th:block th:include="include :: bootstrap-fileinput-js"/>
    <th:block th:include="include :: select2-js"/>
    <script th:inline="javascript">
        var prefix = ctx + "system/fgqy"
        $("#form-fgqy-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-fgqy-add').serialize());
            }
        }

        $("input[name='dzzjlsj']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='jyqxz']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='jyqxzhi']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='sjhzsj']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='clrq']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $(".file-upload").fileinput({
            uploadUrl: '/common/upload',
            maxFileCount: 1,
            autoReplace: true
        }).on('fileuploaded', function (event, data, previewId, index) {
            $("input[name='" + event.currentTarget.id + "']").val(data.response.url)
        }).on('fileremoved', function (event, id, index) {
            $("input[name='" + event.currentTarget.id + "']").val('')
        })
    </script>
</body>
</html>
