Commit 68505bb9 by 张立顺 Committed by chenwq

fix bug

1 parent fcd3a36c
...@@ -159,13 +159,10 @@ Page({ ...@@ -159,13 +159,10 @@ Page({
const year = date.getFullYear() const year = date.getFullYear()
const month = String(date.getMonth() + 1).padStart(2, '0') const month = String(date.getMonth() + 1).padStart(2, '0')
const day = String(date.getDate()).padStart(2, '0') const day = String(date.getDate()).padStart(2, '0')
const hour = String(date.getHours()).padStart(2, '0')
const minute = String(date.getMinutes()).padStart(2, '0')
const second = String(date.getSeconds()).padStart(2, '0')
const formattedDate = `${year}年${month}月${day}日 ${hour}:${minute}` const formattedDate = `${year}年${month}月${day}日`
const { formData, pageScrollTop, popupType } = this.data const { formData, pageScrollTop, popupType } = this.data
const apiDate = `${year}-${month}-${day} ${hour}:${minute}:${second}` const apiDate = `${year}-${month}-${day} 00:00:00`
if (popupType === 'initial') { if (popupType === 'initial') {
formData.expectedInterviewTime = apiDate formData.expectedInterviewTime = apiDate
......
<!--packageEquity/pages/recruitManage/recruitDetail/recruitDetail.wxml--> <!--packageEquity/pages/recruitManage/recruitDetail/recruitDetail.wxml-->
<!-- 招聘详情 --> <!-- 招聘详情 -->
<glsx-privacy appletName="招聘详情" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy> <glsx-privacy appletName="招聘详情" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<view class="container_page {{ showPopup || timeShow ? 'page-locked' : '' }}" style="{{ showPopup || timeShow ? 'top: -' + pageScrollTop + 'px;' : '' }}"> <view
class="container_page {{ showPopup || timeShow ? 'page-locked' : '' }}"
style="{{ showPopup || timeShow ? 'top: -' + pageScrollTop + 'px;' : '' }}"
>
<!-- 顶部数据统计 --> <!-- 顶部数据统计 -->
<view class="content_top"> <view class="content_top">
<view class="statistics"> <view class="statistics">
...@@ -101,7 +104,9 @@ ...@@ -101,7 +104,9 @@
<view class="user_info"> <view class="user_info">
<view class="user_top"> <view class="user_top">
<view class="name">{{ item.personName }}</view> <view class="name">{{ item.personName }}</view>
<view class="tag tag-{{ item.processResult == null ? 'pending' : (item.processResult == 1 ? 'mismatch' : (item.processResult == 2 && item.interviewResult == null ? 'pending' : (item.interviewResult == 0 ? 'fail' : (item.interviewResult == 1 ? 'pass' : '')))) }}"> <view
class="tag tag-{{ item.processResult == null ? 'pending' : (item.processResult == 1 ? 'mismatch' : (item.processResult == 2 && item.interviewResult == null ? 'pending' : (item.interviewResult == 0 ? 'fail' : (item.interviewResult == 1 ? 'pass' : '')))) }}"
>
{{ item.processResult == null ? '待处理' : (item.processResult == 1 ? '人员不符合' : (item.processResult == 2 && item.interviewResult == null ? '待面试' : (item.interviewResult == 0 ? '面试不通过' : (item.interviewResult == 1 ? '面试通过' : '')))) }} {{ item.processResult == null ? '待处理' : (item.processResult == 1 ? '人员不符合' : (item.processResult == 2 && item.interviewResult == null ? '待面试' : (item.interviewResult == 0 ? '面试不通过' : (item.interviewResult == 1 ? '面试通过' : '')))) }}
</view> </view>
</view> </view>
...@@ -119,7 +124,12 @@ ...@@ -119,7 +124,12 @@
<view class="label">推荐理由:</view> <view class="label">推荐理由:</view>
<view class="value"> <view class="value">
{{item.recommendedReasonTxt}} {{item.recommendedReasonTxt}}
<view wx:if="{{ item.recommendedReason && item.recommendedReason.length > reasonMaxLen }}" class="{{ ['tips', item.isShowReasonAll ? 'show' : ''] }}" bind:tap="handleShowReason" data-index="{{ index }}"> <view
wx:if="{{ item.recommendedReason && item.recommendedReason.length > reasonMaxLen }}"
class="{{ ['tips', item.isShowReasonAll ? 'show' : ''] }}"
bind:tap="handleShowReason"
data-index="{{ index }}"
>
<text wx:if="{{ item.isShowReasonAll }}">收起</text> <text wx:if="{{ item.isShowReasonAll }}">收起</text>
<view wx:else class="btn-reason-all">查看全部</view> <view wx:else class="btn-reason-all">查看全部</view>
</view> </view>
...@@ -129,7 +139,12 @@ ...@@ -129,7 +139,12 @@
<view class="card_content"> <view class="card_content">
<view class="btn_group"> <view class="btn_group">
<view class="btn btn_outline" bindtap="handleViewResume" data-url="{{ item.resumeUrl }}">查看简历</view> <view class="btn btn_outline" bindtap="handleViewResume" data-url="{{ item.resumeUrl }}">查看简历</view>
<view wx:if="{{ item.processResult == null || (item.processResult == 2 && item.interviewResult == null) }}" class="btn btn_primary" bindtap="handleProcess" data-id="{{ item.id }}">处理</view> <view
wx:if="{{ item.processResult == null || (item.processResult == 2 && item.interviewResult == null) }}"
class="btn btn_primary"
bindtap="handleProcess"
data-id="{{ item.id }}"
>处理</view>
<!-- <van-button wx:if="{{item.status === 0}}"class="btn btn_primary"bindtap="handleProcess"data-id="{{item.id}}"plain type="primary">处理</van-button>--> <!-- <van-button wx:if="{{item.status === 0}}"class="btn btn_primary"bindtap="handleProcess"data-id="{{item.id}}"plain type="primary">处理</van-button>-->
</view> </view>
</view> </view>
...@@ -155,7 +170,14 @@ ...@@ -155,7 +170,14 @@
</view> </view>
<view class="value value_box" wx:elif="{{ infoItem.label === '招聘负责人' || infoItem.label === '技术督导' }}"> <view class="value value_box" wx:elif="{{ infoItem.label === '招聘负责人' || infoItem.label === '技术督导' }}">
<text> {{recruitment[infoItem.field] || '-'}}</text> <text> {{recruitment[infoItem.field] || '-'}}</text>
<image class="phone_icon" wx:if="{{ (infoItem.label === '招聘负责人' && recruitment.recruiterPhone) || (infoItem.label === '技术督导' && recruitment.technicalSupervisorPhone) }}" src="/packageEquity/pages/image/call-icon.png" mode="widthFix" catchtap="phoneCall" data-phone="{{ infoItem.label === '招聘负责人' ? recruitment.recruiterPhone : recruitment.technicalSupervisorPhone }}" /> <image
class="phone_icon"
wx:if="{{ (infoItem.label === '招聘负责人' && recruitment.recruiterPhone) || (infoItem.label === '技术督导' && recruitment.technicalSupervisorPhone) }}"
src="/packageEquity/pages/image/call-icon.png"
mode="widthFix"
catchtap="phoneCall"
data-phone="{{ infoItem.label === '招聘负责人' ? recruitment.recruiterPhone : recruitment.technicalSupervisorPhone }}"
/>
</view> </view>
<text class="value" wx:else> {{ recruitment[infoItem.field] || '-' }}</text> <text class="value" wx:else> {{ recruitment[infoItem.field] || '-' }}</text>
</view> </view>
...@@ -171,7 +193,14 @@ ...@@ -171,7 +193,14 @@
</view> </view>
</view> </view>
<edit-popup wx:if="{{ handleShowMessagePop }}" formData="{{ formData }}" bindconfirm="updateMentorShip" bindcancel="hidePopup"></edit-popup> <edit-popup wx:if="{{ handleShowMessagePop }}" formData="{{ formData }}" bindconfirm="updateMentorShip" bindcancel="hidePopup"></edit-popup>
<van-popup show="{{ showPopup }}" position="bottom" bind:close="hidePopup" lock-scroll="{{ true }}" round catchtouchmove="preventTouchMove"> <van-popup
show="{{ showPopup }}"
position="bottom"
bind:close="hidePopup"
lock-scroll="{{ true }}"
round
catchtouchmove="preventTouchMove"
>
<view class="popup_content"> <view class="popup_content">
<view class="title">{{ popupType === 'interview' ? '面试反馈' : '简历处理' }}</view> <view class="title">{{ popupType === 'interview' ? '面试反馈' : '简历处理' }}</view>
<scroll-view scroll-y style="height: var(--fontSize887);" bindtouchmove="stopPropagation"> <scroll-view scroll-y style="height: var(--fontSize887);" bindtouchmove="stopPropagation">
...@@ -226,7 +255,13 @@ ...@@ -226,7 +255,13 @@
<view class="label">说明</view> <view class="label">说明</view>
<view class="value"> <view class="value">
<view class="textarea_wrapper"> <view class="textarea_wrapper">
<textarea placeholder="请输入说明" value="{{ formData.description }}" bindinput="handleTextareaInput" maxlength="200" data-field="description" /> <textarea
placeholder="请输入说明"
value="{{ formData.description }}"
bindinput="handleTextareaInput"
maxlength="200"
data-field="description"
/>
<view class="char_count">{{ formData.descriptionLength || 0 }}/200</view> <view class="char_count">{{ formData.descriptionLength || 0 }}/200</view>
</view> </view>
</view> </view>
...@@ -240,6 +275,23 @@ ...@@ -240,6 +275,23 @@
</view> </view>
</van-popup> </van-popup>
<!-- 时间选择器 --> <!-- 时间选择器 -->
<van-popup show="{{ timeShow }}" position="bottom" bind:close="calcelDate" close-on-click-overlay="{{ true }}" z-index="10000" round catchtouchmove="preventTouchMove"> <van-popup
<van-datetime-picker type="datetime" bind:input="onInput" bind:cancel="calcelDate" value="{{ currentDate }}" formatter="{{ formatter }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:confirm="bindDateChange" /> show="{{ timeShow }}"
position="bottom"
bind:close="calcelDate"
close-on-click-overlay="{{ true }}"
z-index="10000"
round
catchtouchmove="preventTouchMove"
>
<van-datetime-picker
type="date"
bind:input="onInput"
bind:cancel="calcelDate"
value="{{ currentDate }}"
formatter="{{ formatter }}"
min-date="{{ minDate }}"
max-date="{{ maxDate }}"
bind:confirm="bindDateChange"
/>
</van-popup> </van-popup>
\ No newline at end of file \ No newline at end of file
...@@ -28,6 +28,10 @@ export const statusList = [ ...@@ -28,6 +28,10 @@ export const statusList = [
{ {
confId: 3, confId: 3,
confName: '已驳回' confName: '已驳回'
},
{
confId: 4,
confName: '待督导确认'
} }
] ]
export const mentorshipFormData = [ export const mentorshipFormData = [
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</block> </block>
</view> </view>
<!-- 提示消息 --> <!-- 提示消息 -->
<view class="item_footer" wx:if="{{ tabIndex == 0 && item.showTip && item.confirmFlag == 'N' && item.status !== 0 }}"> <view class="item_footer" wx:if="{{ tabIndex == 0 && item.showTip }}">
<view class="msg_tips"> <view class="msg_tips">
<text>{{item.tipText}}</text> <text>{{item.tipText}}</text>
<image class="arrow_right" src="/packageEquity/pages/image/arrow-right.png" mode="aspectFill" /> <image class="arrow_right" src="/packageEquity/pages/image/arrow-right.png" mode="aspectFill" />
......
...@@ -59,8 +59,8 @@ const scrmSecretKey_items = { ...@@ -59,8 +59,8 @@ const scrmSecretKey_items = {
const domain_items = { const domain_items = {
ip: { ip: {
// dj: 'http://192.168.1.165:8292', // dj: 'http://192.168.1.165:8292',
// dj: 'http://192.168.1.104:8292', //叶立庆 dj: 'http://192.168.1.117:8292', //叶立庆
dj: "http://192.168.1.86:8594", //蔡远明 // dj: "http://192.168.1.86:8594", //蔡远明
// dj: 'http://192.168.1.104:8292',//范富荣 // dj: 'http://192.168.1.104:8292',//范富荣
// dj: 'http://192.168.1.89:8292', //周杭 // dj: 'http://192.168.1.89:8292', //周杭
// dj: 'http://192.168.1.76:8292', //璐琦 // dj: 'http://192.168.1.76:8292', //璐琦
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!