소스 검색

团队变动,人员变动

wangziqian 5 년 전
부모
커밋
84b0801729
2개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 4
      src/views/workbench/team/components/ganntViews.vue
  2. 3 1
      src/views/workbench/team/index.vue

+ 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()
     },