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