flat: 修复

This commit is contained in:
Apcallover
2024-04-18 10:30:16 +08:00
parent 90983e1f9c
commit 6252068315
7 changed files with 4903 additions and 4870 deletions

View File

@@ -97,7 +97,7 @@ export const addInviteCompanyAuth = (params) => {
return request({
url: '/api/jobslink-api/tenant/company/app/inviteCompany/auth',
method: 'post',
params
data: params
})
}

View File

@@ -1,5 +1,4 @@
const companyList = [
{
const companyList = [{
missionNo: "0",
missionTitle: "公司名称公司名称公司名称公司名称公司名称1",
wage: 1000,
@@ -53,8 +52,7 @@ const companyInfo = {
age: "35岁以下",
education: 7,
experienceDesc: "不限要求",
missionDesc:
"<p>1.在任务期间内完成公司分配的工作任务;</p><p>2.在任务期间内遵守公司规章制度;</p><p>3.绩效工资,按劳分配工资,多劳多得;</p><p>4.最终解释权在长城宽带网络服务有限公司石家庄分公司。</p>",
missionDesc: "<p>1.在任务期间内完成公司分配的工作任务;</p><p>2.在任务期间内遵守公司规章制度;</p><p>3.绩效工资,按劳分配工资,多劳多得;</p><p>4.最终解释权在长城宽带网络服务有限公司石家庄分公司。</p>",
skillNames: "能力强,态度好,学习能力强,服务态度好,学习能力强,服务态度好",
companyName: "公司名称全程公司名称全程公司名称全程",
cityId: "130104",
@@ -65,30 +63,60 @@ const companyInfo = {
lat: 38.071944,
lon: 114.452893,
};
const skillLevel = [
{ id: "0", name: "初级" },
{ id: "1", name: "级" },
{ id: "2", name: "高级" },
];
const skill = [
const skillLevel = [{
id: "0",
name: "级"
},
{
id: "1",
name: "中级"
},
{
id: "2",
name: "高级"
},
];
const skill = [{
id: "0",
name: "设计师",
},
{ id: "1", name: "原画师" },
{ id: "2", name: "设计经理" },
{ id: "3", name: "设计师1" },
{ id: "4", name: "原画师2" },
{ id: "5", name: "设计经理3" },
];
const ind = [
{
id: "1",
name: "原画师"
},
{
id: "2",
name: "设计经理"
},
{
id: "3",
name: "设计师1"
},
{
id: "4",
name: "原画师2"
},
{
id: "5",
name: "设计经理3"
},
];
const ind = [{
id: "0",
name: "建筑设计类",
},
{ id: "1", name: "酒店餐饮类" },
{ id: "2", name: "软件开发类" },
{ id: "3", name: "软件开发类" },
{
id: "1",
name: "酒店餐饮类"
},
{
id: "2",
name: "软件开发类"
},
{
id: "3",
name: "软件开发类"
},
];
const city = {
0: {
@@ -4625,8 +4653,7 @@ const city = {
},
"0,990000,990100": [],
};
const markList = [
{
const markList = [{
id: 1,
latitude: "38.071944",
longitude: "114.452893",
@@ -4639,8 +4666,7 @@ const markList = [
iconPath: "../../static/img/location.svg",
},
];
const inpoints = [
{
const inpoints = [{
latitude: "38.071944",
longitude: "114.452893",
},
@@ -4650,13 +4676,17 @@ const inpoints = [
},
];
const wageUnit = {
0: "元/人·次",
// 0: "元/人·次",
// 1: "元/人·时",
// 2: "元/人·天",
// 3: "元/人·周",
// 4: "元/人·月",
// 5: "元/人·个",
// 6: "元/人·件",
1: "元/人·时",
2: "元/人·天",
3: "元/人·",
4: "元/人·月",
5: "元/人·个",
6: "元/人·件",
3: "元/人·",
4: "其他",
};
const personRequire = {
农村劳动力: "农村劳动力",
@@ -4707,7 +4737,7 @@ const laborType = [
"残疾人",
"外来农民工",
];
const insureType = ["已缴纳城乡居民社保", "已缴纳灵活就业社保","已缴纳城镇企业职工社保"];
const insureType = ["已缴纳城乡居民社保", "已缴纳灵活就业社保", "已缴纳城镇企业职工社保"];
export default {
ind,

View File

@@ -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)
}
}
}

View File

@@ -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>

View File

@@ -17,14 +17,14 @@
</template>
<script>
import {
import {
seeIsHaveCodep
} from '@/api/userrecruit.js'
import {
} from '@/api/userrecruit.js'
import {
mapState
} from 'vuex'
} from 'vuex'
export default {
export default {
data() {
return {
@@ -65,10 +65,10 @@ export default {
if (resData.data.data) {
resolve()
} else {
this.$api.msg('您未申请开通该功能,请联系工作人员')
// this.navTo(
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
// )
// this.$api.msg('您未申请开通该功能,请联系工作人员')
this.navTo(
'/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
)
}
} else {
reject()
@@ -76,11 +76,11 @@ export default {
})
}
}
}
}
</script>
<style lang="scss">
.container {
.container {
padding: 60rpx;
.select {
@@ -125,5 +125,5 @@ export default {
}
}
}
}
</style>

View File

@@ -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

View File

@@ -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': '/'