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
7ec562c8
Commit
7ec562c8
authored
Apr 08, 2021
by
fanyongjun
Browse files
Options
Browse Files
Download
Plain Diff
4.8.3
parents
13e8ef9b
07bc6439
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
14 deletions
+24
-14
ElementModel.xlsx
public/docs/ElementModel.xlsx
+0
-0
AssetTable.jsx
src/view/Manage/AssetManage/components/AssetTable.jsx
+14
-8
AssetTable.less
src/view/Manage/AssetManage/components/AssetTable.less
+4
-2
LeftTree.jsx
src/view/Manage/AssetManage/components/LeftTree.jsx
+1
-1
LeftTree.less
src/view/Manage/AssetManage/components/LeftTree.less
+2
-1
index.jsx
src/view/Manage/AssetManage/index.jsx
+1
-1
index.less
src/view/Manage/Element/index.less
+2
-1
No files found.
public/docs/ElementMod
a
l.xlsx
→
public/docs/ElementMod
e
l.xlsx
View file @
7ec562c8
File moved
src/view/Manage/AssetManage/components/AssetTable.jsx
View file @
7ec562c8
...
...
@@ -166,14 +166,7 @@ export default (props) =>{
itemLayout=
"vertical"
dataSource=
{
dataList
||
[]
}
footer=
{
null
}
pagination=
{
{
total
:
total
,
showTotal
:(
total
)
=>
(
`共 ${total} 项`
),
showSizeChanger
:
true
,
pageSize
:
size
,
onChange
:
changeCurrent
,
onShowSizeChange
:
changeCurrent
,
}
}
Pagination=
{
false
}
renderItem=
{
(
item
)
=>
(
<
List
.
Item
actions=
{
[
...
...
@@ -207,6 +200,19 @@ export default (props) =>{
</
List
.
Item
>
)
}
/>
<
Pagination
size=
"small"
className=
"text-center mt-3"
showSizeChanger
showQuickJumper
onChange=
{
changeCurrent
}
onShowSizeChange=
{
changeCurrent
}
current=
{
page
}
pageSize=
{
size
}
defaultCurrent=
{
1
}
total=
{
total
}
showTotal=
{
total
=>
`共 ${total} 条`
}
/>
</
Checkbox
.
Group
>
<
AssetModal
visible=
{
visible
.
visible
}
attrBox2=
{
attrBox2
}
editBox=
{
editBox
}
addType=
{
visible
.
addtype
}
handleCancle=
{
handleCancle
}
attrBox=
{
attrBox
}
nodeId=
{
nodeId
}
setPageNumber=
{
setPageNumber
}
pageNumber=
{
pageNumber
}
/>
<
AssetDetail
visible=
{
visible2
.
visible
}
boxDetail=
{
visible2
.
box
}
handleCancle=
{
handleCancle2
}
/>
...
...
src/view/Manage/AssetManage/components/AssetTable.less
View file @
7ec562c8
...
...
@@ -8,7 +8,8 @@
.yy-list-vertical .yy-list-item-action > li {
padding: 0 ;
}
.yy-list-pagination{
margin-top: 10px !important;
.yy-checkbox-group {
height: calc(100vh - 64px - 30px - 53px - 53px - 5px) !important;
overflow: auto !important;
}
}
\ No newline at end of file
src/view/Manage/AssetManage/components/LeftTree.jsx
View file @
7ec562c8
...
...
@@ -6,6 +6,7 @@ import { dispatch } from '../../../../model';
import
TreeModal
from
"./TreeModal"
import
ThemeFile
from
"./ThemeFile"
import
'./LeftTree.less'
;
const
{
TreeNode
}
=
Tree
export
default
(
props
)
=>
{
const
{
setNodeId
}
=
props
...
...
@@ -180,7 +181,6 @@ export default (props)=>{
const
deleteNode
=
()
=>
{
if
(
nodeBox
.
selectKey
&&
nodeBox
.
selectKey
[
0
]
!==
undefined
)
{
dispatch
({
type
:
'assetmanage.existDataAsset'
,
payload
:
{
dirId
:
nodeBox
.
dataBox
.
nodeId
},
...
...
src/view/Manage/AssetManage/components/LeftTree.less
View file @
7ec562c8
...
...
@@ -3,7 +3,7 @@
padding: 0;
}
.yy-tree-list {
height: calc(100vh - 64px -
2
0px - 53px - 20px - 42px) !important;
height: calc(100vh - 64px -
3
0px - 53px - 20px - 42px) !important;
overflow: auto !important;
}
}
\ No newline at end of file
src/view/Manage/AssetManage/index.jsx
View file @
7ec562c8
...
...
@@ -23,7 +23,7 @@ class Index extends React.Component {
render
()
{
return
(
<
Row
gutter=
{
8
}
>
<
Row
gutter=
{
15
}
>
<
Col
span=
{
6
}
>
<
LeftTree
setNodeId=
{
this
.
setNodeId
}
/>
</
Col
>
...
...
src/view/Manage/Element/index.less
View file @
7ec562c8
.element {
.yy-table {
height: calc(100vh - 64px - 30px - 53px - 20px) !important;
height: calc(100vh - 64px - 30px - 53px - 20px
- 34px
) !important;
overflow: auto !important;
}
}
\ 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