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
a033706f
authored
Oct 14, 2024
by
GoldenZqqq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 流程模型列表页面样式与文字细节调整优化
parent
ea02192b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
21 deletions
+36
-21
src/views/bpm/model/CategoryDraggableModel.vue
+32
-17
src/views/bpm/model/index_new.vue
+4
-4
No files found.
src/views/bpm/model/CategoryDraggableModel.vue
View file @
a033706f
...
...
@@ -9,7 +9,7 @@
>
<Icon
icon=
"ep:arrow-down-bold"
color=
"#999"
/>
</div>
<div
class=
"ml-auto mr-
30
px"
>
<div
class=
"ml-auto mr-
45
px"
>
<template
v-if=
"!isSorting"
>
<el-button
link
type=
"info"
class=
"mr-10px"
@
click
.
stop=
"handleSort"
>
<Icon
icon=
"fa:sort-amount-desc"
class=
"mr-5px"
/>
...
...
@@ -36,7 +36,8 @@
<el-table
:class=
"title"
ref=
"tableRef"
:header-cell-style=
"{ backgroundColor: isDark ? '' : '#edeff0' }"
:header-cell-style=
"{ backgroundColor: isDark ? '' : '#edeff0', paddingLeft: '10px' }"
:cell-style=
"{ paddingLeft: '10px' }"
:data=
"dataList"
>
<el-table-column
label=
"流程名"
prop=
"name"
min-width=
"150"
>
...
...
@@ -48,7 +49,7 @@
class=
"drag-icon cursor-move text-#8a909c mr-10px"
/>
</el-tooltip>
<el-image
:src=
"scope.row.icon"
class=
"h-3
2px w-32
px mr-10px rounded"
/>
<el-image
:src=
"scope.row.icon"
class=
"h-3
8px w-38
px mr-10px rounded"
/>
{{
scope
.
row
.
name
}}
</div>
</
template
>
...
...
@@ -96,20 +97,22 @@
</el-table-column>
<el-table-column
label=
"最后发布"
prop=
"deploymentTime"
min-width=
"250"
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.processDefinition"
>
{{
formatDate
(
scope
.
row
.
processDefinition
.
deploymentTime
)
}}
</span>
<el-tag
v-if=
"scope.row.processDefinition"
class=
"ml-10px"
>
v
{{
scope
.
row
.
processDefinition
.
version
}}
</el-tag>
<el-tag
v-else
type=
"warning"
>
未部署
</el-tag>
<el-tag
v-if=
"scope.row.processDefinition?.suspensionState === 2"
type=
"warning"
class=
"ml-10px"
>
已停用
</el-tag>
<div
class=
"flex items-center"
>
<span
v-if=
"scope.row.processDefinition"
class=
"w-150px"
>
{{
formatDate
(
scope
.
row
.
processDefinition
.
deploymentTime
)
}}
</span>
<el-tag
v-if=
"scope.row.processDefinition"
>
v
{{
scope
.
row
.
processDefinition
.
version
}}
</el-tag>
<el-tag
v-else
type=
"warning"
>
未部署
</el-tag>
<el-tag
v-if=
"scope.row.processDefinition?.suspensionState === 2"
type=
"warning"
class=
"ml-10px"
>
已停用
</el-tag>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"200"
fixed=
"right"
>
...
...
@@ -384,6 +387,9 @@ onMounted(() => {
<
style
lang=
"scss"
scoped
>
:deep
()
{
.el-card
{
border-radius
:
8px
;
}
.el-form--inline
.el-form-item
{
margin-right
:
10px
;
}
...
...
@@ -400,5 +406,14 @@ onMounted(() => {
font-size
:
20px
;
font-weight
:
500
;
}
.el-collapse-item__content
{
padding-bottom
:
0
;
}
.el-table__cell
{
border-bottom
:
none
!important
;
}
.el-table__row
{
height
:
68px
;
}
}
</
style
>
src/views/bpm/model/index_new.vue
View file @
a033706f
<
template
>
<ContentWrap>
<div
class=
"flex justify-between pl-20px items-center"
>
<h3
class=
"font-extrabold"
>
表单管理
</h3>
<h3
class=
"font-extrabold"
>
流程模型
</h3>
<!-- 搜索工作栏 -->
<el-form
class=
"-mb-15px flex"
...
...
@@ -25,7 +25,7 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"openForm('create')"
v-hasPermi=
"['bpm:model:create']"
>
<Icon
icon=
"ep:plus"
class=
"mr-5px"
/>
新建
流程
<Icon
icon=
"ep:plus"
class=
"mr-5px"
/>
新建
模型
</el-button>
</el-form-item>
...
...
@@ -38,11 +38,11 @@
<el-dropdown-menu>
<el-dropdown-item>
<Icon
icon=
"ep:circle-plus"
:size=
"13"
class=
"mr-5px"
/>
新建分
组
新建分
类
</el-dropdown-item>
<el-dropdown-item>
<Icon
icon=
"fa:sort-amount-desc"
:size=
"13"
class=
"mr-5px"
/>
分
组
排序
分
类
排序
</el-dropdown-item>
</el-dropdown-menu>
</
template
>
...
...
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