fix(缺陷管理): 修复缺陷管理自定义字段内容展示预览
This commit is contained in:
parent
ab15e8f449
commit
74d43836d7
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<a-popover position="br" content-class="bug-count-popover">
|
||||
<a-popover position="left" content-class="bug-count-popover">
|
||||
<div class="one-line-text cursor-pointer px-0 text-[rgb(var(--primary-5))]">{{ props.bugCount ?? 0 }}</div>
|
||||
<template #content>
|
||||
<div class="w-[500px]">
|
||||
|
@ -76,7 +76,7 @@
|
|||
columns: columns.value,
|
||||
size: 'mini',
|
||||
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_CASE_TABLE_BUG_COUNT,
|
||||
scroll: { x: '100%', y: 400 },
|
||||
scroll: { x: '100%', y: 320 },
|
||||
showSelectorAll: false,
|
||||
showPagination: false,
|
||||
});
|
||||
|
@ -108,12 +108,10 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
<style lang="less">
|
||||
.bug-count-popover {
|
||||
width: 540px;
|
||||
height: 500px;
|
||||
@apply overflow-y-auto overflow-x-hidden;
|
||||
.ms-scroll-bar();
|
||||
height: 400px;
|
||||
.arco-popover-content {
|
||||
@apply h-full;
|
||||
}
|
||||
|
|
|
@ -80,12 +80,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<template #description="{ record }">
|
||||
<a-tooltip :disabled="!record.description" position="tl" class="ms-tooltip-white">
|
||||
<div v-dompurify-html="record.description || '-'"></div>
|
||||
<template #content>
|
||||
<div v-dompurify-html="record.description || '-'"></div>
|
||||
</template>
|
||||
</a-tooltip>
|
||||
<BugNamePopover :name="record.title" :content="record.description" />
|
||||
</template>
|
||||
</MsBaseTable>
|
||||
</div>
|
||||
|
@ -182,6 +177,7 @@
|
|||
import MsTableMoreAction from '@/components/pure/ms-table-more-action/index.vue';
|
||||
import { ActionsItem } from '@/components/pure/ms-table-more-action/types';
|
||||
import BugDetailDrawer from './components/bug-detail-drawer.vue';
|
||||
import BugNamePopover from '@/views/case-management/caseManagementFeature/components/tabContent/tabBug/bugNamePopover.vue';
|
||||
|
||||
import {
|
||||
checkBugExist,
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
unmount-on-close
|
||||
:show-continue="true"
|
||||
no-content-padding
|
||||
:save-continue-text="t('case.saveContinueText')"
|
||||
@continue="handleDrawerConfirm(true)"
|
||||
@confirm="handleDrawerConfirm"
|
||||
@cancel="handleDrawerCancel"
|
||||
|
|
Loading…
Reference in New Issue