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
a9e6f452
Commit
a9e6f452
authored
Apr 09, 2021
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产管理微调
parent
dc615ba6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
App.js
src/App.js
+2
-0
AssetTable.jsx
src/view/Manage/AssetManage/components/AssetTable.jsx
+1
-1
TreeModal.jsx
src/view/Manage/AssetManage/components/TreeModal.jsx
+1
-0
index.jsx
src/view/Manage/AssetManage/index.jsx
+10
-8
No files found.
src/App.js
View file @
a9e6f452
...
@@ -11,6 +11,7 @@ import Manage from './view/Manage';
...
@@ -11,6 +11,7 @@ import Manage from './view/Manage';
import
Map
from
'./view/Manage/Map'
;
import
Map
from
'./view/Manage/Map'
;
import
Model
from
'./view/Manage/Model'
;
import
Model
from
'./view/Manage/Model'
;
import
Element
from
'./view/Manage/Element'
;
import
Element
from
'./view/Manage/Element'
;
import
DataAssetManage
from
'./view/Manage/AssetManage'
;
export
default
class
App
extends
React
.
Component
{
export
default
class
App
extends
React
.
Component
{
render
()
{
render
()
{
...
@@ -25,6 +26,7 @@ export default class App extends React.Component {
...
@@ -25,6 +26,7 @@ export default class App extends React.Component {
<
Route
path
=
{
`/center-home/view/modelmap`
}
component
=
{
Map
}
exact
/>
<
Route
path
=
{
`/center-home/view/modelmap`
}
component
=
{
Map
}
exact
/>
<
Route
path
=
{
`/center-home/view/datamodel`
}
component
=
{
Model
}
exact
/>
<
Route
path
=
{
`/center-home/view/datamodel`
}
component
=
{
Model
}
exact
/>
<
Route
path
=
{
`/center-home/view/data-asset-element`
}
component
=
{
Element
}
exact
/>
<
Route
path
=
{
`/center-home/view/data-asset-element`
}
component
=
{
Element
}
exact
/>
<
Route
path
=
{
`/center-home/view/data-asset-manage`
}
component
=
{
DataAssetManage
}
exact
/>
<
/Switch
>
<
/Switch
>
<
/Router
>
<
/Router
>
<
/React.Fragment
>
<
/React.Fragment
>
...
...
src/view/Manage/AssetManage/components/AssetTable.jsx
View file @
a9e6f452
import
React
,{
useState
,
useEffect
}
from
"react"
import
React
,{
useState
,
useEffect
}
from
"react"
import
{
Card
,
Checkbox
,
Button
,
List
,
Skeleton
,
Row
,
Col
,
Typography
,
Pagination
,
Space
,
Modal
}
from
"antd"
import
{
Card
,
Checkbox
,
Button
,
List
,
Skeleton
,
Row
,
Col
,
Typography
,
Input
,
Space
,
Modal
,
Pagination
}
from
"antd"
import
"./AssetTable.less"
import
"./AssetTable.less"
import
{
dispatch
}
from
'../../../../model'
;
import
{
dispatch
}
from
'../../../../model'
;
import
AssetModal
from
"./AssetModal"
import
AssetModal
from
"./AssetModal"
...
...
src/view/Manage/AssetManage/components/TreeModal.jsx
View file @
a9e6f452
...
@@ -125,6 +125,7 @@ export default (props)=>{
...
@@ -125,6 +125,7 @@ export default (props)=>{
return
(
return
(
<
Modal
<
Modal
forceRender
title=
{
`资产目录信息`
}
title=
{
`资产目录信息`
}
visible=
{
visible
}
visible=
{
visible
}
width=
{
600
}
width=
{
600
}
...
...
src/view/Manage/AssetManage/index.jsx
View file @
a9e6f452
...
@@ -23,14 +23,16 @@ class Index extends React.Component {
...
@@ -23,14 +23,16 @@ class Index extends React.Component {
render
()
{
render
()
{
return
(
return
(
<
Row
gutter=
{
15
}
>
<
div
style=
{
{
backgroundColor
:
'#ECEEF3'
}
}
>
<
Col
span=
{
6
}
>
<
Row
gutter=
{
15
}
>
<
LeftTree
setNodeId=
{
this
.
setNodeId
}
/>
<
Col
span=
{
6
}
>
</
Col
>
<
LeftTree
setNodeId=
{
this
.
setNodeId
}
/>
<
Col
span=
{
18
}
>
</
Col
>
<
AssetTable
nodeId=
{
this
.
state
.
nodeId
}
/>
<
Col
span=
{
18
}
>
</
Col
>
<
AssetTable
nodeId=
{
this
.
state
.
nodeId
}
/>
</
Row
>
</
Col
>
</
Row
>
</
div
>
)
)
}
}
}
}
...
...
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