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
ffed1e13
Commit
ffed1e13
authored
Aug 19, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'syadziy' into 'master'
Syadziy See merge request
!122
parents
ebbc1a8e
864e5d6c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
AddUser.js
src/container/Otorisasi/User/AddUser.js
+10
-0
AddRole.js
src/container/Otorisasi/UserRole/AddRole.js
+10
-0
No files found.
src/container/Otorisasi/User/AddUser.js
View file @
ffed1e13
...
...
@@ -60,6 +60,16 @@ export default class AddUser extends Component {
componentDidMount
()
{
this
.
getRole
()
this
.
getPerusahaan
()
if
(
this
.
props
.
type
===
'edit'
)
{
//
}
else
{
let
date
=
format
(
new
Date
,
'yyyy-MM-dd'
)
console
.
log
(
date
);
this
.
setState
({
startDate
:
date
,
endDate
:
date
})
}
}
handleChange
(
e
,
type
)
{
...
...
src/container/Otorisasi/UserRole/AddRole.js
View file @
ffed1e13
...
...
@@ -52,6 +52,16 @@ export default class AddRole extends Component {
componentDidMount
()
{
this
.
getMenu
()
if
(
this
.
props
.
type
===
'edit'
)
{
//
}
else
{
let
date
=
format
(
new
Date
,
'yyyy-MM-dd'
)
console
.
log
(
date
);
this
.
setState
({
startDate
:
date
,
endDate
:
date
})
}
}
handleChange
(
e
,
type
)
{
...
...
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