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({ return request({
url: '/api/jobslink-api/tenant/company/app/inviteCompany/auth', url: '/api/jobslink-api/tenant/company/app/inviteCompany/auth',
method: 'post', method: 'post',
params data: params
}) })
} }

View File

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

View File

@@ -2,29 +2,29 @@
<view v-if="showDetail"> <view v-if="showDetail">
<view class="head"> <view class="head">
<view class="proname"> <view class="proname">
{{info.missionTitle}} {{info.missionTitle || '暂无'}}
</view> </view>
<!-- <view class="prolist"> <!-- <view class="prolist">
任务编码{{info.missionNo}} 任务编码{{info.missionNo}}
</view> --> </view> -->
<view class="prolist"> <view class="prolist">
<!-- 开始时间{{dateFormat((info.stime))}}{{dateFormat((info.etime))}} --> <!-- 开始时间{{dateFormat((info.stime))}}{{dateFormat((info.etime))}} -->
开始时间{{dateFormat((info.stime))}} 开始时间{{dateFormat((info.stime)) || '暂无'}}
</view> </view>
<!-- <view class="prolist"> <!-- <view class="prolist">
报名截止{{dateFormat((info.etimePub))}} 报名截止{{dateFormat((info.etimePub))}}
</view> --> </view> -->
<view class="prolist"> <view class="prolist">
招聘人数{{info.peopleNum}} 招聘人数{{info.peopleNum || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
行业类型{{info.tradeNames}} 行业类型{{info.tradeNames || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
零工工种{{info.worktypeNames || '暂无'}} 零工工种{{info.worktypeNames || '暂无'}}
</view> </view>
<view class="fee"> <view class="fee">
{{info.wage}} {{info.wage || '暂无'}}
</view> </view>
</view> </view>
<view class="head"> <view class="head">
@@ -33,24 +33,24 @@
</view> </view>
<view class="prolist"> <view class="prolist">
<view class="protype"> <view class="protype">
年龄要求{{age[info.ageDesc]}} 年龄要求{{age[info.ageDesc] || '暂无'}}
</view> </view>
</view> </view>
<view class="prolist"> <view class="prolist">
<view class="protype"> <view class="protype">
学历要求{{education[info.education]}} 学历要求{{education[info.education] || '暂无'}}
</view> </view>
</view> </view>
<view class="prolist"> <view class="prolist">
<view class="protype"> <view class="protype">
经验要求{{experience[info.experienceDesc]}} 经验要求{{experience[info.experienceDesc] || '暂无'}}
</view> </view>
</view> </view>
<view class="prolist proint" style="font-weight: bold;color:#333;"> <view class="prolist proint" style="font-weight: bold;color:#333;">
任务描述 任务描述
</view> </view>
<view class="prolist description"> <view class="prolist description">
{{info.missionDesc}} {{info.missionDesc || '暂无'}}
</view> </view>
<!-- 技能标签 start --> <!-- 技能标签 start -->
<view class="ask"> <view class="ask">
@@ -60,14 +60,14 @@
</view> </view>
<!-- 技能标签 end --> <!-- 技能标签 end -->
<view v-if="info.jobSources" class="prolist"> <view v-if="info.jobSources" class="prolist">
来源{{info.jobSources}} 来源{{info.jobSources || '暂无'}}
</view> </view>
</view> </view>
<view class="head"> <view class="head">
<view style="display: flex;align-items: center;"> <view style="display: flex;align-items: center;">
<image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 20rpx;" mode=""> <image src="../../static/img/city.png" style="width: 40rpx;height: 40rpx;margin-right: 20rpx;" mode="">
</image> </image>
<view style="font-size: 30rpx;">{{info.companyName}}</view> <view style="font-size: 30rpx;">{{info.missionCompanyName || '暂无'}}</view>
</view> </view>
<!-- <view class="proname proneed"> <!-- <view class="proname proneed">
企业信息 企业信息
@@ -95,10 +95,10 @@
公司地址{{info.companyAddress || '暂无'}} 公司地址{{info.companyAddress || '暂无'}}
</view> --> </view> -->
<view class="prolist"> <view class="prolist">
工作地址{{cityNamed}} 工作地址{{cityNamed || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
详细地址{{info.address}} 详细地址{{info.address || '暂无'}}
</view> </view>
<map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
</view> </view>
@@ -414,12 +414,12 @@
} }
}, },
cityNamed() { cityNamed() {
console.log('val', this.info, this.area.dic)
if (this.info && this.info.cityId !== -1 && this.area.dic) { if (this.info && this.info.cityId !== -1 && this.area.dic) {
return this.area.dic[this.info.cityId].label return this.area.dic[this.info.cityId].label
} else { } else {
return '无' return '无'
} }
console.log('val', this.info)
} }
} }
} }

