|
@@ -2571,12 +2571,15 @@ if(sessionselect){
|
|
|
success: function(res) {
|
|
|
if (res && res.error_code === 0 && res.data) {
|
|
|
try {
|
|
|
- _this.advancedInfo.briefList = (res.data.ahead.subTypeCount || []).map(v => {
|
|
|
- v.value = v.doc_count
|
|
|
- return v
|
|
|
- })
|
|
|
- _this.advancedInfo.projectList = res.data.ahead.projectTop2 || []
|
|
|
-
|
|
|
+ //超前项目
|
|
|
+ if(res.data.ahead){
|
|
|
+ _this.advancedInfo.briefList = (res.data.ahead.subTypeCount || []).map(v => {
|
|
|
+ v.value = v.doc_count
|
|
|
+ return v
|
|
|
+ })
|
|
|
+ _this.advancedInfo.projectList = res.data.ahead.projectTop2 || []
|
|
|
+ }
|
|
|
+ //定制化分析报告
|
|
|
_this.chartCustomData = res.data.custom || {}
|
|
|
if (_this.advancedInfo.briefList.length || _this.advancedInfo.projectList.length || Object.keys(_this.chartCustomData).length) {
|
|
|
_this.advancedInfo.show = true
|