diff --git a/apps/web-antd/src/views/bpm/model/index.vue b/apps/web-antd/src/views/bpm/model/index.vue index 08568e1ec..91c504f9e 100644 --- a/apps/web-antd/src/views/bpm/model/index.vue +++ b/apps/web-antd/src/views/bpm/model/index.vue @@ -150,44 +150,44 @@ async function handleCategorySortSubmit() { v-spinning="modelListSpinning" > + + + + +
@@ -199,7 +199,7 @@ async function handleCategorySortSubmit() { 保存排序
- +
diff --git a/apps/web-antd/src/views/bpm/model/modules/category-draggable-model.vue b/apps/web-antd/src/views/bpm/model/modules/category-draggable-model.vue index 202ecaf8a..e285077d2 100644 --- a/apps/web-antd/src/views/bpm/model/modules/category-draggable-model.vue +++ b/apps/web-antd/src/views/bpm/model/modules/category-draggable-model.vue @@ -12,7 +12,6 @@ import { IconifyIcon } from '@vben/icons'; import { useUserStore } from '@vben/stores'; import { cloneDeep, formatDateTime, isEqual } from '@vben/utils'; -// TODO @jason:某个模型下的排序功能,无法使用。操作流程:模型分类 A 的右侧【排序】,然后,无法拖拽使用; import { useDebounceFn } from '@vueuse/core'; import { useSortable } from '@vueuse/integrations/useSortable'; import { @@ -65,7 +64,7 @@ const userId = useUserStore().userInfo?.id; const isModelSorting = ref(false); const originalData = ref([]); const modelList = ref([]); -// TODO @jason:可以全部展开么? +// TODO @jason:可以全部展开么? @芋艿 上次讨论。好像是因为性能问题才只展开第一个分类 const isExpand = ref(props.isFirst); // 根据是否为第一个分类, 来设置初始展开状态 const sortableInstance = ref(null); // 排序引用,以便后续启用或禁用排序 @@ -464,12 +463,14 @@ function handleRenameSuccess() { >
- +
- + +
{{ categoryInfo.name }} @@ -559,15 +560,16 @@ function handleRenameSuccess() { :class="`category-${categoryInfo.id}`" >