View File

@@ -2,22 +2,22 @@
<view v-if="showDetail"> <view v-if="showDetail">
<view class="head"> <view class="head">
<view class="proname"> <view class="proname">
{{info.jobName}} {{info.jobName || '暂无'}}
</view> </view>
<!-- <view class="prolist"> <!-- <view class="prolist">
任务编码{{info.missionNo}} 任务编码{{info.missionNo}}
</view> --> </view> -->
<view class="prolist"> <view class="prolist">
发布日期{{dateFormat((info.stime))}} 发布日期{{dateFormat((info.stime)) || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
招聘人数{{info.peopleNum}} 招聘人数{{info.peopleNum || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
行业类型{{info.tradeNames?info.tradeNames:info.jobCompanyIndustry}} 行业类型{{info.tradeNames?info.tradeNames:info.jobCompanyIndustry || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
岗位工种{{info.skillNames}} 岗位工种{{info.skillNames || '暂无'}}
</view> </view>
<!-- <view class="fee"> <!-- <view class="fee">
{{info.wage}}{{wageUnit[info.wageUnitCategory]}} {{info.wage}}{{wageUnit[info.wageUnitCategory]}}
@@ -34,7 +34,7 @@
</view> --> </view> -->
<view class="prolist"> <view class="prolist">
<view class="protype"> <view class="protype">
年龄要求{{age[info.ageDesc]}} 年龄要求{{age[info.ageDesc] || '暂无'}}
</view> </view>
</view> </view>
<view class="prolist"> <view class="prolist">
@@ -44,7 +44,7 @@
</view> </view>
<view class="prolist"> <view class="prolist">
<view class="protype"> <view class="protype">
经验要求{{info.experienceDesc}} 经验要求{{info.experienceDesc || '暂无'}}
</view> </view>
</view> </view>
@@ -65,7 +65,7 @@
</view> </view>
<!-- 技能标签 end --> <!-- 技能标签 end -->
<view v-if="info.jobSources" class="prolist"> <view v-if="info.jobSources" class="prolist">
来源{{info.jobSources}} 来源{{info.jobSources || '暂无'}}
</view> </view>
</view> </view>
<view class="head"> <view class="head">
@@ -103,7 +103,7 @@
工作地址{{`${info.province}${info.city}${info.county}` || '暂无'}} 工作地址{{`${info.province}${info.city}${info.county}` || '暂无'}}
</view> </view>
<view class="prolist"> <view class="prolist">
详细地址{{info.address}} 详细地址{{info.address || '暂无'}}
</view> </view>
<map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map> <map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
</view> </view>

View File

@@ -65,10 +65,10 @@ export default {
if (resData.data.data) { if (resData.data.data) {
resolve() resolve()
} else { } else {
this.$api.msg('您未申请开通该功能,请联系工作人员') // this.$api.msg('您未申请开通该功能,请联系工作人员')
// this.navTo( this.navTo(
// '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification' '/pages/recruit/subPage/enterpriceCertification/enterpriceCertification'
// ) )
} }
} else { } else {
reject() reject()

View File

@@ -211,22 +211,25 @@
}, },
async submit() { async submit() {
const _this = this const _this = this
this.$refs.formOne.validate().then(res => { this.$refs.formOne.validate().then(async (res) => {
_this.$api.msg('提交数据') 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 => { }).catch(errors => {
console.log(errors)
_this.$api.msg('请完善内容') _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() { reset() {
const _this = this const _this = this

View File

@@ -3,7 +3,7 @@ module.exports = {
port: 1887, port: 1887,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.1.109:8000', target: 'http://10.165.0.173:8000',
ws: true, ws: true,
pathRewrite: { pathRewrite: {
'^/api': '/' '^/api': '/'