From 67dc6a05fcd0944cb03b17d669bc911e5fcb60aa Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Fri, 2 Dec 2022 13:41:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BA=BA=E5=91=98=E5=AE=B6?= =?UTF-8?q?=E5=BA=AD=E6=88=90=E5=91=98=E7=9B=B8=E5=85=B3=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/people/peopledata.js | 31 +- src/api/personnel/post.js | 3 +- src/api/systemaccredit/systemhrapi.js | 122 +++ src/views/hr/newhr/addpeople.vue | 32 +- src/views/hr/newhr/doubleemployees.vue | 200 ++++- src/views/hr/newhr/emergencycontact.vue | 192 ++++- src/views/hr/newhr/employmentrelationship.vue | 44 +- src/views/hr/newhr/familymembers.vue | 224 ++++- src/views/hr/newhr/people.vue | 29 +- src/views/hr/newhr/peoplecont.vue | 113 ++- src/views/hr/newhr/peopleinfor.vue | 774 +++++++++++++++++- src/views/hr/newhr/personneleducation.vue | 63 +- src/views/hr/newhr/workhistory.vue | 164 +++- 13 files changed, 1931 insertions(+), 60 deletions(-) diff --git a/src/api/people/peopledata.js b/src/api/people/peopledata.js index b0d4213..49131c4 100644 --- a/src/api/people/peopledata.js +++ b/src/api/people/peopledata.js @@ -1,12 +1,12 @@ //性别 const sexData=[ { - id:1, - tittle:'男' + id:1, + tittle:'男' }, { - id:2, - tittle:'女' + id:2, + tittle:'女' }, ]; // 用工关系选择列表 @@ -294,7 +294,25 @@ const positiongrade = [ tittle:'三级' } ]; - +//学位 +const academicDegree =[ + { + id:1, + title:'无' + }, + { + id:2, + title:'学士' + }, + { + id:3, + title:'硕士' + }, + { + id:4, + title:'博士' + }, +]; //注册定义的方法 export const peopleMethod= { sexData, @@ -305,7 +323,8 @@ export const peopleMethod= { politicsList, educationList, employmentType, - positiongrade + positiongrade, + academicDegree }; diff --git a/src/api/personnel/post.js b/src/api/personnel/post.js index 65d6170..090e4c2 100644 --- a/src/api/personnel/post.js +++ b/src/api/personnel/post.js @@ -355,4 +355,5 @@ export const newAddPeopleCont = (data) => { method: 'post', data: data }) -} \ No newline at end of file +} + diff --git a/src/api/systemaccredit/systemhrapi.js b/src/api/systemaccredit/systemhrapi.js index f2a8118..2b69ab3 100644 --- a/src/api/systemaccredit/systemhrapi.js +++ b/src/api/systemaccredit/systemhrapi.js @@ -68,4 +68,126 @@ export const getPersonneleDucationlist = (data) => { method: 'post', data: data }) +} + +//获取工作履历列表 +export const getWorkHistoryList = (data) => { + return request({ + url: '/staff/workhistorylist', + method: 'post', + data: data + }) +} + +//获取集团工作履历列表 +export const getInsiDeworkHistoryList = (data) => { + return request({ + url: '/staff/getinsideworkhistorylist', + method: 'post', + data: data + }) +} + +//获取资料完整度 +export const getDataIntegrity = (data) => { + return request({ + url: '/staff/get_peo_data_integrity', + method: 'post', + data: data + }) +} + +//编辑人员行政组织 +export const editManOrgCont = (data) => { + return request({ + url: '/staff/edit_man_org_cont', + method: 'post', + data: data + }) +} + +//编辑人员基本信息 +export const editManPeopleCont = (data) => { + return request({ + url: '/staff/edit_manmain_cont', + method: 'post', + data: data + }) +} + +//添加紧急联系人 +export const addEmercyCall = (data) => { + return request({ + url: '/staff/addemercycall', + method: 'post', + data: data + }) +} +//编辑紧急联系人状态 +export const editEmercyCallState = (data) => { + return request({ + url: '/staff/editemercycallstate', + method: 'post', + data: data + }) +} +//编辑紧急联系人信息 +export const editEmercyCallCont = (data) => { + return request({ + url: '/staff/editemercycall', + method: 'post', + data: data + }) +} + +//添加双职工 +export const AddDoubleWorker = (data) => { + return request({ + url: '/staff/adddoubleworker', + method: 'post', + data: data + }) +} +//编辑双职工信息 +export const EditDoubleWorker = (data) => { + return request({ + url: '/staff/eidtdoubleworker', + method: 'post', + data: data + }) +} +//编辑双职工信息 +export const editDoubleWorkerState = (data) => { + return request({ + url: '/staff/eidtdoubleworkerstate', + method: 'post', + data: data + }) +} + +//添加家庭成员 +export const addFamilyMembers = (data) => { + return request({ + url: '/staff/addfamilymembers', + method: 'post', + data: data + }) +} + +//编辑家庭成员 +export const editFamilyMembers = (data) => { + return request({ + url: '/staff/editfamilymembers', + method: 'post', + data: data + }) +} + +//编辑家庭成员 +export const editFamilyMembersState = (data) => { + return request({ + url: '/staff/editfamilymemberssatte', + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/src/views/hr/newhr/addpeople.vue b/src/views/hr/newhr/addpeople.vue index eb2e4df..5b8c9cb 100644 --- a/src/views/hr/newhr/addpeople.vue +++ b/src/views/hr/newhr/addpeople.vue @@ -212,16 +212,6 @@ :props="propsdepart" filterable> - - diff --git a/src/views/hr/newhr/employmentrelationship.vue b/src/views/hr/newhr/employmentrelationship.vue index af30c11..0d8c2d1 100644 --- a/src/views/hr/newhr/employmentrelationship.vue +++ b/src/views/hr/newhr/employmentrelationship.vue @@ -2,7 +2,37 @@ - 员工用工关系 + 集团年限信息 + + + 编辑 + + + + + + + + +
{{ userKey }}
+
{{ userKey }}
+
{{ userKey }}
+
{{ userKey }}
+ +
+ + + +
+
+ + + 公司职业信息 + + + +
{{ userKey }}
+
{{ userKey }}
+
{{ userKey }}
+
{{ userKey }}
+ +
+ + +
diff --git a/src/views/hr/newhr/familymembers.vue b/src/views/hr/newhr/familymembers.vue index b3103e4..ff7f16e 100644 --- a/src/views/hr/newhr/familymembers.vue +++ b/src/views/hr/newhr/familymembers.vue @@ -70,16 +70,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -241,6 +319,23 @@ export default { .col_text span{ margin-left: 25px; } + .col_text_but{ + line-height: 20px; + text-align: right; + padding-right: 10px; + } + .col_text_title{ + line-height: 20px; + text-align: right; + padding-right: 10px; + font-size: 12px; + } + .col_text_yuan{ + line-height: 25px; + text-align: right; + padding-right: 10px; + font-size: 12px; + } .font_icon{ margin-right: 5px; @@ -255,4 +350,16 @@ export default { /*font-size: 18px;*/ margin-left: 15px; } + .callback{ + text-align:right; + width:100%; + padding:0 10px 0 0; + } + .callback_ziliao{ + width:100%; + text-align: right; + font-size: 10px; + margin-top: 5px; + padding-right: 10px; + } \ No newline at end of file diff --git a/src/views/hr/newhr/peopleinfor.vue b/src/views/hr/newhr/peopleinfor.vue index d3a47b8..70ed61b 100644 --- a/src/views/hr/newhr/peopleinfor.vue +++ b/src/views/hr/newhr/peopleinfor.vue @@ -9,7 +9,7 @@ icon="el-icon-edit" size="small" type="text" - @click="showEditBase(scope.row)" + @click="showEditBase(myCont)" >编辑 @@ -26,10 +26,10 @@
{{ replace.health }}
{{ replace.maritalstatus }}
{{ replace.politicaloutlook }}
-
{{ myCont.birthday }}
+
{{ myCont.birthdaytime }}
{{ myCont.idcardno }}
-
{{ myCont.idcardstartdate }}
-
{{ myCont.idcardenddate }}
+
{{ myCont.idcardstarttimedata }}
+
{{ myCont.idcardendtimedata }}
{{ myCont.idcardaddress }}
{{ myCont.idcardIssued }}
{{ myCont.mobilephone }}
@@ -40,10 +40,10 @@
{{ replace.constellationing }}
{{ replace.hireclass }}
{{ replace.emptype }}
-
{{ myCont.entrydate }}
-
{{ myCont.probationperiod }}
-
{{ myCont.planformaldate }}
-
{{ myCont.jobstartdate }}
+
{{ myCont.entrydatetime }}
+
{{ myCont.probationperiod }}月
+
{{ myCont.planformaldatetime }}
+
{{ myCont.jobstartdatestr }}
{{ replace.isveterans }}
{{ myCont.veteransnumber }}
{{ myCont.passportno }}
@@ -65,7 +65,7 @@ icon="el-icon-edit" size="small" type="text" - @click="showEditBaseOrg(scope.row)" + @click="showEditBaseOrg(myCont)" >编辑 @@ -83,11 +83,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/hr/newhr/personneleducation.vue b/src/views/hr/newhr/personneleducation.vue index 6c7031c..c58f683 100644 --- a/src/views/hr/newhr/personneleducation.vue +++ b/src/views/hr/newhr/personneleducation.vue @@ -17,43 +17,71 @@ - + {{ item.graduationschool }} {{ item.subject }} + + + {{ item.educationname }} + + + + {{ item.academicdegreename }} + + + + {{ item.admissiontimestr }} + + + + {{ item.graduationtimestr }} + - - \ No newline at end of file diff --git a/src/views/hr/newhr/workhistory.vue b/src/views/hr/newhr/workhistory.vue index 9cb582f..56853c0 100644 --- a/src/views/hr/newhr/workhistory.vue +++ b/src/views/hr/newhr/workhistory.vue @@ -15,7 +15,76 @@ - + + + + + + + {{ item.starttimg }} + + + + {{ item.endtimg }} + + + + {{ item.changetypename }} + + + + + {{ item.postname }} + + + + {{ item.teamname }} + + + + {{ item.postname }} + + + + 主职 + 兼职 + + + + {{ item.allorgname }} + + + + @@ -33,26 +102,107 @@ - + + + + + + + {{ itemwai.starttimg }} + + + + {{ itemwai.endtimg }} + + + + {{ itemwai.company }} + + + + {{ itemwai.witness }} + + + + {{ itemwai.witnesstel }} + + + + {{ itemwai.remarks }} + + + + + + @@ -103,7 +253,11 @@ div::-webkit-scrollbar-track { text-align: right; padding-right: 5px; } -.cont_body{ - margin-top: 20px; +.cont_body_work{ + margin-bottom: 30px; + padding-right: 30px; +} +.my_label_ciw{ + width: 120px; } \ No newline at end of file