Selaa lähdekoodia

团队变动,人员变动

wangziqian 5 vuotta sitten
vanhempi
sitoutus
84b0801729

+ 0 - 4
src/views/workbench/team/components/ganntViews.vue

@@ -140,10 +140,6 @@ export default {
         this.changeDateLength(this.radio3)
       }
     },
-    updateGannt(searchForm) { // 更新甘特图
-      this.searchForm = searchForm
-      this.queryTeamWorkList()
-    },
     async queryTeamIdleList() { // 获取空闲日程
       this.idleSearchForm.startTime = moment(this.timeSelectVal[0]).format('YYYY.MM.DD')
       this.idleSearchForm.endTime = moment(this.timeSelectVal[1]).format('YYYY.MM.DD')

+ 3 - 1
src/views/workbench/team/index.vue

@@ -77,7 +77,7 @@
     </el-container>
     <el-container v-show="activeName === '5'">
       <section class="main-section">
-        <bugTableList ref="bugTableDialog" :name="'团队'" :team-id="searchForm.teamId" :biz-id="searchForm.bizId" />
+        <bugTableList ref="bugTableDialog" :name="'团队'" />
       </section>
     </el-container>
     <!-- 日程 -->
@@ -225,6 +225,7 @@ export default {
       const res = this.searchEnum.teams.find(item => item.teamId === e)
       this.teamName = res.teamName
       this.queryTeamWorkListByTime(this.calendarView)
+      this.queryTeamMember()
       this.updateGannt()
       this.handleClick()
     },
@@ -233,6 +234,7 @@ export default {
       const res = this.searchEnum.businesslines.find(item => item.code === e)
       this.bizName = res.name
       this.queryTeamWorkListByTime(this.calendarView)
+      this.queryTeamMember()
       this.updateGannt()
       this.handleClick()
     },