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
bca73b90
Commit
bca73b90
authored
Jul 06, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' into 'ENV-DEPLOYMENT'
Anomali CAT See merge request
!1878
parents
1a2f4b33
784981d2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
.env_staging
.env_staging
+4
-0
package.json
package.json
+4
-0
BudgetTahunan.js
src/container/BudgetTahunan/BudgetTahunan.js
+1
-1
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+3
-3
Constant.js
src/library/Constant.js
+2
-0
No files found.
.env_staging
0 → 100644
View file @
bca73b90
// contents of .env
REACT_APP_URL_MAIN_BE=https://tia.eksad.com/tia-reporting-staging
REACT_APP_URL_MAIN_FE=/web
\ No newline at end of file
package.json
View file @
bca73b90
...
...
@@ -55,14 +55,18 @@
"start"
:
"react-scripts start"
,
"build"
:
"react-scripts --max_old_space_size=8192 build"
,
"build_dev"
:
"copy .env_dev .env && react-scripts --max_old_space_size=8192 build"
,
"build_staging"
:
"copy .env_staging .env && react-scripts --max_old_space_size=8192 build"
,
"build_prod"
:
"copy .env_prod .env && react-scripts --max_old_space_size=8192 build"
,
"build_dev_linux"
:
"cp .env_dev .env && react-scripts --max_old_space_size=8192 build"
,
"build_staging_linux"
:
"cp .env_staging .env && react-scripts --max_old_space_size=8192 build"
,
"build_prod_linux"
:
"cp .env_prod .env && react-scripts --max_old_space_size=8192 build"
,
"test"
:
"react-scripts test"
,
"eject"
:
"react-scripts eject"
,
"dev"
:
"copy .env_dev .env && react-scripts start"
,
"staging"
:
"copy .env_staging .env && react-scripts start"
,
"prod"
:
"copy .env_prod .env && react-scripts start"
,
"dev_linux"
:
"cp .env_dev .env && react-scripts start"
,
"staging_linux"
:
"cp .env_staging .env && react-scripts start"
,
"prod_linux"
:
"cp .env_prod .env && react-scripts start"
},
"eslintConfig"
:
{
...
...
src/container/BudgetTahunan/BudgetTahunan.js
View file @
bca73b90
...
...
@@ -628,7 +628,7 @@ export default class BudgetTahunan extends Component {
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
type
===
"CAT"
)
{
if
(
type
===
"CAT"
||
type
===
"DraftCAT"
)
{
this
.
setState
({
visibleCAT
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
}
else
{
this
.
setState
({
visibleBudgetTahunan
:
true
,
loading
:
false
})
...
...
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
bca73b90
...
...
@@ -428,7 +428,7 @@ export default class CorporateAnnualTarget extends Component {
report_id
:
this
.
props
.
report_id
,
status
:
''
,
cat
:
payload
,
status
:
'submitted'
status
:
'submitted'
}
// // // // console.log(body)
this
.
setState
({
payload
:
body
,
judul
:
resp
.
rows
[
1
][
0
]
})
...
...
@@ -825,10 +825,10 @@ export default class CorporateAnnualTarget extends Component {
if
(
type
==
'submitted'
)
{
this
.
props
.
getReport
(
body
,
'CAT'
)
}
else
{
this
.
props
.
getReport
(
body
)
this
.
props
.
getReport
(
body
,
'DraftCAT'
)
}
this
.
setState
({
loading
:
false
})
//
this.props.onClickClose()
this
.
props
.
onClickClose
()
// this.props.getReport()
}
else
{
if
(
response
.
data
?.
message
==
"Please Set Up Rate Currency First"
)
{
...
...
src/library/Constant.js
View file @
bca73b90
...
...
@@ -4,9 +4,11 @@ const Constant = {
EMAIL
:
'TOKEN'
,
PASSWORD
:
'PASSWORD'
,
URL_BE_DEV
:
'${process.env.REACT_APP_URL_MAIN_BE}'
,
URL_BE_STAGING
:
'https://tia.eksad.com/tia-reporting-staging'
,
URL_BE_DEMO
:
'https://tia.eksad.com/tia-reporting-demo'
,
URL_BE_PROD
:
'https://dashboard.triputra-group.com/tia-reporting'
,
URL_FE_DEV
:
'https://tia.eksad.com/tia-web-dev'
,
URL_FE_STAGING
:
'https://tia.eksad.com/tia-web-staging'
,
URL_FE_DEMO
:
'https://tia.eksad.com/tia-web-demo'
,
URL_FE_PROD
:
'https://dashboard.triputra-group.com/tia-web'
,
DATACAT
:
'datacat'
...
...
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