Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-enterprise-people-recruitment-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
mp-enterprise-people-recruitment-h5
Commits
e138643d
Commit
e138643d
authored
Nov 11, 2024
by
李明环(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
岗位筛选添加重置功能
parent
e539c0d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
index.vue
src/components/filter/index.vue
+4
-2
index.vue
src/pages/recommend/index.vue
+2
-2
No files found.
src/components/filter/index.vue
View file @
e138643d
...
...
@@ -94,7 +94,7 @@
</div>
</div>
<div
class=
"bottom-wrap"
>
<button
class=
"cancel"
@
click=
"onCancel"
>
取消
</button>
<button
class=
"cancel"
@
click=
"onCancel"
>
重置
</button>
<button
class=
"confirm"
@
click=
"onConfirm"
>
确认
</button>
</div>
</div>
...
...
@@ -209,7 +209,9 @@ initData();
const
emit
=
defineEmits
([
"confirm"
,
"cancel"
]);
// 2. 取消
const
onCancel
=
()
=>
{
emit
(
"cancel"
);
initData
()
onConfirm
()
// emit("cancel");
};
// 1. 确认 接收数据
const
onConfirm
=
()
=>
{
...
...
src/pages/recommend/index.vue
View file @
e138643d
...
...
@@ -47,7 +47,7 @@
@
confirm=
"handleConfirmMajor"
use-default-slot
>
<view
class=
"item"
>
{{
majorText
||
"
全部
"
}}
<view
class=
"arrow"
></view>
</view>
<view
class=
"item"
>
{{
majorText
||
"
不限
"
}}
<view
class=
"arrow"
></view>
</view>
</wd-col-picker>
</view>
<!--
<view
class=
"item"
>
默认排序
<view
class=
"arrow"
></view>
</view>
-->
...
...
@@ -231,7 +231,7 @@ const getResumeRecommendList = () => {
if
(
activeTab
.
value
===
"求职推荐"
)
{
return
getRecommendedResumeListApi
(
getResumeRecommendListParams
.
value
).
then
(
res
=>
{
xma
.
hideLoading
();
res
.
data
=
res
.
data
.
filter
(
v
=>
!
v
.
applied
);
res
.
data
=
res
.
data
?
.
filter
(
v
=>
!
v
.
applied
);
refresherEnabled
.
value
=
false
;
if
(
!
res
.
data
)
{
res
.
data
=
[];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment