Commit 7359c8d4 authored by 田翔's avatar 田翔

fix: 台账支持getDeleted查出被删除的数据

parent 257d6500
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.0.18", "version": "6.0.19",
"description": "6.0.18 防止操作按钮不出现问题", "description": "6.0.19 台账支持getDeleted查出被删除的数据",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -52,7 +52,7 @@ const Account = (props, ref) => { ...@@ -52,7 +52,7 @@ const Account = (props, ref) => {
getTableColumns, getTableColumns,
})); }));
const { accountName, parentConfig, notUse, superAccount, siteLevel, fieldSearch, timeLimit } = props; const { accountName, parentConfig, notUse, superAccount, siteLevel, fieldSearch, timeLimit, getDeleted } = props;
const userID = window?.globalConfig?.userInfo?.OID || 1; const userID = window?.globalConfig?.userInfo?.OID || 1;
let initParams = { let initParams = {
user: userID, user: userID,
...@@ -67,6 +67,7 @@ const Account = (props, ref) => { ...@@ -67,6 +67,7 @@ const Account = (props, ref) => {
queryForm: [], queryForm: [],
queryTable: [], queryTable: [],
queryWheres: [], queryWheres: [],
getDeleted: getDeleted === 'true',
...defaultParams, ...defaultParams,
}; };
const [treeShow, setTreeShow] = useState(true); const [treeShow, setTreeShow] = useState(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment