|
@@ -2,6 +2,7 @@
|
|
|
<div class="page-wrap data-big-wrapper" style="min-width: 1320px" @click="openDrawer=false">
|
|
|
<div class="page-header detial">
|
|
|
<searchHeader
|
|
|
+ :is-mt5="false"
|
|
|
:data="listSearch"
|
|
|
:is-hidden-time="true"
|
|
|
@search="search"
|
|
@@ -10,7 +11,7 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="page-content detial">
|
|
|
- <header class="header mb25">
|
|
|
+ <header class="header mb10">
|
|
|
<headTitle title="质量" />
|
|
|
</header>
|
|
|
<qualityModule
|
|
@@ -19,16 +20,17 @@
|
|
|
@search="qualitySearch"
|
|
|
@checkDetialModal="(data) => checkDetialModal({...data, headerTitle: '质量' })"
|
|
|
/>
|
|
|
- <header class="header mb25 mt40">
|
|
|
+ <header class="header mb10 mt40">
|
|
|
<headTitle title="吞吐量" />
|
|
|
</header>
|
|
|
<throughputModule
|
|
|
:datas="mainData.throughput"
|
|
|
:loading="throughputLoading"
|
|
|
+ :list-loading="throughputListLoading"
|
|
|
@search="qualitySearch"
|
|
|
@checkDetialModal="(data) => checkDetialModal({...data, headerTitle: '吞吐量' })"
|
|
|
/>
|
|
|
- <header class="header mb25 mt40">
|
|
|
+ <header class="header mb10 mt40">
|
|
|
<headTitle title="效率" />
|
|
|
</header>
|
|
|
<efficiencyModule
|
|
@@ -109,6 +111,7 @@ export default {
|
|
|
},
|
|
|
qualityLoading: false,
|
|
|
throughputLoading: false,
|
|
|
+ throughputListLoading: false,
|
|
|
efficiencyLoading: false
|
|
|
}
|
|
|
},
|
|
@@ -183,7 +186,7 @@ export default {
|
|
|
} else if (key === 'offlineProblemViweType') {
|
|
|
this.getOfflineProblemChartData(this.params)
|
|
|
} else if (key === 'wholeTab') {
|
|
|
- this.getThroughputData(this.params)
|
|
|
+ this.getThroughputData(this.params, key)
|
|
|
} else if (key === 'requirementBacklogType') {
|
|
|
this.getRequirementBacklogRateChartData(this.params)
|
|
|
}
|
|
@@ -321,8 +324,13 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 需求任务项目列表
|
|
|
- getThroughputData(params) {
|
|
|
- this.throughputLoading = true
|
|
|
+ getThroughputData(params, key) {
|
|
|
+ if (key) {
|
|
|
+ this.throughputListLoading = true
|
|
|
+ } else {
|
|
|
+ this.throughputLoading = true
|
|
|
+ }
|
|
|
+
|
|
|
getThroughputDataRequest({
|
|
|
...params,
|
|
|
extensionType: params.wholeTab
|
|
@@ -332,8 +340,10 @@ export default {
|
|
|
throughput: { ...this.mainData.throughput, throughputList: res.data }
|
|
|
}
|
|
|
this.throughputLoading = false
|
|
|
+ this.throughputListLoading = false
|
|
|
}).catch(() => {
|
|
|
this.throughputLoading = false
|
|
|
+ this.throughputListLoading = false
|
|
|
})
|
|
|
},
|
|
|
// 需求积压率
|