fix(测试跟踪): 待办缺陷列表未显示Local平台
--bug=1024905 --user=宋昌昌 【工作台】我的待办-缺陷管理,集成平台为local时,缺陷不显示 https://www.tapd.cn/55049933/s/1356586
This commit is contained in:
parent
e217d1e9e5
commit
7a217adf0d
|
@ -339,6 +339,26 @@
|
||||||
<property name="object" value="${condition}.platformStatus"/>
|
<property name="object" value="${condition}.platformStatus"/>
|
||||||
</include>
|
</include>
|
||||||
</if>
|
</if>
|
||||||
|
<!-- 我的待办中替换过滤条件platformStatus为doneStatus, 单独过滤出待办的缺陷-->
|
||||||
|
<if test="${condition}.doneStatus != null">
|
||||||
|
and (
|
||||||
|
(
|
||||||
|
issues.platform != 'Local' and
|
||||||
|
issues.platform_status
|
||||||
|
<include refid="condition">
|
||||||
|
<property name="object" value="${condition}.doneStatus"/>
|
||||||
|
</include>
|
||||||
|
)
|
||||||
|
or
|
||||||
|
(
|
||||||
|
issues.platform = 'Local' and
|
||||||
|
issues.status
|
||||||
|
<include refid="condition">
|
||||||
|
<property name="object" value="${condition}.doneStatus"/>
|
||||||
|
</include>
|
||||||
|
)
|
||||||
|
)
|
||||||
|
</if>
|
||||||
<if test="${condition}.followPeople != null">
|
<if test="${condition}.followPeople != null">
|
||||||
and issues.id in (
|
and issues.id in (
|
||||||
select issue_id from issue_follow where follow_id
|
select issue_id from issue_follow where follow_id
|
||||||
|
|
|
@ -394,29 +394,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.isToDo) {
|
if (this.isToDo) {
|
||||||
let statusFieldId = null;
|
this.page.condition.combine.doneStatus = {
|
||||||
this.issueTemplate.customFields.forEach(field => {
|
|
||||||
if (field.name === '状态') {
|
|
||||||
statusFieldId = field.id;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (statusFieldId) {
|
|
||||||
this.page.condition.combine.platformStatus = [
|
|
||||||
{
|
|
||||||
id: statusFieldId,
|
|
||||||
operator: 'not in',
|
|
||||||
value: [
|
|
||||||
'closed',
|
|
||||||
'已关闭',
|
|
||||||
'resolved',
|
|
||||||
'Done',
|
|
||||||
'verified'
|
|
||||||
],
|
|
||||||
type: 'select'
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
this.page.condition.combine.platformStatus = {
|
|
||||||
operator: "not in",
|
operator: "not in",
|
||||||
value: [
|
value: [
|
||||||
'closed',
|
'closed',
|
||||||
|
|
Loading…
Reference in New Issue