Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
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
mes
mes-ui
Commits
9f802e15
Commit
9f802e15
authored
Oct 17, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排班日历
parent
30fb475c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
team.vue
src/views/mes/cal/calendar/team.vue
+6
-4
No files found.
src/views/mes/cal/calendar/team.vue
View file @
9f802e15
...
...
@@ -124,16 +124,18 @@ export default {
this
.
holidayList
=
[];
this
.
workdayList
=
[];
let
that
=
this
;
const
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryParams
))
if
(
this
.
teamShiftQueryParams
.
workunitName
)
{
this
.
queryP
arams
.
workunitName
=
this
.
teamShiftQueryParams
.
workunitName
p
arams
.
workunitName
=
this
.
teamShiftQueryParams
.
workunitName
}
if
(
type
)
{
delete
this
.
queryP
arams
.
workunitName
delete
p
arams
.
workunitName
}
else
{
delete
this
.
queryParams
.
workunitIds
delete
params
.
workunitIds
params
[
'id'
]
=
this
.
selectRow
.
id
}
const
fn
=
type
?
getCalWorkunits
:
listCalholiday
fn
(
this
.
queryP
arams
).
then
(
response
=>
{
fn
(
p
arams
).
then
(
response
=>
{
this
.
calendarDayList
=
response
.
data
;
if
(
response
.
data
!=
null
){
response
.
data
.
forEach
(
theDay
=>
{
...
...
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