瀏覽代碼

Signed-off-by: sgq <sgq@sugangqiang>

sgq 2 年之前
父節點
當前提交
e9c0e9e209

+ 21 - 0
app/admin/controller/Talent.php

@@ -0,0 +1,21 @@
+<?php
+
+namespace app\admin\controller;
+
+use app\admin\common\AdminController;
+
+/**
+ * Description of Talent
+ *
+ * @author sgq
+ */
+class Talent extends AdminController {
+
+    function build_form() {
+        return view();
+    }
+
+    function add_field(){
+        return view();
+    }
+}

+ 73 - 0
app/admin/view/Talent/add_field.html

@@ -0,0 +1,73 @@
+{extend name="layout/content"}
+{block name="content"}
+<style type="text/css">
+    .layui-layer-btn .layui-layer-btn1 {
+        border-color: #009688;
+        background-color: #009688;
+        color: #fff;
+    }
+</style>
+<div class="row">
+    <div class="col-sm-12">
+        <div class="ibox float-e-margins">
+            <div class="ibox-title">
+                <h5>添加字段</h5>
+            </div>
+            <div class="ibox-content">
+                <div class="row row-lg">
+                    <div class="col-sm-12">
+                        <div class="row">                            
+                            <div class="col-sm-3">
+                                <div class="input-group input-group-sm">
+                                    <div class="input-group-btn">
+                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
+                                            选择表单类型
+                                        </button>
+                                    </div>
+                                    <select class="form-control" name="type">
+                                        <option value="1">人才认定申请</option>
+                                    </select>
+                                </div>
+                            </div>               
+                            <div class="col-sm-3">
+                                <div class="input-group input-group-sm">
+                                    <div class="input-group-btn">
+                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
+                                            针对人才类型
+                                        </button>
+                                    </div>
+                                    <select class="form-control" name="talentType">
+                                        <option>全部人才</option>
+                                        <option value="1">优秀人才</option>
+                                        <option value="2">人才认定申请</option>
+                                    </select>
+                                </div>
+                            </div>
+                        </div>
+                        <div class="hidden-xs" id="TalentInfoTableToolbar" role="group">
+                            <button type="button" class="btn btn-sm btn-primary " onclick="addField()" id="">
+                                <i class="fa fa-plus"></i>&nbsp;添加字段
+                            </button>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<script>
+    function addField() {
+        layer.open({
+            type: 2,
+            title: "添加字段",
+            fixed: false,
+            content: "/admin/talent/add_field",
+            area: ['50%', '50%'],
+            maxmin: true,
+            success: function (layero, index) {
+                
+            }
+        });
+    }
+</script>
+{/block}

+ 150 - 0
app/admin/view/Talent/build_form.html

