fix: bug#19132
This commit is contained in:
parent
369b8484ac
commit
a00232ce24
|
@ -208,10 +208,17 @@ const columns = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dataIndex: 'id$dim-assets',
|
dataIndex: 'id$dim-assets',
|
||||||
|
key: 'id$dim-assets',
|
||||||
title: '所属组织',
|
title: '所属组织',
|
||||||
hideInTable: true,
|
hideInTable: true,
|
||||||
search: {
|
search: {
|
||||||
type: 'treeSelect',
|
type: 'treeSelect',
|
||||||
|
componentProps: {
|
||||||
|
fieldNames: {
|
||||||
|
label: 'name',
|
||||||
|
value: 'value',
|
||||||
|
},
|
||||||
|
},
|
||||||
options: () =>
|
options: () =>
|
||||||
new Promise((resolve) => {
|
new Promise((resolve) => {
|
||||||
getTreeData_api({ paging: false }).then((resp: any) => {
|
getTreeData_api({ paging: false }).then((resp: any) => {
|
||||||
|
@ -256,6 +263,7 @@ const productQuery = (p: any) => {
|
||||||
}
|
}
|
||||||
sorts.push({ name: 'createTime', order: 'desc' });
|
sorts.push({ name: 'createTime', order: 'desc' });
|
||||||
p.sorts = sorts;
|
p.sorts = sorts;
|
||||||
|
console.log('productQuery',p)
|
||||||
return queryProductList(p);
|
return queryProductList(p);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue