Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-manager-ui
Commits
7167482c
Commit
7167482c
authored
Jul 19, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
da40979b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
2 deletions
+29
-2
src/views/perform/staff/conf/drawershow.vue
src/views/perform/staff/conf/drawershow.vue
+29
-2
No files found.
src/views/perform/staff/conf/drawershow.vue
View file @
7167482c
...
...
@@ -350,7 +350,7 @@
<
/div
>
<
/div
>
<
span
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
el
-
button
@
click
=
"
dialog = false
"
>
取
消
<
/el-button
>
<
el
-
button
@
click
=
"
handleCancel
"
>
取
消
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
dialog = false
"
>
确
定
<
/el-button
>
<
/span
>
<
/el-dialog
>
...
...
@@ -436,6 +436,34 @@ export default {
}
,
methods
:
{
handleCancel
()
{
if
(
this
.
title
==
"
修改人员自动考核信息
"
)
{
this
.
selectArr
=
[];
let
arr
=
[];
this
.
form
.
staffNames
&&
this
.
form
.
staffNames
!=
""
?
(
arr
=
this
.
form
.
staffNames
.
split
(
"
,
"
))
:
""
;
arr
&&
arr
.
forEach
((
v
)
=>
{
this
.
treeData
.
forEach
((
val
)
=>
{
if
(
v
==
val
.
name
)
{
this
.
selectArr
.
push
(
val
);
}
}
);
}
);
this
.
selectArr
&&
this
.
selectArr
.
length
>
0
?
this
.
$refs
.
tree
.
setCheckedNodes
(
this
.
selectArr
)
:
""
;
this
.
selectArr
&&
this
.
selectArr
.
length
>
0
?
(
this
.
form
.
staffIds
=
this
.
selectArr
.
map
((
v
)
=>
v
.
id
).
join
(
"
,
"
))
:
""
;
}
else
{
this
.
selectArr
=
[];
}
this
.
dialog
=
false
;
return
;
}
,
handleSearch
()
{
this
.
getKaoQin
(
this
.
type
);
}
,
...
...
@@ -538,7 +566,6 @@ export default {
this
.
$get
(
"
/perform/staff/conf/info
"
,
{
id
:
row
.
id
}
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
form
=
res
.
data
;
console
.
log
(
this
.
treeData
);
let
arr
=
res
.
data
.
staffIds
.
split
(
"
,
"
);
this
.
selectArr
=
[];
arr
.
forEach
((
v
)
=>
{
...
...
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