Browse Source

求职人员新增毕业日期字段

liao-sea 9 months ago
parent
commit
2de8207b8d

+ 3 - 0
doc/待更新脚本.txt

@@ -5,3 +5,6 @@ update sys_menu set menuname ='就业服务活动信息' where menuno='T010901';
 update sys_menu set menuname ='就业服务活动新增' where menuno='T010902';
 update sys_menu set menuname ='就业服务活动修改' where menuno='T010903';
 update sys_menu set menuname ='就业服务活动详情' where menuno='T010905';
+
+2024-06-13
+ALTER TABLE pc_jobuser ADD COLUMN FinishDate VARCHAR(20) COMMENT '毕业日期' AFTER FinishSchool;

+ 34 - 7
h5app/src/views/pages/jobUserInfo/userEdit.vue

@@ -121,7 +121,17 @@
               </ion-select>
               <!--          <ion-note slot="error">重点人员类别不能为空</ion-note>-->
             </div>
-
+            <div class="form-select" >
+              <ion-label>毕业日期<span v-show="isGraduating" class="danger">*</span></ion-label>
+              <ion-datetime-button datetime="showFinishDate" style="position:absolute;left:10px;" ></ion-datetime-button>
+              <ion-modal :keep-contents-mounted="true">
+                <ion-datetime name="showFinishDate" id="showFinishDate" v-model="baseData.showFinishDate"
+                              dataformatas="YYYY-MM-DD" presentation="month-year" cancel-text="取消" done-text="确定"
+                              :show-default-buttons="true" @ionChange="finishDateChange()">
+                </ion-datetime>
+              </ion-modal>
+            </div>
+            <div style="width:100%;overflow: hidden;height: 30px;"></div>
             <div class="form-title">
               其他信息
               <div style="float: right;">
