fix: root

This commit is contained in:
xingyu4j
2025-06-06 20:47:24 +08:00
parent 2c3dd668e3
commit 23aacea84c

View File

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