Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
55760942
Commit
55760942
authored
Jun 01, 2023
by
xiongjinke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
38b8a1e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
Tables.vue
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
+13
-3
No files found.
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
View file @
55760942
...
@@ -29,8 +29,11 @@
...
@@ -29,8 +29,11 @@
:fixed=
"item.fixed"
:fixed=
"item.fixed"
:sortable=
"item.sortable"
:sortable=
"item.sortable"
:resizable=
"false"
>
:resizable=
"false"
>
<template
v-if=
"item.slotHeader"
slot=
"header"
>
<slot
:name=
"item.slotName"
></slot>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<slot
:name=
"item.prop"
:row=
"
item"
:index=
"scope.$index"
:data=
"scope.row.punishReason
"
></slot>
<slot
:name=
"item.prop"
:row=
"
scope.row"
:index=
"scope.$index"
:data=
"item
"
></slot>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -41,7 +44,12 @@
...
@@ -41,7 +44,12 @@
align=
"left"
align=
"left"
:fixed=
"item.fixed"
:fixed=
"item.fixed"
:sortable=
"item.sortable"
:sortable=
"item.sortable"
:resizable=
"false"
/>
:resizable=
"false"
>
<
template
v-if=
"item.slotHeader"
slot=
"header"
>
<slot
:name=
"item.slotName"
></slot>
</
template
>
</el-table-column>
</template>
</template>
</el-table>
</el-table>
</div>
</div>
...
@@ -104,5 +112,7 @@ export default {
...
@@ -104,5 +112,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-table__body
tr
.current-row
>
td
.el-table__cell
{
background-color
:
#ffffff
;
}
</
style
>
</
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