Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
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
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
tungnq
AppUms_Lecturer
Commits
7963c796
Commit
7963c796
authored
Sep 17, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Tái cấu trúc các component để cải thiện hiển thị và xử lý sự kiện trong ứng dụng
parent
1fc5f40c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
140 additions
and
132 deletions
+140
-132
view.js
src/screens/incoming_document/detail/view.js
+2
-2
style.js
src/screens/list_rest_report/detail/style.js
+4
-1
view.js
src/screens/list_rest_report/detail/view.js
+7
-9
style.js
src/screens/list_send_document/detail/style.js
+6
-3
view.js
src/screens/list_send_document/detail/view.js
+17
-25
style.js
src/screens/list_send_document/style.js
+15
-7
view.js
src/screens/list_send_document/view.js
+85
-81
view.js
src/screens/list_work/deliver_to_me/view.js
+3
-3
view.js
src/screens/list_work/monitoring/view.js
+1
-1
No files found.
src/screens/incoming_document/detail/view.js
View file @
7963c796
...
@@ -130,11 +130,11 @@ const DetailIncomingDocumentView = props => {
...
@@ -130,11 +130,11 @@ const DetailIncomingDocumentView = props => {
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{[
styles
.
text
,
styles
.
textWithMargin
]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
textWithMargin
]}
>
Lo
ạ
i
v
ă
n
b
ả
n
:
Lo
ạ
i
v
ă
n
b
ả
n
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
document_type
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
document_type
}
<
/Text
>
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
styles
.
textWithMargin
]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
textWithMargin
]}
>
L
ĩ
nh
v
ự
c
v
ă
n
b
ả
n
:
L
ĩ
nh
v
ự
c
v
ă
n
b
ả
n
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
field
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
field
}
<
/Text
>
<
/Text
>
<
/Text
>
<
View
style
=
{
styles
.
signerContainer
}
>
<
View
style
=
{
styles
.
signerContainer
}
>
...
...
src/screens/list_rest_report/detail/style.js
View file @
7963c796
...
@@ -18,7 +18,7 @@ const styles = StyleSheet.create({
...
@@ -18,7 +18,7 @@ const styles = StyleSheet.create({
},
},
card
:
{
card
:
{
borderRadius
:
10
,
borderRadius
:
10
,
marginVertical
:
10
,
marginVertical
:
7.5
,
backgroundColor
:
R
.
colors
.
white
,
backgroundColor
:
R
.
colors
.
white
,
shadowColor
:
R
.
colors
.
black
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:
{
width
:
0
,
height
:
2
},
shadowOffset
:
{
width
:
0
,
height
:
2
},
...
@@ -36,6 +36,7 @@ const styles = StyleSheet.create({
...
@@ -36,6 +36,7 @@ const styles = StyleSheet.create({
statusHeader
:
{
statusHeader
:
{
borderTopRightRadius
:
10
,
borderTopRightRadius
:
10
,
borderTopLeftRadius
:
10
,
borderTopLeftRadius
:
10
,
paddingLeft
:
10
},
},
statusText
:
{
statusText
:
{
fontSize
:
R
.
sizes
.
sm
,
fontSize
:
R
.
sizes
.
sm
,
...
@@ -48,6 +49,8 @@ const styles = StyleSheet.create({
...
@@ -48,6 +49,8 @@ const styles = StyleSheet.create({
statusTextInner
:
{
statusTextInner
:
{
fontSize
:
R
.
sizes
.
sm
,
fontSize
:
R
.
sizes
.
sm
,
color
:
R
.
colors
.
white
,
color
:
R
.
colors
.
white
,
fontFamily
:
R
.
fonts
.
fontMedium
,
fontWeight
:
'600'
,
},
},
// Styles cho card content
// Styles cho card content
cardContent
:
{
cardContent
:
{
...
...
src/screens/list_rest_report/detail/view.js
View file @
7963c796
...
@@ -32,11 +32,9 @@ const AbsenceListByCourseView = props => {
...
@@ -32,11 +32,9 @@ const AbsenceListByCourseView = props => {
<
View
style
=
{
styles
.
card
}
>
<
View
style
=
{
styles
.
card
}
>
<
View
style
=
{
styles
.
statusHeaderContainer
}
>
<
View
style
=
{
styles
.
statusHeaderContainer
}
>
<
View
style
=
{[
styles
.
statusHeader
,
{
backgroundColor
:
getColor
(
item
.
status
)}]}
>
<
View
style
=
{[
styles
.
statusHeader
,
{
backgroundColor
:
getColor
(
item
.
status
)}]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
statusText
]}
>
<
Text
style
=
{
styles
.
statusTextInner
}
>
<
Text
style
=
{
styles
.
statusTextInner
}
>
{
item
.
status
}
{
item
.
status
}
<
/Text
>
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
@@ -61,14 +59,14 @@ const AbsenceListByCourseView = props => {
...
@@ -61,14 +59,14 @@ const AbsenceListByCourseView = props => {
{
item
.
periods
.
map
((
item
,
index
)
=>
{
{
item
.
periods
.
map
((
item
,
index
)
=>
{
return
<
Text
key
=
{
index
}
>
{
item
.
time
},
<
/Text>
;
return
<
Text
key
=
{
index
}
>
{
item
.
time
},
<
/Text>
;
})}{
' '
}
})}{
' '
}
-
Ng
à
y
:{
item
.
dateStudy
}
-
Ng
à
y
:
{
' '
}
{
item
.
dateStudy
}
<
/Text
>
<
/Text
>
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
{
/* Row 3 */
}
{
/* Row 3 */
}
<
View
>
<
View
>
<
Text
style
=
{[
styles
.
text
,
styles
.
labelText
]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
labelText
]}
>
Đị
a
đ
i
ể
m
:
Đị
a
đ
i
ể
m
:
{
' '
}
<
Text
style
=
{[
styles
.
text
,
styles
.
valueText
]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
valueText
]}
>
{
item
.
location
}
{
item
.
location
}
<
/Text
>
<
/Text
>
...
@@ -77,7 +75,7 @@ const AbsenceListByCourseView = props => {
...
@@ -77,7 +75,7 @@ const AbsenceListByCourseView = props => {
{
/* Row 4 */
}
{
/* Row 4 */
}
<
View
>
<
View
>
<
Text
style
=
{[
styles
.
text
,
styles
.
labelText
]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
labelText
]}
>
Gi
ả
ng
vi
ê
n
thay
th
ế
:
Gi
ả
ng
vi
ê
n
thay
th
ế
:
{
' '
}
<
Text
style
=
{[
styles
.
text
,
styles
.
valueText
]}
>
<
Text
style
=
{[
styles
.
text
,
styles
.
valueText
]}
>
{
item
.
teacher
}
{
item
.
teacher
}
<
/Text
>
<
/Text
>
...
@@ -99,9 +97,9 @@ const AbsenceListByCourseView = props => {
...
@@ -99,9 +97,9 @@ const AbsenceListByCourseView = props => {
onPress
=
{()
=>
navigation
.
navigate
(
SCREENNAME
.
LISTMAKEUPCLASSES
)}
onPress
=
{()
=>
navigation
.
navigate
(
SCREENNAME
.
LISTMAKEUPCLASSES
)}
backgroundColor
=
{
R
.
colors
.
blue
}
backgroundColor
=
{
R
.
colors
.
blue
}
textColor
=
{
R
.
colors
.
white
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
2
5
}
height
=
{
3
5
}
width
=
{
90
}
width
=
{
90
}
borderRadius
=
{
15
}
borderRadius
=
{
50
}
fontSize
=
{
11
}
fontSize
=
{
11
}
fontWeight
=
{
'600'
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
...
@@ -116,9 +114,9 @@ const AbsenceListByCourseView = props => {
...
@@ -116,9 +114,9 @@ const AbsenceListByCourseView = props => {
onPress
=
{()
=>
{}}
onPress
=
{()
=>
{}}
backgroundColor
=
{
R
.
colors
.
orange
}
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
2
5
}
height
=
{
3
5
}
width
=
{
90
}
width
=
{
90
}
borderRadius
=
{
15
}
borderRadius
=
{
50
}
fontSize
=
{
11
}
fontSize
=
{
11
}
fontWeight
=
{
'600'
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
...
...
src/screens/list_send_document/detail/style.js
View file @
7963c796
...
@@ -35,7 +35,7 @@ const styles = StyleSheet.create({
...
@@ -35,7 +35,7 @@ const styles = StyleSheet.create({
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
'400'
,
fontWeight
:
'400'
,
fontFamily
:
R
.
fonts
.
fontRegular
,
fontFamily
:
R
.
fonts
.
fontRegular
,
color
:
R
.
colors
.
black
,
color
:
R
.
colors
.
gray4
,
},
},
textBtn
:
{
textBtn
:
{
color
:
R
.
colors
.
black
,
color
:
R
.
colors
.
black
,
...
@@ -60,8 +60,10 @@ const styles = StyleSheet.create({
...
@@ -60,8 +60,10 @@ const styles = StyleSheet.create({
borderWidth
:
1
,
borderWidth
:
1
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderRadius
:
100
,
borderRadius
:
100
,
padding
:
10
,
paddingHorizontal
:
5
,
height
:
35
,
alignSelf
:
'flex-start'
,
alignSelf
:
'flex-start'
,
justifyContent
:
'center'
,
backgroundColor
:
R
.
colors
.
orange
,
backgroundColor
:
R
.
colors
.
orange
,
marginHorizontal
:
5
,
marginHorizontal
:
5
,
},
},
...
@@ -72,8 +74,9 @@ const styles = StyleSheet.create({
...
@@ -72,8 +74,9 @@ const styles = StyleSheet.create({
marginVertical
:
10
,
marginVertical
:
10
,
borderRadius
:
10
,
borderRadius
:
10
,
backgroundColor
:
R
.
colors
.
blue1
,
backgroundColor
:
R
.
colors
.
blue1
,
padding
:
10
,
height
:
35
,
width
:
300
,
width
:
300
,
alignItems
:
'center'
,
},
},
//MODAL Thêm Bút Phê
//MODAL Thêm Bút Phê
modalOverlay
:
{
modalOverlay
:
{
...
...
src/screens/list_send_document/detail/view.js
View file @
7963c796
...
@@ -106,11 +106,11 @@ const DetailSendDocumentView = props => {
...
@@ -106,11 +106,11 @@ const DetailSendDocumentView = props => {
marginBottom
:
5
,
marginBottom
:
5
,
}}
>
}}
>
<
Text
style
=
{
styles
.
text
}
>
<
Text
style
=
{
styles
.
text
}
>
S
ố
k
ý
hi
ệ
u
:
S
ố
k
ý
hi
ệ
u
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
symbol_number
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
symbol_number
}
<
/Text
>
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
<
Text
style
=
{
styles
.
text
}
>
S
ố
v
à
o
s
ổ
:
S
ố
v
à
o
s
ổ
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
number_entry_book
}
{
icomingDocument
.
number_entry_book
}
<
/Text
>
<
/Text
>
...
@@ -123,47 +123,39 @@ const DetailSendDocumentView = props => {
...
@@ -123,47 +123,39 @@ const DetailSendDocumentView = props => {
marginBottom
:
5
,
marginBottom
:
5
,
}}
>
}}
>
<
Text
style
=
{
styles
.
text
}
>
<
Text
style
=
{
styles
.
text
}
>
Ng
à
y
đế
n
:
Ng
à
y
đế
n
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
term
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
term
}
<
/Text
>
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
<
Text
style
=
{
styles
.
text
}
>
Ng
à
y
v
ă
n
b
ả
n
:
Ng
à
y
v
ă
n
b
ả
n
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
term_display
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
term_display
}
<
/Text
>
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
Lo
ạ
i
v
ă
n
b
ả
n
:
Lo
ạ
i
v
ă
n
b
ả
n
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
document_type
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
document_type
}
<
/Text
>
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
L
ĩ
nh
v
ự
c
v
ă
n
b
ả
n
:
L
ĩ
nh
v
ự
c
v
ă
n
b
ả
n
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
field
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
field
}
<
/Text
>
<
/Text
>
<
/Text
>
<
View
style
=
{{
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
flexDirection
:
'row'
,
Ng
ườ
i
k
ý
:{
' '
}
justifyContent
:
'space-between'
,
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
signer_name
}
<
/Text
>
marginBottom
:
5
,
<
/Text
>
}}
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
<
Text
style
=
{
styles
.
text
}
>
Đố
i
t
á
c
g
ử
i
:{
' '
}
Ng
ườ
i
k
ý
:
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
sender_partner
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
signer_name
}
<
/Text
>
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
Đố
i
t
á
c
g
ử
i
:
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
sender_partner
}
<
/Text
>
<
/Text
>
<
/View
>
<
TextMulti
title
=
"Ghi chú"
/>
<
TextMulti
title
=
"Ghi chú"
/>
<
View
style
=
{{
marginTop
:
5
}}
><
/View
>
<
View
style
=
{{
marginTop
:
5
}}
><
/View
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
3
}]}
>
N
ộ
i
dung
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
N
ộ
i
dung
<
/Text
>
<
View
style
=
{[
styles
.
containerContent
,
{
marginBottom
:
5
}]}
>
<
View
style
=
{[
styles
.
containerContent
,
{
marginBottom
:
5
}]}
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
content
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
content
}
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
5
}]}
>
Ý
ki
ế
n
c
ủ
a
BGH
:
Ý
ki
ế
n
c
ủ
a
BGH
:
{
' '
}
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
opinion_bgh
}
<
/Text
>
<
Text
style
=
{
styles
.
text_2
}
>
{
icomingDocument
.
opinion_bgh
}
<
/Text
>
<
/Text
>
<
/Text
>
<
View
<
View
...
...
src/screens/list_send_document/style.js
View file @
7963c796
...
@@ -61,11 +61,12 @@ const styles = StyleSheet.create({
...
@@ -61,11 +61,12 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
justifyContent
:
'center'
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
},
},
text
:
{
text
CardTitle
:
{
fontSize
:
R
.
sizes
.
sm
,
fontSize
:
R
.
sizes
.
sm
,
color
:
R
.
colors
.
black
,
color
:
R
.
colors
.
white
,
fontFamily
:
R
.
fonts
.
fontRegular
,
fontFamily
:
R
.
fonts
.
fontMedium
,
fontWeight
:
'400'
,
fontWeight
:
'600'
,
},
},
box_3
:
{
box_3
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -86,17 +87,24 @@ const styles = StyleSheet.create({
...
@@ -86,17 +87,24 @@ const styles = StyleSheet.create({
boxFilter
:
{
boxFilter
:
{
flex
:
1
,
flex
:
1
,
},
},
cardIncomingDocument
:
{
boxIncomingDocument
:
{
borderRadius
:
10
,
padding
:
10
,
marginHorizontal
:
15
,
marginHorizontal
:
15
,
marginVertical
:
7.5
,
marginVertical
:
7.5
,
borderRadius
:
15
,
borderWidth
:
1
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
backgroundColor
:
R
.
colors
.
white
,
backgroundColor
:
R
.
colors
.
white
,
shadowColor
:
R
.
colors
.
black
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:
{
width
:
0.5
,
height
:
2
},
shadowOffset
:
{
width
:
0.5
,
height
:
2
},
shadowOpacity
:
Platform
.
OS
===
'ios'
?
0.25
:
1
,
shadowOpacity
:
Platform
.
OS
===
'ios'
?
0.25
:
1
,
elevation
:
Platform
.
OS
===
'ios'
?
1
:
2
,
elevation
:
Platform
.
OS
===
'ios'
?
1
:
2
,
},
},
cardIncomingDocument
:
{
padding
:
10
,
borderBottomLeftRadius
:
15
,
borderBottomRightRadius
:
15
,
},
textSubTitle
:
{
textSubTitle
:
{
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
'500'
,
fontWeight
:
'500'
,
...
...
src/screens/list_send_document/view.js
View file @
7963c796
...
@@ -69,102 +69,106 @@ const ListSendView = props => {
...
@@ -69,102 +69,106 @@ const ListSendView = props => {
const
renderItemIncomingDocument
=
({
item
})
=>
{
const
renderItemIncomingDocument
=
({
item
})
=>
{
const
showRelatedWork
=
getHiddenButton
(
item
?.
total_head_of_work
);
const
showRelatedWork
=
getHiddenButton
(
item
?.
total_head_of_work
);
return
(
return
(
<
View
style
=
{
styles
.
cardIncomingDocument
}
>
<
View
style
=
{
styles
.
boxIncomingDocument
}
>
<
Text
style
=
{
styles
.
textSubTitle
}
>
{
item
.
title
}
<
/Text
>
<
View
style
=
{{
paddingLeft
:
10
,
borderTopLeftRadius
:
15
,
borderTopRightRadius
:
15
,
backgroundColor
:
getColorStatus
(
item
.
status
)}}
>
<
Text
style
=
{
styles
.
textCardTitle
}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
}}
>
<
Text
style
=
{
styles
.
textSubTitle
}
>
Ng
à
y
t
ạ
o
:
<
Text
style
=
{
styles
.
text
}
>
{
item
.
term
}
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
textSubTitle
}
>
Tr
ạ
ng
th
á
i
:{
' '
}
<
Text
style
=
{[{
color
:
getColorStatus
(
item
.
status
)}]}
>
{
item
.
status
}
{
item
.
status
}
<
/Text
>
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{
styles
.
textSubTitle
}
>
Ch
ế
độ
:{
' '
}
<
Text
style
=
{[{
color
:
getColorRegime
(
item
.
regime
)}]}
>
{
item
.
regime
}
<
/Text
>
<
/Text
>
<
View
<
View
style
=
{
styles
.
cardIncomingDocument
}
>
style
=
{{
<
Text
style
=
{
styles
.
textSubTitle
}
>
{
item
.
title
}
<
/Text
>
flexDirection
:
'row'
,
alignSelf
:
'flex-end'
,
marginVertical
:
5
,
}}
>
{
showRelatedWork
&&
(
<
Button
title
=
"Công việc"
onPress
=
{()
=>
{}}
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
25
}
borderRadius
=
{
15
}
fontSize
=
{
11
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
/
>
)}
{
item
.
status
===
'Cần chỉnh sửa'
&&
(
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
}}
>
<>
<
Text
style
=
{
styles
.
textSubTitle
}
>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
Ng
à
y
t
ạ
o
:
<
Text
style
=
{
styles
.
text
}
>
{
item
.
term
}
<
/Text
>
<
Button
<
/Text
>
title
=
"Chỉnh sửa"
<
/View
>
onPress
=
{()
=>
navigation
.
navigate
(
ScreenName
.
EDITSENDDOCUMENT
)}
<
Text
style
=
{
styles
.
textSubTitle
}
>
backgroundColor
=
{
R
.
colors
.
orange
}
Ch
ế
độ
:{
' '
}
textColor
=
{
R
.
colors
.
white
}
<
Text
style
=
{[{
color
:
getColorRegime
(
item
.
regime
)}]}
>
width
=
{
150
}
{
item
.
regime
}
height
=
{
30
}
<
/Text
>
borderRadius
=
{
15
}
<
/Text
>
fontSize
=
{
R
.
sizes
.
sm
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
/
>
<
/
>
)}
{
item
.
status
===
'Dự thảo'
&&
(
<
View
<>
style
=
{{
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
flexDirection
:
'row'
,
alignSelf
:
'flex-end'
,
marginVertical
:
5
,
}}
>
{
showRelatedWork
&&
(
<
Button
<
Button
title
=
"Yêu cầu phê duyệt"
title
=
"Công việc"
onPress
=
{()
=>
onPress
=
{()
=>
{}}
navigation
.
navigate
(
ScreenName
.
STATUSSENDDOCUMENT
)
}
backgroundColor
=
{
R
.
colors
.
orange
}
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
30
}
height
=
{
25
}
width
=
{
160
}
borderRadius
=
{
15
}
borderRadius
=
{
15
}
fontSize
=
{
R
.
sizes
.
sm
}
fontSize
=
{
11
}
fontWeight
=
{
'600'
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
paddingHorizontal
=
{
15
}
/
>
/
>
<
/
>
)}
)}
{
item
.
status
===
'Cần chỉnh sửa'
&&
(
<>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
Button
title
=
"Chỉnh sửa"
onPress
=
{()
=>
navigation
.
navigate
(
ScreenName
.
EDITSENDDOCUMENT
)
}
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
width
=
{
150
}
height
=
{
30
}
borderRadius
=
{
15
}
fontSize
=
{
R
.
sizes
.
sm
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
/
>
<
/
>
)}
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
{
item
.
status
===
'Dự thảo'
&&
(
<
Button
<>
title
=
"Chi tiết"
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
onPress
=
{()
=>
navigation
.
navigate
(
ScreenName
.
DETAILSENDDOCUMENT
)}
<
Button
backgroundColor
=
{
R
.
colors
.
blue
}
title
=
"Yêu cầu phê duyệt"
textColor
=
{
R
.
colors
.
white
}
onPress
=
{()
=>
height
=
{
30
}
navigation
.
navigate
(
ScreenName
.
STATUSSENDDOCUMENT
)
width
=
{
90
}
}
borderRadius
=
{
15
}
backgroundColor
=
{
R
.
colors
.
orange
}
fontSize
=
{
R
.
sizes
.
sm
}
textColor
=
{
R
.
colors
.
white
}
fontWeight
=
{
'600'
}
height
=
{
30
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
width
=
{
160
}
paddingHorizontal
=
{
15
}
borderRadius
=
{
15
}
/
>
fontSize
=
{
R
.
sizes
.
sm
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
/
>
<
/
>
)}
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
Button
title
=
"Chi tiết"
onPress
=
{()
=>
navigation
.
navigate
(
ScreenName
.
DETAILSENDDOCUMENT
)}
backgroundColor
=
{
R
.
colors
.
blue
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
30
}
width
=
{
90
}
borderRadius
=
{
15
}
fontSize
=
{
R
.
sizes
.
sm
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
/
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
);
);
...
...
src/screens/list_work/deliver_to_me/view.js
View file @
7963c796
...
@@ -58,7 +58,7 @@ const DetailListWorkDeliverToMeView = props => {
...
@@ -58,7 +58,7 @@ const DetailListWorkDeliverToMeView = props => {
borderRadius
:
10
,
borderRadius
:
10
,
marginBottom
:
5
,
marginBottom
:
5
,
}}
>
}}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
4
}]}
>
{
item
.
content
}
{
item
.
content
}
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
...
@@ -111,7 +111,7 @@ const DetailListWorkDeliverToMeView = props => {
...
@@ -111,7 +111,7 @@ const DetailListWorkDeliverToMeView = props => {
padding
:
10
,
padding
:
10
,
borderRadius
:
10
,
borderRadius
:
10
,
}}
>
}}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
4
}]}
>
{
item
.
content
}
{
item
.
content
}
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
...
@@ -158,7 +158,7 @@ const DetailListWorkDeliverToMeView = props => {
...
@@ -158,7 +158,7 @@ const DetailListWorkDeliverToMeView = props => {
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
N
ộ
i
dung
c
ô
ng
vi
ệ
c
:
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
N
ộ
i
dung
c
ô
ng
vi
ệ
c
:
<
/Text
>
<
View
style
=
{
styles
.
containerContent
}
>
<
View
style
=
{
styles
.
containerContent
}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
4
}]}
>
{
data
.
content
}
{
data
.
content
}
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
...
...
src/screens/list_work/monitoring/view.js
View file @
7963c796
...
@@ -109,7 +109,7 @@ const DetailListWorkMonitoringView = props => {
...
@@ -109,7 +109,7 @@ const DetailListWorkMonitoringView = props => {
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
3
}]}
>
N
ộ
i
dung
c
ô
ng
vi
ệ
c
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
marginBottom
:
3
}]}
>
N
ộ
i
dung
c
ô
ng
vi
ệ
c
<
/Text
>
<
View
style
=
{
styles
.
containerContent
}
>
<
View
style
=
{
styles
.
containerContent
}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
gray
4
}]}
>
{
data
.
content
}
{
data
.
content
}
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
...
...
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