|
@@ -116,28 +116,29 @@
|
|
|
</el-container>
|
|
|
<!-- 概览 -->
|
|
|
<!-- 需求 -->
|
|
|
- <el-container v-show="activeName === '2'">
|
|
|
+ <el-container v-show="activeName === '2'" style="height: calc(100vh - 125px);">
|
|
|
<section class="main-section">
|
|
|
<needs-list />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 需求 -->
|
|
|
<!-- 任务 -->
|
|
|
- <el-container v-show="activeName === '3'" class="is-vertical">
|
|
|
+ <el-container v-show="activeName === '3'" class="is-vertical" style="height: calc(100vh - 125px);">
|
|
|
<section class="main-section">
|
|
|
<tasks-list />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 任务 -->
|
|
|
<!-- 缺陷 -->
|
|
|
- <el-container v-show="activeName === '4'" class="is-vertical">
|
|
|
+ <el-container v-show="activeName === '4'" class="is-vertical" style="height: calc(100vh - 125px);">
|
|
|
<section class="main-section">
|
|
|
- <bugs-list />
|
|
|
+ <!-- <bugs-list /> -->
|
|
|
+ <bugTableDialog ref="bugTableDialog" />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 缺陷 -->
|
|
|
<!-- 统计 -->
|
|
|
- <el-container v-if="activeName === '5'" class="is-vertical">
|
|
|
+ <el-container v-if="activeName === '5'" class="is-vertical" style="height: calc(100vh - 125px);">
|
|
|
<section class="main-section">
|
|
|
<data-statistics @change="get_list" />
|
|
|
</section>
|
|
@@ -191,7 +192,7 @@ import mileStone from './components/mileStone'
|
|
|
import dataStatistics from './components/dataStatistics'
|
|
|
import tasksList from './components/taskList'
|
|
|
import needsList from './components/needsList'
|
|
|
-import bugsList from './components/bugsList'
|
|
|
+// import bugsList from './components/bugsList'
|
|
|
import modifyProject from './components/modifyProject'
|
|
|
import openDialog from '@/views/projectManage/dialog_vue'
|
|
|
import Utils from '../../../util.js'
|
|
@@ -200,6 +201,7 @@ import createdBug from '@/views/projectManage/bugList/file/createdBug'
|
|
|
import '@/views/projectManage/projectList/css/index.css'
|
|
|
import drawer from '@/views/projectManage/Drawer'
|
|
|
import image_url from '@/assets/home_images/home_u.png'
|
|
|
+import bugTableDialog from '@/views/projectManage/bugList/details/bugTableDialog' // 缺陷表格
|
|
|
export default {
|
|
|
components: {
|
|
|
openDialog,
|
|
@@ -212,8 +214,9 @@ export default {
|
|
|
dataStatistics,
|
|
|
tasksList,
|
|
|
needsList,
|
|
|
- bugsList,
|
|
|
- modifyProject
|
|
|
+ // bugsList,
|
|
|
+ modifyProject,
|
|
|
+ bugTableDialog
|
|
|
},
|
|
|
filters: {
|
|
|
ellipsis(value, num) {
|
|
@@ -271,6 +274,9 @@ export default {
|
|
|
this.$store.state.data.status = true
|
|
|
this.$store.state.data.bizId = true
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ this.$refs.bugTableDialog.bugGetTableList({ projectId: Number(this.$route.query.id) })
|
|
|
+ },
|
|
|
destroyed() {
|
|
|
this.$store.state.data.status = false
|
|
|
this.$store.state.data.bizId = false
|
|
@@ -355,7 +361,7 @@ export default {
|
|
|
reated_task(e) { // 新建任务
|
|
|
this.task_open = true
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.task_createdUpdata.init(3)
|
|
|
+ this.$refs.task_createdUpdata.init(2)
|
|
|
})
|
|
|
}
|
|
|
}
|