diff --git a/api/index.js b/api/index.js index 07f04b2..1808746 100644 --- a/api/index.js +++ b/api/index.js @@ -11,6 +11,7 @@ export const getElectronicWorkCard = (params) => post("/app/user/getUserDetailIn export const getElectronicWorkCardQRCode = (params) => post("/app/user/generateQRCodeImageByUserId", params) // 电子工牌二维码 export const getEmployedBy = (params) => post("/app/employmentApplyManagement/getEmploymentRecordByUserIdOrCorpInfoId", params) // 就职单位列表 export const setResignationApplication = (params) => post("/app/employmentApplyManagement/edit", params) // 离职申请 +export const resign = (params) => post("/app/user/resign", params) // 离职申请 export const setRelatedPartyScanning = (params) => post("/app/user/updateUserInfoAfterScanQRCode", params) // 相关方扫码 export const getDataDictionary = (params) => post("/app/dictionaries/getLevels", params) // 数据字典 export const setUploadAttachments = (params) => upload("/app/imgFiles/addSingleImg", params) // 上传附件 @@ -26,6 +27,7 @@ export const getVersion = (params) => post("/app/versionmanager/getVersion", par export const setUpdatePassword = (params) => post("/app/user/editUserPasswordByUserId", params) //修改密码 export const getUserInfo = (params) => post("/app/user/getDetailByUserIdAndCorpInfoId", params) //用户信息 export const setUserInfo = (params) => post("/app/user/edit", params) //修改用户信息 +export const setEntry = (params) => post("/app/user/entry", params) //用户入职 export const getCertificateInformationList = (params) => post("/app/specialUser/list", params) //证书信息列表 export const getCertificateInformationView = (params) => post("/app/specialUser/goEdit", params) //证书信息查看 export const setCertificateInformationAdd = (params) => uploads("/app/specialUser/add", params) //证书信息添加 diff --git a/pages/employed_by/index.vue b/pages/employed_by/index.vue index d162ccc..4fe1361 100644 --- a/pages/employed_by/index.vue +++ b/pages/employed_by/index.vue @@ -43,7 +43,7 @@ - diff --git a/pages/employed_by/resignation_application.vue b/pages/employed_by/resignation_application.vue index 6a0a748..65cc510 100644 --- a/pages/employed_by/resignation_application.vue +++ b/pages/employed_by/resignation_application.vue @@ -20,7 +20,7 @@