@@ -558,6 +568,8 @@ export default defineComponent({
         personalSkills:null,
         socialSecurityCard:"",
         finishSchool:null,
+        finishDate:"",
+        showFinishDate:dayjs().format("YYYY-MM-DD"),
         profession:null,
         nativePlace:null,
         isFullTime:null,
@@ -592,9 +604,6 @@ export default defineComponent({
     });
     const baseDataValid = useVuelidate(baseDataRule,baseInfoData);
 
-    const expandChange= ()=>{
-      expand.value = !expand.value;
-    }
     // 删除警告弹窗开关
     const delAlertOpen = ref(false);
 
@@ -826,6 +835,20 @@ export default defineComponent({
         streetList.value = streetResult;
       }
     }
+
+    const finishDateChange = function(){
+      baseInfoData.baseData.finishDate = baseInfoData.baseData.showFinishDate.substring(0,7);
+      console.log(baseInfoData.baseData.finishDate);
+    }
+    const isGraduating = ref(false);
+    const keyPersonTypeChange = function (){
+      isGraduating.value = false;
+      if(baseInfoData.baseData.keyPersonTypeID==2){
+        isGraduating.value = true;
+      }
+    }
+
+
     const regionChange = async function(){
       baseInfoData.baseData.streetCode = null;
       await getStreetList();
@@ -843,7 +866,6 @@ export default defineComponent({
       baseInfoData.baseData.jobUserID = jobUserID;
       curStepData.value.statusVal = status;
       curStepData.value.loginUserID = userId;
-      console.log("当前curStepData",curStepData.value);
       if(curStepData.value.statusVal==1){
         const reqData = await getJobUserById(jobUserID,userId);
         baseInfoData.baseData = reqData;
@@ -851,7 +873,10 @@ export default defineComponent({
 
         baseInfoData.baseData.userMobile = crtyptoHelp.decryptDesText(baseInfoData.baseData.userMobile);
         baseInfoData.baseData.identityNumber = crtyptoHelp.decryptDesText(baseInfoData.baseData.identityNumber);
-        console.log("当前baseInfoData",baseInfoData.baseData);
+        if(baseInfoData.baseData.keyPersonTypeID==2){
+          isGraduating.value = true;
+        }
+        console.log("初始化baseData",baseInfoData.baseData);
         await getStreetList();
       }
       else if(curStepData.value.statusVal==2){
@@ -958,7 +983,9 @@ export default defineComponent({
       infoAlertOpen,
       delLoading,
       infoAlterData,
-      expandChange,
+      isGraduating,
+      finishDateChange,
+      keyPersonTypeChange,
       provinceChange,
       regionChange,
       onSetOccupationalID,

+ 40 - 11
h5app/src/views/pages/jobhunt/edit.vue

@@ -116,14 +116,24 @@
             <div class="form-select">
               <ion-label>重点人员类别<span class="danger">*</span></ion-label>
               <ion-select name="keyPersonTypeID"  id="keyPersonTypeID" okText="确定" cancelText="取消" v-model="baseData.keyPersonTypeID"
-                          interface="action-sheet" placeholder="请选择重点人员类别"  style="width:100%;text-align:left;" >
+                          interface="action-sheet" placeholder="请选择重点人员类别"  @ionChange="keyPersonTypeChange" style="width:100%;text-align:left;" >
                 <ion-select-option v-for=" (it,key) in keyPersonTypeList" :key="key" :value="it.value">
                   {{ it.name }}
                 </ion-select-option>
               </ion-select>
               <!--          <ion-note slot="error">重点人员类别不能为空</ion-note>-->
             </div>
-
+            <div class="form-select" >
+              <ion-label>毕业日期<span v-show="isGraduating" class="danger">*</span></ion-label>
+              <ion-datetime-button datetime="showFinishDate" style="position:absolute;left:10px;" ></ion-datetime-button>
+              <ion-modal :keep-contents-mounted="true">
+                <ion-datetime name="showFinishDate" id="showFinishDate" v-model="baseData.showFinishDate"
+                              dataformatas="YYYY-MM-DD" presentation="month-year" cancel-text="取消" done-text="确定"
+                              :show-default-buttons="true" @ionChange="finishDateChange()">
+                </ion-datetime>
+              </ion-modal>
+            </div>
+            <div style="width:100%;overflow: hidden;height: 30px;"></div>
         <div class="form-title">
           其他信息
           <div style="float: right;">
@@ -183,12 +193,6 @@
                 <category-selection  :OccupationalID="baseData.occupationalCategory" @SetOccupationalID="onSetOccupationalID"></category-selection>
               </ion-item>
             </div>
-<!--            <ion-select name="occupationalCategory"  id="occupationalCategory" okText="确定" cancelText="取消" v-model="baseData.occupationalCategory"-->
-<!--                        interface="action-sheet" placeholder="请选择职业资格类别" style="width:100%;text-align:left;" >-->
-<!--              <ion-select-option v-for=" (it,key) in occupationalCategoryList" :key="key" :value="it.value">-->
-<!--                {{ it.name }}-->
-<!--              </ion-select-option>-->
-<!--            </ion-select>-->
           </div>
           <div class="form-select">
             <ion-label>职业资格等级</ion-label>
@@ -493,6 +497,7 @@ import CategorySelection from "@/components/ocCategorySelection.vue";
 import {getPosition} from "@/utils/position";
 import LabelSelection from "@/components/labelSelection.vue";
 import crtyptoHelp from "@/utils/crypto";
+import {Datetime} from "@ionic/core/dist/types/components/datetime/datetime";
 
 interface SelectProps {
   name: string,
@@ -576,6 +581,8 @@ export default defineComponent({
         personalSkills:null,
         socialSecurityCard:"",
         finishSchool:null,
+        finishDate:"",
+        showFinishDate:dayjs().format('YYYY-MM-DD'),
         profession:null,
         nativePlace:null,
         isFullTime:null,
@@ -754,10 +761,14 @@ export default defineComponent({
       console.log(baseInfoData.baseData)
       if (curStepData.value.statusVal==1){
         const isFormCorrect = await baseDataValid.value.$validate();
-        if(!isFormCorrect){
-          await presentAlert("请填写完整的信息!");
+        if(isGraduating.value&&baseInfoData.baseData.finishDate==null){
+          await presentAlert("请选择毕业日期!");
           return null;
         }
+        if(!isFormCorrect){
+            await presentAlert("请填写完整的信息!");
+            return null;
+        }
         inputDataValidate();
         if(isAllowCommit.value){
           console.log("当前数据",baseInfoData.baseData);
@@ -848,6 +859,18 @@ export default defineComponent({
         streetList.value = streetResult;
       }
     }
+    const finishDateChange = function(){
+      baseInfoData.baseData.finishDate = baseInfoData.baseData.showFinishDate.substring(0,7);
+      console.log(baseInfoData.baseData.finishDate);
+    }
+    const isGraduating = ref(false);
+    const keyPersonTypeChange = function (){
+      isGraduating.value = false;
+      if(baseInfoData.baseData.keyPersonTypeID==2){
+        isGraduating.value = true;
+      }
+    }
+
     const regionChange = async function(){
       baseInfoData.baseData.streetCode = null;
       await getStreetList();
@@ -873,7 +896,10 @@ export default defineComponent({
         baseInfoData.baseData.userMobile = crtyptoHelp.decryptDesText(baseInfoData.baseData.userMobile);
         baseInfoData.baseData.identityNumber = crtyptoHelp.decryptDesText(baseInfoData.baseData.identityNumber);
         baseInfoData.baseData.loginUserID = curUserID;
-        //console.log('baseData',baseInfoData.baseData);
+        if(baseInfoData.baseData.keyPersonTypeID==2){
+          isGraduating.value = true;
+        }
+        console.log('初始化baseData',baseInfoData.baseData);
         await getStreetList();
       }
       else if(curStepData.value.statusVal==2){
@@ -981,6 +1007,9 @@ export default defineComponent({
       infoAlertOpen,
       delLoading,
       infoAlterData,
+      isGraduating,
+      finishDateChange,
+      keyPersonTypeChange,
       provinceChange,
       regionChange,
       onSetOccupationalID,

+ 14 - 0
src/main/java/com/hz/employmentsite/controller/jobUserManager/JobUserController.java

@@ -13,7 +13,9 @@ import com.hz.employmentsite.model.PcSiteUserExample;
 import com.hz.employmentsite.model.SelectProps;
 import com.hz.employmentsite.services.service.AccountService;
 import com.hz.employmentsite.services.service.jobUserManager.JobUserService;
+import com.hz.employmentsite.util.DateUtils;
 import com.hz.employmentsite.util.ExcelHelper;
+import com.hz.employmentsite.util.StringUtils;
 import com.hz.employmentsite.vo.dataMap.JobUserMapVo;
 import com.hz.employmentsite.vo.jobUserManager.JobUserVo;
 import com.hz.employmentsite.vo.jobUserManager.ProfessionLevel;
@@ -38,6 +40,13 @@ public class JobUserController {
     @Autowired
     private PcSiteMapper pcSiteMapper;
 
+    @Autowired
+    private StringUtils stringUtils;
+
+    @Autowired
+    private DateUtils dateUtils;
+
+
     @ResponseBody
     @GetMapping("/getList")
     public BaseResponse getList(@RequestParam("pageIndex") int pageIndex, @RequestParam("pageSize") int pageSize,
@@ -92,6 +101,11 @@ public class JobUserController {
 //                data.setSocialSecurityCard(stringUtils.desensitizeData(data.getSocialSecurityCard(), "****", 3, 3));
 //            }
         }
+        if(!stringUtils.IsNullOrEmpty(data.getFinishDate())){
+            data.setShowFinishDate(dateUtils.StrToDate(data.getFinishDate()+"-01 00:00:00"));
+        }else{
+            data.setShowFinishDate(new Date());
+        }
         return RespGenerstor.success(data);
     }
 

+ 10 - 0
src/main/java/com/hz/employmentsite/model/PcJobuser.java

@@ -81,6 +81,8 @@ public class PcJobuser {
 
     private String finishSchool;
 
+    private String finishDate;
+
     private String profession;
 
     private String nativePlace;
@@ -407,6 +409,14 @@ public class PcJobuser {
         this.finishSchool = finishSchool == null ? null : finishSchool.trim();
     }
 
+    public String getFinishDate() {
+        return finishDate;
+    }
+
+    public void setFinishDate(String finishDate) {
+        this.finishDate = finishDate == null ? null : finishDate.trim();
+    }
+
     public String getProfession() {
         return profession;
     }

+ 70 - 0
src/main/java/com/hz/employmentsite/model/PcJobuserExample.java

@@ -2705,6 +2705,76 @@ public class PcJobuserExample {
             return (Criteria) this;
         }
 
+        public Criteria andFinishDateIsNull() {
+            addCriterion("FinishDate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateIsNotNull() {
+            addCriterion("FinishDate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateEqualTo(String value) {
+            addCriterion("FinishDate =", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateNotEqualTo(String value) {
+            addCriterion("FinishDate <>", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateGreaterThan(String value) {
+            addCriterion("FinishDate >", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateGreaterThanOrEqualTo(String value) {
+            addCriterion("FinishDate >=", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateLessThan(String value) {
+            addCriterion("FinishDate <", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateLessThanOrEqualTo(String value) {
+            addCriterion("FinishDate <=", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateLike(String value) {
+            addCriterion("FinishDate like", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateNotLike(String value) {
+            addCriterion("FinishDate not like", value, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateIn(List<String> values) {
+            addCriterion("FinishDate in", values, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateNotIn(List<String> values) {
+            addCriterion("FinishDate not in", values, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateBetween(String value1, String value2) {
+            addCriterion("FinishDate between", value1, value2, "finishDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andFinishDateNotBetween(String value1, String value2) {
+            addCriterion("FinishDate not between", value1, value2, "finishDate");
+            return (Criteria) this;
+        }
+
         public Criteria andProfessionIsNull() {
             addCriterion("Profession is null");
             return (Criteria) this;

+ 6 - 0
src/main/java/com/hz/employmentsite/services/impl/jobUserManager/JobUserServiceImpl.java

@@ -331,6 +331,7 @@ public class JobUserServiceImpl implements JobUserService {
             dbData.setPersonalSkills(data.getPersonalSkills());
             dbData.setSocialSecurityCard(data.getSocialSecurityCard());
             dbData.setFinishSchool(data.getFinishSchool());
+            dbData.setFinishDate(data.getFinishDate());
             dbData.setProfession(data.getProfession());
             dbData.setNativePlace(data.getNativePlace());
             dbData.setIsFullTime(data.getIsFullTime());
@@ -377,6 +378,7 @@ public class JobUserServiceImpl implements JobUserService {
             dbData.setPersonalSkills(data.getPersonalSkills());
             dbData.setSocialSecurityCard(data.getSocialSecurityCard());
             dbData.setFinishSchool(data.getFinishSchool());
+            dbData.setFinishDate(data.getFinishDate());
             dbData.setProfession(data.getProfession());
             dbData.setNativePlace(data.getNativePlace());
             dbData.setIsFullTime(data.getIsFullTime());
@@ -531,6 +533,7 @@ public class JobUserServiceImpl implements JobUserService {
             dbData.setOpenId(data.getOpenId());
             dbData.setSocialSecurityCard(data.getSocialSecurityCard());
             dbData.setFinishSchool(data.getFinishSchool());
+            dbData.setFinishDate(data.getFinishDate());
             dbData.setProfession(data.getProfession());
             dbData.setIsFullTime(data.getIsFullTime());
             dbData.setOccupationalCategory(data.getOccupationalCategory());
@@ -578,6 +581,7 @@ public class JobUserServiceImpl implements JobUserService {
             dbData.setOpenId(data.getOpenId());
             dbData.setSocialSecurityCard(data.getSocialSecurityCard());
             dbData.setFinishSchool(data.getFinishSchool());
+            dbData.setFinishDate(data.getFinishDate());
             dbData.setProfession(data.getProfession());
             dbData.setIsFullTime(data.getIsFullTime());
             dbData.setOccupationalCategory(data.getOccupationalCategory());
@@ -685,6 +689,8 @@ public class JobUserServiceImpl implements JobUserService {
 
         List<JobUserVo> resultList = new ArrayList<>();
         PcSite finalCurLoginUserSiteInfo = curLoginUserSiteInfo;
+
+        List<Dictionary<String,String>> idPhoneList = new ArrayList<>();
         dataList.forEach(item -> {
             String errorInfo = "";
             item.setJobUserID(UUID.randomUUID().toString());

+ 2 - 0
src/main/java/com/hz/employmentsite/vo/jobUserManager/JobUserVo.java

@@ -126,6 +126,8 @@ public class JobUserVo {
 
     private String socialSecurityCard;
     private String finishSchool;
+    private String finishDate;
+    private Date showFinishDate;
     private String profession;
     private String nativePlace;
 

+ 186 - 172
src/main/resources/mapping/PcJobuserMapper.xml

@@ -2,52 +2,53 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.hz.employmentsite.mapper.PcJobuserMapper">
   <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcJobuser">
-    <id column="JobuserID" jdbcType="VARCHAR" property="jobuserID"/>
-    <result column="SiteID" jdbcType="VARCHAR" property="siteID"/>
-    <result column="IdentityNumber" jdbcType="VARCHAR" property="identityNumber"/>
-    <result column="Name" jdbcType="VARCHAR" property="name"/>
-    <result column="PyName" jdbcType="VARCHAR" property="pyName"/>
-    <result column="EngName" jdbcType="VARCHAR" property="engName"/>
-    <result column="Sex" jdbcType="INTEGER" property="sex"/>
-    <result column="Nation" jdbcType="INTEGER" property="nation"/>
-    <result column="PoliticsStatusID" jdbcType="INTEGER" property="politicsStatusID"/>
-    <result column="Birthplace" jdbcType="VARCHAR" property="birthplace"/>
-    <result column="BirthDay" jdbcType="TIMESTAMP" property="birthDay"/>
-    <result column="FamilyNatureID" jdbcType="INTEGER" property="familyNatureID"/>
-    <result column="CultureRank" jdbcType="INTEGER" property="cultureRank"/>
-    <result column="HealthID" jdbcType="INTEGER" property="healthID"/>
-    <result column="BloodTypeID" jdbcType="INTEGER" property="bloodTypeID"/>
-    <result column="Height" jdbcType="VARCHAR" property="height"/>
-    <result column="Vision" jdbcType="VARCHAR" property="vision"/>
-    <result column="Weight" jdbcType="VARCHAR" property="weight"/>
-    <result column="MaritalStatusID" jdbcType="INTEGER" property="maritalStatusID"/>
-    <result column="ProvinceCode" jdbcType="VARCHAR" property="provinceCode"/>
-    <result column="RegionCode" jdbcType="VARCHAR" property="regionCode"/>
-    <result column="StreetCode" jdbcType="VARCHAR" property="streetCode"/>
-    <result column="UserName" jdbcType="VARCHAR" property="userName"/>
-    <result column="UserMobile" jdbcType="VARCHAR" property="userMobile"/>
-    <result column="Address" jdbcType="VARCHAR" property="address"/>
-    <result column="FamilyAddress" jdbcType="VARCHAR" property="familyAddress"/>
-    <result column="PostalCode" jdbcType="VARCHAR" property="postalCode"/>
-    <result column="Email" jdbcType="VARCHAR" property="email"/>
-    <result column="Hobby" jdbcType="VARCHAR" property="hobby"/>
-    <result column="JobStatusID" jdbcType="INTEGER" property="jobStatusID"/>
-    <result column="KeyPersonTypeID" jdbcType="INTEGER" property="keyPersonTypeID"/>
-    <result column="PersonalSkills" jdbcType="VARCHAR" property="personalSkills"/>
-    <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID"/>
-    <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime"/>
-    <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID"/>
-    <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime"/>
-    <result column="openId" jdbcType="VARCHAR" property="openId"/>
-    <result column="SocialSecurityCard" jdbcType="VARCHAR" property="socialSecurityCard"/>
-    <result column="FinishSchool" jdbcType="VARCHAR" property="finishSchool"/>
-    <result column="Profession" jdbcType="VARCHAR" property="profession"/>
-    <result column="NativePlace" jdbcType="VARCHAR" property="nativePlace"/>
-    <result column="IsFullTime" jdbcType="INTEGER" property="isFullTime"/>
-    <result column="OccupationalCategory" jdbcType="VARCHAR" property="occupationalCategory"/>
-    <result column="OccupationalLevel" jdbcType="INTEGER" property="occupationalLevel"/>
-    <result column="Longitude" jdbcType="VARCHAR" property="longitude"/>
-    <result column="Latitude" jdbcType="VARCHAR" property="latitude"/>
+    <id column="JobuserID" jdbcType="VARCHAR" property="jobuserID" />
+    <result column="SiteID" jdbcType="VARCHAR" property="siteID" />
+    <result column="IdentityNumber" jdbcType="VARCHAR" property="identityNumber" />
+    <result column="Name" jdbcType="VARCHAR" property="name" />
+    <result column="PyName" jdbcType="VARCHAR" property="pyName" />
+    <result column="EngName" jdbcType="VARCHAR" property="engName" />
+    <result column="Sex" jdbcType="INTEGER" property="sex" />
+    <result column="Nation" jdbcType="INTEGER" property="nation" />
+    <result column="PoliticsStatusID" jdbcType="INTEGER" property="politicsStatusID" />
+    <result column="Birthplace" jdbcType="VARCHAR" property="birthplace" />
+    <result column="BirthDay" jdbcType="TIMESTAMP" property="birthDay" />
+    <result column="FamilyNatureID" jdbcType="INTEGER" property="familyNatureID" />
+    <result column="CultureRank" jdbcType="INTEGER" property="cultureRank" />
+    <result column="HealthID" jdbcType="INTEGER" property="healthID" />
+    <result column="BloodTypeID" jdbcType="INTEGER" property="bloodTypeID" />
+    <result column="Height" jdbcType="VARCHAR" property="height" />
+    <result column="Vision" jdbcType="VARCHAR" property="vision" />
+    <result column="Weight" jdbcType="VARCHAR" property="weight" />
+    <result column="MaritalStatusID" jdbcType="INTEGER" property="maritalStatusID" />
+    <result column="ProvinceCode" jdbcType="VARCHAR" property="provinceCode" />
+    <result column="RegionCode" jdbcType="VARCHAR" property="regionCode" />
+    <result column="StreetCode" jdbcType="VARCHAR" property="streetCode" />
+    <result column="UserName" jdbcType="VARCHAR" property="userName" />
+    <result column="UserMobile" jdbcType="VARCHAR" property="userMobile" />
+    <result column="Address" jdbcType="VARCHAR" property="address" />
+    <result column="FamilyAddress" jdbcType="VARCHAR" property="familyAddress" />
+    <result column="PostalCode" jdbcType="VARCHAR" property="postalCode" />
+    <result column="Email" jdbcType="VARCHAR" property="email" />
+    <result column="Hobby" jdbcType="VARCHAR" property="hobby" />
+    <result column="JobStatusID" jdbcType="INTEGER" property="jobStatusID" />
+    <result column="KeyPersonTypeID" jdbcType="INTEGER" property="keyPersonTypeID" />
+    <result column="PersonalSkills" jdbcType="VARCHAR" property="personalSkills" />
+    <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID" />
+    <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID" />
+    <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
+    <result column="openId" jdbcType="VARCHAR" property="openId" />
+    <result column="SocialSecurityCard" jdbcType="VARCHAR" property="socialSecurityCard" />
+    <result column="FinishSchool" jdbcType="VARCHAR" property="finishSchool" />
+    <result column="FinishDate" jdbcType="VARCHAR" property="finishDate" />
+    <result column="Profession" jdbcType="VARCHAR" property="profession" />
+    <result column="NativePlace" jdbcType="VARCHAR" property="nativePlace" />
+    <result column="IsFullTime" jdbcType="INTEGER" property="isFullTime" />
+    <result column="OccupationalCategory" jdbcType="VARCHAR" property="occupationalCategory" />
+    <result column="OccupationalLevel" jdbcType="INTEGER" property="occupationalLevel" />
+    <result column="Longitude" jdbcType="VARCHAR" property="longitude" />
+    <result column="Latitude" jdbcType="VARCHAR" property="latitude" />
   </resultMap>
   <sql id="Example_Where_Clause">
     <where>
@@ -108,14 +109,13 @@
     </where>
   </sql>
   <sql id="Base_Column_List">
-    JobuserID
-    , SiteID, IdentityNumber, Name, PyName, EngName, Sex, Nation, PoliticsStatusID,
+    JobuserID, SiteID, IdentityNumber, Name, PyName, EngName, Sex, Nation, PoliticsStatusID, 
     Birthplace, BirthDay, FamilyNatureID, CultureRank, HealthID, BloodTypeID, Height, 
     Vision, Weight, MaritalStatusID, ProvinceCode, RegionCode, StreetCode, UserName, 
     UserMobile, Address, FamilyAddress, PostalCode, Email, Hobby, JobStatusID, KeyPersonTypeID, 
     PersonalSkills, CreateUserID, CreateTime, ModifyUserID, ModifyTime, openId, SocialSecurityCard, 
-    FinishSchool, Profession, NativePlace, IsFullTime, OccupationalCategory, OccupationalLevel, 
-    Longitude, Latitude
+    FinishSchool, FinishDate, Profession, NativePlace, IsFullTime, OccupationalCategory, 
+    OccupationalLevel, Longitude, Latitude
   </sql>
   <select id="selectByExample" parameterType="com.hz.employmentsite.model.PcJobuserExample" resultMap="BaseResultMap">
     select
@@ -148,38 +148,38 @@
     </if>
   </delete>
   <insert id="insert" parameterType="com.hz.employmentsite.model.PcJobuser">
-    insert into pc_jobuser (JobuserID, SiteID, IdentityNumber,
-                            Name, PyName, EngName,
-                            Sex, Nation, PoliticsStatusID,
-                            Birthplace, BirthDay, FamilyNatureID,
-                            CultureRank, HealthID, BloodTypeID,
-                            Height, Vision, Weight,
-                            MaritalStatusID, ProvinceCode, RegionCode,
-                            StreetCode, UserName, UserMobile,
-                            Address, FamilyAddress, PostalCode,
-                            Email, Hobby, JobStatusID,
-                            KeyPersonTypeID, PersonalSkills, CreateUserID,
-                            CreateTime, ModifyUserID, ModifyTime,
-                            openId, SocialSecurityCard, FinishSchool,
-                            Profession, NativePlace, IsFullTime,
-                            OccupationalCategory, OccupationalLevel,
-                            Longitude, Latitude)
-    values (#{jobuserID,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{identityNumber,jdbcType=VARCHAR},
-            #{name,jdbcType=VARCHAR}, #{pyName,jdbcType=VARCHAR}, #{engName,jdbcType=VARCHAR},
-            #{sex,jdbcType=INTEGER}, #{nation,jdbcType=INTEGER}, #{politicsStatusID,jdbcType=INTEGER},
-            #{birthplace,jdbcType=VARCHAR}, #{birthDay,jdbcType=TIMESTAMP}, #{familyNatureID,jdbcType=INTEGER},
-            #{cultureRank,jdbcType=INTEGER}, #{healthID,jdbcType=INTEGER}, #{bloodTypeID,jdbcType=INTEGER},
-            #{height,jdbcType=VARCHAR}, #{vision,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR},
-            #{maritalStatusID,jdbcType=INTEGER}, #{provinceCode,jdbcType=VARCHAR}, #{regionCode,jdbcType=VARCHAR},
-            #{streetCode,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{userMobile,jdbcType=VARCHAR},
-            #{address,jdbcType=VARCHAR}, #{familyAddress,jdbcType=VARCHAR}, #{postalCode,jdbcType=VARCHAR},
-            #{email,jdbcType=VARCHAR}, #{hobby,jdbcType=VARCHAR}, #{jobStatusID,jdbcType=INTEGER},
-            #{keyPersonTypeID,jdbcType=INTEGER}, #{personalSkills,jdbcType=VARCHAR}, #{createUserID,jdbcType=VARCHAR},
-            #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
-            #{openId,jdbcType=VARCHAR}, #{socialSecurityCard,jdbcType=VARCHAR}, #{finishSchool,jdbcType=VARCHAR},
-            #{profession,jdbcType=VARCHAR}, #{nativePlace,jdbcType=VARCHAR}, #{isFullTime,jdbcType=INTEGER},
-            #{occupationalCategory,jdbcType=VARCHAR}, #{occupationalLevel,jdbcType=INTEGER},
-            #{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR})
+    insert into pc_jobuser (JobuserID, SiteID, IdentityNumber, 
+      Name, PyName, EngName, 
+      Sex, Nation, PoliticsStatusID, 
+      Birthplace, BirthDay, FamilyNatureID, 
+      CultureRank, HealthID, BloodTypeID, 
+      Height, Vision, Weight, 
+      MaritalStatusID, ProvinceCode, RegionCode, 
+      StreetCode, UserName, UserMobile, 
+      Address, FamilyAddress, PostalCode, 
+      Email, Hobby, JobStatusID, 
+      KeyPersonTypeID, PersonalSkills, CreateUserID, 
+      CreateTime, ModifyUserID, ModifyTime, 
+      openId, SocialSecurityCard, FinishSchool, 
+      FinishDate, Profession, NativePlace, 
+      IsFullTime, OccupationalCategory, OccupationalLevel, 
+      Longitude, Latitude)
+    values (#{jobuserID,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{identityNumber,jdbcType=VARCHAR}, 
+      #{name,jdbcType=VARCHAR}, #{pyName,jdbcType=VARCHAR}, #{engName,jdbcType=VARCHAR}, 
+      #{sex,jdbcType=INTEGER}, #{nation,jdbcType=INTEGER}, #{politicsStatusID,jdbcType=INTEGER}, 
+      #{birthplace,jdbcType=VARCHAR}, #{birthDay,jdbcType=TIMESTAMP}, #{familyNatureID,jdbcType=INTEGER}, 
+      #{cultureRank,jdbcType=INTEGER}, #{healthID,jdbcType=INTEGER}, #{bloodTypeID,jdbcType=INTEGER}, 
+      #{height,jdbcType=VARCHAR}, #{vision,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR}, 
+      #{maritalStatusID,jdbcType=INTEGER}, #{provinceCode,jdbcType=VARCHAR}, #{regionCode,jdbcType=VARCHAR}, 
+      #{streetCode,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{userMobile,jdbcType=VARCHAR}, 
+      #{address,jdbcType=VARCHAR}, #{familyAddress,jdbcType=VARCHAR}, #{postalCode,jdbcType=VARCHAR}, 
+      #{email,jdbcType=VARCHAR}, #{hobby,jdbcType=VARCHAR}, #{jobStatusID,jdbcType=INTEGER}, 
+      #{keyPersonTypeID,jdbcType=INTEGER}, #{personalSkills,jdbcType=VARCHAR}, #{createUserID,jdbcType=VARCHAR}, 
+      #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, 
+      #{openId,jdbcType=VARCHAR}, #{socialSecurityCard,jdbcType=VARCHAR}, #{finishSchool,jdbcType=VARCHAR}, 
+      #{finishDate,jdbcType=VARCHAR}, #{profession,jdbcType=VARCHAR}, #{nativePlace,jdbcType=VARCHAR}, 
+      #{isFullTime,jdbcType=INTEGER}, #{occupationalCategory,jdbcType=VARCHAR}, #{occupationalLevel,jdbcType=INTEGER}, 
+      #{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR})
   </insert>
   <insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcJobuser">
     insert into pc_jobuser
@@ -301,6 +301,9 @@
       <if test="finishSchool != null">
         FinishSchool,
       </if>
+      <if test="finishDate != null">
+        FinishDate,
+      </if>
       <if test="profession != null">
         Profession,
       </if>
@@ -441,6 +444,9 @@
       <if test="finishSchool != null">
         #{finishSchool,jdbcType=VARCHAR},
       </if>
+      <if test="finishDate != null">
+        #{finishDate,jdbcType=VARCHAR},
+      </if>
       <if test="profession != null">
         #{profession,jdbcType=VARCHAR},
       </if>
@@ -590,6 +596,9 @@
       <if test="row.finishSchool != null">
         FinishSchool = #{row.finishSchool,jdbcType=VARCHAR},
       </if>
+      <if test="row.finishDate != null">
+        FinishDate = #{row.finishDate,jdbcType=VARCHAR},
+      </if>
       <if test="row.profession != null">
         Profession = #{row.profession,jdbcType=VARCHAR},
       </if>
@@ -619,51 +628,52 @@
   <update id="updateByExample" parameterType="map">
     update pc_jobuser
     set JobuserID = #{row.jobuserID,jdbcType=VARCHAR},
-    SiteID = #{row.siteID,jdbcType=VARCHAR},
-    IdentityNumber = #{row.identityNumber,jdbcType=VARCHAR},
-    Name = #{row.name,jdbcType=VARCHAR},
-    PyName = #{row.pyName,jdbcType=VARCHAR},
-    EngName = #{row.engName,jdbcType=VARCHAR},
-    Sex = #{row.sex,jdbcType=INTEGER},
-    Nation = #{row.nation,jdbcType=INTEGER},
-    PoliticsStatusID = #{row.politicsStatusID,jdbcType=INTEGER},
-    Birthplace = #{row.birthplace,jdbcType=VARCHAR},
-    BirthDay = #{row.birthDay,jdbcType=TIMESTAMP},
-    FamilyNatureID = #{row.familyNatureID,jdbcType=INTEGER},
-    CultureRank = #{row.cultureRank,jdbcType=INTEGER},
-    HealthID = #{row.healthID,jdbcType=INTEGER},
-    BloodTypeID = #{row.bloodTypeID,jdbcType=INTEGER},
-    Height = #{row.height,jdbcType=VARCHAR},
-    Vision = #{row.vision,jdbcType=VARCHAR},
-    Weight = #{row.weight,jdbcType=VARCHAR},
-    MaritalStatusID = #{row.maritalStatusID,jdbcType=INTEGER},
-    ProvinceCode = #{row.provinceCode,jdbcType=VARCHAR},
-    RegionCode = #{row.regionCode,jdbcType=VARCHAR},
-    StreetCode = #{row.streetCode,jdbcType=VARCHAR},
-    UserName = #{row.userName,jdbcType=VARCHAR},
-    UserMobile = #{row.userMobile,jdbcType=VARCHAR},
-    Address = #{row.address,jdbcType=VARCHAR},
-    FamilyAddress = #{row.familyAddress,jdbcType=VARCHAR},
-    PostalCode = #{row.postalCode,jdbcType=VARCHAR},
-    Email = #{row.email,jdbcType=VARCHAR},
-    Hobby = #{row.hobby,jdbcType=VARCHAR},
-    JobStatusID = #{row.jobStatusID,jdbcType=INTEGER},
-    KeyPersonTypeID = #{row.keyPersonTypeID,jdbcType=INTEGER},
-    PersonalSkills = #{row.personalSkills,jdbcType=VARCHAR},
-    CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
-    CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
-    ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
-    ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
-    openId = #{row.openId,jdbcType=VARCHAR},
-    SocialSecurityCard = #{row.socialSecurityCard,jdbcType=VARCHAR},
-    FinishSchool = #{row.finishSchool,jdbcType=VARCHAR},
-    Profession = #{row.profession,jdbcType=VARCHAR},
-    NativePlace = #{row.nativePlace,jdbcType=VARCHAR},
-    IsFullTime = #{row.isFullTime,jdbcType=INTEGER},
-    OccupationalCategory = #{row.occupationalCategory,jdbcType=VARCHAR},
-    OccupationalLevel = #{row.occupationalLevel,jdbcType=INTEGER},
-    Longitude = #{row.longitude,jdbcType=VARCHAR},
-    Latitude = #{row.latitude,jdbcType=VARCHAR}
+      SiteID = #{row.siteID,jdbcType=VARCHAR},
+      IdentityNumber = #{row.identityNumber,jdbcType=VARCHAR},
+      Name = #{row.name,jdbcType=VARCHAR},
+      PyName = #{row.pyName,jdbcType=VARCHAR},
+      EngName = #{row.engName,jdbcType=VARCHAR},
+      Sex = #{row.sex,jdbcType=INTEGER},
+      Nation = #{row.nation,jdbcType=INTEGER},
+      PoliticsStatusID = #{row.politicsStatusID,jdbcType=INTEGER},
+      Birthplace = #{row.birthplace,jdbcType=VARCHAR},
+      BirthDay = #{row.birthDay,jdbcType=TIMESTAMP},
+      FamilyNatureID = #{row.familyNatureID,jdbcType=INTEGER},
+      CultureRank = #{row.cultureRank,jdbcType=INTEGER},
+      HealthID = #{row.healthID,jdbcType=INTEGER},
+      BloodTypeID = #{row.bloodTypeID,jdbcType=INTEGER},
+      Height = #{row.height,jdbcType=VARCHAR},
+      Vision = #{row.vision,jdbcType=VARCHAR},
+      Weight = #{row.weight,jdbcType=VARCHAR},
+      MaritalStatusID = #{row.maritalStatusID,jdbcType=INTEGER},
+      ProvinceCode = #{row.provinceCode,jdbcType=VARCHAR},
+      RegionCode = #{row.regionCode,jdbcType=VARCHAR},
+      StreetCode = #{row.streetCode,jdbcType=VARCHAR},
+      UserName = #{row.userName,jdbcType=VARCHAR},
+      UserMobile = #{row.userMobile,jdbcType=VARCHAR},
+      Address = #{row.address,jdbcType=VARCHAR},
+      FamilyAddress = #{row.familyAddress,jdbcType=VARCHAR},
+      PostalCode = #{row.postalCode,jdbcType=VARCHAR},
+      Email = #{row.email,jdbcType=VARCHAR},
+      Hobby = #{row.hobby,jdbcType=VARCHAR},
+      JobStatusID = #{row.jobStatusID,jdbcType=INTEGER},
+      KeyPersonTypeID = #{row.keyPersonTypeID,jdbcType=INTEGER},
+      PersonalSkills = #{row.personalSkills,jdbcType=VARCHAR},
+      CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
+      CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
+      ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
+      ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
+      openId = #{row.openId,jdbcType=VARCHAR},
+      SocialSecurityCard = #{row.socialSecurityCard,jdbcType=VARCHAR},
+      FinishSchool = #{row.finishSchool,jdbcType=VARCHAR},
+      FinishDate = #{row.finishDate,jdbcType=VARCHAR},
+      Profession = #{row.profession,jdbcType=VARCHAR},
+      NativePlace = #{row.nativePlace,jdbcType=VARCHAR},
+      IsFullTime = #{row.isFullTime,jdbcType=INTEGER},
+      OccupationalCategory = #{row.occupationalCategory,jdbcType=VARCHAR},
+      OccupationalLevel = #{row.occupationalLevel,jdbcType=INTEGER},
+      Longitude = #{row.longitude,jdbcType=VARCHAR},
+      Latitude = #{row.latitude,jdbcType=VARCHAR}
     <if test="example != null">
       <include refid="Update_By_Example_Where_Clause" />
     </if>
@@ -785,6 +795,9 @@
       <if test="finishSchool != null">
         FinishSchool = #{finishSchool,jdbcType=VARCHAR},
       </if>
+      <if test="finishDate != null">
+        FinishDate = #{finishDate,jdbcType=VARCHAR},
+      </if>
       <if test="profession != null">
         Profession = #{profession,jdbcType=VARCHAR},
       </if>
@@ -811,51 +824,52 @@
   </update>
   <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcJobuser">
     update pc_jobuser
-    set SiteID               = #{siteID,jdbcType=VARCHAR},
-        IdentityNumber       = #{identityNumber,jdbcType=VARCHAR},
-        Name                 = #{name,jdbcType=VARCHAR},
-        PyName               = #{pyName,jdbcType=VARCHAR},
-        EngName              = #{engName,jdbcType=VARCHAR},
-        Sex                  = #{sex,jdbcType=INTEGER},
-        Nation               = #{nation,jdbcType=INTEGER},
-        PoliticsStatusID     = #{politicsStatusID,jdbcType=INTEGER},
-        Birthplace           = #{birthplace,jdbcType=VARCHAR},
-        BirthDay             = #{birthDay,jdbcType=TIMESTAMP},
-        FamilyNatureID       = #{familyNatureID,jdbcType=INTEGER},
-        CultureRank          = #{cultureRank,jdbcType=INTEGER},
-        HealthID             = #{healthID,jdbcType=INTEGER},
-        BloodTypeID          = #{bloodTypeID,jdbcType=INTEGER},
-        Height               = #{height,jdbcType=VARCHAR},
-        Vision               = #{vision,jdbcType=VARCHAR},
-        Weight               = #{weight,jdbcType=VARCHAR},
-        MaritalStatusID      = #{maritalStatusID,jdbcType=INTEGER},
-        ProvinceCode         = #{provinceCode,jdbcType=VARCHAR},
-        RegionCode           = #{regionCode,jdbcType=VARCHAR},
-        StreetCode           = #{streetCode,jdbcType=VARCHAR},
-        UserName             = #{userName,jdbcType=VARCHAR},
-        UserMobile           = #{userMobile,jdbcType=VARCHAR},
-        Address              = #{address,jdbcType=VARCHAR},
-        FamilyAddress        = #{familyAddress,jdbcType=VARCHAR},
-        PostalCode           = #{postalCode,jdbcType=VARCHAR},
-        Email                = #{email,jdbcType=VARCHAR},
-        Hobby                = #{hobby,jdbcType=VARCHAR},
-        JobStatusID          = #{jobStatusID,jdbcType=INTEGER},
-        KeyPersonTypeID      = #{keyPersonTypeID,jdbcType=INTEGER},
-        PersonalSkills       = #{personalSkills,jdbcType=VARCHAR},
-        CreateUserID         = #{createUserID,jdbcType=VARCHAR},
-        CreateTime           = #{createTime,jdbcType=TIMESTAMP},
-        ModifyUserID         = #{modifyUserID,jdbcType=VARCHAR},
-        ModifyTime           = #{modifyTime,jdbcType=TIMESTAMP},
-        openId               = #{openId,jdbcType=VARCHAR},
-        SocialSecurityCard   = #{socialSecurityCard,jdbcType=VARCHAR},
-        FinishSchool         = #{finishSchool,jdbcType=VARCHAR},
-        Profession           = #{profession,jdbcType=VARCHAR},
-        NativePlace          = #{nativePlace,jdbcType=VARCHAR},
-        IsFullTime           = #{isFullTime,jdbcType=INTEGER},
-        OccupationalCategory = #{occupationalCategory,jdbcType=VARCHAR},
-        OccupationalLevel    = #{occupationalLevel,jdbcType=INTEGER},
-        Longitude            = #{longitude,jdbcType=VARCHAR},
-        Latitude             = #{latitude,jdbcType=VARCHAR}
+    set SiteID = #{siteID,jdbcType=VARCHAR},
+      IdentityNumber = #{identityNumber,jdbcType=VARCHAR},
+      Name = #{name,jdbcType=VARCHAR},
+      PyName = #{pyName,jdbcType=VARCHAR},
+      EngName = #{engName,jdbcType=VARCHAR},
+      Sex = #{sex,jdbcType=INTEGER},
+      Nation = #{nation,jdbcType=INTEGER},
+      PoliticsStatusID = #{politicsStatusID,jdbcType=INTEGER},
+      Birthplace = #{birthplace,jdbcType=VARCHAR},
+      BirthDay = #{birthDay,jdbcType=TIMESTAMP},
+      FamilyNatureID = #{familyNatureID,jdbcType=INTEGER},
+      CultureRank = #{cultureRank,jdbcType=INTEGER},
+      HealthID = #{healthID,jdbcType=INTEGER},
+      BloodTypeID = #{bloodTypeID,jdbcType=INTEGER},
+      Height = #{height,jdbcType=VARCHAR},
+      Vision = #{vision,jdbcType=VARCHAR},
+      Weight = #{weight,jdbcType=VARCHAR},
+      MaritalStatusID = #{maritalStatusID,jdbcType=INTEGER},
+      ProvinceCode = #{provinceCode,jdbcType=VARCHAR},
+      RegionCode = #{regionCode,jdbcType=VARCHAR},
+      StreetCode = #{streetCode,jdbcType=VARCHAR},
+      UserName = #{userName,jdbcType=VARCHAR},
+      UserMobile = #{userMobile,jdbcType=VARCHAR},
+      Address = #{address,jdbcType=VARCHAR},
+      FamilyAddress = #{familyAddress,jdbcType=VARCHAR},
+      PostalCode = #{postalCode,jdbcType=VARCHAR},
+      Email = #{email,jdbcType=VARCHAR},
+      Hobby = #{hobby,jdbcType=VARCHAR},
+      JobStatusID = #{jobStatusID,jdbcType=INTEGER},
+      KeyPersonTypeID = #{keyPersonTypeID,jdbcType=INTEGER},
+      PersonalSkills = #{personalSkills,jdbcType=VARCHAR},
+      CreateUserID = #{createUserID,jdbcType=VARCHAR},
+      CreateTime = #{createTime,jdbcType=TIMESTAMP},
+      ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
+      ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
+      openId = #{openId,jdbcType=VARCHAR},
+      SocialSecurityCard = #{socialSecurityCard,jdbcType=VARCHAR},
+      FinishSchool = #{finishSchool,jdbcType=VARCHAR},
+      FinishDate = #{finishDate,jdbcType=VARCHAR},
+      Profession = #{profession,jdbcType=VARCHAR},
+      NativePlace = #{nativePlace,jdbcType=VARCHAR},
+      IsFullTime = #{isFullTime,jdbcType=INTEGER},
+      OccupationalCategory = #{occupationalCategory,jdbcType=VARCHAR},
+      OccupationalLevel = #{occupationalLevel,jdbcType=INTEGER},
+      Longitude = #{longitude,jdbcType=VARCHAR},
+      Latitude = #{latitude,jdbcType=VARCHAR}
     where JobuserID = #{jobuserID,jdbcType=VARCHAR}
   </update>
 </mapper>

BIN
src/main/resources/static/doc/template/求职人员导入模板.xlsx


+ 22 - 4
vue/src/views/jobUserManager/jobuser/edit.vue

@@ -40,6 +40,7 @@
               :options="keyPersonTypeList"
               :field-names="{ label: 'name', value: 'value' }"
               :allow-clear="true"
+              @change="keyPersonTypeChange"
             >
             </a-select>
           </a-form-item>
@@ -74,6 +75,12 @@
       </a-row>
 
       <a-row :gutter="24">
+        <a-col :span="8">
+          <a-form-item label="毕业日期" :label-col="{ span: 6 }"
+                       name="finishDate" :rules="[{ required: isGraduating,message: '请选择毕业日期!' }]">
+            <a-date-picker v-model:value="dataModel.finishDate" picker="month" value-format="YYYY-MM"/>
+          </a-form-item>
+        </a-col>
         <a-col :span="8">
           <a-form-item
             label="联系人"
@@ -88,6 +95,8 @@
             <a-input  v-model:value="dataModel.userMobile" placeholder=""/>
           </a-form-item>
         </a-col>
+      </a-row>
+      <a-row :gutter="24">
         <a-col :span="8">
           <a-form-item
             label="地址"
@@ -98,8 +107,6 @@
             <a-input v-model:value="dataModel.address" placeholder="" @blur="addressChange"/>
           </a-form-item>
         </a-col>
-      </a-row>
-      <a-row :gutter="24">
         <a-col :span="8">
           <a-form-item
             label="籍贯"
@@ -110,8 +117,6 @@
         </a-col>
         <a-col :span="8">
         </a-col>
-        <a-col :span="8">
-        </a-col>
       </a-row>
 
       <a-divider orientation="left">其它信息</a-divider>
@@ -939,10 +944,21 @@ export default defineComponent(
             if (formState.dataModel.regionCode) {
               changeCity();
             }
+            if(formState.dataModel.keyPersonTypeID==2){
+              isGraduating.value = true;
+            }
           });
         });
       };
 
+      const isGraduating = ref(false);
+      const keyPersonTypeChange = function (){
+        isGraduating.value = false;
+        if(formState.dataModel.keyPersonTypeID==2){
+          isGraduating.value = true;
+        }
+      }
+
       // 所属驿站变更关联区县
       const siteChange = async function () {
         const curSiteData: any = await getSiteByID(formState.dataModel.siteID);
@@ -977,7 +993,9 @@ export default defineComponent(
         onIdentityNumberChange,
         onSelectModel,
         selectLabelChecks,
+        keyPersonTypeChange,
         siteChange,
+        isGraduating,
         refSelectModel,
         siteList,
         regionList,