Browse Source

工作台

wangziqian 4 năm trước cách đây
mục cha
commit
f342627fb7

+ 46 - 0
src/views/workbench/components/statisticsSection.vue

@@ -0,0 +1,46 @@
+<template>
+  <div class="drawer-statistics" />
+</template>
+
+<script>
+export default {
+  name: 'StatisticsSectionVue',
+  props: {
+    searchForm: {
+      type: Object,
+      default: () => {
+        return {
+          teamId: null,
+          bizId: null
+        }
+      },
+      required: true
+    },
+    type: {
+      type: String,
+      default: 'require',
+      required: true
+    }
+  },
+  watch: {
+    searchForm: {
+      handler(newV) {
+
+      },
+      deep: true
+    },
+    type: {
+      handler(newV) {
+
+      }
+    }
+  }
+}
+</script>
+
+<style scoped lang="scss">
+.drawer-statistics {
+  height: 474px;
+  width: 100%;
+}
+</style>

+ 0 - 1
src/views/workbench/team/components/needsList.vue

@@ -108,7 +108,6 @@ import {
   requirementSelfList,
   requirementTeamList
 } from '@/api/workSchedule'
-import '@/styles/PublicStyle/index.scss'
 import { configShowRequireStatusEnum, updateRequirementStatus } from '@/api/requirement'
 import extraUrgent from '@/assets/extraUrgent.png'
 export default {

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

@@ -86,6 +86,9 @@
       </section>
     </el-container>
     <el-container v-if="activeName === '3'">
+      <section class="main-section">
+        <statistics-section :search-form="searchForm" />
+      </section>
       <section class="main-section">
         <needs-list :search-form="searchForm" type="team" />
       </section>
@@ -142,6 +145,7 @@ import projectList from '@/views/workbench/team/components/projectList'
 import needsList from '@/views/workbench/team/components/needsList'
 import taskList from '@/views/workbench/team/components/taskList'
 import bugTableList from '@/views/workbench/bugTableList.vue'
+import statisticsSection from '../components/statisticsSection'
 
 export default {
   components: {
@@ -153,7 +157,8 @@ export default {
     bugTableList,
     projectList,
     needsList,
-    taskList
+    taskList,
+    statisticsSection
   },
   data() {
     return {