flat: 修复
This commit is contained in:
@@ -97,7 +97,7 @@ export const addInviteCompanyAuth = (params) => {
|
||||
return request({
|
||||
url: '/api/jobslink-api/tenant/company/app/inviteCompany/auth',
|
||||
method: 'post',
|
||||
params
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
9478
common/textdata.js
9478
common/textdata.js
File diff suppressed because it is too large
Load Diff
@@ -2,29 +2,29 @@
|
||||
<view v-if="showDetail">
|
||||
<view class="head">
|
||||
<view class="proname">
|
||||
{{info.missionTitle}}
|
||||
{{info.missionTitle || '暂无'}}
|
||||
</view>
|
||||
<!-- <view class="prolist">
|
||||
任务编码:{{info.missionNo}}
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
<!-- 开始时间:{{dateFormat((info.stime))}}至{{dateFormat((info.etime))}} -->
|
||||
开始时间:{{dateFormat((info.stime))}}
|
||||
开始时间:{{dateFormat((info.stime)) || '暂无'}}
|
||||
</view>
|
||||
<!-- <view class="prolist">
|
||||
报名截止:{{dateFormat((info.etimePub))}}
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
招聘人数:{{info.peopleNum}}
|
||||
招聘人数:{{info.peopleNum || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
行业类型:{{info.tradeNames}}
|
||||
行业类型:{{info.tradeNames || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
零工工种:{{info.worktypeNames || '暂无'}}
|
||||
</view>
|
||||
<view class="fee">
|
||||
{{info.wage}}
|
||||
{{info.wage || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="head">
|
||||
@@ -33,24 +33,24 @@
|
||||
</view>
|
||||
<view class="prolist">
|
||||
<view class="protype">
|
||||
年龄要求:{{age[info.ageDesc]}}
|
||||
年龄要求:{{age[info.ageDesc] || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="prolist">
|
||||
<view class="protype">
|
||||
学历要求:{{education[info.education]}}
|
||||
学历要求:{{education[info.education] || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="prolist">
|
||||
<view class="protype">
|
||||
经验要求:{{experience[info.experienceDesc]}}
|
||||
经验要求:{{experience[info.experienceDesc] || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="prolist proint" style="font-weight: bold;color:#333;">
|
||||
任务描述
|
||||
</view>
|
||||
<view class="prolist description">
|
||||
{{info.missionDesc}}
|
||||
{{info.missionDesc || '暂无'}}
|
||||
</view>
|
||||
<!-- 技能标签 start -->
|
||||
<view class="ask">
|
||||
@@ -60,14 +60,14 @@
|
||||
</view>
|
||||
<!-- 技能标签 end -->
|
||||
<view v-if="info.jobSources" class="prolist">
|
||||
来源:{{info.jobSources}}
|
||||
来源:{{info.jobSources || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="head">
|
||||
<view style="display: flex;align-items: center;">
|
||||
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 20rpx;" mode="">
|
||||
</image>
|
||||
<view style="font-size: 30rpx;">{{info.companyName}}</view>
|
||||
<view style="font-size: 30rpx;">{{info.missionCompanyName || '暂无'}}</view>
|
||||
</view>
|
||||
<!-- <view class="proname proneed">
|
||||
企业信息
|
||||
@@ -95,10 +95,10 @@
|
||||
公司地址:{{info.companyAddress || '暂无'}}
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
工作地址:{{cityNamed}}
|
||||
工作地址:{{cityNamed || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
详细地址:{{info.address}}
|
||||
详细地址:{{info.address || '暂无'}}
|
||||
</view>
|
||||
<map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
|
||||
</view>
|
||||
@@ -414,12 +414,12 @@
|
||||
}
|
||||
},
|
||||
cityNamed() {
|
||||
console.log('val', this.info, this.area.dic)
|
||||
if (this.info && this.info.cityId !== -1 && this.area.dic) {
|
||||
return this.area.dic[this.info.cityId].label
|
||||
} else {
|
||||
return '无'
|
||||
}
|
||||
console.log('val', this.info)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
<view v-if="showDetail">
|
||||
<view class="head">
|
||||
<view class="proname">
|
||||
{{info.jobName}}
|
||||
{{info.jobName || '暂无'}}
|
||||
</view>
|
||||
<!-- <view class="prolist">
|
||||
任务编码:{{info.missionNo}}
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
发布日期:{{dateFormat((info.stime))}}
|
||||
发布日期:{{dateFormat((info.stime)) || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
招聘人数:{{info.peopleNum}}
|
||||
招聘人数:{{info.peopleNum || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
行业类型:{{info.tradeNames?info.tradeNames:info.jobCompanyIndustry}}
|
||||
行业类型:{{info.tradeNames?info.tradeNames:info.jobCompanyIndustry || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
岗位工种:{{info.skillNames}}
|
||||
岗位工种:{{info.skillNames || '暂无'}}
|
||||
</view>
|
||||
<!-- <view class="fee">
|
||||
{{info.wage}}{{wageUnit[info.wageUnitCategory]}}
|
||||
@@ -34,7 +34,7 @@
|
||||
</view> -->
|
||||
<view class="prolist">
|
||||
<view class="protype">
|
||||
年龄要求:{{age[info.ageDesc]}}
|
||||
年龄要求:{{age[info.ageDesc] || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="prolist">
|
||||
@@ -44,7 +44,7 @@
|
||||
</view>
|
||||
<view class="prolist">
|
||||
<view class="protype">
|
||||
经验要求:{{info.experienceDesc}}
|
||||
经验要求:{{info.experienceDesc || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</view>
|
||||
<!-- 技能标签 end -->
|
||||
<view v-if="info.jobSources" class="prolist">
|
||||
来源:{{info.jobSources}}
|
||||
来源:{{info.jobSources || '暂无'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="head">
|
||||
@@ -103,7 +103,7 @@
|
||||
工作地址:{{`${info.province}${info.city}${info.county}` || '暂无'}}
|
||||
</view>
|
||||
<view class="prolist">
|
||||
详细地址:{{info.address}}
|
||||
详细地址:{{info.address || '暂无'}}
|
||||
</view>
|
||||
<map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
|
||||
</view>
|
||||
|
||||
@@ -1,129 +1,129 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<view class="select">用工单位发布招工</view>
|
||||
<view class="select-text">提交申请资料,通过认证后才可快速发布招工信息</view>
|
||||
<view class="select-text">第一步:首次开通,点击“我要招工”填写信息;</view>
|
||||
<view class="select-text">第二步:提交认证资料,后台服务员审核资料;</view>
|
||||
<view class="select-text">第三步:如通过认证后,即可发布招工信息;</view>
|
||||
<!-- <view class="block" @click="next(0)">
|
||||
<view class="container">
|
||||
<view class="select">用工单位发布招工</view>
|
||||
<view class="select-text">提交申请资料,通过认证后才可快速发布招工信息</view>
|
||||
<view class="select-text">第一步:首次开通,点击“我要招工”填写信息;</view>
|
||||
<view class="select-text">第二步:提交认证资料,后台服务员审核资料;</view>
|
||||
<view class="select-text">第三步:如通过认证后,即可发布招工信息;</view>
|
||||
<!-- <view class="block" @click="next(0)">
|
||||
<img src="../../static/img/zhao_icon1.png" alt="" />
|
||||
<view class="block-text">个体户招工</view>
|
||||
</view> -->
|
||||
<view class="block" @click="next(1)">
|
||||
<img src="../../static/img/zhao_icon2.png" alt="" />
|
||||
<view class="block-text" style="background-color: #4171F9;">我要招工</view>
|
||||
<view class="block" @click="next(1)">
|
||||
<img src="../../static/img/zhao_icon2.png" alt="" />
|
||||
<view class="block-text" style="background-color: #4171F9;">我要招工</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
seeIsHaveCodep
|
||||
} from '@/api/userrecruit.js'
|
||||
import {
|
||||
mapState
|
||||
} from 'vuex'
|
||||
import {
|
||||
seeIsHaveCodep
|
||||
} from '@/api/userrecruit.js'
|
||||
import {
|
||||
mapState
|
||||
} from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
idNumber: (state) => state.auth.authInfo.idNumber
|
||||
}),
|
||||
},
|
||||
methods: {
|
||||
next(type) {
|
||||
switch (type) {
|
||||
case 0:
|
||||
this.isHaveCode(this.idNumber).then(() => {
|
||||
this.$store.commit('setEnterprise', type)
|
||||
this.navTo('/pages/recruit/subPage/index?type=none')
|
||||
})
|
||||
break;
|
||||
case 1:
|
||||
this.isHaveCode(this.idNumber).then(() => {
|
||||
this.$store.commit('setEnterprise', type)
|
||||
this.navTo('/pages/recruit/subPage/index?type=enterprise')
|
||||
})
|
||||
break;
|
||||
}
|
||||
},
|
||||
isHaveCode(idNumber) {
|
||||
uni.showLoading({
|
||||
title: '请求中'
|
||||
})
|
||||
return new Promise(async (resolve, reject) => {
|
||||
let resData = await seeIsHaveCodep({
|
||||
idNumber
|
||||
})
|
||||
uni.hideLoading()
|
||||
if (resData.data.code === 200) {
|
||||
if (resData.data.data) {
|
||||
resolve()
|
||||
} else {
|
||||
this.$api.msg('您未申请开通该功能,请联系工作人员')
|
||||
// this.navTo(
|
||||
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||
// )
|
||||
}
|
||||
} else {
|
||||
reject()
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
idNumber: (state) => state.auth.authInfo.idNumber
|
||||
}),
|
||||
},
|
||||
methods: {
|
||||
next(type) {
|
||||
switch (type) {
|
||||
case 0:
|
||||
this.isHaveCode(this.idNumber).then(() => {
|
||||
this.$store.commit('setEnterprise', type)
|
||||
this.navTo('/pages/recruit/subPage/index?type=none')
|
||||
})
|
||||
break;
|
||||
case 1:
|
||||
this.isHaveCode(this.idNumber).then(() => {
|
||||
this.$store.commit('setEnterprise', type)
|
||||
this.navTo('/pages/recruit/subPage/index?type=enterprise')
|
||||
})
|
||||
break;
|
||||
}
|
||||
},
|
||||
isHaveCode(idNumber) {
|
||||
uni.showLoading({
|
||||
title: '请求中'
|
||||
})
|
||||
return new Promise(async (resolve, reject) => {
|
||||
let resData = await seeIsHaveCodep({
|
||||
idNumber
|
||||
})
|
||||
uni.hideLoading()
|
||||
if (resData.data.code === 200) {
|
||||
if (resData.data.data) {
|
||||
resolve()
|
||||
} else {
|
||||
// this.$api.msg('您未申请开通该功能,请联系工作人员')
|
||||
this.navTo(
|
||||
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
|
||||
)
|
||||
}
|
||||
} else {
|
||||
reject()
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.container {
|
||||
padding: 60rpx;
|
||||
.container {
|
||||
padding: 60rpx;
|
||||
|
||||
.select {
|
||||
font-size: 36rpx;
|
||||
color: #000;
|
||||
}
|
||||
.select {
|
||||
font-size: 36rpx;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.select-text {
|
||||
font-size: 28rpx;
|
||||
color: #999;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.select-text {
|
||||
font-size: 28rpx;
|
||||
color: #999;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.block {
|
||||
width: 100%;
|
||||
height: 300rpx;
|
||||
border-radius: 20rpx;
|
||||
background-color: #f3f4f8;
|
||||
margin: 40rpx auto;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.block {
|
||||
width: 100%;
|
||||
height: 300rpx;
|
||||
border-radius: 20rpx;
|
||||
background-color: #f3f4f8;
|
||||
margin: 40rpx auto;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.block-text {
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
position: absolute;
|
||||
width: 180rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 30rpx;
|
||||
background-color: #45D4B6;
|
||||
text-align: center;
|
||||
line-height: 60rpx;
|
||||
right: 20rpx;
|
||||
top: 50%;
|
||||
margin-top: -30rpx;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 300rpx;
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.block-text {
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
position: absolute;
|
||||
width: 180rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 30rpx;
|
||||
background-color: #45D4B6;
|
||||
text-align: center;
|
||||
line-height: 60rpx;
|
||||
right: 20rpx;
|
||||
top: 50%;
|
||||
margin-top: -30rpx;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 300rpx;
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
@@ -211,22 +211,25 @@
|
||||
},
|
||||
async submit() {
|
||||
const _this = this
|
||||
this.$refs.formOne.validate().then(res => {
|
||||
_this.$api.msg('提交数据')
|
||||
this.$refs.formOne.validate().then(async (res) => {
|
||||
let params = {
|
||||
..._this.formData,
|
||||
nature: Number(_this.formData.nature),
|
||||
cityId: Number(_this.formData.cityId),
|
||||
tradeId: Number(_this.formData.tradeId),
|
||||
manager: _this.authInfo.realName,
|
||||
idNumber: _this.authInfo.idNumber
|
||||
}
|
||||
let resData = await addInviteCompanyAuth(params)
|
||||
if (resData.data.code === 200) {
|
||||
_this.$api.msg('已完成企业信息认证')
|
||||
uni.navigateBack()
|
||||
}
|
||||
}).catch(errors => {
|
||||
console.log(errors)
|
||||
_this.$api.msg('请完善内容')
|
||||
})
|
||||
// let params = {
|
||||
// ...this.formData,
|
||||
// nature: Number(this.formData.nature),
|
||||
// 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('已完成企业信息认证')
|
||||
// }
|
||||
|
||||
},
|
||||
reset() {
|
||||
const _this = this
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports = {
|
||||
port: 1887,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://192.168.1.109:8000',
|
||||
target: 'http://10.165.0.173:8000',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
|
||||
Reference in New Issue
Block a user