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
94fb05e2
Commit
94fb05e2
authored
Dec 05, 2024
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 排版日历pop交互方式修改
parent
958ca2f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
team.vue
src/views/mes/cal/calendar/team.vue
+17
-5
No files found.
src/views/mes/cal/calendar/team.vue
View file @
94fb05e2
...
...
@@ -72,10 +72,10 @@
class=
"grid-content"
>
<el-popover
ref=
"popoverRef
"
placement=
"
top
"
trigger=
"
focus
"
@
show=
"handleShow(teamShift)"
:ref=
"`popoverRef-$
{calendarDay.theDay}`
"
placement="
bottom
"
trigger="
click
"
@show="handleShow(teamShift
, `popoverRef-${calendarDay.theDay}`
)"
>
<span
v-for=
"(item, index) in content"
...
...
@@ -300,7 +300,19 @@ export default {
return
festAndTerm
==
""
?
lunarMD
:
festAndTerm
;
},
handleShow
(
row
)
{
handleShow
(
row
,
ref
)
{
Object
.
keys
(
this
.
$refs
).
forEach
((
key
)
=>
{
if
(
key
.
includes
(
"popoverRef-"
))
{
if
(
key
!=
ref
&&
this
.
$refs
[
key
][
0
].
showPopper
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
key
][
0
].
doClose
();
});
}
}
});
this
.
content
=
[];
const
params
=
{
shiftName
:
row
.
shiftName
,
...
...
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