loading动画
This commit is contained in:
parent
bd50c6f429
commit
8f8455eca7
@ -11,7 +11,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-aside>
|
</el-aside>
|
||||||
<el-main>
|
<el-main>
|
||||||
<el-calendar v-model="date">
|
<el-calendar v-loading="loading" v-model="date">
|
||||||
<template slot="dateCell" slot-scope="{date, data }">
|
<template slot="dateCell" slot-scope="{date, data }">
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
@ -125,6 +125,7 @@ export default {
|
|||||||
}
|
}
|
||||||
listCalendars(param).then(response =>{
|
listCalendars(param).then(response =>{
|
||||||
this.calendarDayList = response.data;
|
this.calendarDayList = response.data;
|
||||||
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
isFestival(slotDate, slotData) {
|
isFestival(slotDate, slotData) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-tabs type="border-card">
|
<el-tabs type="border-card">
|
||||||
<el-tab-pane label="类型">
|
<el-tab-pane label="分类">
|
||||||
<CalendarTypeView></CalendarTypeView>
|
<CalendarTypeView></CalendarTypeView>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="班组">
|
<el-tab-pane label="班组">
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-aside>
|
</el-aside>
|
||||||
<el-main>
|
<el-main>
|
||||||
<el-calendar v-model="date">
|
<el-calendar v-loading="loading" v-model="date">
|
||||||
<template slot="dateCell" slot-scope="{date, data }">
|
<template slot="dateCell" slot-scope="{date, data }">
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
@ -133,6 +133,7 @@ export default {
|
|||||||
}
|
}
|
||||||
listCalendars(param).then(response =>{
|
listCalendars(param).then(response =>{
|
||||||
this.calendarDayList = response.data;
|
this.calendarDayList = response.data;
|
||||||
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
isFestival(slotDate, slotData) {
|
isFestival(slotDate, slotData) {
|
||||||
|
Loading…
Reference in New Issue
Block a user