|
@@ -77,17 +77,17 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="全国进出口值排名" align="center" prop="ranking">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.ranking}}
|
|
|
+ {{scope.row.ranking == 0 ?'-':scope.row.ranking}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="中西部绩效排名" align="center" prop="midwestRanking">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.midwestRanking}}
|
|
|
+ {{scope.row.midwestRanking==0?'-':scope.row.midwestRanking}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="全国绩效排名" align="center" prop="nationalPerformanceRanking">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.nationalPerformanceRanking}}
|
|
|
+ {{scope.row.nationalPerformanceRanking==0?'-':scope.row.nationalPerformanceRanking}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
@@ -257,17 +257,17 @@ export default {
|
|
|
},
|
|
|
// 获取近年年份
|
|
|
getNearYear() {
|
|
|
- let currentDate = new Date();
|
|
|
- let curYear = currentDate.getFullYear();
|
|
|
+ // let currentDate = new Date();
|
|
|
+ // let curYear = currentDate.getFullYear();
|
|
|
|
|
|
- // 获取近三年
|
|
|
- let nearYearArr = [];
|
|
|
- nearYearArr.push(curYear)
|
|
|
- for (let i = 1; i <= 4; i++) {
|
|
|
- nearYearArr.push(curYear - i + '');
|
|
|
- }
|
|
|
+ // // 获取近三年
|
|
|
+ // let nearYearArr = [];
|
|
|
+ // nearYearArr.push(curYear)
|
|
|
+ // for (let i = 1; i <= 10; i++) {
|
|
|
+ // nearYearArr.push(curYear - i + '');
|
|
|
+ // }
|
|
|
|
|
|
- this.nearYearList = nearYearArr
|
|
|
+ // this.nearYearList = nearYearArr
|
|
|
|
|
|
},
|
|
|
// 取消按钮
|