flat: 修改全职岗位和零工岗位问题
This commit is contained in:
@@ -31,11 +31,15 @@
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
idNumber: (state) => state.auth.authInfo.idNumber
|
||||
idNumber: (state) => {
|
||||
console.log(state.auth.authInfo, 'auth.authInfo')
|
||||
return state.auth.authInfo.idNumber
|
||||
}
|
||||
}),
|
||||
},
|
||||
methods: {
|
||||
next(type) {
|
||||
next(type) {
|
||||
// return this.$api.msg('该功能正在完善中')
|
||||
switch (type) {
|
||||
case 0:
|
||||
this.isHaveCode(this.idNumber).then(() => {
|
||||
@@ -63,7 +67,10 @@
|
||||
if (resData.data.code === 200) {
|
||||
if (resData.data.data.haveCode) {
|
||||
resolve()
|
||||
} else {
|
||||
} else {
|
||||
|
||||
return this.$api.msg('系统正在建设中')
|
||||
|
||||
switch (resData.data.data.reviewStatus) {
|
||||
case 0:
|
||||
this.$api.msg('您提交的认证信息正在审核中')
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<view class="condition">
|
||||
<view class="cond_list" v-if="pageType === 'enterprise'">
|
||||
<view v-for="(item, index) in arrTitle" :key="index"
|
||||
:class="['cond_item', index === currentArrTitleID ? 'activeButton' : '']" @click="changeTab(item)">
|
||||
:class="['cond_item', item.id === currentArrTitleID ? 'activeButton' : '']" @click="changeTab(item)">
|
||||
{{ item.text }}
|
||||
</view>
|
||||
</view>
|
||||
@@ -39,10 +39,12 @@
|
||||
} from '@/api/userrecruit.js'
|
||||
import userrecruitList from '../components/userrecruitList.vue'
|
||||
let arrGuide = ['在线填写招工需求', '后台审核沟通发布', '平台展示招工信息'];
|
||||
let arrTitle = [{
|
||||
text: "发布零工岗位",
|
||||
id: 0
|
||||
}, {
|
||||
let arrTitle = [
|
||||
// {
|
||||
// text: "发布零工岗位",
|
||||
// id: 0
|
||||
// },
|
||||
{
|
||||
text: "发布全职岗位",
|
||||
id: 1
|
||||
}
|
||||
@@ -76,7 +78,7 @@
|
||||
reviewStatus,
|
||||
pickerColumns,
|
||||
openPicker: false,
|
||||
currentArrTitleID: 2,
|
||||
currentArrTitleID: 1,
|
||||
currentReviewStatusID: '-1',
|
||||
pageNumber: 1,
|
||||
dataSource: [],
|
||||
@@ -87,7 +89,7 @@
|
||||
}) {
|
||||
if (this.enterprise) {
|
||||
this.pageType = 'enterprise'
|
||||
this.currentArrTitleID = 0
|
||||
this.currentArrTitleID = 1
|
||||
}
|
||||
this.getList('refresh')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user