cyl/master-0822
wangxia 3 months ago
parent 150828eaa9
commit e3a2cbcd58

@ -18,7 +18,9 @@ let jobInfo = {
job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策 job_getPolicyShare: '/yishoudan/store/job/getPolicyByStoreJobId',// 获取共享职位政策
job_ai: '/yishoudan/common/structure/get', // 获取ai结果 job_ai: '/yishoudan/common/structure/get', // 获取ai结果
yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新) yi_job_class_new: "/labels/getListByTypeAndIndustry", // 新职位要求接口(新)
job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIM", // 获取客服ID job_get_cus: "/yishoudan/job/customer/support/getJobCustomerSupportIMAccid", // 获取客服ID
job_get_agency_cus: "/yishoudan/job/customer/support/getAgencyCustomerSupportIMAccid", // 获取代理客服ID
hasSee: "/yishoudan/job/view/record/addRecord", hasSee: "/yishoudan/job/view/record/addRecord",
getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市 getCityNameByLatLng: '/location/getCityNameByLatLng' ,// 根据经纬度获取城市
get_city_list: '/city/getAllCityLevel2', // 获取城市列表 get_city_list: '/city/getAllCityLevel2', // 获取城市列表

@ -124,7 +124,7 @@ export default {
border-left: 2px solid #cccccc; border-left: 2px solid #cccccc;
left: 0px; left: 0px;
line-height: 22px; line-height: 22px;
height: 50px; // height: 50px;
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;

@ -190,7 +190,7 @@ export function createApp () {
G.Get(apiInfo.getOssInfo, { prefix: customDir }, ({ data }) => { G.Get(apiInfo.getOssInfo, { prefix: customDir }, ({ data }) => {
console.log('uploadImgToOssresresresres', data); console.log('uploadImgToOssresresresres', data);
const { policy, signature, accessid, dir, host } = data; const { policy, signature, accessid, dir, host } = data;
let key = (customDir ? (customDir + '/') : dir) + that.getUUID() let key = dir + that.getUUID()
const formData = { const formData = {
"key": key + "_${filename}", "key": key + "_${filename}",
"policy": policy, "policy": policy,

@ -169,7 +169,10 @@
{ {
"path": "loginIndex", "path": "loginIndex",
"style": { "style": {
"navigationBarTitleText": "登录" "navigationBarTitleText": "登录",
"backgroundColor": "#ffffff",
"backgroundColorTop": "#ffffff",
"backgroundColorBottom": "#ffffff"
} }
}, },
{ {
@ -412,9 +415,9 @@
"path": "job", "path": "job",
"style": { "style": {
"navigationBarTitleText": "职位详情", "navigationBarTitleText": "职位详情",
"backgroundColor": "#ffffff", "backgroundColor": "#ededed",
"backgroundColorTop": "#ffffff", "backgroundColorTop": "#ededed",
"backgroundColorBottom": "#ffffff" "backgroundColorBottom": "#ededed"
} }
}, },
{ {
@ -520,7 +523,10 @@
{ {
"path": "city", "path": "city",
"style": { "style": {
"navigationBarTitleText": "选择城市" "navigationBarTitleText": "选择城市",
"backgroundColor": "#ededed",
"backgroundColorTop": "#ededed",
"backgroundColorBottom": "#ededed"
} }
}, },
{ {

@ -1,30 +1,28 @@
<template> <template>
<div style="" class="g_bg_f_5 g_h_all"> <div style="" class="g_bg_page">
<view class="g_h_all"> <!-- <view class="m-tabs" v-if="isLogin" style="position: fixed; width: 100%; z-index: 999">
<!-- <view class="m-tabs" v-if="isLogin" style="position: fixed; width: 100%; z-index: 999">
<u-tabs :list="typeGroup" :is-scroll="false" v-model="current" @change="updateType" item-width="126" :active-color="globalData.themeColor" bar-width="60" bar-height="6" font-size="32" :gutter="22" duration="0.1" itemWidth="auto" height="84"></u-tabs> <u-tabs :list="typeGroup" :is-scroll="false" v-model="current" @change="updateType" item-width="126" :active-color="globalData.themeColor" bar-width="60" bar-height="6" font-size="32" :gutter="22" duration="0.1" itemWidth="auto" height="84"></u-tabs>
</view> --> </view> -->
<!-- - ${isLogin ? tabbarHeight + 43 : 0}px --> <!-- - ${isLogin ? tabbarHeight + 43 : 0}px -->
<!-- isLogin ? '43px' : --> <!-- isLogin ? '43px' : -->
<scroll-view @scroll="getScrollInfo" :scroll-top="resetScroll" :style="{ minHeight: `calc(100vh - ${tabbarHeight}px)`, 'padding-top': '' }" :scroll-y="true" v-if="isLogin"> <scroll-view @scroll="getScrollInfo" :scroll-top="resetScroll" :style="{ minHeight: `calc(100vh - ${tabbarHeight}px)`, 'padding-top': '' }" :scroll-y="true" v-if="isLogin">
<view class="" v-show="current == 0"> <view class="" v-show="current == 0">
<view class="g_h_10"></view> <view class="g_h_10"></view>
<view class="g_bg_f">
<ConversationList ref="contactList" />
</view>
</view>
<view class="g_bg_f" v-if="current == 1">
<telPanel />
</view>
</scroll-view>
<view class="g_h_all" v-if="!isLogin">
<view class="" hover-class="none" hover-stop-propagation="false" style="height: 108px"> </view>
<view class=""> <view class="">
<g-empty text="您还有没有登录,请登录后查看消息" /> <ConversationList ref="contactList" />
<view class="g_h_32"></view>
<g-button btnText="去登录" size="small" class="g_mt_32" @clickBtn="goLogin" />
</view> </view>
</view> </view>
<view class="" v-if="current == 1">
<telPanel />
</view>
</scroll-view>
<view class="g_h_all" v-if="!isLogin">
<view class="" hover-class="none" hover-stop-propagation="false" style="height: 108px"> </view>
<view class="">
<g-empty text="您还有没有登录,请登录后查看消息" />
<view class="g_h_32"></view>
<g-button btnText="去登录" size="small" class="g_mt_32" @clickBtn="goLogin" />
</view>
</view> </view>
<servicePopup <servicePopup
:show="showService" :show="showService"
@ -42,8 +40,8 @@
</view> </view>
</view> </view>
</u-popup> --> </u-popup> -->
<g-tabbar></g-tabbar>
</div> </div>
<g-tabbar></g-tabbar>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
@ -205,6 +203,9 @@ const updateType = (e) => {
</script> </script>
<style lang="scss"> <style lang="scss">
page {
background-color: #ededed;
}
.i-items { .i-items {
// border-bottom: 1px solid #eee; // border-bottom: 1px solid #eee;
position: relative; position: relative;

@ -488,14 +488,21 @@
<div class="g_fs_12 g_c_6" style="margin-top: 8px">{{ isSc ? "已收藏" : "收藏" }}</div> <div class="g_fs_12 g_c_6" style="margin-top: 8px">{{ isSc ? "已收藏" : "收藏" }}</div>
</button> </button>
</div> </div>
<div class="g_flex_none g_flex_column_center" v-if="userinfo && userinfo.agencyId"> <div class="g_flex_none g_flex_column_center" v-if="userinfo && userinfo.agencyId && false">
<button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="goIm"> <g-button btnText="客服" class="g_flex_1 g_fw_600" size="small_auto" @clickBtn="goIm"></g-button>
<!-- <button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="goIm">
<icon class="iconfont icon-xiaoxi" style="color: #787878; line-height: 1; margin-top: -5px; font-size: 20px !important; position: relative; top: 3px"></icon> <icon class="iconfont icon-xiaoxi" style="color: #787878; line-height: 1; margin-top: -5px; font-size: 20px !important; position: relative; top: 3px"></icon>
<div class="g_fs_12 g_c_6" style="margin-top: 8px">客服</div> <div class="g_fs_12 g_c_6" style="margin-top: 8px">客服</div>
</button> </button> -->
</div> </div>
<div class="g_flex_1 g_flex_column_center"> <div class="g_flex_1 g_flex_row_center">
<g-button btnText="我要报名" class="g_flex_1 g_fw_600" size="small_auto" :type="jobDetail.recruitment == 2 || !attention ? 'infro' : 'primary'" @clickBtn="handleOpenApplyPopup" style="width: calc(100% - 36px)"></g-button> <div class="g_flex_none g_flex_column_center g_mr_12">
<g-button btnText="联系客服" class="g_w_100" size="small_auto" @clickBtn="goIm"></g-button>
</div>
<div class="g_flex_1 g_flex_column_center ">
<g-button btnText="我要报名" class="" size="small_auto" :type="jobDetail.recruitment == 2 || !attention ? 'infro' : 'primary'" @clickBtn="handleOpenApplyPopup" style="width: calc(100% - 32px)"></g-button>
</div>
</div> </div>
</div> </div>
</slot> </slot>
@ -1357,22 +1364,34 @@ export default {
that.F.wyyxPost( that.F.wyyxPost(
that.api.wyyx_create, that.api.wyyx_create,
{ {
senderUserId: uni.getStorageSync("apply-uid"), // senderUserId: uni.getStorageSync("apply-uid"),
receiverUserId: cusData, // receiverUserId: cusData,
senderAccid: uni.getStorageSync("im-accid"),
receiverAccid: cusData,
}, },
(res) => { (res) => {
uni.$UIKitStore.uiStore.selectConversation(res.conversationId); uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
console.log("that.jobDetail", that.jobDetail); console.log("that.jobDetail", that.jobDetail);
let list = ["addss", "genderRestrict", "genderAge"];
let newList = [];
list.forEach((item) => {
if (that.jobDetail[item]) {
newList.push(that.jobDetail[item]);
}
});
that.jobDetail.info = newList.join("丨");
that.F.wyyxPost( that.F.wyyxPost(
that.api.wyyx_sendCard, that.api.wyyx_sendCard,
{ {
conversationType: 1, conversationType: 1,
senderUserId: uni.getStorageSync("apply-uid"), // id id // senderUserId: uni.getStorageSync("apply-uid"), // id id
receiverUserId: cusData, // id // receiverUserId: cusData, // id
senderAccid: uni.getStorageSync("im-accid"),
receiverAccid: cusData,
type: 100000, type: 100000,
jobDetail: { jobDetail: {
title: that.jobDetail.jobName, title: that.jobDetail.jobName,
info: (that.jobDetail.addss ? that.jobDetail.addss + "丨" : "") + that.jobDetail.genderRestrict + "丨" + that.jobDetail.age, info: that.jobDetail.info,
label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [], label: that.jobDetail.jobRequestLabelNames.length > 0 ? that.jobDetail.jobRequestLabelNames : [],
salaryClassifyValue: that.jobDetail.priceStr, salaryClassifyValue: that.jobDetail.priceStr,
serviceFee: that.showPrice ? that.jobDetail.serverPrice : "", serviceFee: that.showPrice ? that.jobDetail.serverPrice : "",

@ -64,20 +64,28 @@
<!-- <g-button btnText="不能关注自己" size="auto" type="disabled"></g-button> --> <!-- <g-button btnText="不能关注自己" size="auto" type="disabled"></g-button> -->
</div> </div>
<!-- --> <!-- -->
<div v-else> <template v-else>
<div class="g_flex_row_center" v-if="info.recordStatus == 1"> <div style="width: calc(100vw - 40px)" class="g_flex_row_center" v-if="info.recordStatus == 1">
<!-- 已关注 1 --> <!-- 已关注 1 -->
<!-- class="g_mr_10" --> <!-- class="g_mr_10" -->
<div style="width: calc(100vw - 40px)" @click="handleCancel"> <div class="g_flex_1">
<g-button btnText="已关注发单号" size="auto" type="disabled" class></g-button> <g-button btnText="已关注发单号" size="auto" @clickBtn="handleCancel" type="disabled" class></g-button>
</div>
<div class="g_ml_16 g_w_100 g_flex_none">
<g-button btnText="联系客服" class="" size="auto" @clickBtn="goIm"></g-button>
</div> </div>
<!-- <div style="width:calc((100vw - 50px) / 2);"> <!-- <div style="width:calc((100vw - 50px) / 2);">
<g-button btnText="联系客服" size="auto" type="disabled" class></g-button> <g-button btnText="联系客服" size="auto" type="disabled" class></g-button>
</div>--> </div>-->
</div> </div>
<div style="width: calc(100vw - 40px)" v-else-if="info.recordStatus == 2" @click="handleCancel"> <div style="width: calc(100vw - 40px)" class="g_flex_row_center" v-else-if="info.recordStatus == 2">
<g-button btnText="互相关注" size="auto" type="disabled" class></g-button> <div class="g_flex_1">
<g-button btnText="互相关注" size="auto" type="disabled" @clickBtn="handleCancel" class></g-button>
</div>
<div class="g_ml_16 g_w_100 g_flex_none">
<g-button btnText="联系客服" class="" size="auto" @clickBtn="goIm"></g-button>
</div>
</div> </div>
<div style="width: calc(100vw - 40px)" v-else-if="(info.recordStatus == 3 || info.recordStatus == 4) && !isSelf"> <div style="width: calc(100vw - 40px)" v-else-if="(info.recordStatus == 3 || info.recordStatus == 4) && !isSelf">
@ -90,7 +98,7 @@
<div style="width: calc(100vw - 40px)" v-else-if="info.recordStatus == 6 && !isSelf"> <div style="width: calc(100vw - 40px)" v-else-if="info.recordStatus == 6 && !isSelf">
<g-button btnText="申请关注" size="auto" type="primary" :loading="btnLoading" class @clickBtn="handleSubmit"></g-button> <g-button btnText="申请关注" size="auto" type="primary" :loading="btnLoading" class @clickBtn="handleSubmit"></g-button>
</div> </div>
</div> </template>
</div> </div>
</view> </view>
<div class="g_bg_f g_pt_8"> <div class="g_bg_f g_pt_8">
@ -146,7 +154,7 @@ export default {
isLogin: null, isLogin: null,
isShowMore: true, isShowMore: true,
isShowJob: true, isShowJob: true,
goImLoading: false, // loading
loading: true, loading: true,
keyword: "", // keyword: "", //
speed: -1, speed: -1,
@ -747,6 +755,33 @@ export default {
}, },
handleUpdateTab() {}, handleUpdateTab() {},
goIm() {
let that = this;
if (that.goImLoading) {
return false;
}
that.goImLoading = true;
that.F.wyyxGet(that.api.job_get_agency_cus + "?agencyId=" + that.uid, {}, (cusData) => {
that.F.wyyxPost(
that.api.wyyx_create,
{
// senderUserId: uni.getStorageSync("apply-uid"),
// receiverUserId: cusData,
senderAccid: uni.getStorageSync("im-accid"),
receiverAccid: cusData,
},
(res) => {
uni.$UIKitStore.uiStore.selectConversation(res.conversationId);
uni.navigateTo({
url: "/root/NEUIKit/pages/Chat/index",
});
that.goImLoading = false;
},
() => {}
);
});
},
}, },
}; };
</script> </script>

@ -1,5 +1,5 @@
<template> <template>
<view class="p-root-detail-fellow g_w_all g_h_all g_bg_f_5 g_kuaishou"> <view class="p-root-detail-fellow g_w_all g_bg_page g_kuaishou">
<view style="padding-bottom: 200rpx;"> <view style="padding-bottom: 200rpx;">
<AiApply class @outputInfo="getTownsManInfo" /> <AiApply class @outputInfo="getTownsManInfo" />
<view class="g_h_10"></view> <view class="g_h_10"></view>

@ -1,5 +1,5 @@
<template> <template>
<view class="g_pl_16 container" style="background-color: #f5f5f5"> <view class="g_pl_16 container g_bg_page">
<scroll-view class="cities-scroll" scroll-with-animation="true" style="box-sizing: border-box" :scroll-into-view="az" scroll-y ref="scrollViewRef"> <scroll-view class="cities-scroll" scroll-with-animation="true" style="box-sizing: border-box" :scroll-into-view="az" scroll-y ref="scrollViewRef">
<view class=""> <view class="">
<view class="headTxt">当前城市</view> <view class="headTxt">当前城市</view>
@ -239,7 +239,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background-color: #f5f5f5; // background-color: #f5f5f5;
.indexItem { .indexItem {
display: flex; display: flex;

@ -72,8 +72,8 @@ export default {
}, },
setAvatar($type) { setAvatar($type) {
let that = this; let that = this;
that.G.uploadImg( // that.G.uploadImg(
// that.G.uploadImgToOss( that.G.uploadImgToOss(
(res) => { (res) => {
console.log("获取数据", res); console.log("获取数据", res);
that.avatar = res.image; that.avatar = res.image;

@ -1,5 +1,5 @@
<template> <template>
<view class="p-root-person-feedbackList g_w_all g_bg_f_5 g_pl_10 g_pr_10 g_pt_10 g_pb_14 g_kuaishou"> <view class="p-root-person-feedbackList g_bg_page g_pl_10 g_pr_10 g_pt_10 g_pb_14 g_kuaishou" style="overflow:hidden">
<view class="sub f14" v-for="(item, index) in list" :key="index" hover-class="none" hover-stop-propagation="false"> <view class="sub f14" v-for="(item, index) in list" :key="index" hover-class="none" hover-stop-propagation="false">
<view class="g_flex_row_between g_mb_8 g_c_9" hover-class="none" hover-stop-propagation="false"> <view class="g_flex_row_between g_mb_8 g_c_9" hover-class="none" hover-stop-propagation="false">
<view class hover-class="none" hover-stop-propagation="false">{{ item.updateTime }}</view> <view class hover-class="none" hover-stop-propagation="false">{{ item.updateTime }}</view>

@ -730,14 +730,14 @@ let data = {
jobList["jobDesp"] = jobList["jobDesp"].replaceAll("*****", ""); jobList["jobDesp"] = jobList["jobDesp"].replaceAll("*****", "");
} }
// 性别限制 // 性别限制
if (Boolean(jobList.minAgeWoman) === true && Boolean(jobList.minAgeMan) === false) { if (Boolean(jobList.minAgeWoman) === true && Boolean(jobList.minAgeMan) === false) {
jobList.genderAge = "女" + jobList.minAgeWoman + "-" + jobList.maxAgeWoman + "岁"; jobList.genderAge = "女" + '丨' + jobList.minAgeWoman + "-" + jobList.maxAgeWoman + "岁";
} else if (Boolean(jobList.minAgeWoman) === false && Boolean(jobList.minAgeMan) === true) { } else if (Boolean(jobList.minAgeWoman) === false && Boolean(jobList.minAgeMan) === true) {
jobList.genderAge = "男" + jobList.minAgeMan + "-" + jobList.maxAgeMan + "岁"; jobList.genderAge = "男" + '丨' + jobList.minAgeMan + "-" + jobList.maxAgeMan + "岁";
} else if ((jobList.minAgeWoman != jobList.minAgeMan) || (jobList.maxAgeWoman != jobList.maxAgeMan)) { } else if ((jobList.minAgeWoman != jobList.minAgeMan) || (jobList.maxAgeWoman != jobList.maxAgeMan)) {
jobList.genderAge = "男" + jobList.minAgeMan + "-" + jobList.maxAgeMan + "岁" + " " + "女" + jobList.minAgeWoman + "-" + jobList.maxAgeWoman + "岁" jobList.genderAge = "男" + jobList.minAgeMan + "-" + jobList.maxAgeMan + "岁" + "" + "女" + jobList.minAgeWoman + "-" + jobList.maxAgeWoman + "岁"
} else { } else {
jobList.genderAge = "男女不限" + jobList.minAge + "-" + jobList.maxAge + "岁"; jobList.genderAge = "男女不限" + '丨' + jobList.minAge + "-" + jobList.maxAge + "岁";
} }
//年龄 //年龄
var ageStr = ""; var ageStr = "";

Loading…
Cancel
Save