Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
49824402
authored
Oct 18, 2024
by
GoldenZqqqq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复流程分类组不在拖拽状态下也能拖动的问题,优化样式细节
parent
d818e338
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
src/views/bpm/model/CategoryDraggableModel.vue
+2
-3
src/views/bpm/model/index_new.vue
+15
-2
No files found.
src/views/bpm/model/CategoryDraggableModel.vue
View file @
49824402
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
ref=
"tableRef"
ref=
"tableRef"
:header-cell-style=
"{ backgroundColor: isDark ? '' : '#edeff0', paddingLeft: '10px' }"
:header-cell-style=
"{ backgroundColor: isDark ? '' : '#edeff0', paddingLeft: '10px' }"
:cell-style=
"{ paddingLeft: '10px' }"
:cell-style=
"{ paddingLeft: '10px' }"
:row-style=
"{ height: '68px' }"
:data=
"tableData"
:data=
"tableData"
row-key=
"id"
row-key=
"id"
>
>
...
@@ -509,9 +510,7 @@ watch(
...
@@ -509,9 +510,7 @@ watch(
:deep
()
{
:deep
()
{
.el-table__cell
{
.el-table__cell
{
border-bottom
:
none
!important
;
border-bottom
:
none
!important
;
}
overflow
:
hidden
;
.el-table__row
{
height
:
68px
;
}
}
}
}
</
style
>
</
style
>
src/views/bpm/model/index_new.vue
View file @
49824402
...
@@ -61,9 +61,19 @@
...
@@ -61,9 +61,19 @@
<!-- 分类卡片组 -->
<!-- 分类卡片组 -->
<div
class=
"px-15px"
>
<div
class=
"px-15px"
>
<draggable
v-model=
"categoryGroup"
item-key=
"id"
:animation=
"400"
>
<draggable
:disabled=
"!isCategorySorting"
v-model=
"categoryGroup"
item-key=
"id"
:animation=
"400"
>
<
template
#
item=
"{ element }"
>
<
template
#
item=
"{ element }"
>
<ContentWrap
v-loading=
"loading"
:body-style=
"
{ padding: 0 }" :key="element.id">
<ContentWrap
class=
"rounded-lg transition-all duration-300 ease-in-out hover:shadow-xl"
v-loading=
"loading"
:body-style=
"
{ padding: 0 }"
:key="element.id"
>
<CategoryDraggableModel
<CategoryDraggableModel
ref=
"categoryDraggableModelRef"
ref=
"categoryDraggableModelRef"
:isCategorySorting=
"isCategorySorting"
:isCategorySorting=
"isCategorySorting"
...
@@ -202,6 +212,9 @@ onMounted(async () => {
...
@@ -202,6 +212,9 @@ onMounted(async () => {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
:deep
()
{
:deep
()
{
.el-table--fit
.
el-table__inner-wrapper
:
before
{
height
:
0
;
}
.el-card
{
.el-card
{
border-radius
:
8px
;
border-radius
:
8px
;
}
}
...
...
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