Commit 65a7a1bd authored by 田翔's avatar 田翔

fix: 台账参数配置调整

parent ca555162
{
"name": "panda-xform",
"version": "5.6.9",
"description": "5.6.9 表单设计器中默认值不显示",
"version": "5.7.0",
"description": "5.7.0 台账参数配置调整",
"keywords": [
"panda-xform"
],
......
......@@ -40,7 +40,6 @@ const Account = (props, ref) => {
))
const { accountName, parentConfig, notUse, superAccount } = props
const isTreeAccount = Boolean(superAccount === 'true')
const userID = window?.globalConfig?.userInfo?.OID || 1
const initParams = {
user: userID,
......@@ -318,7 +317,7 @@ const Account = (props, ref) => {
}
const getTree = async () => {
const { code, data, msg } = await GetAccountTree(accountName)
const { code, data, msg } = await GetAccountTree(superAccount)
if (code === 0) {
setExpandedKeys([data.accountName])
setTreeData([data])
......@@ -342,7 +341,7 @@ const Account = (props, ref) => {
<div className={styles.tableRender} style={{ display: !detailShow ? 'block' : 'none' }}>
<div className={styles.content}>
{
isTreeAccount ? (
superAccount ? (
<div
style={{
width: treeShow ? '236px' : '0',
......@@ -368,7 +367,7 @@ const Account = (props, ref) => {
</div>
) : null
}
<div className={styles.right} style={{ width: isTreeAccount && treeShow ? 'calc(100% - 250px)' : '100%' }}>
<div className={styles.right} style={{ width: superAccount && treeShow ? 'calc(100% - 250px)' : '100%' }}>
<div className={styles.top}>
<SearchGroup
onChange={search}
......
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