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
d61c61bf
Commit
d61c61bf
authored
Aug 28, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Bổ sung một số chỉnh sửa cho danh sách văn bản
parent
22ff14e1
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
85 additions
and
21 deletions
+85
-21
view.js
src/screens/list_rest_report/add/view.js
+4
-0
view.js
src/screens/list_rest_report/detail/view.js
+4
-1
view.js
src/screens/list_rest_report/view.js
+1
-0
style.js
src/screens/list_send_document/add/style.js
+12
-3
view.js
src/screens/list_send_document/add/view.js
+22
-12
style.js
src/screens/list_send_document/status/style.js
+0
-0
view.js
src/screens/list_send_document/status/view.js
+0
-0
style.js
src/screens/list_send_document/style.js
+1
-0
view.js
src/screens/list_send_document/view.js
+41
-5
No files found.
src/screens/list_rest_report/add/view.js
View file @
d61c61bf
...
...
@@ -6,6 +6,7 @@ import {
StyleSheet
,
ScrollView
,
Image
,
LogBox
,
}
from
'react-native'
;
import
Header
from
'../../../components/Header/Header'
;
import
styles
from
'./style'
;
...
...
@@ -15,6 +16,9 @@ import Dropdown from '../../../components/DropdownAlert/Dropdown';
import
TextMulti
from
'../../../components/Input/TextMulti'
;
import
Button
from
'../../../components/Button'
;
const
RegisterAbsenceView
=
props
=>
{
LogBox
.
ignoreLogs
([
'VirtualizedLists should never be nested'
]);
const
{}
=
props
;
return
(
<
View
style
=
{
styles
.
container
}
>
...
...
src/screens/list_rest_report/detail/view.js
View file @
d61c61bf
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
,
FlatList
}
from
'react-native'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
,
FlatList
,
LogBox
}
from
'react-native'
;
import
styles
from
'./style'
;
import
Header
from
'../../../components/Header/Header'
;
import
R
from
'../../../assets/R'
;
import
Button
from
'../../../components/Button'
;
const
AbsenceListByCourseView
=
props
=>
{
const
{
item
,
listData
}
=
props
;
LogBox
.
ignoreLogs
([
'VirtualizedLists should never be nested'
]);
const
getColor
=
status
=>
{
switch
(
status
)
{
...
...
src/screens/list_rest_report/view.js
View file @
d61c61bf
...
...
@@ -48,6 +48,7 @@ const ListRestReportView = props => {
<
/TouchableOpacity
>
);
};
return
(
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Báo nghỉ lịch dạy'
}
isBack
/>
...
...
src/screens/list_send_document/add/style.js
View file @
d61c61bf
import
{
StyleSheet
,
Text
,
View
}
from
'react-native'
import
R
from
'../../../assets/R'
export
default
styles
const
styles
=
StyleSheet
.
create
({
container
:
{
flex
:
1
,
backgroundColor
:
R
.
colors
.
white
,
},
body
:
{
flex
:
1
,
backgroundColor
:
R
.
colors
.
white
,
},
})
const
styles
=
StyleSheet
.
create
({})
\ No newline at end of file
export
default
styles
src/screens/list_send_document/add/view.js
View file @
d61c61bf
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
}
from
'react-native'
;
import
Header
from
'../../../components/Header/Header'
;
import
R
from
'../../../assets/R'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
*
as
ScreenName
from
'../../../routers/ScreenNames'
;
import
Button
from
'../../../components/Button'
;
import
Dropdown
from
'../../../components/DropdownAlert/Dropdown'
;
import
styles
from
'./style'
;
const
AddSendDocumentView
=
(
props
)
=>
{
const
{
}
=
props
;
const
navigation
=
useNavigation
();
const
body
=
()
=>
{
return
(
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
}}
>
<
Text
>
Ng
à
y
t
ạ
o
<
/Text
>
<
Text
>
Tr
ạ
ng
th
á
i
<
/Text
>
<
/View
>
<
/View
>
);
};
return
(
<
View
style
=
{{
flex
:
1
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
}}
>
<
TouchableOpacity
>
<
Text
>
AddSendDocument
<
/Text
>
<
/TouchableOpacity
>
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Soạn văn bản đi'
}
isBack
/>
{
body
()}
<
/View
>
);
};
export
default
AddSendDocumentView
;
const
styles
=
StyleSheet
.
create
({})
\ No newline at end of file
src/screens/list_send_document/status/style.js
0 → 100644
View file @
d61c61bf
src/screens/list_send_document/status/view.js
0 → 100644
View file @
d61c61bf
src/screens/list_send_document/style.js
View file @
d61c61bf
...
...
@@ -111,6 +111,7 @@ const styles = StyleSheet.create({
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
'400'
,
fontFamily
:
R
.
fonts
.
fontRegular
,
color
:
R
.
colors
.
black
}
})
...
...
src/screens/list_send_document/view.js
View file @
d61c61bf
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
FlatList
,
Image
,
TextInput
}
from
'react-native'
;
import
{
Text
,
View
,
TouchableOpacity
,
FlatList
,
Image
,
TextInput
,
LogBox
}
from
'react-native'
;
import
styles
from
'./style'
;
import
Header
from
'../../components/Header/Header'
;
import
R
from
'../../assets/R'
;
...
...
@@ -12,6 +12,9 @@ import SubButton from '../../components/FAB/sub_button';
const
ListSendView
=
(
props
)
=>
{
const
{
activeTab
,
dataListTabView
,
dataList
,
searchQuery
,
setSearchQuery
,
handleTabKey
}
=
props
;
const
navigation
=
useNavigation
();
LogBox
.
ignoreLogs
([
'VirtualizedLists should never be nested'
]);
const
getColorStatus
=
status
=>
{
switch
(
status
)
{
case
'Chờ xét duyệt'
:
...
...
@@ -92,6 +95,43 @@ const ListSendView = (props) => {
paddingHorizontal
=
{
15
}
/
>
)}
{
item
.
status
===
'Cần chỉnh sửa'
&&
(
<>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
Button
title
=
"Chỉnh sửa"
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
===
'Dự thảo'
&&
(
<>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
Button
title
=
"Yêu cầu phê duyệt"
onPress
=
{()
=>
{}}
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
25
}
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"
...
...
@@ -160,8 +200,6 @@ const ListSendView = (props) => {
onChangeText
=
{
setSearchQuery
}
/
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
...
...
@@ -182,10 +220,8 @@ const ListSendView = (props) => {
images
=
{
R
.
images
.
icEdit
}
backgroundColor
=
{
R
.
colors
.
orange
}
/
>
<
/FAB
>
<
/View
>
<
/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