flat: 审核

This commit is contained in:
Apcallover
2024-04-18 20:50:22 +08:00
parent c5e9bd09f3
commit dced4cf379
12 changed files with 1679 additions and 1611 deletions

View File

@@ -23,7 +23,12 @@
import {
mapState
} from 'vuex'
let reviewStatus = {
'-1': '全部',
'0': "待审",
'1': "已审",
'9': "驳回",
};
export default {
data() {
return {}
@@ -60,13 +65,29 @@
})
uni.hideLoading()
if (resData.data.code === 200) {
if (resData.data.data) {
if (resData.data.data.haveCode) {
resolve()
} else {
// this.$api.msg('您未申请开通该功能,请联系工作人员')
this.navTo(
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
)
switch (resData.data.data.reviewStatus) {
case 0:
this.$api.msg('您的企业信息正在审核,请稍后再试')
break
case 1:
this.$api.msg('您的企业信息已经通过审核但未启用,请联系工作人员')
break
case 9:
this.navTo(
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
)
this.$api.sleep(1000).then(() => {
this.$api.msg('您的企业信息已被系统驳回,请重新上传')
})
break
default: // -1 未提交
this.navTo(
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
)
}
}
} else {
reject()

View File

@@ -216,11 +216,6 @@
cityId: Number(this.formData.cityId),
tradeId: Number(this.formData.tradeId),
}
let resData = await addInviteCompanyAuth(params)
console.log(resData)
if (resData.data.code === 200) {
_this.$api.msg('已完成企业信息认证')
}
const _this = this
this.$refs.formOne.validate().then(async (res) => {
let params = {
@@ -233,8 +228,10 @@
}
let resData = await addInviteCompanyAuth(params)
if (resData.data.code === 200) {
_this.$api.msg('已完成企业信息认证')
uni.navigateBack()
uni.navigateBack(1)
_this.$api.sleep(1000).then(() => {
_this.$api.msg('已完成企业信息认证')
})
}
}).catch(errors => {
console.log(errors)

View File

@@ -120,6 +120,12 @@
<u-form-item label="座机" prop="callNumber" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.callNumber" border="none" placeholder="请输入座机"></u--input>
</u-form-item>
<!-- <u-form-item label="工作地址" labelWidth="80" prop="jobAddress" borderBottom ref="item1"
@click="showjobAddress = true; hideKeyboard()">
<PickerList placeholder="请选择行业" :columns="dic.tradeArr" labelName="name" valueName="id"
:visibel="showjobAddress" v-model="info.jobAddress" @cancel="showjobAddress = false">
</PickerList>
</u-form-item> -->
<u-form-item label="详细地址" prop="address" borderBottom labelWidth="80" ref="item1">
<u--input v-model="info.address" border="none" placeholder="请输入详细地址"></u--input>
</u-form-item>
@@ -158,12 +164,17 @@
<script>
import dic from '@/common/dic.js'
// import area from '@/untils/area.js'
import {
submitInfo,
getWorktypesBaseList,
findTradeList,
getDictionary
} from '@/api/userrecruit.js'
import PickerList from './enterpriceCertification/pickerList.vue'
import {
mapGetters
} from 'vuex'
export default {
data() {
return {
@@ -185,6 +196,7 @@
showCalendar: false,
showStime: false,
showEtime: false,
showjobAddress: false,
info: {
jobName: '', // 招工名称
stime: '', // 发布时间
@@ -365,6 +377,9 @@
default: null,
}
},
components: {
PickerList
},
created() {
const {
id: staId,
@@ -372,6 +387,7 @@
} = dic.wageUnitCategoryState[0].filter(item => item.id == 3)[0]
this.info.wageUnitCategory = staId
this.info.wageUnitCategoryName = staLabel
// console.log(area)
this.getWorkTypes()
this.dictionary()
if (this.company) {