|
@@ -24,7 +24,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="年度" style="margin-bottom: 0">
|
|
|
- <el-select v-model="selectedYear" style="width: 100%">
|
|
|
+ <el-select v-model="selectedYear" style="width: 100%" >
|
|
|
<el-option v-for="year in availableYears" :key="year" :value="year">
|
|
|
{{ year }}
|
|
|
</el-option>
|
|
@@ -101,7 +101,7 @@
|
|
|
<el-table-column prop="enterpriseId" label="企业ID"></el-table-column>
|
|
|
<el-table-column
|
|
|
prop="value"
|
|
|
- label="评估指标值"
|
|
|
+ :label="label"
|
|
|
width="200"
|
|
|
></el-table-column>
|
|
|
</el-table>
|
|
@@ -133,6 +133,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ label: "评估指标值/万元",
|
|
|
chart: null,
|
|
|
chartData: [],
|
|
|
industryData: [],
|
|
@@ -161,6 +162,20 @@ export default {
|
|
|
energyConsume: "能源消费量",
|
|
|
powerConsume: "电力消费量",
|
|
|
},
|
|
|
+ keyToUnit: {
|
|
|
+ landArea: "/亩",
|
|
|
+ totalIndustrialValue: "/万元",
|
|
|
+ gdp: "/万元",
|
|
|
+ taxableIncome: "/万元",
|
|
|
+ paidTax: "/万元",
|
|
|
+ mainBusinessIncome: "/万元",
|
|
|
+ employeeNumber: "/人",
|
|
|
+ profit: "/万元",
|
|
|
+ ownerEquity: "",
|
|
|
+ funding: "/万元",
|
|
|
+ energyConsume: "/万m³",
|
|
|
+ powerConsume: "/万KW·h",
|
|
|
+ },
|
|
|
selectedYear: null,
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -413,7 +428,7 @@ export default {
|
|
|
value: item[that.selectedDataKey],
|
|
|
};
|
|
|
});
|
|
|
- console.log(filteredData, result, that.selectedDataKey, filteredArray); //获取自定义的值
|
|
|
+ // console.log(filteredData, result, that.selectedDataKey, filteredArray); //获取自定义的值
|
|
|
});
|
|
|
},
|
|
|
generateQuadraticData(binCount, maxHistogramValue, totalHistogramValue) {
|
|
@@ -439,9 +454,9 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
// littlegreen - 关闭监测数值变化
|
|
|
- // selectedDataKey() {
|
|
|
- // this.updateChart();
|
|
|
- // },
|
|
|
+ selectedDataKey() {
|
|
|
+ this.label = "评估指标值"+this.keyToUnit[this.selectedDataKey]
|
|
|
+ },
|
|
|
// selectedYear() {
|
|
|
// this.updateChart();
|
|
|
// },
|