|
@@ -71,7 +71,7 @@
|
|
|
@edit="editSchedule"
|
|
|
@delete="deleteSchedule"
|
|
|
/>
|
|
|
- <gannt-views v-show="activeSchedule === '2'" ref="gannt-views" />
|
|
|
+ <gannt-views v-show="activeSchedule === '2'" ref="gannt-views" :search="searchForm" />
|
|
|
</div>
|
|
|
</section>
|
|
|
</el-container>
|
|
@@ -128,7 +128,6 @@ export default {
|
|
|
calendarDialog,
|
|
|
modifySchedule,
|
|
|
bugTableList
|
|
|
-
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -226,7 +225,6 @@ export default {
|
|
|
this.teamName = res.teamName
|
|
|
this.queryTeamWorkListByTime(this.calendarView)
|
|
|
this.queryTeamMember()
|
|
|
- this.updateGannt()
|
|
|
this.handleClick()
|
|
|
},
|
|
|
handleBizId(e) { // 业务线变动
|
|
@@ -235,12 +233,8 @@ export default {
|
|
|
this.bizName = res.name
|
|
|
this.queryTeamWorkListByTime(this.calendarView)
|
|
|
this.queryTeamMember()
|
|
|
- this.updateGannt()
|
|
|
this.handleClick()
|
|
|
},
|
|
|
- updateGannt() { // 更新子组件甘特图
|
|
|
- this.$refs['gannt-views'].updateGannt(this.searchForm)
|
|
|
- },
|
|
|
showSchedule(e) { // 查看日程详情
|
|
|
const res = this.calendarEvents.find(item => item.id === Number(e.event.id))
|
|
|
this.nowDetailData = res.detailData
|