|
|
@@ -149,9 +149,9 @@
|
|
|
{{postPushInfo.company.workRestTime}}
|
|
|
</text>
|
|
|
<!-- 岗位福利 -->
|
|
|
- <text
|
|
|
+ <text v-for="(item, index) in postPushInfo.welfareTag ? postPushInfo.welfareTag.split(';') : []" :key="index"
|
|
|
style="color: #666666;font-size: 26rpx;padding: 10rpx;background: rgba(198, 198, 198, 0.1);border-radius: 8rpx;margin-right: 10rpx;margin-bottom: 20rpx;">
|
|
|
- {{postPushInfo.welfareTag}}
|
|
|
+ {{item}}
|
|
|
</text>
|
|
|
<text
|
|
|
style="color: #666666;font-size: 26rpx;padding: 10rpx;background: rgba(198, 198, 198, 0.1);border-radius: 8rpx;margin-right: 10rpx;margin-bottom: 20rpx;"
|
|
|
@@ -160,7 +160,13 @@
|
|
|
<!-- <view class="gwList-box-item-box-line"></view> -->
|
|
|
<!-- 工作描述 -->
|
|
|
<view class="gwList-box-item-box-info-text">
|
|
|
- <view :class="['job-description-item',!isJobDescExpanded?'job-description-itemAll':'']">{{postPushInfo.positionDetails}}</view>
|
|
|
+ <block v-if="isHtmlContent">
|
|
|
+ <view :class="['job-description-item',!isJobDescExpanded?'job-description-itemAll':'']" v-html="postPushInfo.positionDetails"></view>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <view :class="['job-description-item',!isJobDescExpanded?'job-description-itemAll':'']">{{postPushInfo.positionDetails}}</view>
|
|
|
+ </block>
|
|
|
+
|
|
|
<!-- 展开/收起按钮 -->
|
|
|
<view class="expand-btn" @click.stop="toggleJobDesc">
|
|
|
<text class="expand-text">{{ isJobDescExpanded ? '收起' : '展开更多' }}</text>
|
|
|
@@ -200,7 +206,7 @@
|
|
|
</view>
|
|
|
<!-- 简历简介 -->
|
|
|
<view class="jobs flex justify-center" v-if="JSON.stringify(resumesInfo)!='{}'"
|
|
|
- @click="goNav('/pages/talentSearch/resumeDetail?resumesId=' + resumesId + '&postPushId=' + postPushId, 'company')">
|
|
|
+ @click="goNav('/pages/talentSearch/resumeDetail?resumesId=' + resumesId + '&postPushId=' + postPushId + '&isShowBtn=' + 1, 'company')">
|
|
|
<view class="talent-list">
|
|
|
<view class="talent-card">
|
|
|
<view class="talent-content">
|
|
|
@@ -404,6 +410,8 @@
|
|
|
style="margin-left: 20rpx;color: #000000;background-color: #ffffff;">
|
|
|
{{item.content}}已拒绝
|
|
|
</view>
|
|
|
+ <view class="chat-listitem-text bg-style" style="margin-left: 20rpx;"
|
|
|
+ v-if="item.content && (item.messageType === 96 || item.messageType === 97)">{{item.content}}</view>
|
|
|
<view v-if="item.content && item.messageType === 99"
|
|
|
class="chat-listitem-text"
|
|
|
style="padding-bottom: 20rpx;;padding-top: 20rpx;margin-left: 20rpx;color: #000000;background-color: #ffffff;border: 1rpx solid #c6fee7;background: linear-gradient(to bottom, #D9FEED, #ffffff);">
|
|
|
@@ -523,6 +531,8 @@
|
|
|
style="margin-right: 20rpx;">
|
|
|
{{item.content}}已拒绝
|
|
|
</view>
|
|
|
+ <view class="chat-listitem-text bg-style" style="margin-right: 20rpx;"
|
|
|
+ v-if="item.content && (item.messageType === 96 || item.messageType === 97)">{{item.content}}</view>
|
|
|
<view v-if="item.content && item.messageType === 99"
|
|
|
class="chat-listitem-text textColor"
|
|
|
style="padding-bottom: 20rpx;;padding-top: 20rpx;margin-right: 20rpx;color: #000000;background-color: #ffffff;border: 1rpx solid #c6fee7;background: linear-gradient(to bottom, #D9FEED, #ffffff);">
|
|
|
@@ -1111,6 +1121,12 @@
|
|
|
clearInterval(this.socketTimer)
|
|
|
this.socketTimer = null
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ isHtmlContent() {
|
|
|
+ const str = this.postPushInfo?.positionDetails || '';
|
|
|
+ return /<[^>]+>/.test(str);
|
|
|
+ }
|
|
|
+ },
|
|
|
onLoad(d) {
|
|
|
console.log(d, 'zzzzzzzzz')
|
|
|
if (d.postPushId) {
|
|
|
@@ -1503,7 +1519,8 @@
|
|
|
// title: '已接受来自' + item.company.companyName + '的面试邀请'
|
|
|
title: '已接受面试邀请'
|
|
|
})
|
|
|
- that.msshow = false
|
|
|
+ that.msshow = false;
|
|
|
+ that.setChatSave(97)
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.msg,
|
|
|
@@ -1545,7 +1562,8 @@
|
|
|
uni.showToast({
|
|
|
title: '已拒绝来自' + item.company.companyName + '的面试邀请'
|
|
|
})
|
|
|
- that.msshow = false
|
|
|
+ that.msshow = false;
|
|
|
+ that.setChatSave(96)
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.msg,
|
|
|
@@ -2683,7 +2701,12 @@
|
|
|
// });
|
|
|
// return;
|
|
|
// }
|
|
|
-
|
|
|
+ if(type == 96){
|
|
|
+ this.content = '已拒绝面试邀请'
|
|
|
+ }
|
|
|
+ if(type == 97){
|
|
|
+ this.content = '已接受面试邀请'
|
|
|
+ }
|
|
|
let userId = this.$queue.getData('userId');
|
|
|
if (type === 4) {
|
|
|
this.content = url;
|
|
|
@@ -3185,7 +3208,7 @@
|
|
|
letter-spacing: 0px;
|
|
|
text-align: left;
|
|
|
margin-bottom: 20rpx;
|
|
|
-
|
|
|
+ white-space: pre-wrap;
|
|
|
.job-description-item {
|
|
|
margin-bottom: 6rpx;
|
|
|
line-height: 1.2;
|
|
|
@@ -3518,4 +3541,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .bg-style{
|
|
|
+ padding-bottom: 20rpx;;padding-top: 20rpx;margin-right: 20rpx;color: #000000;background-color: #ffffff;border: 1rpx solid #c6fee7;background: linear-gradient(to bottom, #D9FEED, #ffffff);
|
|
|
+ }
|
|
|
</style>
|