修改疆外职位展示内容
This commit is contained in:
@@ -206,11 +206,11 @@
|
|||||||
console.log('页面类型:', pageType.value);
|
console.log('页面类型:', pageType.value);
|
||||||
|
|
||||||
let resData;
|
let resData;
|
||||||
|
alert(editData.value.id)
|
||||||
// 根据页面类型调用不同的接口
|
// 根据页面类型调用不同的接口
|
||||||
if (pageType.value === 'edit' && editData.value?.id) {
|
if (pageType.value === 'edit' && editData.value?.id) {
|
||||||
// 编辑模式:调用更新接口
|
// 编辑模式:调用更新接口
|
||||||
resData = await $api.createRequest(`/app/userworkexperiences/${editData.value.id}`, params, 'put');
|
resData = await $api.createRequest(`/app/userworkexperiences/edit`, {...params, id: editData.value.id}, 'put');
|
||||||
console.log('编辑接口响应:', resData);
|
console.log('编辑接口响应:', resData);
|
||||||
} else {
|
} else {
|
||||||
// 添加模式:调用新增接口
|
// 添加模式:调用新增接口
|
||||||
|
@@ -95,8 +95,8 @@
|
|||||||
<dict-Label dictType="experience" :value="job.experience"></dict-Label>
|
<dict-Label dictType="experience" :value="job.experience"></dict-Label>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="falls-card-company">
|
<view class="falls-card-company" v-show="isShowJw !== 3">
|
||||||
<!-- {{ config.appInfo.areaName }} -->
|
{{ config.appInfo.areaName }}
|
||||||
<!-- {{ job.jobLocation }} -->
|
<!-- {{ job.jobLocation }} -->
|
||||||
<dict-Label dictType="area" :value="job.jobLocationAreaCode"></dict-Label>
|
<dict-Label dictType="area" :value="job.jobLocationAreaCode"></dict-Label>
|
||||||
</view>
|
</view>
|
||||||
@@ -340,9 +340,10 @@ function choosePosition(index) {
|
|||||||
getJobList('refresh');
|
getJobList('refresh');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const isShowJw = ref(0);
|
||||||
function handelHostestSearch(val) {
|
function handelHostestSearch(val) {
|
||||||
console.log(val.value);
|
console.log(val.value);
|
||||||
|
isShowJw.value = val.value;
|
||||||
pageState.search.order = val.value;
|
pageState.search.order = val.value;
|
||||||
pageState.search.jobType = val.value === 3 ? 1 : 0;
|
pageState.search.jobType = val.value === 3 ? 1 : 0;
|
||||||
if (state.tabIndex === 'all') {
|
if (state.tabIndex === 'all') {
|
||||||
|
Reference in New Issue
Block a user