|
@@ -215,7 +215,7 @@ export default {
|
|
|
dateType: 'week', // 时间选择类型
|
|
|
moduleList: [], // 需求方向列表
|
|
|
Summary: [], // 顶部数据
|
|
|
- activeTab: '3', // tab标签
|
|
|
+ activeTab: '1', // tab标签
|
|
|
cumulativeData: null, // 需求状态累计流数据
|
|
|
tendencyData: null, // 趋势图数据
|
|
|
cycleData: [], // 周期统计数据
|
|
@@ -322,8 +322,8 @@ export default {
|
|
|
async getRequireCountTitleEnum() { // 趋势图的动态title枚举
|
|
|
const res = await getRequireCountTitleEnum({ bizId: Number(localStorage.getItem('bizId')) })
|
|
|
if (res.code === 200) {
|
|
|
- this.countTitle = res.data
|
|
|
- console.log(this.countTitle)
|
|
|
+ this.countTitle = res.data || []
|
|
|
+ this.activeTab = `${res.data[0].code}`
|
|
|
}
|
|
|
},
|
|
|
async getRequireDirection() { // 需求方向列表
|