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
6d89060d
Commit
6d89060d
authored
Mar 09, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc manag issue prod
parent
981c5e09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CreateManagementDoc.js
src/container/DocumentManagement/CreateManagementDoc.js
+3
-2
No files found.
src/container/DocumentManagement/CreateManagementDoc.js
View file @
6d89060d
...
@@ -57,6 +57,7 @@ export default class CreateManagementDoc extends Component {
...
@@ -57,6 +57,7 @@ export default class CreateManagementDoc extends Component {
this
.
getPeriode
()
this
.
getPeriode
()
this
.
getMonth
()
this
.
getMonth
()
this
.
getFileSize
()
this
.
getFileSize
()
console
.
log
(
this
.
props
.
allsubcoCreate
)
}
}
getFileSize
()
{
getFileSize
()
{
...
@@ -134,7 +135,7 @@ export default class CreateManagementDoc extends Component {
...
@@ -134,7 +135,7 @@ export default class CreateManagementDoc extends Component {
let
data
=
response
.
data
.
data
let
data
=
response
.
data
.
data
let
typeData
=
[]
let
typeData
=
[]
data
.
map
((
item
)
=>
{
data
.
map
((
item
)
=>
{
if
(
String
(
item
.
value
).
includes
(
'Manual
'
)){
if
(
String
(
item
.
value
).
toLocaleLowerCase
().
includes
(
'manual book tia
'
)){
if
(
this
.
props
.
allsubcoCreate
){
if
(
this
.
props
.
allsubcoCreate
){
typeData
.
push
(
{
typeData
.
push
(
{
document_category_id
:
item
.
setting_id
,
document_category_id
:
item
.
setting_id
,
...
@@ -148,7 +149,7 @@ export default class CreateManagementDoc extends Component {
...
@@ -148,7 +149,7 @@ export default class CreateManagementDoc extends Component {
})
})
}
}
})
})
//
console.log(typeData)
console
.
log
(
typeData
)
let
typeProps
=
{
let
typeProps
=
{
options
:
typeData
.
sort
((
a
,
b
)
=>
a
.
document_category_id
-
b
.
document_category_id
),
options
:
typeData
.
sort
((
a
,
b
)
=>
a
.
document_category_id
-
b
.
document_category_id
),
getOptionLabel
:
(
option
)
=>
option
.
document_category_name
,
getOptionLabel
:
(
option
)
=>
option
.
document_category_name
,
...
...
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