@@ -0,0 +1,150 @@
+{extend name="layout/content"}
+{block name="content"}
+<style type="text/css">
+    .layui-layer-btn .layui-layer-btn1 {
+        border-color: #009688;
+        background-color: #009688;
+        color: #fff;
+    }
+    .base .form-check{float:left;margin:5px;}
+</style>
+<div class="row">
+    <div class="col-sm-12">
+        <div class="ibox float-e-margins">
+            <div class="ibox-title">
+                <h5>创建表单模板</h5>
+            </div>
+            <div class="ibox-content">
+                <div class="row row-lg">
+                    <div class="col-sm-12">
+                        <div class="row">                            
+                            <div class="col-sm-3">
+                                <div class="input-group input-group-sm">
+                                    <div class="input-group-btn">
+                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
+                                            选择表单类型
+                                        </button>
+                                    </div>
+                                    <select class="form-control" name="type">
+                                        <option value="1">人才认定申请</option>
+                                    </select>
+                                </div>
+                            </div>               
+                            <div class="col-sm-3">
+                                <div class="input-group input-group-sm">
+                                    <div class="input-group-btn">
+                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
+                                            针对人才类型
+                                        </button>
+                                    </div>
+                                    <select class="form-control" name="talentType">
+                                        <option>全部人才</option>
+                                        <option value="1">优秀人才</option>
+                                        <option value="2">人才认定申请</option>
+                                    </select>
+                                </div>
+                            </div>
+                        </div>
+                        <fieldset>
+                            <legend>个人信息</legend>
+                            <div class="row base">               
+                                <div class="col-sm-12">
+                                    <div class="form-check">
+                                        <label class="form-check-label">
+                                            <input type="checkbox" name="name" class="form-check-input" value="" checked="" autocomplete="off">姓名
+                                        </label>
+                                    </div>
+                                    <div class="form-check">
+                                        <label class="form-check-label">
+                                            <input type="checkbox" name="sex" class="form-check-input" value="" checked="" autocomplete="off">性别
+                                        </label>
+                                    </div>
+                                    <div class="form-check">
+                                        <label class="form-check-label">
+                                            <input type="checkbox" name="sex" class="form-check-input" value="" checked="" autocomplete="off">单位标签
+                                        </label>
+                                    </div>
+                                    <div class="form-check">
+                                        <label class="form-check-label">
+                                            <input type="checkbox" name="sex" class="form-check-input" value="" checked="" autocomplete="off">单位名称
+                                        </label>
+                                    </div>
+                                </div>
+                            </div>
+                        </fieldset>
+                        <div class="hidden-xs" id="TalentInfoTableToolbar" role="group">
+                            <button type="button" class="btn btn-sm btn-primary " onclick="addField()" id="">
+                                <i class="fa fa-plus"></i>&nbsp;添加字典字段
+                            </button>
+                        </div>
+                        <table id="form" class="table-condensed table table-bordered table-hover table-sm table-striped">
+                            <thead>
+                                <tr>
+                                    <th>字段</th>
+                                    <th>是否必选</th>
+                                    <th>选择附件</th>
+                                    <th>排序</th>
+                                    <th></th>
+                                </tr>
+                            </thead>
+                            <tbody>
+
+                            </tbody>
+                        </table>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<!--<script src="${ctxPath}/static/modular/gate/talentInfo/talentInfo.js"></script>-->
+<script>
+    var __initialize = function () {
+        var count = $(".base input[type=checkbox]").length;
+        for (var i = 0; i < count; i++) {
+            var chk = $(".base input[type=checkbox]").eq(i);
+            if (chk.is(":checked")) {
+                var value = chk.attr("name");
+                var text = chk.parent().text();
+                addToTable(value, text);
+            }
+        }
+    }();
+    function addField() {
+        layer.open({
+            type: 2,
+            title: "添加字段",
+            fixed: false,
+            content: "/admin/talent/add_field",
+            area: ['50%', '50%'],
+            maxmin: true,
+            success: function (layero, index) {
+
+            }
+        });
+    }
+    function addToTable(value, text) {
+        if ($("#form").find("input[name='field[]'][value='" + value + "']").length == 0) {
+            var tr = '<tr><td>' + text + '<input type="hidden" name="field[]" value="' + value + '"></td><td><input type="checkbox" name="need[]" checked=""></td><td><button class="btn btn-sm btn-primary" onclick="chooseFile(this);">选择附件</button><input type="hidden" name="file[]"></td><td><input name="order[]" value="1"></td><td><button class="btn btn-sm btn-primary" onclick="remove(this);">删除</button></td></tr>';
+            $("#form tbody").append(tr);
+        }
+    }
+    function remove(obj) {
+        var tr = $(obj).parents("tr");
+        var name = tr.find("input[type=checkbox]").attr("name");
+        $(obj).parents("tr").remove();
+        $(".base input[type=checkbox][name='" + name + "']").prop("checked", false);
+    }
+    $(".base input[type=checkbox]").change(function () {
+        if ($(this).is(":checked")) {
+            var value = $(this).attr("name");
+            var text = $(this).parent().text();
+            addToTable(value, text);
+        }
+    })
+</script>
+<script type="text/javascript">
+    document.write('<script src="/static/modular/gate/talentInfo/talentInfo.js?v=' + (new Date()).getTime() + '"><\/script>');
+    document.write('<script src="/static/modular/common/config.js?v=' + (new Date()).getTime() + '"><\/script>');
+</script>
+{/block}

