Commit faddad24 by 张立顺

fix bug

1 parent b6274bc6
...@@ -392,7 +392,7 @@ Page({ ...@@ -392,7 +392,7 @@ Page({
recruitmentInfoConfig: filteredRecruitmentInfoConfig recruitmentInfoConfig: filteredRecruitmentInfoConfig
}) })
}) })
.catch(err => { }) .catch(err => {})
}, },
/** /**
* 处理按钮点击 * 处理按钮点击
...@@ -554,7 +554,7 @@ Page({ ...@@ -554,7 +554,7 @@ Page({
if (popupType === 'initial') { if (popupType === 'initial') {
// 简历处理阶段验证 // 简历处理阶段验证
if (!formData.processResult) { if (formData.processResult === '') {
wx.showToast({ wx.showToast({
title: '请选择处理结果', title: '请选择处理结果',
icon: 'none' icon: 'none'
...@@ -571,7 +571,7 @@ Page({ ...@@ -571,7 +571,7 @@ Page({
} }
} else if (popupType === 'interview') { } else if (popupType === 'interview') {
// 面试反馈阶段验证 // 面试反馈阶段验证
if (!formData.interviewResult) { if (formData.interviewResult === '') {
wx.showToast({ wx.showToast({
title: '请选择面试结果', title: '请选择面试结果',
icon: 'none' icon: 'none'
...@@ -593,7 +593,7 @@ Page({ ...@@ -593,7 +593,7 @@ Page({
}) })
let requestParams = { let requestParams = {
id: formData.id, id: formData.id
// technicalSupervisorName: recruitment.technicalSupervisorName, // technicalSupervisorName: recruitment.technicalSupervisorName,
// technicalSupervisorPhone: recruitment.technicalSupervisorPhone, // technicalSupervisorPhone: recruitment.technicalSupervisorPhone,
// processResult: formData?.processResult // processResult: formData?.processResult
...@@ -669,35 +669,35 @@ Page({ ...@@ -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--> <!--packageWorkspace/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' : '' }}"
<view class="content_top"> style="{{ showPopup || timeShow ? 'top: -' + pageScrollTop + 'px;' : '' }}"
<view class="statistics"> >
<view class="statistic_item" wx:for="{{ statisticsList }}" wx:key="index"> <!-- 顶部数据统计 -->
<view class="title">{{item.title}}</view> <view class="content_top">
<view class="count">{{item.count}}</view> <view class="statistics">
</view> <view class="statistic_item" wx:for="{{ statisticsList }}" wx:key="index">
</view> <view class="title">{{item.title}}</view>
</view> <view class="count">{{item.count}}</view>
<!-- 主模块 --> </view>
<view class="content_main"> </view>
<!-- 入职计划模块 --> </view>
<view class="entry_plan"> <!-- 主模块 -->
<view class="block_title">入职计划</view> <view class="content_main">
<block wx:if="{{ onboardingPlans.length }}"> <!-- 入职计划模块 -->
<block wx:for="{{ onboardingPlans }}" wx:key="index"> <view class="entry_plan">
<view class="card"> <view class="block_title">入职计划</view>
<view class="date">入职时间:{{item.onboardingDate}}</view> <block wx:if="{{ onboardingPlans.length }}">
<view class="card_top"> <block wx:for="{{ onboardingPlans }}" wx:key="index">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" /> <view class="card">
<view class="user_info"> <view class="date">入职时间:{{item.onboardingDate}}</view>
<view class="user_top"> <view class="card_top">
<view class="name">{{item.personName}}</view> <image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall"> <view class="user_info">
<text class="phone_text">{{item.phoneNumber}}</text> <view class="user_top">
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" /> <view class="name">{{item.personName}}</view>
</view> <view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
</view> <text class="phone_text">{{item.phoneNumber}}</text>
<view class="user_bottom"> <image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
<view class="tag" wx:for="{{ TAGLIST }}" wx:for-item="subItem" wx:key="subIndex">{{item[subItem]}}</view> </view>
</view> </view>
</view> <view class="user_bottom">
</view> <view class="tag" wx:for="{{ TAGLIST }}" wx:for-item="subItem" wx:key="subIndex">{{item[subItem]}}</view>
<view class="card_content"> </view>
<view class="item" wx:for="{{ onboardingFieldsConfig }}" wx:key="field" wx:for-item="fieldItem"> </view>
<text class="label">{{fieldItem.label}}</text> </view>
<text class="value">{{item[fieldItem.field]}}</text> <view class="card_content">
</view> <view class="item" wx:for="{{ onboardingFieldsConfig }}" wx:key="field" wx:for-item="fieldItem">
</view> <text class="label">{{fieldItem.label}}</text>
</view> <text class="value">{{item[fieldItem.field]}}</text>
</block> </view>
</block> </view>
<block wx:else> </view>
<view class="card-empty"> </block>
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" /> </block>
<text>暂无数据</text> <block wx:else>
</view> <view class="card-empty">
</block> <image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
</view> <text>暂无数据</text>
<!-- 试岗计划 --> </view>
<view class="entry_plan"> </block>
<view class="block_title">试岗计划</view> </view>
<block wx:if="{{ trialOnboardingPlans.length }}"> <!-- 试岗计划 -->
<block wx:for="{{ trialOnboardingPlans }}" wx:key="index"> <view class="entry_plan">
<view class="card"> <view class="block_title">试岗计划</view>
<view class="card_top"> <block wx:if="{{ trialOnboardingPlans.length }}">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" /> <block wx:for="{{ trialOnboardingPlans }}" wx:key="index">
<view class="user_info"> <view class="card">
<view class="user_top"> <view class="card_top">
<view class="name">{{item.personName }}</view> <image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall"> <view class="user_info">
<text class="phone_text"> {{ item.phoneNumber}}</text> <view class="user_top">
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" /> <view class="name">{{item.personName }}</view>
</view> <view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
</view> <text class="phone_text"> {{ item.phoneNumber}}</text>
<view class="user_bottom"> <image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
<view class="date">试岗时间: {{ item.onboardingDate}}</view> </view>
</view> </view>
</view> <view class="user_bottom">
</view> <view class="date">试岗时间: {{ item.onboardingDate}}</view>
</view> </view>
</block> </view>
</block> </view>
<block wx:else> </view>
<view class="card-empty"> </block>
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" /> </block>
<text>暂无内容</text> <block wx:else>
</view> <view class="card-empty">
</block> <image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
</view> <text>暂无内容</text>
<!-- 招聘计划模块 --> </view>
<view class="recruit_plan"> </block>
<view class="block_title"> </view>
招聘计划 <!-- 招聘计划模块 -->
<view class="sub_title">获取简历后,若人员初评不匹配可及时退回;若简历合适,可在面试完成后完善面试结果。</view> <view class="recruit_plan">
</view> <view class="block_title">
<block wx:if="{{ recruitmentPlans.length }}"> 招聘计划
<block wx:for="{{ recruitmentPlans }}" wx:key="index"> <view class="sub_title">获取简历后,若人员初评不匹配可及时退回;若简历合适,可在面试完成后完善面试结果。</view>
<view class="card"> </view>
<view class="card_top white_bg"> <block wx:if="{{ recruitmentPlans.length }}">
<image class="user_icon" src="/packageWorkspace/pages/image/staff-icon.png" mode="aspectFill" /> <block wx:for="{{ recruitmentPlans }}" wx:key="index">
<view class="user_info"> <view class="card">
<view class="user_top"> <view class="card_top white_bg">
<view class="name">{{item.personName}}</view> <image class="user_icon" src="/packageWorkspace/pages/image/staff-icon.png" mode="aspectFill" />
<view class="tag tag-{{ item.mixResult !== undefined ? (item.mixResult === 0 ? 'pending' : item.mixResult === 1 ? 'mismatch' : item.mixResult === 2 ? 'pass' : 'fail') : 'completed' }}"> <view class="user_info">
<!-- {{item.mixResult !== undefined ? (item.mixResult === 0 ? '待处理' : item.mixResult === 1 ? '人员不符合' : item.mixResult === 2 ? '面试通过' : '面试不通过') : (item.status === 0 ? '待处理' : '已完成')}} --> <view class="user_top">
{{ item.processResult == null ? '待处理' : (item.processResult == 1 ? '人员不符合' : (item.processResult == 2 && item.interviewResult == null ? '待面试' : (item.interviewResult == 0 ? '面试不通过' : (item.interviewResult == 1 ? '面试通过' : '')))) }} <view class="name">{{item.personName}}</view>
</view> <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="user_bottom"> >
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall"> <!-- {{item.mixResult !== undefined ? (item.mixResult === 0 ? '待处理' : item.mixResult === 1 ? '人员不符合' : item.mixResult === 2 ? '面试通过' : '面试不通过') : (item.status === 0 ? '待处理' : '已完成')}} -->
<text class="phone_text">{{item.phoneNumber}}</text> {{ item.processResult == null ? '待处理' : (item.processResult == 1 ? '人员不符合' : (item.processResult == 2 && item.interviewResult == null ? '待面试' : (item.interviewResult == 0 ? '面试不通过' : (item.interviewResult == 1 ? '面试通过' : '')))) }}
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" /> </view>
</view> </view>
</view> <view class="user_bottom">
</view> <view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
</view> <text class="phone_text">{{item.phoneNumber}}</text>
<view class="card_middle"> <image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
<view class="reason-box"> </view>
<view class="label">推荐理由:</view> </view>
<view class="value"> </view>
{{item.recommendedReasonTxt}} </view>
<view wx:if="{{ item.recommendedReason && item.recommendedReason.length > reasonMaxLen }}" class="{{ ['tips', item.isShowReasonAll ? 'show' : ''] }}" bind:tap="handleShowReason" data-index="{{ index }}"> <view class="card_middle">
<text wx:if="{{ item.isShowReasonAll }}">收起</text> <view class="reason-box">
<view wx:else class="btn-reason-all">查看全部</view> <view class="label">推荐理由:</view>
</view> <view class="value">
</view> {{item.recommendedReasonTxt}}
</view> <view
</view> wx:if="{{ item.recommendedReason && item.recommendedReason.length > reasonMaxLen }}"
<view class="card_content"> class="{{ ['tips', item.isShowReasonAll ? 'show' : ''] }}"
<view class="date"> bind:tap="handleShowReason"
<text style="margin-right: var(--fontSize8);">投递于</text> data-index="{{ index }}"
{{item.createdDate}} >
</view> <text wx:if="{{ item.isShowReasonAll }}">收起</text>
<view class="btn_group"> <view wx:else class="btn-reason-all">查看全部</view>
<view class="btn btn_outline" bindtap="handleViewResume" data-url="{{ item.resumeUrl }}">查看简历</view> </view>
<view wx:if="{{ item.processResult == null || (item.processResult == 2 && item.interviewResult == null) }}" class="btn btn_primary" bindtap="handleProcess" data-index="{{ index }}">处理</view> </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>
</view> <view class="card_content">
</view> <view class="date">
</block> <text style="margin-right: var(--fontSize8);">投递于</text>
</block> {{item.createdDate}}
<block wx:else> </view>
<view class="card-empty"> <view class="btn_group">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" /> <view class="btn btn_outline" bindtap="handleViewResume" data-url="{{ item.resumeUrl }}">查看简历</view>
<text>暂无数据</text> <view
</view> wx:if="{{ item.processResult == null || (item.processResult == 2 && item.interviewResult == null) }}"
</block> class="btn btn_primary"
</view> bindtap="handleProcess"
<view class="recruit_info"> data-index="{{ index }}"
<view class="block_title">招聘信息</view> >处理</view>
<block wx:if="{{ recruitmentInfoConfig }}"> <!-- <van-button wx:if="{{item.status === 0}}" class="btn btn_primary" bindtap="handleProcess" data-id="{{item.id}}" plain type="primary">处理</van-button> -->
<view class="card"> </view>
<view class="info_item" wx:for="{{ recruitmentInfoConfig }}" wx:key="field" wx:for-item="infoItem"> </view>
<text class="label">{{infoItem.label}}</text> </view>
<view class="value value_box" wx:if="{{ infoItem.label === '门店名称' }}"> </block>
<text> {{recruitment[infoItem.field] || '-'}}</text> </block>
<image class="ji" wx:if="{{ recruitment.urgent == 1 }}" src="{{ IMG_URL }}ji.png" mode="aspectFill" /> <block wx:else>
</view> <view class="card-empty">
<view class="value value_box" wx:elif="{{ infoItem.label === '招聘负责人' || infoItem.label === '技术督导' }}"> <image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<text> {{recruitment[infoItem.field] || '-'}}</text> <text>暂无数据</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>
</view> </block>
<text class="value" wx:else>{{recruitment[infoItem.field] || '-'}}</text> </view>
</view> <view class="recruit_info">
</view> <view class="block_title">招聘信息</view>
</block> <block wx:if="{{ recruitmentInfoConfig }}">
<block wx:else> <view class="card">
<view class="card-empty"> <view class="info_item" wx:for="{{ recruitmentInfoConfig }}" wx:key="field" wx:for-item="infoItem">
<image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" /> <text class="label">{{infoItem.label}}</text>
<text>暂无数据</text> <view class="value value_box" wx:if="{{ infoItem.label === '门店名称' }}">
</view> <text> {{recruitment[infoItem.field] || '-'}}</text>
</block> <image class="ji" wx:if="{{ recruitment.urgent == 1 }}" src="{{ IMG_URL }}ji.png" mode="aspectFill" />
</view> </view>
</view> <view class="value value_box" wx:elif="{{ infoItem.label === '招聘负责人' || infoItem.label === '技术督导' }}">
<edit-popup wx:if="{{ handleShowMessagePop }}" formData="{{ formData }}" bindconfirm="updateMentorShip" bindcancel="hidePopup"></edit-popup> <text> {{recruitment[infoItem.field] || '-'}}</text>
<van-popup show="{{ showPopup }}" position="bottom" bind:close="hidePopup" lock-scroll="{{ true }}" round catchtouchmove="preventTouchMove"> <image
<view class="popup_content"> class="phone_icon"
<view class="title">{{ popupType == 'initial' ? '简历处理' : '面试反馈' }}</view> wx:if="{{ (infoItem.label === '招聘负责人' && recruitment.recruiterPhone) || (infoItem.label === '技术督导' && recruitment.technicalSupervisorPhone) }}"
<scroll-view scroll-y style="height: var(--fontSize807);" bindtouchmove="stopPropagation"> src="/packageWorkspace/pages/image/call-icon.png"
<view class="form"> mode="widthFix"
<!-- Initial Processing --> catchtap="phoneCall"
<block wx:if="{{ popupType == 'initial' }}"> data-phone="{{ infoItem.label === '招聘负责人' ? recruitment.recruiterPhone : recruitment.technicalSupervisorPhone }}"
<view class="form_item"> />
<view class="label"> </view>
处理结果 <text class="value" wx:else>{{recruitment[infoItem.field] || '-'}}</text>
<text class="required">*</text> </view>
</view> </view>
<view class="value"> </block>
<view class="radio mar-r20" bindtap="selectTag" data-field="processResult" data-value="{{ 2 }}"> <block wx:else>
<image class="radio-icon" wx:if="{{ formData.processResult == 2 }}" src="{{ IMG_URL }}radio-checked.png" /> <view class="card-empty">
<view class="cily" wx:else></view> <image class="icon" src="{{ IMG_URL }}empty-data.png" mode="aspectFill" />
<view class="text">人员符合</view> <text>暂无数据</text>
</view> </view>
<view class="radio" bindtap="selectTag" data-field="processResult" data-value="{{ 1 }}"> </block>
<image class="radio-icon" wx:if="{{ formData.processResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" /> </view>
<view class="cily" wx:else></view> </view>
<view class="text">人员不符合</view> <edit-popup wx:if="{{ handleShowMessagePop }}" formData="{{ formData }}" bindconfirm="updateMentorShip" bindcancel="hidePopup"></edit-popup>
</view> <van-popup
</view> show="{{ showPopup }}"
</view> position="bottom"
<view class="form_item" wx:if="{{ formData.processResult == 2 }}"> bind:close="hidePopup"
<view class="label"> lock-scroll="{{ true }}"
预计面试时间 round
<text class="required">*</text> catchtouchmove="preventTouchMove"
</view> >
<view class="value" bindtap="showTimePicker"> <view class="popup_content">
<view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选预计面试时间'}}</view> <view class="title">{{ popupType == 'initial' ? '简历处理' : '面试反馈' }}</view>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" /> <scroll-view scroll-y style="height: var(--fontSize807);" bindtouchmove="stopPropagation">
</view> <view class="form">
</view> <!-- Initial Processing -->
</block> <block wx:if="{{ popupType == 'initial' }}">
<!-- Interview Feedback --> <view class="form_item">
<block wx:if="{{ popupType == 'interview' }}"> <view class="label">
<view class="form_item"> 处理结果
<view class="label"> <text class="required">*</text>
面试结果 </view>
<text class="required">*</text> <view class="value">
</view> <view class="radio mar-r20" bindtap="selectTag" data-field="processResult" data-value="{{ 2 }}">
<view class="value"> <image class="radio-icon" wx:if="{{ formData.processResult == 2 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="radio mar-r20" bindtap="selectTag" data-field="interviewResult" data-value="{{ 1 }}"> <view class="cily" wx:else></view>
<image class="radio-icon" wx:if="{{ formData.interviewResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" /> <view class="text">人员符合</view>
<view class="cily" wx:else></view> </view>
<view class="text">通过</view> <view class="radio" bindtap="selectTag" data-field="processResult" data-value="{{ 1 }}">
</view> <image class="radio-icon" wx:if="{{ formData.processResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="radio" bindtap="selectTag" data-field="interviewResult" data-value="{{ 0 }}"> <view class="cily" wx:else></view>
<image class="radio-icon" wx:if="{{ formData.interviewResult === 0 }}" src="{{ IMG_URL }}radio-checked.png" /> <view class="text">人员不符合</view>
<view class="cily" wx:else></view> </view>
<view class="text">不通过</view> </view>
</view> </view>
</view> <view class="form_item" wx:if="{{ formData.processResult == 2 }}">
</view> <view class="label">
<view class="form_item"> 预计面试时间
<view class="label"> <text class="required">*</text>
面试时间 </view>
<text class="required">*</text> <view class="value" bindtap="showTimePicker">
</view> <view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选预计面试时间'}}</view>
<view class="value" bindtap="showTimePicker"> <image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" />
<view class="{{ formData.dipalyTime ? 'time_text' : 'placeholder_text' }}">{{formData.dipalyTime || '请选择面试时间'}}</view> </view>
<image class="arrow_right" src="/packageWorkspace/pages/image/arrow-right.png" mode="aspectFill" /> </view>
</view> </block>
</view> <!-- Interview Feedback -->
</block> <block wx:if="{{ popupType == 'interview' }}">
<view class="form_item form_item_textarea"> <view class="form_item">
<view class="label">说明</view> <view class="label">
<view class="value"> 面试结果
<view class="textarea_wrapper"> <text class="required">*</text>
<textarea placeholder="请输入" value="{{ formData.description }}" data-field="description" bindinput="handleTextareaInput" maxlength="200"></textarea> </view>
<view class="char_count">{{formData.descriptionLength || 0}}/200</view> <view class="value">
</view> <view class="radio mar-r20" bindtap="selectTag" data-field="interviewResult" data-value="{{ 1 }}">
</view> <image class="radio-icon" wx:if="{{ formData.interviewResult == 1 }}" src="{{ IMG_URL }}radio-checked.png" />
</view> <view class="cily" wx:else></view>
</view> <view class="text">通过</view>
</scroll-view> </view>
<view class="popup_footer"> <view class="radio" bindtap="selectTag" data-field="interviewResult" data-value="{{ 0 }}">
<view class="btn btn_cancel" bindtap="hidePopup">取消</view> <image class="radio-icon" wx:if="{{ formData.interviewResult === 0 }}" src="{{ IMG_URL }}radio-checked.png" />
<view class="btn btn_confirm {{ isProcessing ? 'btn_disabled' : '' }}" bindtap="confirmProcess">{{isProcessing ? '处理中...' : '确认'}}</view> <view class="cily" wx:else></view>
</view> <view class="text">不通过</view>
</view> </view>
</van-popup> </view>
<!-- 时间选择器 --> </view>
<van-popup show="{{ timeShow }}" position="bottom" round bind:close="calcelDate" catchtouchmove="preventTouchMove"> <view class="form_item">
<van-datetime-picker type="date" value="{{ currentDate }}" formatter="{{ formatter }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:confirm="bindDateChange" bind:cancel="calcelDate" /> <view class="label">
</van-popup> 面试时间
<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> </view>
\ No newline at end of file \ 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!