flat: zanc1
This commit is contained in:
@@ -184,3 +184,11 @@ export const settingRead3 = (data) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const updataEmployedNew = (params) => {
|
||||||
|
return request({
|
||||||
|
url: '/api/jobslink-api/missions/mission/apply/employed/new',
|
||||||
|
method: 'post',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -343,6 +343,7 @@
|
|||||||
if (!this.areaModal.isClickAddress) {
|
if (!this.areaModal.isClickAddress) {
|
||||||
// this.areaModal.address1 = [null, null, null];
|
// this.areaModal.address1 = [null, null, null];
|
||||||
this.areaModal.address1 = ["", "", ""];
|
this.areaModal.address1 = ["", "", ""];
|
||||||
|
this.areaModal.info = []
|
||||||
}
|
}
|
||||||
if (!this.industryModal.isClickIndustry) {
|
if (!this.industryModal.isClickIndustry) {
|
||||||
this.industryModal.industry = "";
|
this.industryModal.industry = "";
|
||||||
|
|||||||
@@ -133,8 +133,12 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}).catch((errors) => {
|
}).catch((errors) => {
|
||||||
this.isNext = true
|
if (/[\u4e00-\u9fff]/.test(errors.message)) {
|
||||||
|
_this.$api.msg(errors.message)
|
||||||
|
} else {
|
||||||
this.$api.msg('请输入完整信件信息')
|
this.$api.msg('请输入完整信件信息')
|
||||||
|
}
|
||||||
|
this.isNext = true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,8 +99,12 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}).catch((errors) => {
|
}).catch((errors) => {
|
||||||
this.isNext = true
|
if (/[\u4e00-\u9fff]/.test(errors.message)) {
|
||||||
|
_this.$api.msg(errors.message)
|
||||||
|
} else {
|
||||||
this.$api.msg('请输入完整信件信息')
|
this.$api.msg('请输入完整信件信息')
|
||||||
|
}
|
||||||
|
this.isNext = true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -517,6 +517,9 @@
|
|||||||
// city: areaModal?.address1[1],
|
// city: areaModal?.address1[1],
|
||||||
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
||||||
}
|
}
|
||||||
|
if (params.cityId === '') {
|
||||||
|
delete params.cityId
|
||||||
|
}
|
||||||
nearMissionSearch(params).then(res => {
|
nearMissionSearch(params).then(res => {
|
||||||
if (this.policyPage.current === 1) {
|
if (this.policyPage.current === 1) {
|
||||||
this.policyContentList = [];
|
this.policyContentList = [];
|
||||||
@@ -536,6 +539,7 @@
|
|||||||
areaModal,
|
areaModal,
|
||||||
industryModal
|
industryModal
|
||||||
} = this.searchData;
|
} = this.searchData;
|
||||||
|
console.log(this.searchData)
|
||||||
let params = {
|
let params = {
|
||||||
current: this.nearPage.current,
|
current: this.nearPage.current,
|
||||||
size: this.nearPage.size,
|
size: this.nearPage.size,
|
||||||
@@ -546,6 +550,9 @@
|
|||||||
// city: areaModal?.address1[1],
|
// city: areaModal?.address1[1],
|
||||||
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
||||||
}
|
}
|
||||||
|
if (params.cityId === '') {
|
||||||
|
delete params.cityId
|
||||||
|
}
|
||||||
newMissionAllSearch(params).then(res => {
|
newMissionAllSearch(params).then(res => {
|
||||||
if (this.nearPage.current === 1) {
|
if (this.nearPage.current === 1) {
|
||||||
this.companyList = [];
|
this.companyList = [];
|
||||||
@@ -575,6 +582,9 @@
|
|||||||
wageUnitCategory: submitData["wageUnitCategory"],
|
wageUnitCategory: submitData["wageUnitCategory"],
|
||||||
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
||||||
}
|
}
|
||||||
|
if (params.cityId === '') {
|
||||||
|
delete params.cityId
|
||||||
|
}
|
||||||
recommendMissionSearch(params).then(res => {
|
recommendMissionSearch(params).then(res => {
|
||||||
if (this.newPage.current === 1) {
|
if (this.newPage.current === 1) {
|
||||||
this.newList = [];
|
this.newList = [];
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
<view @click="callPhone" class="bottombtn flexbtn"
|
<view @click="callPhone" class="bottombtn flexbtn"
|
||||||
style="margin-right: 10rpx;background-color: #FBAD17;border-radius: 45rpx;">
|
style="margin-right: 10rpx;background-color: #FBAD17;border-radius: 45rpx;">
|
||||||
电话联系
|
查看申请列表
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<uniMask :maskShow="maskShow">
|
<uniMask :maskShow="maskShow">
|
||||||
@@ -112,8 +112,15 @@
|
|||||||
<u-popup closeable :show="showPopUp" mode="bottom" @close="closePopUp">
|
<u-popup closeable :show="showPopUp" mode="bottom" @close="closePopUp">
|
||||||
<view style="min-height: 100rpx;padding: 60rpx 40rpx;">
|
<view style="min-height: 100rpx;padding: 60rpx 40rpx;">
|
||||||
<view class="contactWrapper" v-for="(item, index) in info.applyList" :key="index">
|
<view class="contactWrapper" v-for="(item, index) in info.applyList" :key="index">
|
||||||
<view>{{ item.realName }} : {{ item.telphone }}</view>
|
<view class="wrapperLeft">
|
||||||
<view class="applyTime">申请时间:{{ item.applyTime }}</view>
|
<view> {{ item.realName }} : {{ item.telphone }} </view>
|
||||||
|
<view> 申请时间:{{ item.applyTime }} </view>
|
||||||
|
</view>
|
||||||
|
<view class="applyTime">
|
||||||
|
<!-- // 1:申请中;2:申请通过;3:申请未通过;-->
|
||||||
|
<view class="btnGr" v-if="item.status === 1" @click="changeWorkerStatus(item)">录用</view>
|
||||||
|
<view class="btnHuy" v-if="item.status === 2">取消</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
@@ -139,17 +146,30 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters } from 'vuex'
|
import {
|
||||||
import { recruit_missionDetail } from '@/api/mission.js';
|
mapGetters
|
||||||
import { GoLogin } from '@/untils/AxiosUtils.js';
|
} from 'vuex'
|
||||||
import { setRead } from '@/api/news.js';
|
import {
|
||||||
import { checkPass } from '@/api/auth.js';
|
recruit_missionDetail
|
||||||
import dictionary from '@/common/textdata.js';
|
} from '@/api/mission.js';
|
||||||
import { dateFormat } from "../../../../untils/format.js";
|
import {
|
||||||
import uniMask from '@/components/uni-mask/mask.vue'
|
GoLogin
|
||||||
import uniPopup from '@/components/uni-popup/uni-popup.vue'
|
} from '@/untils/AxiosUtils.js';
|
||||||
import validCode from '@/components/p-valid-code/p-valid-code.vue'
|
import {
|
||||||
export default {
|
setRead,
|
||||||
|
updataEmployedNew
|
||||||
|
} from '@/api/news.js';
|
||||||
|
import {
|
||||||
|
checkPass
|
||||||
|
} from '@/api/auth.js';
|
||||||
|
import dictionary from '@/common/textdata.js';
|
||||||
|
import {
|
||||||
|
dateFormat
|
||||||
|
} from "../../../../untils/format.js";
|
||||||
|
import uniMask from '@/components/uni-mask/mask.vue'
|
||||||
|
import uniPopup from '@/components/uni-popup/uni-popup.vue'
|
||||||
|
import validCode from '@/components/p-valid-code/p-valid-code.vue'
|
||||||
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
...dictionary,
|
...dictionary,
|
||||||
@@ -180,8 +200,12 @@ export default {
|
|||||||
showPopUp: false,
|
showPopUp: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: { uniMask, validCode, uniPopup },
|
components: {
|
||||||
onLoad: function (option) { //option为object类型,会序列化上个页面传递的参数
|
uniMask,
|
||||||
|
validCode,
|
||||||
|
uniPopup
|
||||||
|
},
|
||||||
|
onLoad: function(option) { //option为object类型,会序列化上个页面传递的参数
|
||||||
// this.$store.dispatch('setAutograph')
|
// this.$store.dispatch('setAutograph')
|
||||||
if (option.missionNo) {
|
if (option.missionNo) {
|
||||||
this.missionNo = decodeURIComponent(option.missionNo);
|
this.missionNo = decodeURIComponent(option.missionNo);
|
||||||
@@ -196,7 +220,7 @@ export default {
|
|||||||
this.id = option.id; //消息id
|
this.id = option.id; //消息id
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow: function () {
|
onShow: function() {
|
||||||
this.showDetail = true
|
this.showDetail = true
|
||||||
this.getData();
|
this.getData();
|
||||||
|
|
||||||
@@ -209,13 +233,28 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
dateFormat,
|
dateFormat,
|
||||||
|
async changeWorkerStatus(item) {
|
||||||
|
let params = {
|
||||||
|
missionNo: this.info.missionNo,
|
||||||
|
ids: item.id
|
||||||
|
}
|
||||||
|
uni.showLoading({
|
||||||
|
title: '请稍后'
|
||||||
|
})
|
||||||
|
let resData = await updataEmployedNew(params)
|
||||||
|
uni.hideLoading()
|
||||||
|
if (resData.data.code === 200) {
|
||||||
|
this.$api.msg('操作成功')
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
},
|
||||||
callPhone() {
|
callPhone() {
|
||||||
this.showPopUp = true;
|
this.showPopUp = true;
|
||||||
},
|
},
|
||||||
closePopUp() {
|
closePopUp() {
|
||||||
this.showPopUp = false;
|
this.showPopUp = false;
|
||||||
},
|
},
|
||||||
getData: function () {
|
getData: function() {
|
||||||
const self = this;
|
const self = this;
|
||||||
// missionDetail(self.missionNo).then(res => {
|
// missionDetail(self.missionNo).then(res => {
|
||||||
recruit_missionDetail(self.missionNo, self.type).then(res => {
|
recruit_missionDetail(self.missionNo, self.type).then(res => {
|
||||||
@@ -285,11 +324,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.codeSealBox {
|
.codeSealBox {
|
||||||
padding: 285rpx 72rpx 0 72rpx;
|
padding: 285rpx 72rpx 0 72rpx;
|
||||||
|
|
||||||
.closeCode {
|
.closeCode {
|
||||||
@@ -335,9 +374,9 @@ export default {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.contractMask {
|
.contractMask {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
margin: 30rpx;
|
margin: 30rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -369,18 +408,18 @@ export default {
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.lookContract {
|
.lookContract {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
margin-right: 30rpx;
|
margin-right: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexbtn {
|
.flexbtn {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottombtn {
|
.bottombtn {
|
||||||
background-color: #1B66FF;
|
background-color: #1B66FF;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -389,9 +428,9 @@ export default {
|
|||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
line-height: 90rpx;
|
line-height: 90rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
@@ -400,19 +439,19 @@ export default {
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabledBtn {
|
.disabledBtn {
|
||||||
background-color: #c8c9cc;
|
background-color: #c8c9cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.map {
|
.map {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 350rpx;
|
height: 350rpx;
|
||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.askList {
|
.askList {
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
@@ -420,9 +459,9 @@ export default {
|
|||||||
padding: 5rpx 15rpx;
|
padding: 5rpx 15rpx;
|
||||||
margin-right: 10rpx;
|
margin-right: 10rpx;
|
||||||
margin-top: 15rpx;
|
margin-top: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ask {
|
.ask {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -431,30 +470,30 @@ export default {
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
margin: 20rpx 0;
|
margin: 20rpx 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.proint {
|
.proint {
|
||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
font-size: 30rpx !important;
|
font-size: 30rpx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proneed {
|
.proneed {
|
||||||
font-size: 32rpx !important;
|
font-size: 32rpx !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fee {
|
.fee {
|
||||||
font-family: PingFangSC-Medium;
|
font-family: PingFangSC-Medium;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #F46161;
|
color: #F46161;
|
||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.protype {
|
.protype {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prolist {
|
.prolist {
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
@@ -463,9 +502,9 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 5rpx 0;
|
padding: 5rpx 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.proname {
|
.proname {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: PingFangSC-Medium;
|
font-family: PingFangSC-Medium;
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
@@ -473,20 +512,20 @@ export default {
|
|||||||
width: 90%;
|
width: 90%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-bottom: 20rpx;
|
padding-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.head {
|
.head {
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
background: #fefefe;
|
background: #fefefe;
|
||||||
border-bottom: 20rpx solid #f6f6f6;
|
border-bottom: 20rpx solid #f6f6f6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contactWrapper {
|
.contactWrapper {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
@@ -498,10 +537,31 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.applyTime {
|
.applyTime {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrapperLeft {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnGr {
|
||||||
|
background-color: green;
|
||||||
|
color: #FFFFFF;
|
||||||
|
padding: 10rpx 20rpx;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnHuy {
|
||||||
|
background-color: #e8e8e8;
|
||||||
|
color: #FFFFFF;
|
||||||
|
padding: 10rpx 20rpx;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user