|
@@ -50,7 +50,7 @@
|
|
|
<div class="itemBox">
|
|
|
<div class="titleLevel3 mb25">需求方向分布图</div>
|
|
|
<div class="chartViewHeight">
|
|
|
- <normal-echart v-if="requirementDirectionChartOption" :chart-id="'chart3'" :option="requirementDirectionChartOption" @onClick="changeList" />
|
|
|
+ <normal-echart v-if="requirementBacklogRateChartOption" :chart-id="'chart3'" :option="requirementDirectionChartOption" @onClick="changeList" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -70,7 +70,7 @@
|
|
|
</el-select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="chartViewHeight" style="height: 178px">
|
|
|
+ <div class="chartViewHeight" style="height: 222px">
|
|
|
<normal-echart v-if="requirementBacklogRateChartOption" :chart-id="'chart4'" :option="requirementBacklogRateChartOption" @onClick="changeList" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -90,11 +90,11 @@
|
|
|
<el-option v-for="o in mainData.versionRequirementChart" :key="o.label" :label="o.label" :value="o.label" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
- <div class="chartViewHeight" style="height: 178px">
|
|
|
+ <div class="chartViewHeight" style="height: 232px">
|
|
|
<normal-echart v-if="versionRequirementChartOption[verTab]" :chart-id="'chart5'" :option="versionRequirementChartOption[verTab]" @onClick="changeList" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else style="height: 210px; font-size: 50px; text-align: center; padding-top: 20%;">
|
|
|
+ <div v-else style="height: 264px; font-size: 50px; text-align: center; padding-top: 30%;">
|
|
|
<svg-icon icon-class="empty" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -160,19 +160,19 @@ export default {
|
|
|
}
|
|
|
if (requirementDirectionChart) {
|
|
|
const { xaxis, yaxis } = requirementDirectionChart
|
|
|
- this.requirementDirectionChartOption = getOption(xaxis, yaxis[0].data, 'bar', { endValue: 10 })
|
|
|
+ this.requirementDirectionChartOption = getOption(xaxis, yaxis[0].data, 'bar', { endValue: 6 })
|
|
|
}
|
|
|
// 积压率
|
|
|
if (requirementBacklogRateChart) {
|
|
|
const { xaxis, yaxis } = requirementBacklogRateChart
|
|
|
- this.requirementBacklogRateChartOption = getOption(xaxis, yaxis[0].data, 'line', { endValue: 10 })
|
|
|
+ this.requirementBacklogRateChartOption = getOption(xaxis, yaxis[0].data, 'line', { endValue: 6 })
|
|
|
}
|
|
|
if (versionRequirementChart) {
|
|
|
this.mainData = { ...this.mainData, versionRequirementChart }
|
|
|
this.verTab = versionRequirementChart[0] && versionRequirementChart[0].label
|
|
|
const obj = {}
|
|
|
versionRequirementChart.forEach(t => {
|
|
|
- obj[t.label] = getOption(t.xaxis, t.yaxis[0].data, 'bar', { endValue: 10 })
|
|
|
+ obj[t.label] = getOption(t.xaxis, t.yaxis[0].data, 'bar', { endValue: 6 })
|
|
|
})
|
|
|
this.versionRequirementChartOption = obj
|
|
|
}
|
|
@@ -208,7 +208,7 @@ export default {
|
|
|
border-radius: 6px;
|
|
|
&.whole {
|
|
|
padding: 10px 0px;
|
|
|
- height: 276px;
|
|
|
+ height: 330px;
|
|
|
.tab {
|
|
|
padding: 0 20px;
|
|
|
}
|
|
@@ -239,7 +239,7 @@ export default {
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
.chartViewHeight {
|
|
|
- height: 210px;
|
|
|
+ height: 264px;
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|