Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 744892e7
authored
Jan 13, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat bug修复
1 parent
48526e1d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
11 deletions
config.js
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.js
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.wxml
packageEquity/pages/recruitManage/recruitManage/recruitManage.js
config.js
View file @
744892e
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
0
;
let
index
=
1
;
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
...
...
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.js
View file @
744892e
...
@@ -37,7 +37,7 @@ const RECRUITMENT_INFO_CONFIG = [
...
@@ -37,7 +37,7 @@ const RECRUITMENT_INFO_CONFIG = [
const
RECRUIT_STATUS_CONFIG
=
{
const
RECRUIT_STATUS_CONFIG
=
{
// mixResult状态映射
// mixResult状态映射
0
:
{
text
:
'待处理'
,
class
:
'pending'
,
canProcess
:
true
},
0
:
{
text
:
'待处理'
,
class
:
'pending'
,
canProcess
:
true
},
1
:
{
text
:
'人员不
匹配
'
,
class
:
'mismatch'
,
canProcess
:
false
},
1
:
{
text
:
'人员不
符合
'
,
class
:
'mismatch'
,
canProcess
:
false
},
2
:
{
text
:
'面试通过'
,
class
:
'pass'
,
canProcess
:
false
},
2
:
{
text
:
'面试通过'
,
class
:
'pass'
,
canProcess
:
false
},
3
:
{
text
:
'面试不通过'
,
class
:
'fail'
,
canProcess
:
false
}
3
:
{
text
:
'面试不通过'
,
class
:
'fail'
,
canProcess
:
false
}
}
}
...
@@ -79,6 +79,8 @@ Page({
...
@@ -79,6 +79,8 @@ Page({
timeShow
:
false
,
// 控制时间选择器显示
timeShow
:
false
,
// 控制时间选择器显示
currentDate
:
new
Date
().
getTime
(),
currentDate
:
new
Date
().
getTime
(),
today
:
new
Date
().
getTime
(),
// 当前日期,用于限制日期选择器的最大值
today
:
new
Date
().
getTime
(),
// 当前日期,用于限制日期选择器的最大值
minDate
:
new
Date
().
getTime
(),
maxDate
:
new
Date
().
getTime
(),
formData
:
{},
// 弹窗表单数据
formData
:
{},
// 弹窗表单数据
detailLoaded
:
false
,
// 标识是否已加载详情
detailLoaded
:
false
,
// 标识是否已加载详情
curDataId
:
''
,
curDataId
:
''
,
...
@@ -122,9 +124,29 @@ Page({
...
@@ -122,9 +124,29 @@ Page({
}
}
// 重置为当前日期
// 重置为当前日期
const
now
=
new
Date
().
getTime
()
const
{
popupType
}
=
this
.
data
let
minDate
,
maxDate
if
(
popupType
===
'initial'
)
{
// 预计面试时间:当前及之后
minDate
=
now
maxDate
=
new
Date
(
new
Date
().
setFullYear
(
new
Date
().
getFullYear
()
+
10
)
).
getTime
()
}
else
{
// 面试时间:当前及之前
minDate
=
new
Date
(
new
Date
().
setFullYear
(
new
Date
().
getFullYear
()
-
10
)
).
getTime
()
maxDate
=
now
}
this
.
setData
({
this
.
setData
({
timeShow
:
true
,
timeShow
:
true
,
currentDate
:
new
Date
().
getTime
()
currentDate
:
now
,
minDate
,
maxDate
})
})
},
},
...
@@ -421,7 +443,7 @@ Page({
...
@@ -421,7 +443,7 @@ Page({
// 当切换"处理结果"标签时,初始化相关表单数据
// 当切换"处理结果"标签时,初始化相关表单数据
if
(
field
===
'processResult'
)
{
if
(
field
===
'processResult'
)
{
// 切换到"人员不
匹配
"时,清空预计面试时间
// 切换到"人员不
符合
"时,清空预计面试时间
if
(
value
==
1
)
{
if
(
value
==
1
)
{
formData
.
expectedInterviewTime
=
''
formData
.
expectedInterviewTime
=
''
formData
.
dipalyTime
=
''
formData
.
dipalyTime
=
''
...
@@ -566,11 +588,11 @@ Page({
...
@@ -566,11 +588,11 @@ Page({
let
requestParams
=
{
let
requestParams
=
{
id
:
formData
.
id
,
id
:
formData
.
id
,
technicalSupervisorName
:
recruitment
.
technicalSupervisorName
,
technicalSupervisorName
:
recruitment
.
technicalSupervisorName
,
technicalSupervisorPhone
:
recruitment
.
technicalSupervisorPhone
,
technicalSupervisorPhone
:
recruitment
.
technicalSupervisorPhone
}
}
if
(
popupType
===
'initial'
)
{
if
(
popupType
===
'initial'
)
{
requestParams
.
processResult
=
formData
?.
processResult
requestParams
.
processResult
=
formData
?.
processResult
if
(
formData
.
processResult
==
2
)
{
if
(
formData
.
processResult
==
2
)
{
requestParams
.
expectedInterviewTime
=
formData
.
expectedInterviewTime
requestParams
.
expectedInterviewTime
=
formData
.
expectedInterviewTime
}
}
...
...
packageEquity/pages/recruitManage/recruitDetail/recruitDetail.wxml
View file @
744892e
...
@@ -289,7 +289,8 @@
...
@@ -289,7 +289,8 @@
bind:cancel="calcelDate"
bind:cancel="calcelDate"
value="{{ currentDate }}"
value="{{ currentDate }}"
formatter="{{ formatter }}"
formatter="{{ formatter }}"
max-date="{{ today }}"
min-date="{{ minDate }}"
max-date="{{ maxDate }}"
bind:confirm="bindDateChange"
bind:confirm="bindDateChange"
/>
/>
</van-popup>
</van-popup>
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/recruitManage/recruitManage/recruitManage.js
View file @
744892e
...
@@ -33,8 +33,6 @@ Page({
...
@@ -33,8 +33,6 @@ Page({
onLoad
(
options
)
{
onLoad
(
options
)
{
let
{
mentorshipFormData
}
=
this
.
data
let
{
mentorshipFormData
}
=
this
.
data
let
userInfo
=
wx
.
$util
.
getUserInfo
()
let
userInfo
=
wx
.
$util
.
getUserInfo
()
this
.
getWaitstaffstate
()
this
.
search
()
// 非区域运营登录,打回到首页
// 非区域运营登录,打回到首页
//ll if (userInfo?.loginRole != 3) wx.reLaunch({ url: "/pages/loading/loading" })
//ll if (userInfo?.loginRole != 3) wx.reLaunch({ url: "/pages/loading/loading" })
if
(
userInfo
?.
isSuper
)
{
if
(
userInfo
?.
isSuper
)
{
...
@@ -81,12 +79,14 @@ Page({
...
@@ -81,12 +79,14 @@ Page({
// 标签切换
// 标签切换
tabClick
(
e
)
{
tabClick
(
e
)
{
if
(
this
.
data
.
tabIndex
===
e
.
detail
)
return
this
.
setData
(
this
.
setData
(
{
{
tabIndex
:
e
.
detail
,
tabIndex
:
e
.
detail
,
list
:
[]
list
:
[]
},
},
()
=>
{
()
=>
{
console
.
log
(
'tabClick'
)
this
.
search
()
this
.
search
()
this
.
getWaitstaffstate
()
this
.
getWaitstaffstate
()
}
}
...
@@ -166,8 +166,8 @@ Page({
...
@@ -166,8 +166,8 @@ Page({
confiremStaffFlagAPI
({
id
:
item
.
id
}).
then
(
res
=>
{
confiremStaffFlagAPI
({
id
:
item
.
id
}).
then
(
res
=>
{
let
{
code
}
=
res
let
{
code
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
this
.
getWaitstaffstate
()
//
this.getWaitstaffstate()
this
.
search
()
//
this.search()
}
}
})
})
},
},
...
...
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