Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-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
pda
pda-ui
Commits
39afc5c9
Commit
39afc5c9
authored
Apr 12, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:删除不需要的代码
parent
54271902
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
calendarType.vue
src/views/mes/cal/calendar/calendarType.vue
+0
-6
team.vue
src/views/mes/cal/calendar/team.vue
+0
-10
No files found.
src/views/mes/cal/calendar/calendarType.vue
View file @
39afc5c9
...
...
@@ -43,7 +43,6 @@
<
script
>
import
{
listCalholiday
}
from
"@/api/mes/cal/calholiday"
;
import
{
listCalendars
}
from
"@/api/mes/cal/calendar"
;
import
calendar
from
'@/utils/calendar'
;
export
default
{
name
:
'CalendarTypeView'
,
...
...
@@ -69,12 +68,7 @@ export default {
watch
:{
date
:{
handler
(
newVal
,
oldVal
){
console
.
log
(
newVal
.
getFullYear
()
+
'-'
+
(
newVal
.
getMonth
()
+
1
)
+
'-'
+
newVal
.
getDate
());
// this.teamShiftQueryParams.theDay = newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate();
this
.
queryParams
.
theDay
=
newVal
.
getFullYear
()
+
'-'
+
(
newVal
.
getMonth
()
+
1
)
+
'-'
+
newVal
.
getDate
();
// listCalendars(this.teamShiftQueryParams).then(response =>{
// this.calendarDayList = response.data;
// });
this
.
getList
();
}
}
...
...
src/views/mes/cal/calendar/team.vue
View file @
39afc5c9
...
...
@@ -53,7 +53,6 @@
<
script
>
import
{
listAllTeam
}
from
"@/api/mes/cal/team"
;
import
{
listCalholiday
}
from
"@/api/mes/cal/calholiday"
;
import
{
listCalendars
}
from
"@/api/mes/cal/calendar"
;
import
calendar
from
'@/utils/calendar'
;
export
default
{
name
:
'TeamView'
,
...
...
@@ -80,12 +79,7 @@ export default {
watch
:{
date
:{
handler
(
newVal
,
oldVal
){
console
.
log
(
newVal
.
getFullYear
()
+
'-'
+
(
newVal
.
getMonth
()
+
1
)
+
'-'
+
newVal
.
getDate
());
// this.teamShiftQueryParams.theDay = newVal.getFullYear()+'-'+(newVal.getMonth()+1)+'-'+newVal.getDate();
this
.
queryParams
.
theDay
=
newVal
.
getFullYear
()
+
'-'
+
(
newVal
.
getMonth
()
+
1
)
+
'-'
+
newVal
.
getDate
();
// listCalendars(this.teamShiftQueryParams).then(response =>{
// this.calendarDayList = response.data;
// });
this
.
getList
();
}
}
...
...
@@ -128,10 +122,6 @@ export default {
this
.
loading
=
true
;
this
.
queryParams
.
workunitName
=
teamId
;
this
.
queryParams
.
theDay
=
this
.
date
.
getFullYear
()
+
'-'
+
(
this
.
date
.
getMonth
()
+
1
)
+
'-'
+
this
.
date
.
getDate
();
// listCalendars(this.teamShiftQueryParams).then(response =>{
// this.calendarDayList = response.data;
// this.loading = false;
// });
this
.
getList
()
},
isFestival
(
slotDate
,
slotData
)
{
...
...
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