Commit ce0ae7a3 authored by 吴春's avatar 吴春

no message

parent 1c62d16e
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
label="机构名称" label="机构名称"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column align="center" :label="title" v-for="(title,i) in MonthList"> <el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i">
<el-table-column <el-table-column
prop="" prop=""
label="收入" label="收入"
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<el-table <el-table
:data="LineAnalysisData" :data="LineAnalysisData"
style="width: 100%" style="width: 100%"
class="LineAnalysisDataBJ"> class="LineAnalysisDataBJ"
:row-key="index">
<el-table-column <el-table-column
fixed fixed
align="center" align="center"
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
label="线路" label="线路"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column align="center" :label="title" v-for="(title,i) in MonthList"> <el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i">
<el-table-column <el-table-column
prop="" prop=""
label="收入" label="收入"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.Name.indexOf('率')==-1&&scope.row.Name.indexOf('/收入')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span> <span v-if="scope.row.Name.indexOf('率')==-1&&scope.row.Name.indexOf('/收入')==-1">{{scope.row.MonthData[i].toFixed(2)}}</span>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
label="名称" label="名称"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column align="center" :label="title" v-for="(title,i) in MonthList"> <el-table-column align="center" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i">
<el-table-column <el-table-column
prop="" prop=""
label="收入" label="收入"
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
:label="title" v-for="(title,i) in MonthList" :label="title" v-for="(title,i) in MonthList" :key="i" :prop="i"
min-width="120" align="center"> min-width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.MonthData[i].toFixed(2)}} {{scope.row.MonthData[i].toFixed(2)}}
......
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
</div> </div>
<div v-loading="loading" style="height: 78%;overflow: auto;"> <div v-loading="loading" style="height: 78%;overflow: auto;">
<Lines v-if="activeName=='1'" :StatisticalData="StatisticalData"></Lines> <Lines v-if="activeName=='1'" :StatisticalData="StatisticalData"></Lines>
<Corporations v-if="activeName=='2'" :StatisticalData="StatisticalData"></Corporations> <!-- <Corporations v-if="activeName=='2'" :StatisticalData="StatisticalData"></Corporations>
<Packets v-if="activeName=='3'" :StatisticalData="StatisticalData"></Packets> <Packets v-if="activeName=='3'" :StatisticalData="StatisticalData"></Packets> -->
</div> </div>
</div> </div>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment