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-platform
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-platform
Commits
4a10c024
Commit
4a10c024
authored
Mar 13, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
36f62b76
4b4caef2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
30 deletions
+30
-30
attendance-performance-manager-ui/admin/src/components/DataTable.vue
...performance-manager-ui/admin/src/components/DataTable.vue
+28
-30
attendance-performance-manager-ui/admin/src/views/staff/list.vue
...nce-performance-manager-ui/admin/src/views/staff/list.vue
+2
-0
No files found.
attendance-performance-manager-ui/admin/src/components/DataTable.vue
View file @
4a10c024
...
@@ -16,37 +16,35 @@
...
@@ -16,37 +16,35 @@
:height=
"height"
:height=
"height"
style=
"width: 100%"
style=
"width: 100%"
>
>
<template
v-for=
"column in columns"
>
<el-table-column
v-for=
"column in columns"
:key=
"column.prop"
:type=
"column.type"
:index=
"handleIndexMethod"
:selectable=
"handleSelectableMethod"
:prop=
"column.prop"
:label=
"column.label"
:width=
"column.width"
:sortable=
"column.sortable"
:show-overflow-tooltip=
"column.tooltip"
:align=
"column.align || 'center'"
:formatter=
"column.formatter"
:reserve-selection=
"column.reserveSelection"
:subColumns=
"column.subColumns"
:fixed=
"column.fixed"
>
<el-table-column
<el-table-column
v-if=
"column.show"
v-for=
"sunColumn in column.subColumns"
:key=
"column.prop"
:key=
"sunColumn.prop"
:type=
"column.type"
:type=
"sunColumn.type"
:index=
"handleIndexMethod"
:prop=
"sunColumn.prop"
:selectable=
"handleSelectableMethod"
:label=
"sunColumn.label"
:prop=
"column.prop"
:width=
"sunColumn.width"
:label=
"column.label"
:sortable=
"sunColumn.sortable"
:width=
"column.width"
:align=
"sunColumn.align || 'center'"
:sortable=
"column.sortable"
:formatter=
"sunColumn.formatter"
:show-overflow-tooltip=
"column.tooltip"
/>
:align=
"column.align || 'center'"
</el-table-column>
:formatter=
"column.formatter"
:reserve-selection=
"column.reserveSelection"
:subColumns=
"column.subColumns"
:fixed=
"column.fixed"
>
<el-table-column
v-for=
"sunColumn in column.subColumns"
:key=
"sunColumn.prop"
:type=
"sunColumn.type"
:prop=
"sunColumn.prop"
:label=
"sunColumn.label"
:width=
"sunColumn.width"
:sortable=
"sunColumn.sortable"
:align=
"sunColumn.align || 'center'"
:formatter=
"sunColumn.formatter"
/>
</el-table-column>
</
template
>
</el-table>
</el-table>
</
template
>
</
template
>
...
...
attendance-performance-manager-ui/admin/src/views/staff/list.vue
View file @
4a10c024
...
@@ -346,6 +346,7 @@ export default {
...
@@ -346,6 +346,7 @@ export default {
this
.
tableData
.
staff
.
refreshDate
,
this
.
tableData
.
staff
.
refreshDate
,
6
6
);
);
this
.
$refs
.
layoutTable
.
showType
=
"
tableSelect
"
;
},
},
},
},
data
()
{
data
()
{
...
@@ -367,6 +368,7 @@ export default {
...
@@ -367,6 +368,7 @@ export default {
url
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/staff/importData
"
,
url
:
process
.
env
.
VUE_APP_API_BASE_URL
+
"
/staff/importData
"
,
},
},
config
:
{
config
:
{
showType
:
"
tableSelect
"
,
search
:
[
search
:
[
{
{
name
:
"
name
"
,
name
:
"
name
"
,
...
...
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