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
1e175243
Commit
1e175243
authored
Aug 20, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã bổ sung màn đăng kí báo bù
parent
34e02d7e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
9 deletions
+6
-9
StackNavigation.js
src/routers/StackNavigation.js
+2
-0
view.js
src/screens/compensate/list/view.js
+0
-4
style.js
src/screens/compensate/register/style.js
+1
-1
view.js
src/screens/compensate/register/view.js
+2
-3
view.js
src/screens/compensate/view.js
+1
-1
No files found.
src/routers/StackNavigation.js
View file @
1e175243
...
@@ -17,6 +17,7 @@ import AbsenceListByCourse from '../screens/list_rest_report/detail';
...
@@ -17,6 +17,7 @@ import AbsenceListByCourse from '../screens/list_rest_report/detail';
import
RegisterAbsence
from
'../screens/list_rest_report/add'
;
import
RegisterAbsence
from
'../screens/list_rest_report/add'
;
import
CompensateView
from
'../screens/compensate'
;
import
CompensateView
from
'../screens/compensate'
;
import
DetailCompensateView
from
'../screens/compensate/list'
;
import
DetailCompensateView
from
'../screens/compensate/list'
;
import
CompensateRegisterView
from
'../screens/compensate/register'
;
const
Stack
=
createStackNavigator
();
const
Stack
=
createStackNavigator
();
function
MyStack
(
props
)
{
function
MyStack
(
props
)
{
...
@@ -42,6 +43,7 @@ function MyStack(props) {
...
@@ -42,6 +43,7 @@ function MyStack(props) {
<
Stack
.
Screen
name
=
{
ScreenName
.
REGISTERABSENCE
}
component
=
{
RegisterAbsence
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
REGISTERABSENCE
}
component
=
{
RegisterAbsence
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
LISTMAKEUPCLASSES
}
component
=
{
CompensateView
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
LISTMAKEUPCLASSES
}
component
=
{
CompensateView
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
MAKEUPSCHEDULELISTBYCOURSE
}
component
=
{
DetailCompensateView
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
MAKEUPSCHEDULELISTBYCOURSE
}
component
=
{
DetailCompensateView
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
REGISTERMAKEUP
}
component
=
{
CompensateRegisterView
}
/
>
<
/Stack.Navigator
>
<
/Stack.Navigator
>
);
);
}
}
...
...
src/screens/compensate/list/view.js
View file @
1e175243
...
@@ -6,10 +6,6 @@ import R from '../../../assets/R';
...
@@ -6,10 +6,6 @@ import R from '../../../assets/R';
import
Button
from
'../../../components/Button'
;
import
Button
from
'../../../components/Button'
;
const
DetailCompensateView
=
(
props
)
=>
{
const
DetailCompensateView
=
(
props
)
=>
{
const
{
item
,
listData
,
itemDetail
}
=
props
;
const
{
item
,
listData
,
itemDetail
}
=
props
;
console
.
log
(
item
);
console
.
log
(
listData
);
console
.
log
(
itemDetail
);
const
getColor
=
status
=>
{
const
getColor
=
status
=>
{
switch
(
status
)
{
switch
(
status
)
{
...
...
src/screens/compensate/register/style.js
View file @
1e175243
import
{
StyleSheet
,
Text
,
View
}
from
'react-native'
import
{
StyleSheet
,
Text
,
View
}
from
'react-native'
import
R
from
'../../../assets/R'
;
const
styles
=
StyleSheet
.
create
({
const
styles
=
StyleSheet
.
create
({
container
:{
container
:{
flex
:
1
,
flex
:
1
,
...
...
src/screens/compensate/register/view.js
View file @
1e175243
import
React
from
'react'
;
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
}
from
'react-native'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
}
from
'react-native'
;
import
styles
from
'./style'
;
import
styles
from
'./style'
;
import
Header
from
'../../../components/Header/Header'
;
const
CompensateRegisterView
=
(
props
)
=>
{
const
CompensateRegisterView
=
(
props
)
=>
{
const
{
}
=
props
;
const
{
}
=
props
;
return
(
return
(
<
View
<
View
style
=
{
styles
.
container
}
>
style
=
{
styles
.
container
}
>
<
TouchableOpacity
>
<
Header
title
=
{
'Đăng kí báo bù'
}
isBack
/>
<
Text
>
CompensateRegister
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
);
);
};
};
...
...
src/screens/compensate/view.js
View file @
1e175243
...
@@ -63,7 +63,7 @@ const CompensateView = (props) => {
...
@@ -63,7 +63,7 @@ const CompensateView = (props) => {
vertical
vertical
keyExtractor
=
{(
item
,
index
)
=>
`
${
index
}
`
}
keyExtractor
=
{(
item
,
index
)
=>
`
${
index
}
`
}
/
>
/
>
<
TouchableOpacity
style
=
{
styles
.
btnRegister
}
onPress
=
{
()
=>
navigation
.
navigate
(
S
creenName
.
REGISTERABSENCE
)}
>
<
TouchableOpacity
style
=
{
styles
.
btnRegister
}
onPress
=
{
()
=>
navigation
.
navigate
(
S
CREENNAME
.
REGISTERMAKEUP
)}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
white
}]}
>
Đă
ng
k
í
b
á
o
b
ù
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
white
}]}
>
Đă
ng
k
í
b
á
o
b
ù
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/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