|
|
|
@ -20,7 +20,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData1" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData1" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -32,7 +33,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData2" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData2" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -44,7 +46,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData3" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData3" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -56,7 +59,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData4" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData4" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -68,7 +72,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData5" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData5" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -80,7 +85,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData6" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData6" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -92,7 +98,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData7" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData7" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -104,7 +111,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData8" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData8" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -116,7 +124,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData9" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData9" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -128,7 +137,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData10" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData10" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -140,7 +150,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData11" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData11" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -152,7 +163,8 @@ |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
<template #dateCell="{ date, data }"> |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
{{ data.day.split('-').slice(2).join('-') }} |
|
|
|
<div style="width:100%;" v-for="item in scheduleData12" :key="item"> |
|
|
|
<div style="width:100%;" v-for="item in scheduleData12" :key="item"> |
|
|
|
<el-tag type="danger" v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
<el-tag type="danger" |
|
|
|
|
|
|
|
v-if="(item.workingday).indexOf(data.day.split('-').slice(2).join('-')) != -1"> |
|
|
|
{{ item.content }} |
|
|
|
{{ item.content }} |
|
|
|
</el-tag> |
|
|
|
</el-tag> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -165,6 +177,8 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
// import {getholiday} from "@/api/holiday" |
|
|
|
// import {getholiday} from "@/api/holiday" |
|
|
|
import { getholiday } from '@/api/holiday' |
|
|
|
import { getholiday } from '@/api/holiday' |
|
|
|
|
|
|
|
import { showholiday } from '@/api/holiday' |
|
|
|
|
|
|
|
import { timePanelSharedProps } from 'element-plus/es/components/time-picker/src/props/shared' |
|
|
|
import { saveholiday } from '@/api/holiday' |
|
|
|
import { saveholiday } from '@/api/holiday' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
|
|
|
|
|
|
|
|
|