Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
e7d7953c
Commit
e7d7953c
authored
Aug 23, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复数据为空,全选被选中问题
parent
271c28b0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
allResume.vue
src/page/resume/allResume.vue
+4
-3
channel.vue
src/page/resume/channel.vue
+4
-3
account.vue
src/page/system/account.vue
+4
-0
No files found.
src/page/resume/allResume.vue
View file @
e7d7953c
...
...
@@ -398,11 +398,12 @@ import Router from 'vue-router';
watch
:
{
checkboxList
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
this
.
checkboxList
.
length
===
this
.
ajaxData
.
length
)
{
this
.
checked
=
true
;
}
if
(
this
.
ajaxData
.
length
==
0
){
this
.
checked
=
false
return
}
if
(
this
.
checkboxList
.
length
===
this
.
ajaxData
.
length
)
{
this
.
checked
=
true
;
}
else
{
this
.
checked
=
false
;
...
...
src/page/resume/channel.vue
View file @
e7d7953c
...
...
@@ -1020,11 +1020,12 @@ export default {
},
checkboxList
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
this
.
checkboxList
.
length
===
this
.
ajaxData
.
length
)
{
this
.
checked
=
true
;
}
if
(
this
.
ajaxData
.
length
==
0
){
this
.
checked
=
false
return
}
if
(
this
.
checkboxList
.
length
===
this
.
ajaxData
.
length
)
{
this
.
checked
=
true
;
}
else
{
this
.
checked
=
false
;
...
...
src/page/system/account.vue
View file @
e7d7953c
...
...
@@ -316,6 +316,10 @@ export default {
watch
:
{
checkboxList
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
this
.
ajaxData
.
length
==
0
){
this
.
checked
=
false
return
}
if
(
this
.
checkboxList
.
length
===
this
.
ajaxData
.
length
)
{
this
.
checked
=
true
;
}
else
{
...
...
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