|
@@ -59,6 +59,7 @@
|
|
|
<el-container v-if="activeName === '3'">
|
|
|
<section class="main-section">
|
|
|
<statistics-section
|
|
|
+ ref="statistics-section"
|
|
|
:search-form="searchForm"
|
|
|
type="person"
|
|
|
title="需求"
|
|
@@ -68,12 +69,18 @@
|
|
|
}"
|
|
|
@change="changeData"
|
|
|
/>
|
|
|
- <needs-list :name="listName.requireList" :id-list="idList.requireList" />
|
|
|
+ <needs-list
|
|
|
+ ref="needs-list"
|
|
|
+ :name="listName.requireList"
|
|
|
+ :id-list="idList.requireList"
|
|
|
+ @change="changeStatus"
|
|
|
+ />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<el-container v-if="activeName === '4'">
|
|
|
<section class="main-section">
|
|
|
<statistics-section
|
|
|
+ ref="statistics-section"
|
|
|
:search-form="searchForm"
|
|
|
type="person"
|
|
|
title="任务"
|
|
@@ -83,12 +90,18 @@
|
|
|
}"
|
|
|
@change="changeData"
|
|
|
/>
|
|
|
- <task-list :name="listName.taskList" :id-list="idList.taskList" />
|
|
|
+ <task-list
|
|
|
+ ref="task-list"
|
|
|
+ :name="listName.taskList"
|
|
|
+ :id-list="idList.taskList"
|
|
|
+ @change="changeStatus"
|
|
|
+ />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<el-container v-if="activeName === '5'">
|
|
|
<section class="main-section">
|
|
|
<statistics-section
|
|
|
+ ref="statistics-section"
|
|
|
:search-form="searchForm"
|
|
|
type="person"
|
|
|
title="缺陷"
|
|
@@ -98,7 +111,12 @@
|
|
|
}"
|
|
|
@change="changeData"
|
|
|
/>
|
|
|
- <bugTableList :name="listName.bugList" :id-list="idList.bugList" />
|
|
|
+ <bug-tableList
|
|
|
+ ref="bug-tableList"
|
|
|
+ :name="listName.bugList"
|
|
|
+ :id-list="idList.bugList"
|
|
|
+ @change="changeStatus"
|
|
|
+ />
|
|
|
</section>
|
|
|
</el-container>
|
|
|
<!-- 工作台简介 -->
|
|
@@ -534,6 +552,9 @@ export default {
|
|
|
this.listName.bugList = name
|
|
|
}
|
|
|
},
|
|
|
+ changeStatus(e) { // 子组件修改状态
|
|
|
+ this.$refs['statistics-section'].initData()
|
|
|
+ },
|
|
|
websocketonmessage(e) { // websocket数据接收
|
|
|
const { bugHasReminding, requireHasReminding, taskHasReminding } = JSON.parse(e.data)
|
|
|
this.tabTips = { // 顶部tab红点提示
|
|
@@ -577,8 +598,8 @@ export default {
|
|
|
transform: translate(-50%, 0);
|
|
|
}
|
|
|
.tips {
|
|
|
- height: 10px;
|
|
|
- width: 10px;
|
|
|
+ height: 8px;
|
|
|
+ width: 8px;
|
|
|
background-color: #E02020;
|
|
|
border-radius: 50%;
|
|
|
position: absolute;
|
|
@@ -586,8 +607,8 @@ export default {
|
|
|
right: 14px;
|
|
|
}
|
|
|
.tips-last {
|
|
|
- height: 10px;
|
|
|
- width: 10px;
|
|
|
+ height: 8px;
|
|
|
+ width: 8px;
|
|
|
background-color: #E02020;
|
|
|
border-radius: 50%;
|
|
|
position: absolute;
|