flat: 修改全职岗位和零工岗位问题
This commit is contained in:
@@ -58,7 +58,8 @@ export const setResume = ({
|
|||||||
education,
|
education,
|
||||||
wage,
|
wage,
|
||||||
workplace,
|
workplace,
|
||||||
telephone,
|
telephone,
|
||||||
|
wageUpper,
|
||||||
workExperience
|
workExperience
|
||||||
}) => {
|
}) => {
|
||||||
return request({
|
return request({
|
||||||
@@ -70,7 +71,8 @@ export const setResume = ({
|
|||||||
wage,
|
wage,
|
||||||
workplace,
|
workplace,
|
||||||
telephone,
|
telephone,
|
||||||
workExperience
|
workExperience,
|
||||||
|
wageUpper,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -65,6 +65,12 @@
|
|||||||
// uni.switchTab({
|
// uni.switchTab({
|
||||||
// url: item.path
|
// url: item.path
|
||||||
// })
|
// })
|
||||||
|
if (item.id === 1) {
|
||||||
|
return uni.showToast({
|
||||||
|
icon: "none",
|
||||||
|
title: '系统正在升级完善',
|
||||||
|
})
|
||||||
|
}
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: item.path
|
url: item.path
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="head_right">
|
<view class="head_right">
|
||||||
{{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }}
|
{{ companyitem.wage }}
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -7,7 +7,9 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="head_right">
|
<view class="head_right">
|
||||||
{{ companyitem.wage }} {{ wageUnit[companyitem.wageUnitCategory] }}
|
{{ companyitem.wage }}
|
||||||
|
<!-- 后台处理 单位-->
|
||||||
|
<!-- {{ wageUnit[companyitem.wageUnitCategory] }} -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="ask">
|
<view class="ask">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="head_right">
|
<view class="head_right">
|
||||||
{{ companyitem.wage }}{{ wageUnit[companyitem.wageUnitCategory] }}
|
{{ companyitem.wage }}~{{companyitem.wageUpper}}{{ wageUnit[companyitem.wageUnitCategory] }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="ask">
|
<view class="ask">
|
||||||
|
|||||||
164
manifest.json
164
manifest.json
@@ -1,82 +1,82 @@
|
|||||||
{
|
{
|
||||||
"name": "招聘",
|
"name" : "招聘",
|
||||||
"appid": "__UNI__2BC0F87",
|
"appid" : "__UNI__120CBFC",
|
||||||
"description": "",
|
"description" : "",
|
||||||
"versionName": "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode": "100",
|
"versionCode" : "100",
|
||||||
"transformPx": false,
|
"transformPx" : false,
|
||||||
"sassImplementationName": "node-sass",
|
"sassImplementationName" : "node-sass",
|
||||||
"app-plus": {
|
"app-plus" : {
|
||||||
"usingComponents": true,
|
"usingComponents" : true,
|
||||||
"compilerVersion": 3,
|
"compilerVersion" : 3,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"modules": {},
|
"modules" : {},
|
||||||
/* 模块配置 */
|
/* 模块配置 */
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
/* 应用发布信息 */
|
/* 应用发布信息 */
|
||||||
"android": {
|
"android" : {
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"permissions": [
|
"permissions" : [
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
|
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
|
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ios": {},
|
"ios" : {},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"sdkConfigs": {}
|
"sdkConfigs" : {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"quickapp": {},
|
"quickapp" : {},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"mp-weixin": {
|
"mp-weixin" : {
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"appid": "wx77580889aaf15eb4",
|
"appid" : "wx77580889aaf15eb4",
|
||||||
"setting": {
|
"setting" : {
|
||||||
"urlCheck": false,
|
"urlCheck" : false,
|
||||||
"minified": true,
|
"minified" : true,
|
||||||
"es6": true
|
"es6" : true
|
||||||
},
|
},
|
||||||
"usingComponents": true,
|
"usingComponents" : true,
|
||||||
"permission": {
|
"permission" : {
|
||||||
"scope.userLocation": {
|
"scope.userLocation" : {
|
||||||
"desc": "获取您的位置,以便给您推荐合适工作信息"
|
"desc" : "获取您的位置,以便给您推荐合适工作信息"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"h5": {
|
"h5" : {
|
||||||
"sdkConfigs": {
|
"sdkConfigs" : {
|
||||||
"maps": {}
|
"maps" : {}
|
||||||
},
|
},
|
||||||
"template": "index.html",
|
"template" : "index.html",
|
||||||
"router": {
|
"router" : {
|
||||||
"base": "./",
|
"base" : "./",
|
||||||
"mode": "hash"
|
"mode" : "hash"
|
||||||
},
|
},
|
||||||
"optimization": {
|
"optimization" : {
|
||||||
"treeShaking": {
|
"treeShaking" : {
|
||||||
"enable": true
|
"enable" : true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
}) => {
|
}) => {
|
||||||
console.log('detail,', detail)
|
console.log('detail,', detail)
|
||||||
// this.skillsId = id
|
// this.skillsId = id
|
||||||
this.skillsName = `${detail.parentLabel}-${detail.parentTwoLabel}-${detail.label}`
|
this.skillsName = `${detail.parentLabel}-${detail.label}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -113,10 +113,12 @@
|
|||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
skillLevel: function() {
|
skillLevel: function() {
|
||||||
|
uni.navigateTo({
|
||||||
uni.navigateTo({
|
url: `./skill?id=${this.worktypesId}&tradeId=${this.tradeId}&maxLayer=2&type=2`
|
||||||
url: `./skillLevel?id=${this.skillsId}&worktypesId=${this.worktypesId}&maxLayer=3&type=2`
|
|
||||||
})
|
})
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: `./skillLevel?id=${this.skillsId}&worktypesId=${this.worktypesId}&maxLayer=3&type=2`
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
submit: async function() {
|
submit: async function() {
|
||||||
// console.log(this.tradeName, this.worktypesName, this.skillsName);
|
// console.log(this.tradeName, this.worktypesName, this.skillsName);
|
||||||
|
|||||||
@@ -31,8 +31,10 @@
|
|||||||
<view class="list_text">
|
<view class="list_text">
|
||||||
{{ item.worktypes }}、{{ item.skills }}
|
{{ item.worktypes }}、{{ item.skills }}
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view class="delt" @click="removeSkills(item.id, index)">
|
||||||
<image src="../../../static/img/left_right.png" mode=""></image>
|
删除
|
||||||
|
<!-- 向右滑动删除 -->
|
||||||
|
<!-- <image src="../../../static/img/left_right.png" mode=""></image> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</m-slide-list>
|
</m-slide-list>
|
||||||
@@ -74,17 +76,21 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<image src="../../../static/img/right.svg" mode=""></image>
|
<image src="../../../static/img/right.svg" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="jobcontent" @click="showPickerFunc('wage')">
|
<!-- @click="showPickerFunc('wage')" -->
|
||||||
|
<view class="jobcontent" >
|
||||||
<view class="jobinfo">
|
<view class="jobinfo">
|
||||||
<view v-bind:class="['jobAddress', { 'input-error': !myResume.wage && isShowBorder }]">
|
<view v-bind:class="['jobAddress', { 'input-error': !myResume.wage && isShowBorder }]">
|
||||||
我的期望薪资
|
我的期望薪资
|
||||||
</view>
|
</view>
|
||||||
<view v-bind:class="['jobText']">
|
<view v-bind:class="['jobText', 'jobDis']">
|
||||||
{{ myResume.wage ? myResume.wage : '请选择' }}
|
<!-- {{ myResume.wage ? myResume.wage : '请选择' }} -->
|
||||||
|
|
||||||
|
<u--input type="number" border="none" @focus="change1" @change="change($event, 'wage')" :value="myResume.wage" placeholder="请输入期望薪资范围" class="jobNumber" /><span>~</span>
|
||||||
|
<u--input type="number" border="none" @focus="change1" @change="change($event, 'wageUpper')" :value="myResume.wageUpper" placeholder="请输入期望薪资范围" class="jobNumber" /><span>元/月</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<image src="../../../static/img/right.svg" mode=""></image>
|
<!-- <image src="../../../static/img/right.svg" mode=""></image> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="jobcontent">
|
<view class="jobcontent">
|
||||||
<view class="jobinfo">
|
<view class="jobinfo">
|
||||||
@@ -165,7 +171,7 @@
|
|||||||
<!-- 省市 -->
|
<!-- 省市 -->
|
||||||
<data-picker :show="areaModal.addressShow" @confirm='confirmAddress' @cancel='areaModal.addressShow = false'
|
<data-picker :show="areaModal.addressShow" @confirm='confirmAddress' @cancel='areaModal.addressShow = false'
|
||||||
@close='areaModal.addressShow = false' :defaultNames="areaModal.defaultNames" :indexs="areaModal.indexs"
|
@close='areaModal.addressShow = false' :defaultNames="areaModal.defaultNames" :indexs="areaModal.indexs"
|
||||||
:defaultIds="areaModal.defaultIds" :showToolbar="false" :showBottombar="true"
|
:defaultIds="areaModal.defaultIds" :showToolbar="false" :showBottombar="true" :sourceData=areaData
|
||||||
:labelName="areaModal.labelName"></data-picker>
|
:labelName="areaModal.labelName"></data-picker>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -191,7 +197,9 @@
|
|||||||
import {
|
import {
|
||||||
cloneDeep,
|
cloneDeep,
|
||||||
forIn
|
forIn
|
||||||
} from 'lodash';
|
} from 'lodash';
|
||||||
|
import area from "./province-city-county.json"
|
||||||
|
|
||||||
const validateForm = {
|
const validateForm = {
|
||||||
name: '请输入企业名称',
|
name: '请输入企业名称',
|
||||||
work: '请输入工作岗位',
|
work: '请输入工作岗位',
|
||||||
@@ -217,7 +225,8 @@
|
|||||||
city: {},
|
city: {},
|
||||||
education: {},
|
education: {},
|
||||||
wage: "",
|
wage: "",
|
||||||
phone: "",
|
phone: "",
|
||||||
|
wageUpper: ''
|
||||||
},
|
},
|
||||||
mySkills: [],
|
mySkills: [],
|
||||||
id: undefined,
|
id: undefined,
|
||||||
@@ -241,12 +250,14 @@
|
|||||||
address: '',
|
address: '',
|
||||||
addressShow: false,
|
addressShow: false,
|
||||||
title: 'Hello',
|
title: 'Hello',
|
||||||
// indexs: [0, 0, 8],
|
indexs: [0,0],
|
||||||
// defaultIds: [1, 110000, 110106],
|
// defaultIds: [1, 110000, 110106],
|
||||||
defaultNames: ['北京市', '北京市', '东城区'],
|
// defaultNames: ['北京市', '北京市', '东城区'],
|
||||||
|
// defaultNames: ['德阳市', '旌阳区'],
|
||||||
labelName: "areaName"
|
labelName: "areaName"
|
||||||
|
|
||||||
},
|
},
|
||||||
|
areaData: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -254,7 +265,11 @@
|
|||||||
GoLogin()
|
GoLogin()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.getSkill()
|
this.getSkill()
|
||||||
|
// this.areaData = area.find(i => i.id === 510000).children
|
||||||
|
const areaObj = area.find(i => i.id === 510000).children
|
||||||
|
const areaObj1 = areaObj.find(i => i.id === 510600)
|
||||||
|
this.areaData = [areaObj1]
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getResume()
|
this.getResume()
|
||||||
@@ -265,7 +280,7 @@
|
|||||||
watch: {
|
watch: {
|
||||||
myResume: {
|
myResume: {
|
||||||
handler: function(newVal, oldVal) {
|
handler: function(newVal, oldVal) {
|
||||||
if (newVal.city && newVal.education && newVal.wage && newVal.phone) {
|
if (newVal.city && newVal.education && newVal.wage && newVal.phone && newVal.wageUpper) {
|
||||||
this.canSubMit = true;
|
this.canSubMit = true;
|
||||||
} else {
|
} else {
|
||||||
this.canSubMit = false;
|
this.canSubMit = false;
|
||||||
@@ -346,7 +361,8 @@
|
|||||||
education: {
|
education: {
|
||||||
label: data.education
|
label: data.education
|
||||||
},
|
},
|
||||||
wage: data.wage,
|
wage: data.wage,
|
||||||
|
wageUpper: data.wageUpper,
|
||||||
phone: data.telephone
|
phone: data.telephone
|
||||||
}
|
}
|
||||||
this.isShowButton = false;
|
this.isShowButton = false;
|
||||||
@@ -484,7 +500,15 @@
|
|||||||
}
|
}
|
||||||
this.isShowButton = true;
|
this.isShowButton = true;
|
||||||
this.showPicker = true;
|
this.showPicker = true;
|
||||||
},
|
},
|
||||||
|
change(e, type) {
|
||||||
|
console.log(type, e, '----')
|
||||||
|
this.myResume[type] = e
|
||||||
|
|
||||||
|
},
|
||||||
|
change1(){
|
||||||
|
this.isShowButton = true;
|
||||||
|
},
|
||||||
pickerButtonFunc(e) {
|
pickerButtonFunc(e) {
|
||||||
console.log(e, this.myResume, this.myResume[this.showType]);
|
console.log(e, this.myResume, this.myResume[this.showType]);
|
||||||
this.myResume[this.showType] = e.value[0];
|
this.myResume[this.showType] = e.value[0];
|
||||||
@@ -514,7 +538,8 @@
|
|||||||
city,
|
city,
|
||||||
education,
|
education,
|
||||||
phone,
|
phone,
|
||||||
wage
|
wage,
|
||||||
|
wageUpper,
|
||||||
} = this.myResume
|
} = this.myResume
|
||||||
// 中国大陆手机号码正则表达式
|
// 中国大陆手机号码正则表达式
|
||||||
const mobileRegex = /\b(1[3-9]\d{9})\b/;
|
const mobileRegex = /\b(1[3-9]\d{9})\b/;
|
||||||
@@ -522,7 +547,7 @@
|
|||||||
const landlineRegex = /\b(0\d{2,3}-\d{7,8}(-\d{1,4})?)\b/;
|
const landlineRegex = /\b(0\d{2,3}-\d{7,8}(-\d{1,4})?)\b/;
|
||||||
|
|
||||||
const workList = JSON.stringify(this.gzList)
|
const workList = JSON.stringify(this.gzList)
|
||||||
|
if (!wage || !wageUpper) return this.showToast("请正确填写薪资范围");
|
||||||
if (mobileRegex.test(phone) || landlineRegex.test(phone)) {
|
if (mobileRegex.test(phone) || landlineRegex.test(phone)) {
|
||||||
// 电话号码格式正确
|
// 电话号码格式正确
|
||||||
console.log(phone, "电话号码格式正确");
|
console.log(phone, "电话号码格式正确");
|
||||||
@@ -531,7 +556,8 @@
|
|||||||
education: education.label,
|
education: education.label,
|
||||||
workplace: city.workplace ? city.workplace : city.parentLabel + '-' + city.label,
|
workplace: city.workplace ? city.workplace : city.parentLabel + '-' + city.label,
|
||||||
telephone: phone,
|
telephone: phone,
|
||||||
wage,
|
wage,
|
||||||
|
wageUpper,
|
||||||
workExperience: workList
|
workExperience: workList
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isShowButton = false;
|
this.isShowButton = false;
|
||||||
@@ -816,5 +842,49 @@
|
|||||||
|
|
||||||
.input-error {
|
.input-error {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.delt {
|
||||||
|
color: red;
|
||||||
|
font-size: 26rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jobDis {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
height: 60rpx;
|
||||||
|
border: 1rpx solid #999999;
|
||||||
|
border-radius: 40rpx;
|
||||||
|
|
||||||
|
span:nth-of-type(1) {
|
||||||
|
padding: 0 20rpx;
|
||||||
|
border: 1rpx solid #999999;
|
||||||
|
border-top: none;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
span:nth-of-type(2) {
|
||||||
|
padding: 0 10rpx;
|
||||||
|
width: 80rpx;
|
||||||
|
font-size: 20rpx;
|
||||||
|
border-left: 1rpx solid #999999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.jobNumber {
|
||||||
|
height: 60rpx;
|
||||||
|
padding-left: 16rpx;
|
||||||
|
/* border: 1rpx solid #999999; */
|
||||||
|
/* border-top: none;
|
||||||
|
border-bottom: none; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.uni-input-placeholder {
|
||||||
|
padding-left: 16rpx !important;
|
||||||
|
}
|
||||||
|
.uni-input-input, .uni-input-placeholder {
|
||||||
|
padding-left: 16rpx !important;
|
||||||
|
}
|
||||||
|
.u-input__content__field-wrapper__field {
|
||||||
|
padding-left: 16rpx !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
22271
pageMy/my/resume/province-city-county.json
Normal file
22271
pageMy/my/resume/province-city-county.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,15 +1,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view class="title">
|
<view class="search">
|
||||||
全部
|
<input
|
||||||
</view>
|
v-model="searchKeyword"
|
||||||
<block v-for="(item, index) in city" :key="index">
|
type="text"
|
||||||
|
class="search-input"
|
||||||
|
placeholder="请输入关键词搜索"
|
||||||
|
@input="handleSearch"
|
||||||
|
@focus="isSearchFocused = true"
|
||||||
|
@blur="handleSearchBlur"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
<view class="title">
|
||||||
|
全部
|
||||||
|
</view>
|
||||||
|
<block v-for="(item, index) in filteredResults" :key="index">
|
||||||
<view class="cityList" @click="cityClick(item)">
|
<view class="cityList" @click="cityClick(item)">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
<image src="../../../static/img/correct.svg" v-if="id === item.id" mode=""></image>
|
<image src="../../../static/img/correct.svg" v-if="id === item.id" mode=""></image>
|
||||||
<image v-else-if="layer !== maxLayer" src="../../../static/img/right.svg" mode=""></image>
|
<image v-else-if="layer !== maxLayer" src="../../../static/img/right.svg" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
<view class="" v-if="layer === maxLayer" style="height: 230rpx;background-color: #f6f6f6;"></view>
|
<view class="" v-if="layer === maxLayer" style="height: 230rpx;background-color: #f6f6f6;"></view>
|
||||||
<view class="btn" v-if="layer === maxLayer" @click="comfirm">
|
<view class="btn" v-if="layer === maxLayer" @click="comfirm">
|
||||||
<view class="bottombtn">
|
<view class="bottombtn">
|
||||||
@@ -37,7 +49,11 @@
|
|||||||
id: '',
|
id: '',
|
||||||
label: '',
|
label: '',
|
||||||
|
|
||||||
tradeId: '',
|
tradeId: '',
|
||||||
|
searchKeyword: '', // 模糊关键字搜索
|
||||||
|
isSearchFocused: true,
|
||||||
|
searchFields: ['name'],
|
||||||
|
type: 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -51,7 +67,20 @@
|
|||||||
} else {
|
} else {
|
||||||
return this.workTypeList;
|
return this.workTypeList;
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
filteredResults() {
|
||||||
|
if (!this.searchKeyword) {
|
||||||
|
return this.city
|
||||||
|
}
|
||||||
|
|
||||||
|
const keyword = this.searchKeyword.toLowerCase()
|
||||||
|
return this.city.filter(item => {
|
||||||
|
return this.searchFields.some(field => {
|
||||||
|
const value = this.getObjectValue(item, field)
|
||||||
|
return value && value.toLowerCase().includes(keyword)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
getWorktypesList(1).then(res => {
|
getWorktypesList(1).then(res => {
|
||||||
@@ -64,12 +93,15 @@
|
|||||||
tradeId,
|
tradeId,
|
||||||
parentId,
|
parentId,
|
||||||
layer,
|
layer,
|
||||||
maxLayer
|
maxLayer,
|
||||||
|
type
|
||||||
}) {
|
}) {
|
||||||
this.parentId = parentId
|
this.parentId = parentId
|
||||||
this.tradeId = tradeId || 0
|
this.tradeId = tradeId || 0
|
||||||
this.layer = parseInt(layer || 1)
|
this.layer = parseInt(layer || 1)
|
||||||
this.maxLayer = parseInt(maxLayer || 2)
|
this.maxLayer = parseInt(maxLayer || 2)
|
||||||
|
console.log(type, 'type')
|
||||||
|
this.type = type
|
||||||
},
|
},
|
||||||
onShow: function() {},
|
onShow: function() {},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -88,18 +120,32 @@
|
|||||||
},
|
},
|
||||||
goCityInfo(item) {
|
goCityInfo(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `./skill?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.id}&parentLabel=${item.name}`
|
url: `./skill?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.id}&parentLabel=${item.name}&type=${this.type}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
comfirm: function() {
|
comfirm: function() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
uni.$emit('setworkTypes', {
|
console.log(this.type)
|
||||||
detail: {
|
if (this.type == '1') {
|
||||||
id: this.id,
|
console.log('00000000')
|
||||||
label: this.label,
|
uni.$emit('setworkTypes', {
|
||||||
parentLabel: this.$route.query.parentLabel
|
detail: {
|
||||||
}
|
id: this.id,
|
||||||
})
|
label: this.label,
|
||||||
|
parentLabel: this.$route.query.parentLabel
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
console.log('1111111')
|
||||||
|
uni.$emit('setSkill', {
|
||||||
|
detail: {
|
||||||
|
id: this.id,
|
||||||
|
label: this.label,
|
||||||
|
parentLabel: this.$route.query.parentLabel,
|
||||||
|
parentTwoLabel: this.$route.query.parentTwoLabel
|
||||||
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: this.layer
|
delta: this.layer
|
||||||
})
|
})
|
||||||
@@ -109,7 +155,23 @@
|
|||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 模糊搜索
|
||||||
|
handleSearch() {
|
||||||
|
|
||||||
|
console.log(this.searchKeyword)
|
||||||
|
},
|
||||||
|
// 失去焦点
|
||||||
|
handleSearchBlur() {
|
||||||
|
|
||||||
|
},
|
||||||
|
// 获取对象深层值
|
||||||
|
getObjectValue(obj, path) {
|
||||||
|
return path.split('.').reduce((current, key) => {
|
||||||
|
return current && current[key] !== undefined ? current[key] : ''
|
||||||
|
}, obj)
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -185,5 +247,18 @@
|
|||||||
|
|
||||||
page {
|
page {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search {
|
||||||
|
width: 80%;
|
||||||
|
height: 60rpx;
|
||||||
|
margin: 10rpx auto;
|
||||||
|
border: 1rpx solid #dddddd;
|
||||||
|
border-radius: 40rpx;
|
||||||
|
padding-left: 30rpx;
|
||||||
|
}
|
||||||
|
.search-input {
|
||||||
|
width: 80%;
|
||||||
|
height: 60rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -41,9 +41,11 @@
|
|||||||
if (/token/g.test(location.href)) {
|
if (/token/g.test(location.href)) {
|
||||||
this.$api.sleep(2000).then(() => {
|
this.$api.sleep(2000).then(() => {
|
||||||
if (!this.$api.haslogin()) {
|
if (!this.$api.haslogin()) {
|
||||||
GoLogin()
|
GoLogin()
|
||||||
|
console.log('300')
|
||||||
} else {
|
} else {
|
||||||
uni.$emit('newsReadChange')
|
uni.$emit('newsReadChange')
|
||||||
|
console.log('000')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -17,9 +17,15 @@
|
|||||||
<view class="prolist">招聘人数:{{ info.peopleNum || '暂无' }}</view>
|
<view class="prolist">招聘人数:{{ info.peopleNum || '暂无' }}</view>
|
||||||
<view class="prolist">行业类型:{{ info.tradeNames || '暂无' }}</view>
|
<view class="prolist">行业类型:{{ info.tradeNames || '暂无' }}</view>
|
||||||
<view class="prolist">零工工种:{{ info.worktypeNames || '暂无' }}</view>
|
<view class="prolist">零工工种:{{ info.worktypeNames || '暂无' }}</view>
|
||||||
<!-- <view class="fee">
|
<!-- <view class="prolist">
|
||||||
{{info.wage || '暂无'}}
|
参考工资:
|
||||||
|
{{info.wageUnitCategory === 4 ? wageUnitdata[info.wage] : (info.wage || '暂无') }}
|
||||||
|
{{info.wageUnitCategory === 4 ? '' :wageUnit[info.wageUnitCategory]}}
|
||||||
</view> -->
|
</view> -->
|
||||||
|
<view class="prolist">
|
||||||
|
参考工资:
|
||||||
|
{{info.wage}}
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="head">
|
<view class="head">
|
||||||
<view class="proname proneed">岗位要求</view>
|
<view class="proname proneed">岗位要求</view>
|
||||||
@@ -215,6 +221,7 @@
|
|||||||
import { mapGetters } from 'vuex';
|
import { mapGetters } from 'vuex';
|
||||||
import { missionDetail, missionDetailById, submit, getCollectState, updateCollectStatus } from '@/api/mission.js';
|
import { missionDetail, missionDetailById, submit, getCollectState, updateCollectStatus } from '@/api/mission.js';
|
||||||
import { GoLogin } from '@/untils/AxiosUtils.js';
|
import { GoLogin } from '@/untils/AxiosUtils.js';
|
||||||
|
import dic from '@/common/dic.js'
|
||||||
import { setRead } from '@/api/news.js';
|
import { setRead } from '@/api/news.js';
|
||||||
import { checkPass, getPhoneCountNumber } from '@/api/auth.js';
|
import { checkPass, getPhoneCountNumber } from '@/api/auth.js';
|
||||||
import dictionary from '@/common/textdata.js';
|
import dictionary from '@/common/textdata.js';
|
||||||
@@ -257,6 +264,10 @@ export default {
|
|||||||
collectStatus: 0, // 收藏状态
|
collectStatus: 0, // 收藏状态
|
||||||
showPopUp: false,
|
showPopUp: false,
|
||||||
isInvite: false,
|
isInvite: false,
|
||||||
|
wageUnitdata: {
|
||||||
|
1:'计件',
|
||||||
|
2:'面议'
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -286,6 +297,8 @@ export default {
|
|||||||
onShow: function () {
|
onShow: function () {
|
||||||
this.showDetail = true;
|
this.showDetail = true;
|
||||||
this.getData();
|
this.getData();
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
onShareAppMessage(obj) {
|
onShareAppMessage(obj) {
|
||||||
return {
|
return {
|
||||||
@@ -490,6 +503,14 @@ export default {
|
|||||||
url: `/pageMy/setUserBase/seal/forget?forget=true`,
|
url: `/pageMy/setUserBase/seal/forget?forget=true`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// wageUnit(data) {
|
||||||
|
// let rel = {};
|
||||||
|
// data.forEach((element) => {
|
||||||
|
// rel[element.value] = element.label;
|
||||||
|
// });
|
||||||
|
// // return rel;
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['auth', 'autograph', 'area']),
|
...mapGetters(['auth', 'autograph', 'area']),
|
||||||
@@ -498,6 +519,14 @@ export default {
|
|||||||
return this.info.skillNames.split(',');
|
return this.info.skillNames.split(',');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
wageUnit() {
|
||||||
|
const data = dic.wageUnitCategoryState[0]
|
||||||
|
let rel = {};
|
||||||
|
data.forEach((element) => {
|
||||||
|
rel[element.value] = element.label;
|
||||||
|
});
|
||||||
|
return rel;
|
||||||
|
}
|
||||||
// cityNamed() {
|
// cityNamed() {
|
||||||
// if (this.info && typeof this.info.cityId !== 'undefined' && this.info.cityId !== -1 && this.area
|
// if (this.info && typeof this.info.cityId !== 'undefined' && this.info.cityId !== -1 && this.area
|
||||||
// .dic) {
|
// .dic) {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
行业类型:{{ info.tradeNames ? info.tradeNames : info.jobCompanyIndustry || '暂无' }}
|
行业类型:{{ info.tradeNames ? info.tradeNames : info.jobCompanyIndustry || '暂无' }}
|
||||||
</view>
|
</view>
|
||||||
<view class="prolist">岗位工种:{{ info.skillNames || '暂无' }}</view>
|
<view class="prolist">岗位工种:{{ info.skillNames || '暂无' }}</view>
|
||||||
|
<view class="prolist">参考工资:{{info.wage}}~{{info.wageUpper}}{{wageUnit[info.wageUnitCategory]}}</view>
|
||||||
<!-- <view class="fee">
|
<!-- <view class="fee">
|
||||||
{{info.wage}}{{wageUnit[info.wageUnitCategory]}}
|
{{info.wage}}{{wageUnit[info.wageUnitCategory]}}
|
||||||
</view> -->
|
</view> -->
|
||||||
@@ -188,8 +189,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view style="text-align: center; font-size: 28rpx; margin-top: 30rpx">
|
<view style="text-align: center; font-size: 28rpx; margin-top: 30rpx">
|
||||||
{{ info.callName || '联系人 ' }} :
|
{{ info.callName || '联系人 ' }} :
|
||||||
<span style="color: blue" v-if="info.callTel" @click="tools.onDialingPhoneNumber(info.callTel)">
|
<span style="color: blue" v-if="info.callNumber" @click="tools.onDialingPhoneNumber(info.callNumber)">
|
||||||
{{ info.callTel }}
|
{{ info.callNumber }}
|
||||||
</span>
|
</span>
|
||||||
<span style="color: #333333" v-else>无联系方式</span>
|
<span style="color: #333333" v-else>无联系方式</span>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -31,11 +31,15 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState({
|
...mapState({
|
||||||
idNumber: (state) => state.auth.authInfo.idNumber
|
idNumber: (state) => {
|
||||||
|
console.log(state.auth.authInfo, 'auth.authInfo')
|
||||||
|
return state.auth.authInfo.idNumber
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
next(type) {
|
next(type) {
|
||||||
|
// return this.$api.msg('该功能正在完善中')
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 0:
|
case 0:
|
||||||
this.isHaveCode(this.idNumber).then(() => {
|
this.isHaveCode(this.idNumber).then(() => {
|
||||||
@@ -63,7 +67,10 @@
|
|||||||
if (resData.data.code === 200) {
|
if (resData.data.code === 200) {
|
||||||
if (resData.data.data.haveCode) {
|
if (resData.data.data.haveCode) {
|
||||||
resolve()
|
resolve()
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
return this.$api.msg('系统正在建设中')
|
||||||
|
|
||||||
switch (resData.data.data.reviewStatus) {
|
switch (resData.data.data.reviewStatus) {
|
||||||
case 0:
|
case 0:
|
||||||
this.$api.msg('您提交的认证信息正在审核中')
|
this.$api.msg('您提交的认证信息正在审核中')
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<view class="condition">
|
<view class="condition">
|
||||||
<view class="cond_list" v-if="pageType === 'enterprise'">
|
<view class="cond_list" v-if="pageType === 'enterprise'">
|
||||||
<view v-for="(item, index) in arrTitle" :key="index"
|
<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 }}
|
{{ item.text }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -39,10 +39,12 @@
|
|||||||
} from '@/api/userrecruit.js'
|
} from '@/api/userrecruit.js'
|
||||||
import userrecruitList from '../components/userrecruitList.vue'
|
import userrecruitList from '../components/userrecruitList.vue'
|
||||||
let arrGuide = ['在线填写招工需求', '后台审核沟通发布', '平台展示招工信息'];
|
let arrGuide = ['在线填写招工需求', '后台审核沟通发布', '平台展示招工信息'];
|
||||||
let arrTitle = [{
|
let arrTitle = [
|
||||||
text: "发布零工岗位",
|
// {
|
||||||
id: 0
|
// text: "发布零工岗位",
|
||||||
}, {
|
// id: 0
|
||||||
|
// },
|
||||||
|
{
|
||||||
text: "发布全职岗位",
|
text: "发布全职岗位",
|
||||||
id: 1
|
id: 1
|
||||||
}
|
}
|
||||||
@@ -76,7 +78,7 @@
|
|||||||
reviewStatus,
|
reviewStatus,
|
||||||
pickerColumns,
|
pickerColumns,
|
||||||
openPicker: false,
|
openPicker: false,
|
||||||
currentArrTitleID: 2,
|
currentArrTitleID: 1,
|
||||||
currentReviewStatusID: '-1',
|
currentReviewStatusID: '-1',
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
@@ -87,7 +89,7 @@
|
|||||||
}) {
|
}) {
|
||||||
if (this.enterprise) {
|
if (this.enterprise) {
|
||||||
this.pageType = 'enterprise'
|
this.pageType = 'enterprise'
|
||||||
this.currentArrTitleID = 0
|
this.currentArrTitleID = 1
|
||||||
}
|
}
|
||||||
this.getList('refresh')
|
this.getList('refresh')
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -238,6 +238,7 @@
|
|||||||
initData(inPutArr, inpuType) {
|
initData(inPutArr, inpuType) {
|
||||||
//第一层级
|
//第一层级
|
||||||
if (inPutArr[0] != undefined) {
|
if (inPutArr[0] != undefined) {
|
||||||
|
|
||||||
this.level = 1;
|
this.level = 1;
|
||||||
var arr = this.currSourceData.map(t => {
|
var arr = this.currSourceData.map(t => {
|
||||||
return t[this.labelName]
|
return t[this.labelName]
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
// target: 'http://10.165.0.173:8000',
|
// target: 'http://10.165.0.173:8000',
|
||||||
target: 'http://192.168.1.115:8000',
|
// target: 'http://192.168.1.115:8000',
|
||||||
|
target: 'http://39.98.44.136:6013',
|
||||||
ws: true,
|
ws: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/api': '/'
|
'^/api': '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user