flat: 添加工作地址、添加审核回填等

This commit is contained in:
Apcallover
2024-04-19 15:02:55 +08:00
parent dced4cf379
commit 4b8b50a923
10 changed files with 315 additions and 86 deletions

View File

@@ -86,7 +86,8 @@
import dic from '@/common/dic.js'
import PickerList from './pickerList.vue';
import {
addInviteCompanyAuth
addInviteCompanyAuth,
getInviteCompanyAuthInfo
} from '@/api/userrecruit.js'
import {
mapState
@@ -195,6 +196,11 @@
rules
};
},
onLoad(options) {
if (options.reviewStatus === '9') {
this.getInfo()
}
},
computed: {
...mapState({
authInfo: (state) => state.auth.authInfo,
@@ -238,6 +244,20 @@
_this.$api.msg('请完善内容')
})
},
async getInfo() {
let params = {
idNumber: this.authInfo.idNumber
}
let resData = await getInviteCompanyAuthInfo(params)
if (resData.data.code === 200) {
this.formData = {
...resData.data.data,
nature: String(resData.data.data.nature),
cityId: String(resData.data.data.cityId),
tradeId: String(resData.data.data.tradeId),
}
}
},
reset() {
const _this = this
uni.showModal({