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