fix(测试跟踪): 评审和测试计划用例的评论不应展示评论状态
--bug=1025872 --user=陈建星 【测试跟踪】测试跟踪评审中查看用例显示评论为空 https://www.tapd.cn/55049933/s/1368891
This commit is contained in:
parent
21f692b9af
commit
37fd7ca7c6
|
@ -123,6 +123,7 @@
|
||||||
:key="index"
|
:key="index"
|
||||||
:comment="comment"
|
:comment="comment"
|
||||||
:read-only="readOnly"
|
:read-only="readOnly"
|
||||||
|
:show-status="false"
|
||||||
@refresh="getComments" api-url="/test/case"/>
|
@refresh="getComments" api-url="/test/case"/>
|
||||||
<div v-if="!comments || comments.length === 0" style="text-align: center">
|
<div v-if="!comments || comments.length === 0" style="text-align: center">
|
||||||
<i class="el-icon-chat-line-square" style="font-size: 15px;color: #8a8b8d;">
|
<i class="el-icon-chat-line-square" style="font-size: 15px;color: #8a8b8d;">
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<span style="color: #8a8b8d; margin-left: 8px; font-size: 12px">
|
<span style="color: #8a8b8d; margin-left: 8px; font-size: 12px">
|
||||||
{{ comment.createTime | datetimeFormat }}
|
{{ comment.createTime | datetimeFormat }}
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span v-if="showStatus">
|
||||||
<status-table-item v-if="comment.status" :value="comment.status"/>
|
<status-table-item v-if="comment.status" :value="comment.status"/>
|
||||||
</span>
|
</span>
|
||||||
<span class="comment-delete">
|
<span class="comment-delete">
|
||||||
|
@ -65,7 +65,11 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
apiUrl: String
|
apiUrl: String,
|
||||||
|
showStatus: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue