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
e33b2e26
Commit
e33b2e26
authored
Feb 12, 2025
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed:修改备注2为空字符串得问题
parent
65b40b58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
23 deletions
+25
-23
src/views/staff/perform/summary/dialogshow.vue
src/views/staff/perform/summary/dialogshow.vue
+25
-23
No files found.
src/views/staff/perform/summary/dialogshow.vue
View file @
e33b2e26
...
...
@@ -314,35 +314,37 @@ export default {
this
.
urls
.
currUrl
=
"
staff/perform/summary/edit
"
;
this
.
pageInfo
.
type
=
"
edit
"
;
this
.
title
=
"
员工绩效统计
"
;
await
this
.
getData
();
row
.
label
&&
row
.
label
!=
""
?
(
this
.
form
.
label
=
row
.
label
)
:
""
;
this
.
$nextTick
(
async
()
=>
{
if
(
row
.
label
==
"
备注2
"
)
{
await
this
.
$post
(
"
/perform/rules/list
"
,
{
size
:
-
1
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
rulesList
=
res
.
data
.
data
;
this
.
rulesList
&&
this
.
rulesList
.
length
>
0
?
this
.
rulesList
.
forEach
((
v
)
=>
{
v
.
value
=
v
.
name
+
"
--
"
+
v
.
content
;
})
:
""
;
if
(
!
this
.
form
.
remarkAdd
||
this
.
form
.
remarkAdd
.
length
==
0
||
this
.
form
.
remarkAdd
!=
""
)
{
this
.
form
.
remarkAdd
=
[];
this
.
form
.
remarkAdd
.
push
({
name
:
""
,
score
:
0
,
});
await
this
.
$post
(
"
/perform/rules/list
"
,
{
size
:
-
1
}).
then
(
async
(
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
rulesList
=
res
.
data
.
data
;
this
.
rulesList
&&
this
.
rulesList
.
length
>
0
?
this
.
rulesList
.
forEach
((
v
)
=>
{
v
.
value
=
v
.
name
+
"
--
"
+
v
.
content
;
})
:
""
;
if
(
this
.
form
.
remarkAdd
==
undefined
||
this
.
form
.
remarkAdd
==
null
||
this
.
form
.
remarkAdd
.
length
==
0
||
this
.
form
.
remarkAdd
==
""
)
{
this
.
form
.
remarkAdd
=
[];
this
.
form
.
remarkAdd
.
push
({
name
:
""
,
score
:
0
,
});
}
this
.
handleBlur
();
this
.
$forceUpdate
();
}
this
.
handleBlur
();
this
.
$forceUpdate
();
}
}
);
);
}
await
this
.
getData
();
});
},
/** 新增 */
...
...
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