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
083011bd
Commit
083011bd
authored
Mar 26, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-ui
into dev
parents
4542873f
38c8931e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
calendarType.vue
src/views/mes/cal/calendar/calendarType.vue
+7
-2
index.vue
src/views/mes/cal/holiday/index.vue
+8
-3
No files found.
src/views/mes/cal/calendar/calendarType.vue
View file @
083011bd
...
...
@@ -6,14 +6,19 @@
<template
slot=
"dateCell"
slot-scope=
"
{date, data }">
<div>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"18"
>
<div
class=
"solar"
>
{{
data
.
day
.
split
(
'-'
)[
1
]
+
'-'
+
data
.
day
.
split
(
'-'
)[
2
]
}}
</div>
</el-col>
<!--
<el-col
:span=
"6"
>
<div
class=
"solar"
>
{{
data
.
day
.
split
(
'-'
)[
2
]
}}
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"lunar"
:class=
"
{ festival : isFestival(date, data) }">
{{
solarDate2lunar
(
data
.
day
)
}}
</div>
</el-col>
</el-col>
-->
<el-col
:span=
"6"
>
<el-tag
v-if=
"workdayList.indexOf(data.day)> -1"
effect=
"dark"
>
班
</el-tag>
<el-tag
v-else-if=
"holidayList.indexOf(data.day) > -1"
effect=
"dark"
type=
"success"
>
休
</el-tag>
...
...
src/views/mes/cal/holiday/index.vue
View file @
083011bd
...
...
@@ -4,21 +4,26 @@
<template
slot=
"dateCell"
slot-scope=
"
{date, data }">
<div
@
contextmenu
.
prevent=
"onRightClick(data)"
>
<el-row>
<el-col
:span=
"16"
>
<
!--
<
el-col
:span=
"16"
>
<div
class=
"solar"
>
{{
data
.
day
.
split
(
'-'
)[
2
]
}}
</div>
</el-col>
-->
<el-col
:span=
"16"
>
<div
class=
"solar"
>
{{
data
.
day
.
split
(
'-'
)[
1
]
+
'-'
+
data
.
day
.
split
(
'-'
)[
2
]
}}
</div>
</el-col>
<el-col
:span=
"8"
>
<el-tag
v-if=
"workdayList.indexOf(data.day)> -1"
effect=
"dark"
>
班
</el-tag>
<el-tag
v-else-if=
"holidayList.indexOf(data.day) > -1"
effect=
"dark"
type=
"success"
>
休
</el-tag>
</el-col>
</el-row>
<el-row>
<
!--
<
el-row>
<el-col
:span=
"24"
>
<div
class=
"lunar"
:class=
"
{ festival : isFestival(date, data) }">
{{
solarDate2lunar
(
data
.
day
)
}}
</div>
</el-col>
</el-row>
</el-row>
-->
</div>
</
template
>
</el-calendar>
...
...
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