Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
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
高滢
psa-web
Commits
1279b81f
Commit
1279b81f
authored
Apr 08, 2025
by
lwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工时管理
parent
b488df8b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
625 additions
and
1679 deletions
+625
-1679
timesheet.js
src/api/timesheet/timesheet.js
+28
-1
check.vue
src/views/timesheet/timesheet/check.vue
+470
-492
index.vue
src/views/timesheet/timesheet/index.vue
+66
-553
project.vue
src/views/timesheet/timesheet/project.vue
+61
-633
No files found.
src/api/timesheet/timesheet.js
View file @
1279b81f
import
request
from
'@/utils/request'
import
axios
from
'axios'
;
//工时查询--查询个人工时记录
export
function
PListTimesheet
(
query
,
startTime
,
endTime
)
{
return
request
({
...
...
@@ -26,6 +26,33 @@ export function addTimesheetList(data) {
})
}
//工时审批--获取审批
export
function
getTimesheetCheck
(
query
)
{
return
request
({
url
:
'/timesheet/timesheet/checkTimesheetList/'
,
method
:
'get'
,
params
:
query
});
}
export
function
getEmployNameListByManagerId
(
projectNumber
,
managerId
)
{
return
request
({
url
:
'/timesheet/timesheet/getEmployNameListByManagerId'
,
method
:
'get'
,
params
:
{
projectNumber
,
managerId
}
});
}
//工时审批--通过
export
function
updateApprovalStateAndNote
(
data
)
{
return
request
({
url
:
'/timesheet/timesheet/updateApprovalStateAndNote'
,
method
:
'put'
,
data
:
data
})
}
// 查询工时记录列表
export
function
listTimesheet
(
query
)
{
return
request
({
...
...
src/views/timesheet/timesheet/check.vue
View file @
1279b81f
This diff is collapsed.
Click to expand it.
src/views/timesheet/timesheet/index.vue
View file @
1279b81f
This diff is collapsed.
Click to expand it.
src/views/timesheet/timesheet/project.vue
View file @
1279b81f
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