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
d41a0355
Commit
d41a0355
authored
May 09, 2025
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed:修改人员绩效汇总没有标红
parent
60979523
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
src/components/DataTableSelect.vue
src/components/DataTableSelect.vue
+19
-6
No files found.
src/components/DataTableSelect.vue
View file @
d41a0355
...
...
@@ -95,11 +95,11 @@ export default {
required
:
false
,
default
:
()
=>
{},
},
tableRowClassName
:
{
type
:
Function
,
required
:
false
,
default
:
()
=>
{},
},
//
tableRowClassName: {
//
type: Function,
//
required: false,
//
default: () => {},
//
},
loading
:
{
type
:
Boolean
,
required
:
false
,
...
...
@@ -148,7 +148,14 @@ export default {
},
},
},
methods
:
{},
methods
:
{
tableRowClassName
({
row
})
{
console
.
log
(
row
);
if
(
row
.
dataType
==
2
)
{
return
"
red
"
;
}
},
},
data
()
{
return
{
emptytxt
:
""
,
...
...
@@ -157,3 +164,9 @@ export default {
},
};
</
script
>
<
style
lang=
"less"
scoped
>
/deep/.el-table .red {
background: rgba(255, 233, 233);
}
</
style
>
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