fix: root

pull/133/MERGE
xingyu4j 2025-06-06 20:47:24 +08:00
parent 2c3dd668e3
commit 23aacea84c
1 changed files with 212 additions and 197 deletions

View File

@ -225,6 +225,7 @@ const handleRenameSuccess = () => {
</script>
<template>
<div>
<Card
:body-style="{ padding: 0 }"
class="category-draggable-model mb-5 rounded-lg transition-all duration-300 ease-in-out hover:shadow-xl"
@ -237,7 +238,9 @@ const handleRenameSuccess = () => {
class="icon-[ic--round-drag-indicator] ml-2.5 cursor-move text-2xl text-gray-500"
></span>
</Tooltip>
<div class="ml-4 mr-2 text-lg font-medium">{{ categoryInfo.name }}</div>
<div class="ml-4 mr-2 text-lg font-medium">
{{ categoryInfo.name }}
</div>
<div class="text-gray-500">
({{ categoryInfo.modelList?.length || 0 }})
</div>
@ -306,7 +309,11 @@ const handleRenameSuccess = () => {
</div>
<!-- 模型列表 -->
<Collapse :active-key="expandKeys" :bordered="false" class="bg-transparent">
<Collapse
:active-key="expandKeys"
:bordered="false"
class="bg-transparent"
>
<Collapse.Panel
key="1"
:show-arrow="false"
@ -354,7 +361,9 @@ const handleRenameSuccess = () => {
<!-- 可见范围列-->
<template v-else-if="column.key === 'startUserIds'">
<span
v-if="!record.startUsers?.length && !record.startDepts?.length"
v-if="
!record.startUsers?.length && !record.startDepts?.length
"
>
全部可见
</span>
@ -393,7 +402,10 @@ const handleRenameSuccess = () => {
<template v-else-if="column.key === 'type'">
<!-- <DictTag :value="record.type" :type="DICT_TYPE.BPM_MODEL_TYPE" /> -->
<!-- <Tag>{{ record.type }}</Tag> -->
<DictTag :type="DICT_TYPE.BPM_MODEL_TYPE" :value="record.type" />
<DictTag
:type="DICT_TYPE.BPM_MODEL_TYPE"
:value="record.type"
/>
</template>
<!-- 表单信息列 -->
<template v-else-if="column.key === 'formType'">
@ -419,7 +431,9 @@ const handleRenameSuccess = () => {
<template v-else-if="column.key === 'deploymentTime'">
<div class="flex items-center justify-center">
<span v-if="record.processDefinition" class="w-[150px]">
{{ formatDateTime(record.processDefinition.deploymentTime) }}
{{
formatDateTime(record.processDefinition.deploymentTime)
}}
</span>
<Tag v-if="record.processDefinition">
v{{ record.processDefinition.version }}
@ -446,6 +460,7 @@ const handleRenameSuccess = () => {
<!-- 重命名分类弹窗 -->
<CategoryRenameModal @success="handleRenameSuccess" />
</div>
</template>
<style lang="scss" scoped>