Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
c56806f9
Commit
c56806f9
authored
Nov 30, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式调整
parent
5282528c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
ImportAction.jsx
src/view/Manage/Model/Component/ImportAction.jsx
+6
-4
ImportAction.less
src/view/Manage/Model/Component/ImportAction.less
+6
-0
No files found.
src/view/Manage/Model/Component/ImportAction.jsx
View file @
c56806f9
...
@@ -11,6 +11,8 @@ import { getInternalCurrentAnchor, getQueryParam } from '../../../../util';
...
@@ -11,6 +11,8 @@ import { getInternalCurrentAnchor, getQueryParam } from '../../../../util';
import
{
Action
}
from
'../../../../util/constant'
;
import
{
Action
}
from
'../../../../util/constant'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
dispatch
}
from
'../../../../model'
;
import
'./ImportAction.less'
const
ImportAction
=
React
.
forwardRef
((
props
,
ref
)
=>
{
const
ImportAction
=
React
.
forwardRef
((
props
,
ref
)
=>
{
const
{
action
,
hints
,
onChange
,
form
,
modelerId
,
terms
,
ddl
,
roughModelerData
,
versionId
,
permitCheckOut
,
catalogId
}
=
props
;
const
{
action
,
hints
,
onChange
,
form
,
modelerId
,
terms
,
ddl
,
roughModelerData
,
versionId
,
permitCheckOut
,
catalogId
}
=
props
;
...
@@ -135,7 +137,7 @@ const ImportAction = React.forwardRef((props, ref) => {
...
@@ -135,7 +137,7 @@ const ImportAction = React.forwardRef((props, ref) => {
'model-import-action-manage'
,
'model-import-action-manage'
,
'model-import-action-relation'
,
'model-import-action-relation'
,
],
],
0
,
2
0
,
5
,
5
,
container
container
);
);
...
@@ -577,7 +579,7 @@ const ImportAction = React.forwardRef((props, ref) => {
...
@@ -577,7 +579,7 @@ const ImportAction = React.forwardRef((props, ref) => {
{
{
(action==='detail' && ((modelerData||{}).optionList||[]).findIndex(item => item.enabled && item.name==='查看') === -1) ? <div style={{ padding: '10px 20px' }}>
(action==='detail' && ((modelerData||{}).optionList||[]).findIndex(item => item.enabled && item.name==='查看') === -1) ? <div style={{ padding: '10px 20px' }}>
{loading?'':'暂无权限'}
{loading?'':'暂无权限'}
</div> : <div>
</div> : <div
className='import-action'
>
<div style={{ position: 'sticky', top: 0 }}>
<div style={{ position: 'sticky', top: 0 }}>
<Tabs activeKey={activeValue} centered onChange={(val) => {
<Tabs activeKey={activeValue} centered onChange={(val) => {
setActiveValue(val);
setActiveValue(val);
...
@@ -586,7 +588,7 @@ const ImportAction = React.forwardRef((props, ref) => {
...
@@ -586,7 +588,7 @@ const ImportAction = React.forwardRef((props, ref) => {
animating.current = true;
animating.current = true;
targetElement.scrollIntoView();
targetElement.scrollIntoView();
}
}
}}
style={{ margin: 0 }}
>
}}>
<Tabs.TabPane tab='基本信息' key="model-import-action-basic" />
<Tabs.TabPane tab='基本信息' key="model-import-action-basic" />
<Tabs.TabPane tab='技术信息' key="model-import-action-technical" />
<Tabs.TabPane tab='技术信息' key="model-import-action-technical" />
<Tabs.TabPane tab='数据表结构' key="model-import-action-table" />
<Tabs.TabPane tab='数据表结构' key="model-import-action-table" />
...
@@ -595,7 +597,7 @@ const ImportAction = React.forwardRef((props, ref) => {
...
@@ -595,7 +597,7 @@ const ImportAction = React.forwardRef((props, ref) => {
<Tabs.TabPane tab='关联对象' key="model-import-action-relation" />
<Tabs.TabPane tab='关联对象' key="model-import-action-relation" />
</Tabs>
</Tabs>
</div>
</div>
<div ref={setContainer} style={{ height: action==='edit-inherite-modal'?'60vh':'calc(100vh - 44px - 64px - 82px)', overflow: 'auto', padding: '
0 20px
' }}>
<div ref={setContainer} style={{ height: action==='edit-inherite-modal'?'60vh':'calc(100vh - 44px - 64px - 82px)', overflow: 'auto', padding: '
20px 20px 0
' }}>
<ImportActionHeader
<ImportActionHeader
form={form}
form={form}
editable={action!=='detail'&&action!=='flow'&&action!=='detail-version'&&action!=='edit-inherited'}
editable={action!=='detail'&&action!=='flow'&&action!=='detail-version'&&action!=='edit-inherited'}
...
...
src/view/Manage/Model/Component/ImportAction.less
0 → 100644
View file @
c56806f9
.import-action {
.yy-tabs-nav {
margin: 0;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment