Commit 2dae0abe authored by danfuman's avatar danfuman

修改

parent 05480a58
...@@ -970,7 +970,7 @@ export default { ...@@ -970,7 +970,7 @@ export default {
yAxisIndex: 1, yAxisIndex: 1,
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + '万元' return value
} }
}, },
itemStyle: { itemStyle: {
...@@ -989,7 +989,7 @@ export default { ...@@ -989,7 +989,7 @@ export default {
barWidth: 20, barWidth: 20,
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + '个'; return value;
} }
}, },
itemStyle: { itemStyle: {
...@@ -1295,7 +1295,7 @@ export default { ...@@ -1295,7 +1295,7 @@ export default {
yAxisIndex: 1, yAxisIndex: 1,
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + '万元' return value
} }
}, },
itemStyle: { itemStyle: {
...@@ -1314,7 +1314,7 @@ export default { ...@@ -1314,7 +1314,7 @@ export default {
barWidth: 20, barWidth: 20,
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + '个'; return value;
} }
}, },
itemStyle: { itemStyle: {
......
...@@ -41,34 +41,34 @@ ...@@ -41,34 +41,34 @@
<el-table-column label="特级" align="right"> <el-table-column label="特级" align="right">
<el-table-column prop="tjCount" label="数量" align="right"> <el-table-column prop="tjCount" label="数量" align="right">
<template slot-scope="scope">{{ scope.row.tjCount }}</template> <template slot-scope="scope">{{ scope.row.tjCount }}{{ scope.row.tjCount ? '个':'--' }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="tjRate" label="占比" align="right"> <el-table-column prop="tjRate" label="占比" align="right">
<template slot-scope="scope">{{ scope.row.tjRate }}%</template> <template slot-scope="scope">{{ scope.row.tjRate }}{{ scope.row.tjRate ? '%':'--' }}</template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="一级" align="right"> <el-table-column label="一级" align="right">
<el-table-column prop="oneCount" label="数量" align="right"> <el-table-column prop="oneCount" label="数量" align="right">
<template slot-scope="scope">{{ scope.row.oneCount }}</template> <template slot-scope="scope">{{ scope.row.oneCount }}{{ scope.row.oneCount ? '个':'--' }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="oneRate" label="占比" align="right"> <el-table-column prop="oneRate" label="占比" align="right">
<template slot-scope="scope">{{ scope.row.oneRate }}%</template> <template slot-scope="scope">{{ scope.row.oneRate }}{{ scope.row.oneRate ? '%':'--' }}</template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="二级" align="right"> <el-table-column label="二级" align="right">
<el-table-column prop="twoCount" label="数量" align="right"> <el-table-column prop="twoCount" label="数量" align="right">
<template slot-scope="scope">{{ scope.row.twoCount }}</template> <template slot-scope="scope">{{ scope.row.twoCount }}{{ scope.row.twoCount ? '个':'--' }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="twoRate" label="占比" align="right"> <el-table-column prop="twoRate" label="占比" align="right">
<template slot-scope="scope">{{ scope.row.twoRate }}%</template> <template slot-scope="scope">{{ scope.row.twoRate }}{{ scope.row.twoRate ? '%':'--' }}</template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column label="三级" align="right"> <el-table-column label="三级" align="right">
<el-table-column prop="threeCount" label="数量" align="right"> <el-table-column prop="threeCount" label="数量" align="right">
<template slot-scope="scope">{{ scope.row.threeCount }}</template> <template slot-scope="scope">{{ scope.row.threeCount }}{{ scope.row.threeCount ? '个':'--' }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="threeRate" label="占比" align="right"> <el-table-column prop="threeRate" label="占比" align="right">
<template slot-scope="scope">{{ scope.row.threeRate }}%</template> <template slot-scope="scope">{{ scope.row.threeRate }}{{ scope.row.threeRate ? '%':'--' }}</template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
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