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
798b7818
Commit
798b7818
authored
Jun 27, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排班小图标渲染速度慢,刷新一下10+秒
parent
87996160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.vue
src/views/mes/cal/holiday/index.vue
+7
-3
No files found.
src/views/mes/cal/holiday/index.vue
View file @
798b7818
<
template
>
<div
class=
"app-container"
>
<el-calendar
v-model=
"date"
>
<el-calendar
v-model=
"date"
class=
"myholiday-cal"
>
<template
slot=
"dateCell"
slot-scope=
"
{date, data }" >
<div
@
contextmenu
.
prevent=
"onRightClick(data)"
@
click
.
stop
.
prevent=
"clickcancel"
style=
"height: 100%;
margin: -8px;
padding: 8px"
>
<div
@
contextmenu
.
prevent=
"onRightClick(data)"
@
click
.
stop
.
prevent=
"clickcancel"
style=
"height: 100%; padding: 8px"
>
<el-row
style=
"height: 100%;"
>
<!--
<el-col
:span=
"16"
>
<div
class=
"solar"
>
...
...
@@ -107,10 +107,11 @@ export default {
this
.
getList
();
},
mounted
(){
const
prevBtn2
=
document
.
querySelector
(
'.el-calendar__button-group .el-button-group>button:nth-child(2)'
)
prevBtn2
.
textContent
=
'本月'
},
methods
:{
clickcancel
()
{
console
.
log
(
'sadasd'
)
},
/** 查询节假日设置列表 */
getList
()
{
...
...
@@ -218,4 +219,7 @@ export default {
.el-calendar-table
.holiday
{
background-color
:
#88E325
;
}
.myholiday-cal
.el-calendar-table
.el-calendar-day
{
padding
:
0px
;
}
</
style
>
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