flat: 添加工作地址、添加审核回填等
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user