style(测试计划): 报告-ID超出省略
--bug=1050474 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001050474
This commit is contained in:
parent
fbed859686
commit
5edff221c2
|
@ -11,7 +11,7 @@
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="['name','planName','requestTime', 'bugCount', 'executeUser', 'moduleName'].includes(column.dataIndex as string)"
|
v-if="['name','num','planName','requestTime', 'bugCount', 'executeUser', 'moduleName'].includes(column.dataIndex as string)"
|
||||||
class="list-column"
|
class="list-column"
|
||||||
:style="{ width: `${column.width}px` }"
|
:style="{ width: `${column.width}px` }"
|
||||||
>
|
>
|
||||||
|
@ -23,14 +23,19 @@
|
||||||
item[column.dataIndex as string] === '' || item[column.dataIndex as string] === undefined || item[column.dataIndex as string] === null
|
item[column.dataIndex as string] === '' || item[column.dataIndex as string] === undefined || item[column.dataIndex as string] === null
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="one-line-text w-full">
|
<MsButton
|
||||||
|
v-if="column.dataIndex === 'num'"
|
||||||
|
type="text"
|
||||||
|
class="one-line-text !block w-full"
|
||||||
|
@click="toDetail(item)"
|
||||||
|
>
|
||||||
|
{{ item.num }}
|
||||||
|
</MsButton>
|
||||||
|
<div v-else class="one-line-text w-full">
|
||||||
{{ item[column.dataIndex as string] }}
|
{{ item[column.dataIndex as string] }}
|
||||||
</div>
|
</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="column.dataIndex === 'num'" class="list-column" :style="{ width: `${column.width}px` }">
|
|
||||||
<MsButton type="text" @click="toDetail(item)">{{ item.num }}</MsButton>
|
|
||||||
</div>
|
|
||||||
<div v-if="column.dataIndex === 'priority'" class="list-column" :style="{ width: `${column.width}px` }">
|
<div v-if="column.dataIndex === 'priority'" class="list-column" :style="{ width: `${column.width}px` }">
|
||||||
<CaseLevel :case-level="item.priority" />
|
<CaseLevel :case-level="item.priority" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue