Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3e6b7dcf
authored
Apr 28, 2026
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.7.4' into 'master'
上线合并 See merge request
!21
2 parents
da75ec22
7d851f92
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
158 additions
and
19 deletions
packageWorkspace/pages/newReceptionRecords/components/dialogue/dialogue.wxml
packageWorkspace/pages/receptionDetail/components/dialogue/dialogue.wxml
packageWorkspace/pages/recruitManage/api.js
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.js
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml
packageWorkspace/pages/recruitManage/recruitManage/constantData.js
packageWorkspace/pages/newReceptionRecords/components/dialogue/dialogue.wxml
View file @
3e6b7dc
<view class="view">
<block wx:if="{{flag}}">
<block wx:if="{{dialogueList.length}}">
<scroll-view class="scroll-view" enhanced scroll-y scroll-into-view="{{toId}}" show-scrollbar="{{false}}" bindtouchstart="touchstart" bindtouchend="touchend"
scroll-with-animation
bindscroll="watchScrollTrack" data-event-code="dialogue">
<scroll-view class="scroll-view" enhanced scroll-y scroll-into-view="{{toId}}" show-scrollbar="{{false}}" bindtouchstart="touchstart" bindtouchend="touchend" bindscroll="watchScrollTrack" data-event-code="dialogue">
<block wx:for="{{dialogueList}}" wx:key="index">
<view class="item {{activeId == item.text_id?'active':''}}" id="{{item.text_id}}" data-click bindtap="seekPlay" data-item="{{item}}" data-index="{{index}}">
<block wx:if="{{item.visible}}">
...
...
packageWorkspace/pages/receptionDetail/components/dialogue/dialogue.wxml
View file @
3e6b7dc
<view class="view">
<block wx:if="{{flag}}">
<block wx:if="{{dialogueList.length}}">
<scroll-view class="scroll-view" enhanced scroll-y scroll-into-view="{{toId}}" show-scrollbar="{{false}}" bindtouchstart="touchstart" bindtouchend="touchend"
scroll-with-animation
bindscroll="watchScrollTrack" data-event-code="dialogue">
<scroll-view class="scroll-view" enhanced scroll-y scroll-into-view="{{toId}}" show-scrollbar="{{false}}" bindtouchstart="touchstart" bindtouchend="touchend" bindscroll="watchScrollTrack" data-event-code="dialogue">
<block wx:for="{{dialogueList}}" wx:key="index">
<view class="item {{activeId == item.text_id?'active':''}} {{item.conversationCheckDetailDTO || item.defenceDetail ? 'hide-margin' :''}}" id="{{item.text_id}}" data-click bindtap="seekPlay" data-item="{{item}}" data-index="{{index}}">
<block wx:if="{{item.visible}}">
...
...
packageWorkspace/pages/recruitManage/api.js
View file @
3e6b7dc
...
...
@@ -114,6 +114,17 @@ module.exports = {
'/rop-dj-staff-miniprogram/router'
)
},
// 处理试岗计划
processTrialPlanAPI
(
data
)
{
return
api
.
post
(
'dj.api.staff.miniprogram.recruitment.trial.onboarding.process'
,
data
,
[],
'/rop-dj-staff-miniprogram/router'
)
},
// 获取带教任务数量
getMentorShipTaskNum
(
data
)
{
return
api
.
post
(
...
...
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.js
View file @
3e6b7dc
// packageWorkspace/pages/recruitManage/pages/recruitDetail/recruitDetail.js
import
{
unix
}
from
'dayjs'
import
{
getRecruitDetailAPI
,
processResumeAPI
,
getStaffDictListAPI
,
addTrialPlanAPI
,
updateTrialPlanAPI
,
deleteTrialPlanAPI
}
from
'../api'
import
{
getRecruitDetailAPI
,
processResumeAPI
,
getStaffDictListAPI
,
addTrialPlanAPI
,
updateTrialPlanAPI
,
deleteTrialPlanAPI
,
processTrialPlanAPI
}
from
'../api'
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/miniprogram/regional-assistant/'
// 统计列表配置映射
...
...
@@ -99,6 +99,7 @@ Page({
showTrialPopup
:
false
,
trialPopupType
:
'add'
,
trialFormData
:
{
id
:
''
,
personName
:
''
,
phoneNumber
:
''
,
channelType
:
''
,
...
...
@@ -113,6 +114,10 @@ Page({
trialTimeShow
:
false
,
trialCurrentDate
:
new
Date
().
getTime
(),
isProcessingTrial
:
false
,
trialDealResultOptions
:
[
{
label
:
'通过'
,
value
:
'1'
},
{
label
:
'不通过'
,
value
:
'0'
}
],
// 时间选择器列表子项展示-格式化处理
formatter
(
type
,
value
)
{
...
...
@@ -392,7 +397,8 @@ Page({
if
(
trialOnboardingPlans
&&
trialOnboardingPlans
?.
length
>
0
)
{
trialOnboardingPlans
=
trialOnboardingPlans
.
map
(
item
=>
({
...
item
,
isShow
:
item
.
createdPhone
==
userInfo
.
phone
,
// 是否登陆用户新增
isUserAdd
:
item
.
createdPhone
==
userInfo
.
phone
,
onboardingDate
:
this
.
formatDate
(
item
.
trialTime
)
}))
}
...
...
@@ -608,7 +614,15 @@ Page({
// 防止重复提交
if
(
isProcessing
)
return
if
(
popupType
===
'initial'
)
{
if
(
popupType
===
'trialDeal'
)
{
if
(
formData
.
processResult
===
''
)
{
wx
.
showToast
({
title
:
'请选择处理结果'
,
icon
:
'none'
})
return
}
}
else
if
(
popupType
===
'initial'
)
{
// 简历处理阶段验证
if
(
formData
.
processResult
===
''
)
{
wx
.
showToast
({
...
...
@@ -655,6 +669,44 @@ Page({
// processResult: formData?.processResult
}
if
(
popupType
===
'trialDeal'
)
{
processTrialPlanAPI
({
id
:
formData
.
id
,
demandId
:
this
.
curDataId
,
processResult
:
Number
(
formData
.
processResult
),
processRemark
:
formData
.
processRemark
||
''
})
.
then
(
result
=>
{
let
{
code
,
message
}
=
result
if
(
code
==
0
)
{
this
.
getDetail
(
this
.
curDataId
)
wx
.
showToast
({
title
:
'处理成功'
,
icon
:
'success'
})
this
.
hidePopup
()
}
else
{
this
.
setData
({
isProcessing
:
false
})
wx
.
showToast
({
title
:
message
||
'处理失败'
,
icon
:
'none'
})
}
})
.
catch
(()
=>
{
this
.
setData
({
isProcessing
:
false
})
wx
.
showToast
({
title
:
'处理失败'
,
icon
:
'none'
})
})
return
}
if
(
popupType
===
'initial'
)
{
requestParams
.
processResult
=
formData
?.
processResult
if
(
formData
.
processResult
==
2
)
{
...
...
@@ -774,6 +826,7 @@ showTrialTimePicker() {
showTrialPopup
:
true
,
trialPopupType
:
'add'
,
trialFormData
:
{
id
:
''
,
personName
:
''
,
phoneNumber
:
''
,
channelType
:
''
,
...
...
@@ -801,8 +854,32 @@ showTrialTimePicker() {
})
}
},
// 显示试岗处理弹窗
handleTrialDeal
(
e
)
{
const
item
=
e
.
currentTarget
.
dataset
.
item
||
{}
const
query
=
wx
.
createSelectorQuery
()
query
.
selectViewport
().
scrollOffset
()
query
.
exec
(
res
=>
{
if
(
res
&&
res
[
0
])
{
this
.
setData
({
pageScrollTop
:
res
[
0
].
scrollTop
})
}
})
this
.
setData
({
showPopup
:
true
,
popupType
:
'trialDeal'
,
formData
:
{
id
:
item
.
id
||
''
,
processResult
:
''
,
processRemark
:
''
,
processRemarkLength
:
0
}
})
},
hideTrialPopup
()
{
this
.
setData
({
showTrialPopup
:
false
})
this
.
setData
({
showTrialPopup
:
false
,
isProcessingTrial
:
false
})
},
handleTrialInput
(
e
)
{
...
...
@@ -813,6 +890,27 @@ showTrialTimePicker() {
})
},
selectTrialDealResult
(
e
)
{
const
{
value
}
=
e
.
currentTarget
.
dataset
const
{
formData
}
=
this
.
data
this
.
setData
({
'formData.processResult'
:
formData
.
processResult
===
value
?
''
:
value
})
},
handleTrialDealRemarkInput
(
e
)
{
let
value
=
e
.
detail
.
value
||
''
const
{
formData
}
=
this
.
data
if
(
value
.
length
>
200
)
{
value
=
value
.
substring
(
0
,
200
)
}
formData
.
processRemark
=
value
formData
.
processRemarkLength
=
value
.
length
this
.
setData
({
formData
})
},
showChannelPicker
()
{
this
.
setData
({
showChannelPopup
:
true
,
...
...
packageWorkspace/pages/recruitManage/recruitDetail/recruitDetail.wxml
View file @
3e6b7dc
...
...
@@ -65,24 +65,28 @@
<block wx:if="{{ trialOnboardingPlans.length }}">
<block wx:for="{{ trialOnboardingPlans }}" wx:key="index">
<view class="card">
<view class="card_top">
<view class="card_top
white_bg
">
<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="tag tag-{{ item.processResult == null ? 'pending' : (item.processResult == 1 ? 'pass' : 'fail') }}">
{{ item.processResult == null ? '试岗中' : (item.processResult == 1 ? '通过' : '不通过') }}
</view>
</view>
<view class="user_bottom" style="gap: 0; margin-top: 0;">
<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 class="card_actions" wx:if="{{item.isShow}}">
<view class="btn btn_delete" bindtap="deleteTrialPlan" data-id="{{item.id}}">删除</view>
<view class="btn btn_edit" bindtap="showTrialPopup" data-type="edit" data-item="{{item}}">编辑</view>
<view class="card_actions" wx:if="{{item.processResult === null}}">
<view wx:if="{{item.isUserAdd}}" class="btn btn_delete" bindtap="deleteTrialPlan" data-id="{{item.id}}">删除</view>
<view wx:if="{{item.isUserAdd}}" class="btn btn_edit" bindtap="showTrialPopup" data-type="edit" data-item="{{item}}">编辑</view>
<view class="btn btn_edit" bindtap="handleTrialDeal" data-type="edit" data-item="{{item}}">处理</view>
</view>
</view>
</block>
...
...
@@ -216,11 +220,37 @@
catchtouchmove="preventTouchMove"
>
<view class="popup_content">
<view class="title">{{ popupType ==
'initial' ? '简历处理' : '面试反馈'
}}</view>
<view class="title">{{ popupType ==
= 'interview' ? '面试反馈' : (popupType === 'trialDeal' ? '试岗处理' : '简历处理')
}}</view>
<scroll-view scroll-y style="height: var(--fontSize807);" bindtouchmove="stopPropagation">
<view class="form">
<block wx:if="{{ popupType === 'trialDeal' }}">
<view class="form_item">
<view class="label">
处理结果
<text class="required">*</text>
</view>
<view class="value">
<text
wx:for="{{ trialDealResultOptions }}"
wx:key="value"
class="tag {{ formData.processResult == item.value ? 'active' : '' }}"
bindtap="selectTrialDealResult"
data-value="{{ item.value }}"
>{{ item.label }}</text>
</view>
</view>
<view class="form_item form_item_textarea">
<view class="label">说明</view>
<view class="value">
<view class="textarea_wrapper">
<textarea placeholder="请输入说明" value="{{ formData.processRemark }}" bindinput="handleTrialDealRemarkInput" maxlength="200" />
<view class="char_count">{{ formData.processRemarkLength || 0 }}/200</view>
</view>
</view>
</view>
</block>
<!-- Initial Processing -->
<block wx:if="{{ popupType == 'initial' }}">
<block wx:
el
if="{{ popupType == 'initial' }}">
<view class="form_item">
<view class="label">
处理结果
...
...
@@ -281,7 +311,7 @@
</view>
</view>
</block>
<view class="form_item form_item_textarea">
<view class="form_item form_item_textarea"
wx:if="{{ popupType !== 'trialDeal' }}"
>
<view class="label">说明</view>
<view class="value">
<view class="textarea_wrapper">
...
...
@@ -400,4 +430,4 @@
</view>
</view>
</view>
</van-popup>
\ No newline at end of file
</van-popup>
packageWorkspace/pages/recruitManage/recruitManage/constantData.js
View file @
3e6b7dc
...
...
@@ -154,15 +154,15 @@ export const getStatusTipText = function (item) {
status
,
waitProcessResumeCount
,
confirmFlag
,
trialWaitConfirm
Count
,
waitProcessTrial
Count
,
onboardingWaitConfirmCount
}
=
item
// 待处理提示文案显示逻辑
if
(
status
==
1
&&
waitProcessResumeCount
>
0
)
{
return
`您有
${
waitProcessResumeCount
}
份简历待处理,请及时跟进`
}
else
if
(
status
==
1
&&
trialWaitConfirm
Count
>
0
)
{
return
'您有新的试岗记录,请及时查看'
}
else
if
(
status
==
1
&&
waitProcessTrial
Count
>
0
)
{
return
`您有
${
waitProcessTrialCount
}
个试岗记录待处理,请及时跟进`
}
else
if
(
status
==
1
&&
onboardingWaitConfirmCount
>
0
)
{
return
'您有新的入职记录,请及时查看'
}
else
if
(
status
==
2
&&
confirmFlag
==
'N'
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment