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 class="wrapperLeft">
|
||||
<view> {{ item.realName }} : {{ item.telphone }} </view>
|
||||
<view class="applyTime">申请时间:{{ item.applyTime }}</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,13 +146,26 @@
|
||||
</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 {
|
||||
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 {
|
||||
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'
|
||||
@@ -180,7 +200,11 @@ export default {
|
||||
showPopUp: false,
|
||||
}
|
||||
},
|
||||
components: { uniMask, validCode, uniPopup },
|
||||
components: {
|
||||
uniMask,
|
||||
validCode,
|
||||
uniPopup
|
||||
},
|
||||
onLoad: function(option) { //option为object类型,会序列化上个页面传递的参数
|
||||
// this.$store.dispatch('setAutograph')
|
||||
if (option.missionNo) {
|
||||
@@ -209,6 +233,21 @@ 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;
|
||||
},
|
||||
@@ -504,4 +543,25 @@ export default {
|
||||
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