Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
Tia-dev
Commits
a0c4d7f9
Commit
a0c4d7f9
authored
Oct 06, 2020
by
Rifka Kurnia Irfiana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loading create managdoc
parent
4f6c87c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CreateManagementDoc.js
src/container/DocumentManagement/CreateManagementDoc.js
+1
-1
DocumentManagement.js
src/container/DocumentManagement/DocumentManagement.js
+2
-2
No files found.
src/container/DocumentManagement/CreateManagementDoc.js
View file @
a0c4d7f9
...
@@ -327,7 +327,7 @@ export default class CreateManagementDoc extends Component {
...
@@ -327,7 +327,7 @@ export default class CreateManagementDoc extends Component {
);
);
return
(
return
(
<
div
>
<
div
>
<
div
className
=
"test app-popup-show"
style
=
{{
zIndex
:
120
}}
>
<
div
className
=
"test app-popup-show"
>
<
div
className
=
"popup-content background-white border-radius"
style
=
{{
borderRadius
:
8
}}
>
<
div
className
=
"popup-content background-white border-radius"
style
=
{{
borderRadius
:
8
}}
>
<
div
className
=
"popup-panel grid grid-2x main-color"
style
=
{{
height
:
64
,
borderTopRightRadius
:
8
,
borderTopLeftRadius
:
8
}}
>
<
div
className
=
"popup-panel grid grid-2x main-color"
style
=
{{
height
:
64
,
borderTopRightRadius
:
8
,
borderTopLeftRadius
:
8
}}
>
<
div
className
=
"col-1"
style
=
{{
maxWidth
:
"inherit"
,
display
:
'flex'
,
alignItems
:
'center'
}}
>
<
div
className
=
"col-1"
style
=
{{
maxWidth
:
"inherit"
,
display
:
'flex'
,
alignItems
:
'center'
}}
>
...
...
src/container/DocumentManagement/DocumentManagement.js
View file @
a0c4d7f9
...
@@ -93,7 +93,7 @@ export default class DocumentManagement extends Component {
...
@@ -93,7 +93,7 @@ export default class DocumentManagement extends Component {
}
}
createDocument
(
payload
,
settingID
,
menuName
)
{
createDocument
(
payload
,
settingID
,
menuName
)
{
// this.setState({ visibleCreate: false,
loading: true })
this
.
setState
({
loading
:
true
})
api
.
create
().
uploadDocument
(
payload
).
then
(
response
=>
{
api
.
create
().
uploadDocument
(
payload
).
then
(
response
=>
{
console
.
log
(
response
)
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
)
{
...
@@ -227,7 +227,7 @@ export default class DocumentManagement extends Component {
...
@@ -227,7 +227,7 @@ export default class DocumentManagement extends Component {
render
()
{
render
()
{
const
loadingComponent
=
(
const
loadingComponent
=
(
<
div
style
=
{{
position
:
'absolute'
,
zIndex
:
1
1
0
,
top
:
0
,
left
:
0
,
width
:
'100%'
,
height
:
'100%'
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
background
:
'rgba(255,255,255,0.8)'
}}
>
<
div
style
=
{{
position
:
'absolute'
,
zIndex
:
1
50
0
,
top
:
0
,
left
:
0
,
width
:
'100%'
,
height
:
'100%'
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
background
:
'rgba(255,255,255,0.8)'
}}
>
<
PropagateLoader
<
PropagateLoader
// css={override}
// css={override}
size
=
{
20
}
size
=
{
20
}
...
...
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