style(缺陷管理): 修复高度问题&修改字段

--bug=1039553 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039553
This commit is contained in:
teukkk 2024-04-23 19:02:21 +08:00 committed by 刘瑞斌
parent b33e07b981
commit 87bf58a51c
5 changed files with 16 additions and 8 deletions

View File

@ -19,7 +19,7 @@ export default {
'report.status.pending': 'Pending', 'report.status.pending': 'Pending',
'report.stopped': 'Stopped', 'report.stopped': 'Stopped',
'report.trigger.scheduled': 'Schedule', 'report.trigger.scheduled': 'Schedule',
'report.trigger.manual': 'Manual', 'report.trigger.manual': 'Manual execution',
'report.trigger.interface': 'API', 'report.trigger.interface': 'API',
'report.trigger.batch.execution': 'Batch', 'report.trigger.batch.execution': 'Batch',
'report.delete.tip': 'Are you sure you want to delete {count} selected reports?', 'report.delete.tip': 'Are you sure you want to delete {count} selected reports?',

View File

@ -19,7 +19,7 @@ export default {
'report.status.pending': '未执行', 'report.status.pending': '未执行',
'report.stopped': '停止', 'report.stopped': '停止',
'report.trigger.scheduled': '定时执行', 'report.trigger.scheduled': '定时执行',
'report.trigger.manual': '手执行', 'report.trigger.manual': '手执行',
'report.trigger.interface': 'API 执行', 'report.trigger.interface': 'API 执行',
'report.trigger.batch.execution': '批量执行', 'report.trigger.batch.execution': '批量执行',
'report.delete.tip': '确认删除已选中的 {count} 个报告吗?', 'report.delete.tip': '确认删除已选中的 {count} 个报告吗?',

View File

@ -96,9 +96,9 @@
:class="[ :class="[
`${ `${
activeTab === 'comment' && hasAnyPermission(['PROJECT_BUG:READ+COMMENT']) && !commentInputIsActive activeTab === 'comment' && hasAnyPermission(['PROJECT_BUG:READ+COMMENT']) && !commentInputIsActive
? 'h-[calc(100%-118px)]' ? 'h-[calc(100%-72px)]'
: commentInputIsActive : commentInputIsActive
? 'h-[calc(100%-338px)]' ? 'h-[calc(100%-286px)]'
: 'h-full' : 'h-full'
}`, }`,
'bg-white', 'bg-white',
@ -118,6 +118,7 @@
:max="0.7" :max="0.7"
:min="0.6" :min="0.6"
direction="horizontal" direction="horizontal"
class="!h-[calc(100%-48px)]"
:class="{ 'left-bug-detail': activeTab === 'comment' }" :class="{ 'left-bug-detail': activeTab === 'comment' }"
> >
<template #first> <template #first>

View File

@ -188,7 +188,7 @@
const { propsRes, propsEvent, loadList, setLoadListParams, setKeyword } = useTable(getAssociatedList, { const { propsRes, propsEvent, loadList, setLoadListParams, setKeyword } = useTable(getAssociatedList, {
columns, columns,
scroll: { x: '100%' }, scroll: { x: '100%' },
heightUsed: 340, heightUsed: 310,
enableDrag: false, enableDrag: false,
}); });

View File

@ -90,7 +90,7 @@
<template #default="{ loading }"> <template #default="{ loading }">
<div <div
ref="wrapperRef" ref="wrapperRef"
:class="[`${!commentInputIsActive ? 'h-[calc(100%-118px)]' : 'h-[calc(100%-338px)]'}`, 'bg-white']" :class="[`${!commentInputIsActive ? 'h-[calc(100%-72px)]' : 'h-[calc(100%-286px)]'}`, 'bg-white']"
> >
<div class="header relative h-[48px] pl-2"> <div class="header relative h-[48px] pl-2">
<MsTab <MsTab
@ -104,10 +104,17 @@
t('caseManagement.featureCase.detailDisplaySetting') t('caseManagement.featureCase.detailDisplaySetting')
}}</span> }}</span>
</div> </div>
<MsSplitBox :size="0.8" :max="0.7" :min="0.6" direction="horizontal" expand-direction="right"> <MsSplitBox
:size="0.8"
:max="0.7"
:min="0.6"
direction="horizontal"
expand-direction="right"
class="!h-[calc(100%-48px)]"
>
<template #first> <template #first>
<div class="leftWrapper h-full"> <div class="leftWrapper h-full">
<div class="leftContent mt-4 w-full pl-[16px] pr-[24px]"> <div class="leftContent w-full pl-[16px] pr-[24px] pt-4">
<template v-if="activeTab === 'detail'"> <template v-if="activeTab === 'detail'">
<TabDetail <TabDetail
ref="tabDetailRef" ref="tabDetailRef"