diff --git a/src/views/operation/report/index.vue b/src/views/operation/report/index.vue index 6bf3449..b7c44b8 100644 --- a/src/views/operation/report/index.vue +++ b/src/views/operation/report/index.vue @@ -279,8 +279,6 @@ function tableColumnActive(row, modelType, key) { return ''; } - console.log(reportData) - // 根据key值获取对应字段的值并判断是否应该添加active类 const value = reportData[key]; if (value && value === '1') { @@ -365,6 +363,16 @@ function reportResultsModelType(arr){ const res = {} arr.forEach(item => { res[item.modelType] = [ + { + lable: '主队', + value: item.homeTeam, + key: 'result' + }, + { + lable: '客队', + value: item.awayTeam, + key: 'result' + }, { lable: '胜平负', value: item.result,