fix: 移动端审批发起添加默认筛选条件 (#1576)
Reviewed-on: daoyoucloud/tachybase#1576 Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
c85a0f1677
commit
4d619cffe5
@ -24,7 +24,23 @@ export const InitiationsItem = observer((props) => {
|
||||
url: 'workflows:list',
|
||||
params: {
|
||||
pageSize: 9999,
|
||||
filter: { ...params?.[tabKey] },
|
||||
filter: {
|
||||
$and: [
|
||||
{
|
||||
type: {
|
||||
$eq: 'approval',
|
||||
},
|
||||
},
|
||||
{
|
||||
enabled: {
|
||||
$eq: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
...params?.[tabKey],
|
||||
},
|
||||
],
|
||||
},
|
||||
sort: 'createdAt',
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user