Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
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
1
Merge Requests
1
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
Giang Tran
InvestCustomer
Commits
5b41fa8f
Commit
5b41fa8f
authored
May 24, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Plain Diff
merge code
parents
4bd6e25d
63980c0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
26 deletions
+20
-26
CQG.js
src/Screens/Menu/Profile/Tab/CQG.js
+18
-21
GeneralInfor.js
src/Screens/Menu/Profile/Tab/GeneralInfor.js
+1
-4
url.js
src/apis/url.js
+1
-1
No files found.
src/Screens/Menu/Profile/Tab/CQG.js
View file @
5b41fa8f
...
...
@@ -35,7 +35,9 @@ const Profile = (props) => {
return
(
<
View
style
=
{
styles
.
container
}
>
{
props
.
user
.
status
==
6
||
props
.
user
.
status
==
7
?
(
{
props
.
user
.
status
==
6
||
props
.
user
.
status
==
7
||
props
.
user
.
status
==
8
?
(
<
View
>
<
View
style
=
{
styles
.
item
}
>
<
AppText
i18nKey
=
{
'ContactCode'
}
style
=
{
styles
.
txtTitle
}
><
/AppText
>
...
...
@@ -53,21 +55,14 @@ const Profile = (props) => {
style
=
{
styles
.
txtTitle
}
><
/AppText
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
props
.
user
.
cqg_account
}
<
/Text
>
<
/View
>
<
View
style
=
{{
flexDirection
:
'row'
,
alignItems
:
'center'
,
justifyContent
:
'space-between'
,
marginTop
:
50
,
}}
>
{
props
.
user
.
status
==
7
?
(
<
View
style
=
{
styles
.
btnLeft
}
>
<
AppText
i18nKey
=
{
'WaitUpdateCQG'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
/View
>
)
:
(
{
props
.
user
.
status
==
6
?
(
<
View
style
=
{{
flexDirection
:
'row'
,
alignItems
:
'center'
,
justifyContent
:
'space-between'
,
marginTop
:
50
,
}}
>
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
navigate
(
PACKETCQG
)}
style
=
{
styles
.
btnLeft
}
>
...
...
@@ -75,11 +70,13 @@ const Profile = (props) => {
i18nKey
=
{
'UpdatePacket'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
/TouchableOpacity
>
)}
<
TouchableOpacity
onPress
=
{
onClickCLose
}
style
=
{
styles
.
btnRight
}
>
<
AppText
i18nKey
=
{
'CloseAccount'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
/TouchableOpacity
>
<
/View
>
<
TouchableOpacity
onPress
=
{
onClickCLose
}
style
=
{
styles
.
btnRight
}
>
<
AppText
i18nKey
=
{
'CloseAccount'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
/TouchableOpacity
>
<
/View
>
)
:
null
}
<
/View
>
)
:
(
<
View
style
=
{{
justifyContent
:
'center'
,
alignItems
:
'center'
,
flex
:
1
}}
>
...
...
src/Screens/Menu/Profile/Tab/GeneralInfor.js
View file @
5b41fa8f
...
...
@@ -115,10 +115,7 @@ const GeneralInfor = (props) => {
<
AppText
i18nKey
=
{
'Status'
}
style
=
{
styles
.
txtTitle
}
><
/AppText
>
<
/View
>
<
View
style
=
{
styles
.
wrapRight
}
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
' '
}
{
renderStatus
(
props
.
user
.
status
)}
<
/Text
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
props
.
user
.
status_name
}
<
/Text
>
<
/View
>
<
/View
>
...
...
src/apis/url.js
View file @
5b41fa8f
export
const
root
=
'http://
services
.dcvinvest.com/'
;
export
const
root
=
'http://
api
.dcvinvest.com/'
;
export
default
{
urllogin
:
root
+
'api/auth/customer-login'
,
urlRegistor
:
root
+
'api/auth/customer-register'
,
...
...
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