Commit 33251f51 by 和金晶

手工数据细节调整

parent a734d6bb
...@@ -123,7 +123,7 @@ const FC = (props) => { ...@@ -123,7 +123,7 @@ const FC = (props) => {
relationModelerDatas?.length===0 ? '暂无信息' : relationModelerDatas?.length===0 ? '暂无信息' :
relationModelerDatas?.map((item, index) => ( relationModelerDatas?.map((item, index) => (
<a className='mr-3' key={index} onClick={() => { <a className='mr-3' key={index} onClick={() => {
window.open(`/data-govern-bj/data-model-action?${Action}=detail&${ModelerId}=${item.id}&${PermitCheckOut}=${item.permitCheckOut||false}&${Editable}=${item.editable||false}&${StateId}=${item.state?.id||''}&${ReadOnly}=false`); window.open(`/data-govern-bj/manual-data-model-action?${Action}=detail&${ModelerId}=${item.id}&${PermitCheckOut}=${item.permitCheckOut||false}&${Editable}=${item.editable||false}&${StateId}=${item.state?.id||''}&${ReadOnly}=false`);
}}> }}>
{item.cnName} {item.cnName}
</a> </a>
......
...@@ -39,7 +39,7 @@ const VersionHistory = (props) => { ...@@ -39,7 +39,7 @@ const VersionHistory = (props) => {
} }
const onVersionItemClick = (version) => { const onVersionItemClick = (version) => {
window.open(`/data-govern-bj/data-model-action?${Action}=detail-version&${ModelerId}=${version.dataModelId||''}&${VersionId}=${version.id||''}`); window.open(`/data-govern-bj/manual-data-model-action?${Action}=detail-version&${ModelerId}=${version.dataModelId||''}&${VersionId}=${version.id||''}`);
} }
return ( return (
......
...@@ -27,9 +27,9 @@ const FC = (props) => { ...@@ -27,9 +27,9 @@ const FC = (props) => {
callback: data => { callback: data => {
setWaiting(false) setWaiting(false)
if (type === 'notice') { if (type === 'notice') {
window.open(`/data-govern-bj/data-model-action?${Action}=edit&${ModelerId}=${item?.id}&${ModelerMergeId}=${data?.id}&${ConflictItemId}=${item?.conflictItemId}`); window.open(`/data-govern-bj/manual-data-model-action?${Action}=edit&${ModelerId}=${item?.id}&${ModelerMergeId}=${data?.id}&${ConflictItemId}=${item?.conflictItemId}`);
} else { } else {
window.open(`/data-govern-bj/data-model-action?${Action}=edit&${ModelerId}=${item?.id}&${ModelerMergeId}=${data?.id}`); window.open(`/data-govern-bj/manual-data-model-action?${Action}=edit&${ModelerId}=${item?.id}&${ModelerMergeId}=${data?.id}`);
} }
}, },
error: () => { error: () => {
......
...@@ -328,7 +328,7 @@ const List = React.forwardRef(function ({ items }, ref) { ...@@ -328,7 +328,7 @@ const List = React.forwardRef(function ({ items }, ref) {
<Typography.Paragraph ellipsis={{ <Typography.Paragraph ellipsis={{
rows: 3, rows: 3,
}}><a onClick={() => { }}><a onClick={() => {
window.open(`/data-govern-bj/data-model-action?${Action}=detail&${ModelerId}=${record.id}&${PermitCheckOut}=${record.permitCheckOut||false}&${Editable}=${record.editable||false}&${StateId}=${record.state?.id||''}&${ReadOnly}=false`); window.open(`/data-govern-bj/manual-data-model-action?${Action}=detail&${ModelerId}=${record.id}&${PermitCheckOut}=${record.permitCheckOut||false}&${Editable}=${record.editable||false}&${StateId}=${record.state?.id||''}&${ReadOnly}=false`);
}}>{text}</a></Typography.Paragraph> }}>{text}</a></Typography.Paragraph>
</Tooltip> </Tooltip>
) )
......
...@@ -572,7 +572,6 @@ class Model extends React.Component { ...@@ -572,7 +572,6 @@ class Model extends React.Component {
} }
wordData.content.slice(0, 5).forEach(data => { wordData.content.slice(0, 5).forEach(data => {
alert('hjj2')
window.open(`/data-govern-bj/manual-data-model-action?${Action}=add&${CatalogId}=${currentCatalogId}&${BranchId}=${branchId}&${ModelerData}=${encodeURIComponent(JSON.stringify(data))}`, '_blank'); window.open(`/data-govern-bj/manual-data-model-action?${Action}=add&${CatalogId}=${currentCatalogId}&${BranchId}=${branchId}&${ModelerData}=${encodeURIComponent(JSON.stringify(data))}`, '_blank');
}) })
...@@ -597,7 +596,6 @@ class Model extends React.Component { ...@@ -597,7 +596,6 @@ class Model extends React.Component {
currentCatalogId = branchAddModelCatalog currentCatalogId = branchAddModelCatalog
branchId = catalogId branchId = catalogId
} }
alert('hjj3')
window.open(`/data-govern-bj/manual-data-model-action?${Action}=add&${CatalogId}=${currentCatalogId}&${BranchId}=${branchId}&${DDL}=${encodeURIComponent(ddl)}`, '_blank'); window.open(`/data-govern-bj/manual-data-model-action?${Action}=add&${CatalogId}=${currentCatalogId}&${BranchId}=${branchId}&${DDL}=${encodeURIComponent(ddl)}`, '_blank');
}, 1000); }, 1000);
......
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