提交 35d843ef 编写于 作者: xiaoping.di's avatar xiaoping.di

排班

...@@ -8,12 +8,16 @@ ...@@ -8,12 +8,16 @@
justifycontent: space-between; justifycontent: space-between;
" "
> >
<div class="agment-box"> <div
ref="agment"
class="agment-box"
>
<FullCalendar :options="calendarOptions" /> <FullCalendar :options="calendarOptions" />
</div> </div>
<div <div
v-if="this.schedulingType != 3" v-if="this.schedulingType != 3"
class="agment-box-left" class="agment-box-left"
:style="{height: scrollerHeight}"
> >
<div class="ag-left-change"> <div class="ag-left-change">
<div <div
...@@ -183,6 +187,7 @@ ...@@ -183,6 +187,7 @@
eventClick: this.handleEventClick, eventClick: this.handleEventClick,
}, },
workingTicketVisible: false, // 工作表票详情页面 workingTicketVisible: false, // 工作表票详情页面
scrollerHeight:0
}; };
}, },
watch: { watch: {
...@@ -194,6 +199,8 @@ ...@@ -194,6 +199,8 @@
}, },
}, },
mounted() { mounted() {
this.scrollerHeight = this.$refs.agment.clientHeight + 'px';
// console.log(this.$refs.agment.clientHeight, 'this.$refs.agment.offsetHeight;');
this.init(); this.init();
}, },
methods: { methods: {
......
...@@ -337,8 +337,10 @@ ...@@ -337,8 +337,10 @@
}); });
}, },
searchInStep() { searchInStep() {
this.loading = true;
workInStep().then((res) => { workInStep().then((res) => {
if (res.code === '000000') { if (res.code === '000000') {
this.loading = false;
this.search(); this.search();
} }
}); });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册