Commit faddad24 by 张立顺

fix bug

1 parent b6274bc6
......@@ -392,7 +392,7 @@ Page({
recruitmentInfoConfig: filteredRecruitmentInfoConfig
})
})
.catch(err => { })
.catch(err => {})
},
/**
* 处理按钮点击
......@@ -554,7 +554,7 @@ Page({
if (popupType === 'initial') {
// 简历处理阶段验证
if (!formData.processResult) {
if (formData.processResult === '') {
wx.showToast({
title: '请选择处理结果',
icon: 'none'
......@@ -571,7 +571,7 @@ Page({
}
} else if (popupType === 'interview') {
// 面试反馈阶段验证
if (!formData.interviewResult) {
if (formData.interviewResult === '') {
wx.showToast({
title: '请选择面试结果',
icon: 'none'
......@@ -593,7 +593,7 @@ Page({
})
let requestParams = {
id: formData.id,
id: formData.id
// technicalSupervisorName: recruitment.technicalSupervisorName,
// technicalSupervisorPhone: recruitment.technicalSupervisorPhone,
// processResult: formData?.processResult
......@@ -669,35 +669,35 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() { },
onReady() {},
/**
* 生命周期函数--监听页面显示
*/
onShow() { },
onShow() {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() { },
onHide() {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() { },
onUnload() {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() { },
onPullDownRefresh() {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() { },
onReachBottom() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage() { }
onShareAppMessage() {}
})
<!--packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml-->
<!-- 招聘详情 -->
<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="content_top">
<view class="statistics">
<view class="statistic_item" wx:for="{{ statisticsList }}" wx:key="index">
<view class="title">{{item.title}}</view>
<view class="count">{{item.count}}</view>
</view>
</view>
</view>
<!-- 主模块 -->
<view class="content_main">
<!-- 入职计划模块 -->
<view class="entry_plan">
<view class="block_title">入职计划</view>
<block wx:if="{{ onboardingPlans.length }}">
<block wx:for="{{ onboardingPlans }}" wx:key="index">
<view class="card">
<view class="date">入职时间:{{item.onboardingDate}}</view>
<view class="card_top">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="user_info">
<view class="user_top">
<view class="name">{{item.personName}}</view>
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text">{{item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
</view>
<view class="user_bottom">
<view class="tag" wx:for="{{ TAGLIST }}" wx:for-item="subItem" wx:key="subIndex">{{item[subItem]}}</view>
</view>
</view>
</view>
<view class="card_content">
<view class="item" wx:for="{{ onboardingFieldsConfig }}" wx:key="field" wx:for-item="fieldItem">
<text class="label">{{fieldItem.label}}</text>
<text class="value">{{item[fieldItem.field]}}</text>
</view>
</view>
</view>
</block>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无数据</text>
</view>
</block>
</view>
<!-- 试岗计划 -->
<view class="entry_plan">
<view class="block_title">试岗计划</view>
<block wx:if="{{ trialOnboardingPlans.length }}">
<block wx:for="{{ trialOnboardingPlans }}" wx:key="index">
<view class="card">
<view class="card_top">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="user_info">
<view class="user_top">
<view class="name">{{item.personName }}</view>
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text"> {{ item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
</view>
<view class="user_bottom">
<view class="date">试岗时间: {{ item.onboardingDate}}</view>
</view>
</view>
</view>
</view>
</block>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无内容</text>
</view>
</block>
</view>
<!-- 招聘计划模块 -->
<view class="recruit_plan">
<view class="block_title">
招聘计划
<view class="sub_title">获取简历后,若人员初评不匹配可及时退回;若简历合适,可在面试完成后完善面试结果。</view>
</view>
<block wx:if="{{ recruitmentPlans.length }}">
<block wx:for="{{ recruitmentPlans }}" wx:key="index">
<view class="card">
<view class="card_top white_bg">
<image class="user_icon" src="/packageWorkspace/pages/image/staff-icon.png" mode="aspectFill" />
<view class="user_info">
<view class="user_top">
<view class="name">{{item.personName}}</view>
<view class="tag tag-{{ item.mixResult !== undefined ? (item.mixResult === 0 ? 'pending' : item.mixResult === 1 ? 'mismatch' : item.mixResult === 2 ? 'pass' : 'fail') : 'completed' }}">
<!-- {{item.mixResult !== undefined ? (item.mixResult === 0 ? '待处理' : item.mixResult === 1 ? '人员不符合' : item.mixResult === 2 ? '面试通过' : '面试不通过') : (item.status === 0 ? '待处理' : '已完成')}} -->
{{ item.processResult == null ? '待处理' : (item.processResult == 1 ? '人员不符合' : (item.processResult == 2 && item.interviewResult == null ? '待面试' : (item.interviewResult == 0 ? '面试不通过' : (item.interviewResult == 1 ? '面试通过' : '')))) }}
</view>
</view>
<view class="user_bottom">
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text">{{item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
</view>
</view>
</view>
<view class="card_middle">
<view class="reason-box">
<view class="label">推荐理由:</view>
<view class="value">
{{item.recommendedReasonTxt}}
<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>
<view wx:else class="btn-reason-all">查看全部</view>
</view>
</view>
</view>
</view>
<view class="card_content">
<view class="date">
<text style="margin-right: var(--fontSize8);">投递于</text>
{{item.createdDate}}
</view>
<view class="btn_group">
<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-index="{{ index }}">处理</view>
<!-- <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>
</block>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无数据</text>
</view>
</block>
</view>
<view class="recruit_info">
<view class="block_title">招聘信息</view>
<block wx:if="{{ recruitmentInfoConfig }}">
<view class="card">
<view class="info_item" wx:for="{{ recruitmentInfoConfig }}" wx:key="field" wx:for-item="infoItem">
<text class="label">{{infoItem.label}}</text>
<view class="value value_box" wx:if="{{ infoItem.label === '门店名称' }}">
<text> {{recruitment[infoItem.field] || '-'}}</text>
<image class="ji" wx:if="{{ recruitment.urgent == 1 }}" src="{{ IMG_URL }}ji.png" mode="aspectFill" />
</view>
<view class="value value_box" wx:elif="{{ infoItem.label === '招聘负责人' || infoItem.label === '技术督导' }}">
<text> {{recruitment[infoItem.field] || '-'}}</text>
<image class="phone_icon" wx:if="{{ (infoItem.label === '招聘负责人' && recruitment.recruiterPhone) || (infoItem.label === '技术督导' && recruitment.technicalSupervisorPhone) }}" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" catchtap="phoneCall" data-phone="{{ infoItem.label === '招聘负责人' ? recruitment.recruiterPhone : recruitment.technicalSupervisorPhone }}" />
</view>
<text class="value" wx:else>{{recruitment[infoItem.field] || '-'}}</text>
</view>
</view>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无数据</text>
</view>
</block>
</view>
</view>
<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">
<view class="popup_content">
<view class="title">{{ popupType == 'initial' ? '简历处理' : '面试反馈' }}</view>
<scroll-view scroll-y style="height: var(--fontSize807);" bindtouchmove="stopPropagation">
<view class="form">
<!-- Initial Processing -->
<block wx:if="{{ popupType == 'initial' }}">
<view class="form_item">
<view class="label">
处理结果
<text class="required">*</text>
</view>
<view class="value">
<view class="radio mar-r20" bindtap="selectTag" data-field="processResult" data-value="{{ 2 }}">
<image class="radio-icon" wx:if="{{ formData.processResult == 2 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">人员符合</view>
</view>
<view class="radio" bindtap="selectTag" data-field="processResult" data-value="{{ 1 }}">
<image class="radio-icon" wx:if="{{ formData.processResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">人员不符合</view>
</view>
</view>
</view>
<view class="form_item" wx:if="{{ formData.processResult == 2 }}">
<view class="label">
预计面试时间
<text class="required">*</text>
</view>
<view class="value" bindtap="showTimePicker">
<view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选预计面试时间'}}</view>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" />
</view>
</view>
</block>
<!-- Interview Feedback -->
<block wx:if="{{ popupType == 'interview' }}">
<view class="form_item">
<view class="label">
面试结果
<text class="required">*</text>
</view>
<view class="value">
<view class="radio mar-r20" bindtap="selectTag" data-field="interviewResult" data-value="{{ 1 }}">
<image class="radio-icon" wx:if="{{ formData.interviewResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">通过</view>
</view>
<view class="radio" bindtap="selectTag" data-field="interviewResult" data-value="{{ 0 }}">
<image class="radio-icon" wx:if="{{ formData.interviewResult === 0 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">不通过</view>
</view>
</view>
</view>
<view class="form_item">
<view class="label">
面试时间
<text class="required">*</text>
</view>
<view class="value" bindtap="showTimePicker">
<view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选择面试时间'}}</view>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" />
</view>
</view>
</block>
<view class="form_item form_item_textarea">
<view class="label">说明</view>
<view class="value">
<view class="textarea_wrapper">
<textarea placeholder="请输入" value="{{ formData.description }}" data-field="description" bindinput="handleTextareaInput" maxlength="200"></textarea>
<view class="char_count">{{formData.descriptionLength || 0}}/200</view>
</view>
</view>
</view>
</view>
</scroll-view>
<view class="popup_footer">
<view class="btn btn_cancel" bindtap="hidePopup">取消</view>
<view class="btn btn_confirm {{ isProcessing ? 'btn_disabled' : '' }}" bindtap="confirmProcess">{{isProcessing ? '处理中...' : '确认'}}</view>
</view>
</view>
</van-popup>
<!-- 时间选择器 -->
<van-popup show="{{ timeShow }}" position="bottom" round bind:close="calcelDate" catchtouchmove="preventTouchMove">
<van-datetime-picker type="date" value="{{ currentDate }}" formatter="{{ formatter }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:confirm="bindDateChange" bind:cancel="calcelDate" />
</van-popup>
<view
class="container_page {{ showPopup || timeShow ? 'page-locked' : '' }}"
style="{{ showPopup || timeShow ? 'top: -' + pageScrollTop + 'px;' : '' }}"
>
<!-- 顶部数据统计 -->
<view class="content_top">
<view class="statistics">
<view class="statistic_item" wx:for="{{ statisticsList }}" wx:key="index">
<view class="title">{{item.title}}</view>
<view class="count">{{item.count}}</view>
</view>
</view>
</view>
<!-- 主模块 -->
<view class="content_main">
<!-- 入职计划模块 -->
<view class="entry_plan">
<view class="block_title">入职计划</view>
<block wx:if="{{ onboardingPlans.length }}">
<block wx:for="{{ onboardingPlans }}" wx:key="index">
<view class="card">
<view class="date">入职时间:{{item.onboardingDate}}</view>
<view class="card_top">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="user_info">
<view class="user_top">
<view class="name">{{item.personName}}</view>
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text">{{item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
</view>
<view class="user_bottom">
<view class="tag" wx:for="{{ TAGLIST }}" wx:for-item="subItem" wx:key="subIndex">{{item[subItem]}}</view>
</view>
</view>
</view>
<view class="card_content">
<view class="item" wx:for="{{ onboardingFieldsConfig }}" wx:key="field" wx:for-item="fieldItem">
<text class="label">{{fieldItem.label}}</text>
<text class="value">{{item[fieldItem.field]}}</text>
</view>
</view>
</view>
</block>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无数据</text>
</view>
</block>
</view>
<!-- 试岗计划 -->
<view class="entry_plan">
<view class="block_title">试岗计划</view>
<block wx:if="{{ trialOnboardingPlans.length }}">
<block wx:for="{{ trialOnboardingPlans }}" wx:key="index">
<view class="card">
<view class="card_top">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="user_info">
<view class="user_top">
<view class="name">{{item.personName }}</view>
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text"> {{ item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
</view>
<view class="user_bottom">
<view class="date">试岗时间: {{ item.onboardingDate}}</view>
</view>
</view>
</view>
</view>
</block>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无内容</text>
</view>
</block>
</view>
<!-- 招聘计划模块 -->
<view class="recruit_plan">
<view class="block_title">
招聘计划
<view class="sub_title">获取简历后,若人员初评不匹配可及时退回;若简历合适,可在面试完成后完善面试结果。</view>
</view>
<block wx:if="{{ recruitmentPlans.length }}">
<block wx:for="{{ recruitmentPlans }}" wx:key="index">
<view class="card">
<view class="card_top white_bg">
<image class="user_icon" src="/packageWorkspace/pages/image/staff-icon.png" mode="aspectFill" />
<view class="user_info">
<view class="user_top">
<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' : '')))) }}"
>
<!-- {{item.mixResult !== undefined ? (item.mixResult === 0 ? '待处理' : item.mixResult === 1 ? '人员不符合' : item.mixResult === 2 ? '面试通过' : '面试不通过') : (item.status === 0 ? '待处理' : '已完成')}} -->
{{ item.processResult == null ? '待处理' : (item.processResult == 1 ? '人员不符合' : (item.processResult == 2 && item.interviewResult == null ? '待面试' : (item.interviewResult == 0 ? '面试不通过' : (item.interviewResult == 1 ? '面试通过' : '')))) }}
</view>
</view>
<view class="user_bottom">
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text">{{item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
</view>
</view>
</view>
<view class="card_middle">
<view class="reason-box">
<view class="label">推荐理由:</view>
<view class="value">
{{item.recommendedReasonTxt}}
<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>
<view wx:else class="btn-reason-all">查看全部</view>
</view>
</view>
</view>
</view>
<view class="card_content">
<view class="date">
<text style="margin-right: var(--fontSize8);">投递于</text>
{{item.createdDate}}
</view>
<view class="btn_group">
<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-index="{{ index }}"
>处理</view>
<!-- <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>
</block>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无数据</text>
</view>
</block>
</view>
<view class="recruit_info">
<view class="block_title">招聘信息</view>
<block wx:if="{{ recruitmentInfoConfig }}">
<view class="card">
<view class="info_item" wx:for="{{ recruitmentInfoConfig }}" wx:key="field" wx:for-item="infoItem">
<text class="label">{{infoItem.label}}</text>
<view class="value value_box" wx:if="{{ infoItem.label === '门店名称' }}">
<text> {{recruitment[infoItem.field] || '-'}}</text>
<image class="ji" wx:if="{{ recruitment.urgent == 1 }}" src="{{ IMG_URL }}ji.png" mode="aspectFill" />
</view>
<view class="value value_box" wx:elif="{{ infoItem.label === '招聘负责人' || infoItem.label === '技术督导' }}">
<text> {{recruitment[infoItem.field] || '-'}}</text>
<image
class="phone_icon"
wx:if="{{ (infoItem.label === '招聘负责人' && recruitment.recruiterPhone) || (infoItem.label === '技术督导' && recruitment.technicalSupervisorPhone) }}"
src="/packageWorkspace/pages/image/call-icon.png"
mode="widthFix"
catchtap="phoneCall"
data-phone="{{ infoItem.label === '招聘负责人' ? recruitment.recruiterPhone : recruitment.technicalSupervisorPhone }}"
/>
</view>
<text class="value" wx:else>{{recruitment[infoItem.field] || '-'}}</text>
</view>
</view>
</block>
<block wx:else>
<view class="card-empty">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text>暂无数据</text>
</view>
</block>
</view>
</view>
<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"
>
<view class="popup_content">
<view class="title">{{ popupType == 'initial' ? '简历处理' : '面试反馈' }}</view>
<scroll-view scroll-y style="height: var(--fontSize807);" bindtouchmove="stopPropagation">
<view class="form">
<!-- Initial Processing -->
<block wx:if="{{ popupType == 'initial' }}">
<view class="form_item">
<view class="label">
处理结果
<text class="required">*</text>
</view>
<view class="value">
<view class="radio mar-r20" bindtap="selectTag" data-field="processResult" data-value="{{ 2 }}">
<image class="radio-icon" wx:if="{{ formData.processResult == 2 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">人员符合</view>
</view>
<view class="radio" bindtap="selectTag" data-field="processResult" data-value="{{ 1 }}">
<image class="radio-icon" wx:if="{{ formData.processResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">人员不符合</view>
</view>
</view>
</view>
<view class="form_item" wx:if="{{ formData.processResult == 2 }}">
<view class="label">
预计面试时间
<text class="required">*</text>
</view>
<view class="value" bindtap="showTimePicker">
<view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选预计面试时间'}}</view>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" />
</view>
</view>
</block>
<!-- Interview Feedback -->
<block wx:if="{{ popupType == 'interview' }}">
<view class="form_item">
<view class="label">
面试结果
<text class="required">*</text>
</view>
<view class="value">
<view class="radio mar-r20" bindtap="selectTag" data-field="interviewResult" data-value="{{ 1 }}">
<image class="radio-icon" wx:if="{{ formData.interviewResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">通过</view>
</view>
<view class="radio" bindtap="selectTag" data-field="interviewResult" data-value="{{ 0 }}">
<image class="radio-icon" wx:if="{{ formData.interviewResult === 0 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="cily" wx:else></view>
<view class="text">不通过</view>
</view>
</view>
</view>
<view class="form_item">
<view class="label">
面试时间
<text class="required">*</text>
</view>
<view class="value" bindtap="showTimePicker">
<view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选择面试时间'}}</view>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" />
</view>
</view>
</block>
<view class="form_item form_item_textarea">
<view class="label">说明</view>
<view class="value">
<view class="textarea_wrapper">
<textarea
placeholder="请输入"
value="{{ formData.description }}"
data-field="description"
bindinput="handleTextareaInput"
maxlength="200"
></textarea>
<view class="char_count">{{formData.descriptionLength || 0}}/200</view>
</view>
</view>
</view>
</view>
</scroll-view>
<view class="popup_footer">
<view class="btn btn_cancel" bindtap="hidePopup">取消</view>
<view class="btn btn_confirm {{ isProcessing ? 'btn_disabled' : '' }}" bindtap="confirmProcess">{{isProcessing ? '处理中...' : '确认'}}</view>
</view>
</view>
</van-popup>
<!-- 时间选择器 -->
<van-popup show="{{ timeShow }}" position="bottom" round bind:close="calcelDate" catchtouchmove="preventTouchMove">
<van-datetime-picker
type="date"
value="{{ currentDate }}"
formatter="{{ formatter }}"
min-date="{{ minDate }}"
max-date="{{ maxDate }}"
bind:confirm="bindDateChange"
bind:cancel="calcelDate"
/>
</van-popup>
</view>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!