Commit f7ba234c by zhaochengxiang

资产详情增加range

parent 8cb2e645
......@@ -158,7 +158,8 @@ const AssetManageTree = (props) => {
dispatch({
type: 'assetmanage.getDataAssetDetail',
payload: {
dataAssetId: tableId
dataAssetId: tableId,
range: getAssetRange(AssetManageReference),
},
callback: data => {
setCheckedKeys(data.dirIds||[]);
......
......@@ -3,7 +3,8 @@ import { Modal, Form, Input, Space, Button, Select } from 'antd';
import { dispatch } from '../../../../model';
import { AppContext } from '../../../../App';
import MetadataInfo from './MetadataInfo';
import { showMessage } from '../../../../util';
import { showMessage, getAssetRange } from '../../../../util';
import { AssetManageReference } from '../../../../util/constant';
const { Option } = Select;
......@@ -81,7 +82,8 @@ const AssetTagModal = (props) => {
dispatch({
type: 'assetmanage.getDataAssetDetail',
payload: {
dataAssetId: id
dataAssetId: id,
range: getAssetRange(AssetManageReference),
},
callback: data => {
setAsset(data);
......
......@@ -146,7 +146,8 @@ const AssetTree = (props) => {
dispatch({
type: 'assetmanage.getDataAssetDetail',
payload: {
dataAssetId: tableId
dataAssetId: tableId,
range: getAssetRange(reference),
},
callback: data => {
setExpandedKeys(data.dirIds||[]);
......
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