Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
QLNS_N01
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Văn Hiếu
QLNS_N01
Commits
3a5328ff
Commit
3a5328ff
authored
6 years ago
by
đinh thị đầm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
cb3ad314
master
dinhdam
dungpv
hieunv
phipham
vanloc0410
No related merge requests found
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
154 deletions
+9
-154
src/main/java/com/itsol/quantrivanphong/employee/bussiness/EmployeeBussiness.java
...quantrivanphong/employee/bussiness/EmployeeBussiness.java
+0
-44
src/main/java/com/itsol/quantrivanphong/report/leaveform/business/LeaveFormBusiness.java
...vanphong/report/leaveform/business/LeaveFormBusiness.java
+4
-4
src/main/java/com/itsol/quantrivanphong/report/timesheet/business/TimeSheetBusiness.java
...vanphong/report/timesheet/business/TimeSheetBusiness.java
+4
-4
src/main/resources/public/css/style.css
src/main/resources/public/css/style.css
+1
-1
src/main/resources/public/project/chi-tiet-nhom-project.html
src/main/resources/public/project/chi-tiet-nhom-project.html
+0
-10
src/main/resources/public/project/projectAddViews.html
src/main/resources/public/project/projectAddViews.html
+0
-52
src/main/resources/public/project/projectListViews.html
src/main/resources/public/project/projectListViews.html
+0
-39
No files found.
src/main/java/com/itsol/quantrivanphong/employee/bussiness/EmployeeBussiness.java
deleted
100644 → 0
View file @
cb3ad314
package
com.itsol.quantrivanphong.employee.bussiness
;
import
com.itsol.quantrivanphong.model.Employee
;
import
com.itsol.quantrivanphong.repository.EmployeeRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Optional
;
@Service
public
class
EmployeeBussiness
{
@Autowired
EmployeeRepository
employeeRepository
;
// public List<Employee> findAll(){
// return employeeRepository.findAll();
// }
//
public
Optional
<
Employee
>
findById
(
int
newsId
){
return
employeeRepository
.
findById
(
newsId
);
}
// public User save(User user){
// return userRepository.save(user);
// }
// public User updateUser(Long newsId, User signUpDTO){
// User user = userRepository.findUserById(newsId);
// user.setUsername(signUpDTO.getUsername());
// user.setPassword(signUpDTO.getPassword());
// user.setEmail(signUpDTO.getEmail());
// user.setFullname(signUpDTO.getFullname());
// user.setImage(signUpDTO.getImage());
// user.setKnowledge(signUpDTO.getKnowledge());
// user.setUniversity(signUpDTO.getUniversity());
// user.setPhonenumber(signUpDTO.getPhonenumber());
// user.setPosition(signUpDTO.getPosition());
// user.setVillage(signUpDTO.getVillage());
// user.setYearOfGraduation(signUpDTO.getYearOfGraduation());
// user.setRole(signUpDTO.getRole());
// return userRepository.save(user);
// }
//
// public void deleteUser(Long newsId){
// userRepository.deleteById(newsId);
// }
}
This diff is collapsed.
Click to expand it.
src/main/java/com/itsol/quantrivanphong/report/leaveform/business/LeaveFormBusiness.java
View file @
3a5328ff
package
com.itsol.quantrivanphong.report.leaveform.business
;
import
com.itsol.quantrivanphong.report.leaveform.dto.LeaveFormDTO
;
import
com.itsol.quantrivanphong.report.leaveform.repository.LeaveFormRepository
;
import
com.itsol.quantrivanphong.report.leaveform.repository.LeaveTypeRepository
;
import
com.itsol.quantrivanphong.manager.employee.repository.EmployeeRepository
;
import
com.itsol.quantrivanphong.model.Employee
;
import
com.itsol.quantrivanphong.model.LeaveForm
;
import
com.itsol.quantrivanphong.model.LeaveType
;
import
com.itsol.quantrivanphong.repository.EmployeeRepository
;
import
com.itsol.quantrivanphong.report.leaveform.dto.LeaveFormDTO
;
import
com.itsol.quantrivanphong.report.leaveform.repository.LeaveFormRepository
;
import
com.itsol.quantrivanphong.report.leaveform.repository.LeaveTypeRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/itsol/quantrivanphong/report/timesheet/business/TimeSheetBusiness.java
View file @
3a5328ff
package
com.itsol.quantrivanphong.report.timesheet.business
;
import
com.itsol.quantrivanphong.report.timesheet.dto.TimeSheetDTO
;
import
com.itsol.quantrivanphong.report.timesheet.repository.EProjectRepository
;
import
com.itsol.quantrivanphong.report.timesheet.repository.TimeSheetRepository
;
import
com.itsol.quantrivanphong.manager.employee.repository.EmployeeRepository
;
import
com.itsol.quantrivanphong.model.Employee
;
import
com.itsol.quantrivanphong.model.Eproject
;
import
com.itsol.quantrivanphong.model.TimeSheet
;
import
com.itsol.quantrivanphong.repository.EmployeeRepository
;
import
com.itsol.quantrivanphong.report.timesheet.dto.TimeSheetDTO
;
import
com.itsol.quantrivanphong.report.timesheet.repository.EProjectRepository
;
import
com.itsol.quantrivanphong.report.timesheet.repository.TimeSheetRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/public/css/style.css
View file @
3a5328ff
...
...
@@ -24,7 +24,7 @@
table
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
sans-serif
;
width
:
5
0%
;
width
:
7
0%
;
}
caption
{
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/public/project/chi-tiet-nhom-project.html
deleted
100644 → 0
View file @
cb3ad314
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Nhóm Dự Án
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/resources/public/project/projectAddViews.html
deleted
100644 → 0
View file @
cb3ad314
<div
class=
"card-header"
>
<i
class=
"fas fa-table"
></i>
Thêm mới dự án
</div>
<div
class=
"card-body"
ng-app=
"insertProjectModule"
>
<form
ng-controller=
"insertProject"
>
<div
class=
"form-group"
>
<div
class=
"form-row"
>
<div
class=
"col-md-6"
>
<div
class=
"form-label-group"
>
<input
type=
"text"
ng-model=
"lstProject.name"
id=
"name"
class=
"form-control"
placeholder=
"Tên Dự Án"
required=
"required"
autofocus=
"autofocus"
>
<label
for=
"name"
>
Tên Dự Án
</label>
<span>
{{lstProject.name}}
</span>
</div>
</div>
<div
class=
"col-md-6"
>
<div
class=
"form-label-group"
>
<input
type=
"text"
ng-model=
"lstProject.descriptions"
id=
"descriptions"
class=
"form-control"
placeholder=
"Mô tả ngắn"
required=
"required"
>
<label
for=
"descriptions"
>
Mô tả ngắn
</label>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-row"
>
<div
class=
"col-md-6"
>
<div
class=
"form-label-group"
>
<input
type=
"text"
ng-model=
"lstProject.startDate"
id=
"startDate"
class=
"form-control"
placeholder=
"Ngày Bắt Đầu"
required=
"required"
>
<label
for=
"startDate"
>
Ngày Bắt Đầu
</label>
</div>
</div>
<div
class=
"col-md-6"
>
<div
class=
"form-label-group"
>
<input
type=
"text"
ng-model=
"lstProject.endDate"
id=
"endDate"
class=
"form-control"
placeholder=
"nick skype"
required=
"required"
>
<label
for=
"endDate"
>
Ngày Kết Thuc
</label>
</div>
</div>
</div>
</div>
<div>
<input
ng-click=
"insert_project()"
type=
"submit"
value=
"Lưu"
>
<input
type=
"reset"
value=
"Reset"
>
</div>
</form>
</div>
<script
src=
"components/project/projectAddController.js"
></script>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/resources/public/project/projectListViews.html
deleted
100644 → 0
View file @
cb3ad314
<div
class=
"card mb-3"
>
<div
class=
"card-header"
>
<i
class=
"fas fa-table"
></i>
Danh Sách Dự Án
</div>
<div
class=
"card-body"
ng-app=
"GetAPI"
>
<div
class=
"table-responsive"
ng-controller=
"showProject"
>
<a
href=
"#"
class=
"btn btn-primary btn-circle btn-sm"
style=
"margin-bottom: 10px;"
>
Thêm
</a>
<table
class=
"table table-bordered"
id=
"dataTable"
width=
"100%"
cellspacing=
"0"
>
<thead>
<tr>
<th>
Tên Dự Án
</th>
<th>
Mô tả ngắn
</th>
<th>
Ngày bắt đầu
</th>
<th>
Hạn giao
</th>
<th>
Trạng Thái
</th>
<th>
Thao Tác
</th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"project in listProject"
>
<td>
{{ project.name }}
</td>
<td>
{{ project.descriptions }}
</td>
<td>
{{ project.startDate | date:"dd/MM/yyyy" }}
</td>
<td>
{{ project.endDate | date:"dd/MM/yyyy" }}
</td>
<td>
{{ project.statusGet }}
</td>
<td><a
data-ng-href=
"#"
class=
"btn btn-info btn-circle btn-sm"
>
Xem
</a>
<a
data-ng-href=
"#"
class=
"btn btn-warning btn-circle btn-sm"
>
Sửa
</a>
<a
data-ng-href=
"#"
class=
"btn btn-danger btn-circle btn-sm"
>
Xóa
</a>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!--angular js-->
<script
src=
"components/project/projectController.js"
></script>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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