+ 7 - 1
app/common/api/DictApi.php

@@ -12,7 +12,13 @@ use app\common\model\Dict;
 class DictApi {
 
     public static function selectByParentCode($code) {
-        $dictList = Dict::where("pcode", $code)->select()->toArray();
+        $parent = Dict::where("code", $code)->findOrEmpty()->toArray();
+        $dictList = Dict::where("pid", $parent["id"])->select()->toArray();
+        $tmp = [];
+        foreach ($dictList as $dict) {
+            $tmp[$dict["code"]] = $dict["name"];
+        }
+        return $tmp;
     }
 
 }

+ 10 - 6
app/enterprise/api/TalentApi.php

@@ -3,6 +3,7 @@
 namespace app\enterprise\api;
 
 use app\enterprise\model\Talent;
+use app\common\api\DictApi;
 
 /**
  * Description of TalentApi
@@ -68,12 +69,15 @@ class TalentApi {
             $where[] = [["checkState", 35], ["isPublic", 6]];
         }
         $count = Talent::where($where)->count();
-        $list = Talent::where($where)->limit($offset, $limit)->order("createTime ".$order)->select()->toArray();
-        $talentTypeList = \app\common\api\DictApi::selectByParentCode("un_jbt_talentType");//人才标签
-        foreach($list as $key=>$list){            
-            $list[$key]["talentArrangeName"]='';
-            $list[$key]["talentTypeName"]='';
-            $list[$key]["identifyConditionName"]='';
+        $list = Talent::where($where)->limit($offset, $limit)->order("createTime " . $order)->select()->toArray();
+        $talentTypeList = DictApi::selectByParentCode("un_jbt_talentType"); //人才标签
+        $talentArangeList = DictApi::selectByParentCode("un_talentLevel");//人才层次
+        //$talentTypeNameList = DictApi::selectByParentCode("un_talentLevel");//认定条件
+        //DictApi::selectByParentCode($code);
+        foreach ($list as $key => $item) {
+            $list[$key]["talentArrangeName"] = $talentArangeList[$item["talentArrange"]];
+            $list[$key]["talentTypeName"] = $talentTypeList[$item["talentType"]];
+            $list[$key]["identifyConditionText"] = "";
         }
         return ["total" => $count, "rows" => $list];
     }

+ 330 - 0
app/enterprise/view/talent/add.html

@@ -0,0 +1,330 @@
+{extend name="layout/content"}
+{blcok name="content"}
+<style type="text/css">
+    .spacing {
+        margin-bottom: 10px;
+        padding-right:4px;
+        padding-left: 4px;
+    }
+    #talentInfoForm label {
+        font-size: xx-small;
+    }
+    .has-feedback .form-control {
+        padding-right: 5px;
+    }
+    .control-label{
+        color: #337ab7;
+    }
+    .rowGroup{
+        padding-bottom: 5px;
+    }
+    .imgs li{
+        list-style: none;
+        float: left;
+        border: 1px solid #d8d1d1;
+        text-align: center;
+        height: 30px;
+    }
+</style>
+<div class="ibox float-e-margins">
+    <div class="ibox-content">
+        <div class="form-horizontal">
+            <div class="row">
+                <div class="col-sm-12" >
+                    <div class="tabs-container" >
+                        <ul class="nav nav-tabs">
+                            <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">1.基础信息</a></li>
+                            <li id="fileLi" class=""><a data-toggle="tab" href="#tab-2" onclick="TalentInfoInfoDlg.initFileTable()"  aria-expanded="false">2.附件上传</a></li>
+                        </ul>
+                    </div>
+                    <div class="tab-content">
+                        <div id="tab-1" class="tab-pane active">
+                            <div class="panel-body" >
+                                <div class="panel panel-default">
+                                    <div class="panel-heading" onclick="$(this).next().toggle()">基础信息</div>
+                                    <div class="panel-body">
+                                        <form id="talentInfoForm" class="form-horizontal" action="${ctxPath}/api/talentInfo/upsert" method="post" enctype="multipart/form-data" target="hiddenIframe">
+                                            <div class="col-sm-12 form-group-sm">
+                                                <input type="hidden" name="id" id="id" value="">
+                                                <input type="hidden" name="year" id="year" value="${year}">
+                                                <input type="hidden" name="enterpriseId" id="enterpriseId" value="${enterprise.id}">
+                                                <input type="hidden" name="type" id="type" value="${enterprise.type}">
+                                                <input type="hidden" name="checkState" id="checkState" value="">
+                                                <input type="file" name="photo" id="photo" style="display: none">
+                                                <input type="hidden" name="provinceName" id="provinceName" value="">
+                                                <input type="hidden" name="cityName" id="cityName" value="">
+                                                <input type="hidden" name="countyName" id="countyName" value="">
+                                                <input type="hidden" name="fromCityName" id="fromCityName" value="">
+                                                <input type="hidden" name="hand" id="hand" value="${hand}">
+                                                <div class="row">
+                                                    <div class="col-sm-11">
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>姓名</label>
+                                                            <input type="text" class="form-control" id="name" name="name" />
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>性别</label>
+                                                            <select class="form-control" id="sex" name="sex">
+                                                                <option value="">请选择</option>
+                                                                <option value="1">男</option>
+                                                                <option value="2">女</option>
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>出生日期</label>
+                                                            <input type="text" class="form-control date" id="birthday" name="birthday"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>国籍/地区</label>
+                                                            <select class="form-control" id="nationality" name="nationality">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>籍贯省</label>
+                                                            <select class="form-control " onchange="TalentInfoInfoDlg.afterSelectProvince()" id="provinceCode" name="provinceCode">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>籍贯市</label>
+                                                            <select class="form-control" onchange="TalentInfoInfoDlg.afterSelectCity()" id="cityCode" name="cityCode"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>籍贯县</label>
+                                                            <select class="form-control" id="countyCode" name="countyCode"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>民族</label>
+                                                            <select class="form-control" id="nation" name="nation">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>政治面貌</label>
+                                                            <select class="form-control" id="politics" name="politics">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>证件类型</label>
+                                                            <select class="form-control" id="cardType" name="cardType">
+                                                                <option value="">请选择</option>
+                                                                <option value="1">身份证</option>
+                                                                <option value="2">通行证</option>
+                                                                <option value="3">护照</option>
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>证件号码</label>
+                                                            <input class="form-control" id="idCard" name="idCard">
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>首次来晋工作时间</label>
+                                                            <input type="text" class="form-control date" id="firstInJJTime" name="firstInJJTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>单位名称</label>
+                                                            <input type="text" class="form-control" id="companyName"  name="companyName" readonly="readonly" value="${enterprise.name}" />
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>行业领域</label>
+                                                            <select type="text" class="form-control" id="industryField" value="${enterprise.industryField}" name="industryField" disabled="disabled">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>人才标签</label>
+                                                            <select class="form-control" id="talentType" name="talentType" onchange="TalentInfoInfoDlg.typeChange(this)" ></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>申报来源</label>
+                                                            <select class="form-control" id="source" name="source" onchange="TalentInfoInfoDlg.sourceChange()">
+                                                                <option value="">请选择</option>
+                                                                <option value="1">经我市申报并已经成功入选的泉州高层次人才</option>
+                                                                <option value="2">从我市以外的其他县(市、区)变动到我市工作的泉州市高层次人才</option>
+                                                                <option value="3">依据《晋江市优秀人才补充认定标准》申报认定</option>
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3" style="display: none">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>公布入选来源</label>
+                                                            <select class="form-control" id="ourCitySource" name="ourCitySource">
+                                                                <option value="">请选择</option>
+                                                                <option value="1">泉州市公布入选的泉州市第一至第五层次人才</option>
+                                                                <option value="2">晋江市公布入选的泉州市高层次第六七层次人才</option>
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3" style="display: none">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>入选来源县市</label>
+                                                            <select class="form-control" id="fromCity" name="fromCity">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3" style="display: none">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>入选名单批次</label>
+                                                            <select type="text" class="form-control" id="qzBatch"  name="qzBatch"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3" style="display: none">
+                                                            <label class=" control-label spacing" ><span style="color: red">*</span>泉州高层次人才证书发证日期</label>
+                                                            <input type="text" class="form-control date" id="certificateStartTime" name="certificateStartTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3" style="display: none">
+                                                            <label class=" control-label spacing" ><span style="color: red">*</span>泉州高层次人才证书有效期</label>
+                                                            <input type="text" class="form-control date" id="qzgccrcActiveTime" name="qzgccrcActiveTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>人才层次</label>
+                                                            <select class="form-control" id="talentArrange" name="talentArrange" onchange="TalentInfoInfoDlg.getIdentifyCondition()"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>认定条件</label>
+                                                            <select class="chosen" id="identifyCondition" name="identifyCondition"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>认定条件名称</label>
+                                                            <input type="text" class="form-control" id="identifyConditionName" name="identifyConditionName" placeholder="例:获得国家一级职业资格(汽车维修工)"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>认定条件证书取得时间</label>
+                                                            <input type="text" class="form-control date" id="identifyGetTime" name="identifyGetTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>所属镇街</label>
+                                                            <select class="form-control" id="address" name="address" value="${enterprise.street}" disabled="disabled"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3" style="display: none">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>首次来晋行政介绍信时间</label>
+                                                            <input type="text" class="form-control date" id="letterTime" name="letterTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>引进方式</label>
+                                                            <select class="form-control" id="introductionMode" name="introductionMode" data-placeholder="引进方式">
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>本单位入职时间</label>
+                                                            <input type="text" class="form-control date" id="entryTime" name="entryTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>职务</label>
+                                                            <input type="text" class="form-control" id="post" name="post"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>工作合同开始时间</label>
+                                                            <input type="text" class="form-control date" id="startTime" name="startTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>工作合同结束时间</label>
+                                                            <input type="text" class="form-control date" id="endTime" name="endTime"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>上一年度年薪(元)</label>
+                                                            <input type="text" class="form-control" id="lastYearWages" name="lastYearWages"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>最高学历</label>
+                                                            <select class="form-control" id="highEducation" name="highEducation"></select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>毕业院校</label>
+                                                            <input type="text" class="form-control" id="graduateSchool" name="graduateSchool">
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>专业</label>
+                                                            <input type="text" class="form-control" id="major" name="major"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing">职称</label>
+                                                            <input type="text" class="form-control" id="title" name="title"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing">国家职业资格</label>
+                                                            <input type="text" class="form-control" id="professionalQualifications" name="professionalQualifications"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing">是否有留学经历</label>
+                                                            <select class="form-control" id="studyAbroad" name="studyAbroad">
+                                                                <option value="2">否</option>
+                                                                <option value="1">是</option>
+                                                            </select>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>手机号码</label>
+                                                            <input type="text" class="form-control" id="phone" name="phone" maxlength="11"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>电子邮箱</label>
+                                                            <input type="text" class="form-control" id="email" name="email"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>开户银行</label>
+                                                            <input type="text" class="form-control" onchange="TalentInfoInfoDlg.bankChange()" id="bank" name="bank" placeholder="XX银行"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>银行行号</label>
+                                                            <input type="text" class="form-control" id="bankNumber" name="bankNumber"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>开户银行网点</label>
+                                                            <input type="text" class="form-control" id="bankNetwork" name="bankNetwork" placeholder="XX银行XX省XX市XX支行/分行/分理处"/>
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class="control-label spacing"><span style="color: red">*</span>银行账号</label>
+                                                            <input type="text" class="form-control" id="bankAccount" name="bankAccount" />
+                                                        </div>
+                                                        <div class="rowGroup col-sm-3">
+                                                            <label class=" control-label spacing"><span style="color: red">*</span>是否曾被相关主管部门列为失信个人</label>
+                                                            <select class="form-control" id="breakFaith" name="breakFaith">
+                                                                <option value="2">否</option>
+                                                                <option value="1">是</option>
+                                                            </select>
+                                                        </div>
+                                                    </div>
+                                                    <div class="col-sm-1">
+                                                        <img id="photoImg" src="${ctxPath}/static/img/photo.png" onclick="$('#photo').click()" style="height: 110px;width: 76px;padding-bottom: 5px;">
+                                                    </div>
+                                                </div>
+                                                <div class="row">
+                                                    <div class="rowGroup col-sm-12">
+                                                        <label class=" control-label spacing"><span style="color: red">*</span>教育背景及工作简历</label>
+                                                        <textarea style="overflow: auto;word-break: break-all; " class="form-control" id="educationAndResume" name="educationAndResume" rows="2"></textarea>
+                                                    </div>
+                                                </div>
+                                                <div class="row">
+                                                    <div class="rowGroup col-sm-12">
+                                                        <label class=" control-label spacing"><span style="color: red">*</span>主要业绩及取得的荣誉</label>
+                                                        <textarea style="overflow: auto;word-break: break-all; " class="form-control" id="mainHonours" name="mainHonours" rows="2"></textarea>
+                                                    </div>
+                                                </div>
+                                                <div class="row">
+                                                    <label class="col-sm-12 control-label spacing" style="text-align: left"><span style="color: red">声明:本人对输入材料的真实性负全部责任</span></label>
+                                                </div>
+                                            </div>
+                                        </form>
+                                    </div>
+                                    <div class="panel-heading" onclick="$(this).next().toggle()">日志</div>
+                                        <table id="logTable">
+                                    </table>
+                                </div>
+                            </div>
+                        </div>
+                        <div id="tab-2" class="tab-pane ">
+                            <#table id="fileTable" />
+                            <label style="padding-top: 15px;color: red">*请根据上传的附件材料,编辑好相应的文件夹名称</label>
+                            <form id="uploadForm" action="${ctxPath}/api/talentInfo/addTalentFile" method="post" class="form-horizontal" enctype="multipart/form-data" target="hiddenIframe" style="display: none">
+                                <input type='hidden' id="fileId" name="fileId" >
+                                <input type='file' id="upload_file" name="fileUrl" style='display: none'>
+                                <input type='hidden' id="mainId" name="mainId" >
+                                <input type='hidden' id="fileTypeId" name="fileTypeId" >
+                                <input type='hidden' id="index" name="index" >
+                                <input type="hidden" name="backName" value="TalentInfoInfoDlg.callBack">
+                                <input type="type" name="type" value="1">
+                            </form>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
+<!--<script src="${ctxPath}/static/modular/gate/talentInfo/talentInfo_info.js"></script>-->
+<script type="text/javascript">
+    document.write('<script src="${ctxPath}/static/modular/gate/talentInfo/talentInfo_info.js?v='+(new Date()).getTime()+'"><\/script>');
+    document.write('<script src="${ctxPath}/static/modular/common/config.js?v='+(new Date()).getTime()+'"><\/script>');
+</script>
+{/block}

+ 49 - 0
nbproject/private/private.xml

@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+    <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
+    <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
+        <group>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/common/AdminController.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/model/Role.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/enterprise/controller/Talent.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/index/controller/Auth.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/model/Menu.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/enterprise/view/talent/add.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/public/static/modular/gate/talentInfo/talentInfo.js</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/layout/right.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/config/log.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/enterprise/common/EnterpriseController.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/controller/Role.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/api/RoleApi.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/controller/Talent.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/controller/Index.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common/api/DictApi.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/index/index.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/model/SysRelation.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/model/User.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common/middleware/Log.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/public/static/js/common/Feng.js</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/layout/content.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/role/index.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/layout/layout.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common/controller/Notice.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/middleware.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/role/assign.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/role/edit.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/public/static/modular/system/role/role_info.js</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/Talent/build_form.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/role/add.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common/controller/Tool.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common/model/Dict.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/layout/tab.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/enterprise/api/TalentApi.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/public/static/modular/system/role/role.js</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/enterprise/view/talent/index.html</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common/middleware/Permission.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/common.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/enterprise/controller/Index.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/config/app.php</file>
+            <file>file:/C:/xampp/htdocs/jjrcuniflat/app/admin/view/Talent/add_field.html</file>
+        </group>
+    </open-files>
+</project-private>