fix(工作台):工作台我的待办展示了已关闭的缺陷
--bug=1021915 --user=郭雨琦 [我的工作台]我的待办-缺陷管理中有已关闭状态的缺陷 https://www.tapd.cn/55049933/s/1327005
This commit is contained in:
parent
920e1bde3f
commit
c290744c16
|
@ -333,6 +333,12 @@
|
|||
<property name="object" value="${condition}.platform"/>
|
||||
</include>
|
||||
</if>
|
||||
<if test="${condition}.platformStatus != null">
|
||||
and issues.platform_status
|
||||
<include refid="condition">
|
||||
<property name="object" value="${condition}.platformStatus"/>
|
||||
</include>
|
||||
</if>
|
||||
<if test="${condition}.followPeople != null">
|
||||
and issues.id in (
|
||||
select issue_id from issue_follow where follow_id
|
||||
|
|
|
@ -312,7 +312,7 @@ export default {
|
|||
}
|
||||
}
|
||||
if (this.isToDo && item.id === '状态') {
|
||||
item.filters = item.filters.filter(i => i.value !== 'closed')
|
||||
item.filters = item.filters.filter(i => (i.value !== 'closed' && i.value !== '已关闭' && i.value !== 'resolved' && i.value !== 'Done' && i.value !== 'verified'))
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -401,17 +401,38 @@ export default {
|
|||
}
|
||||
});
|
||||
if (statusFieldId) {
|
||||
this.page.condition.combine.customs = [
|
||||
this.page.condition.combine.platformStatus = [
|
||||
{
|
||||
id: statusFieldId,
|
||||
operator: 'not in',
|
||||
value:[
|
||||
'closed'
|
||||
value: [
|
||||
'closed',
|
||||
'已关闭',
|
||||
'resolved',
|
||||
'Done',
|
||||
'verified'
|
||||
],
|
||||
type: 'select'
|
||||
}
|
||||
];
|
||||
}
|
||||
this.page.condition.combine.platformStatus = {
|
||||
operator: "not in",
|
||||
value: [
|
||||
'closed',
|
||||
'已关闭',
|
||||
'已完成',
|
||||
'完成',
|
||||
'拒绝',
|
||||
'已拒绝',
|
||||
'rejected',
|
||||
'delete',
|
||||
'resolved',
|
||||
'Done',
|
||||
'verified',
|
||||
'已验证'
|
||||
],
|
||||
}
|
||||
}
|
||||
},
|
||||
initCustomFieldValue() {
|
||||
|
|
Loading…
Reference in New Issue