| | |
| | | <div class="value">{{ value }}</div> |
| | | </div> |
| | | <!-- 标签 --> |
| | | <div class="tag">{{ tag }}</div> |
| | | <div class="tag">{{ $t(tag) }}</div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | const types = ['站点', '电源', '电池组', '本年已放数']; |
| | | const types = ['Site', 'Power', 'BatteryGroup', 'Annualcheckedcapacity']; |
| | | import i18n from '../i18n/home-conductor'; |
| | | import { createI18nOption } from '@/assets/js/tools/i18n'; |
| | | const i18nMixin = createI18nOption(i18n); |
| | | export default { |
| | | name: '', |
| | | mixins: [i18nMixin], |
| | | props: { |
| | | type: { |
| | | type: Number, |
| | |
| | | this.$router.push("/dataMager/battGroupMager"); |
| | | break; |
| | | case 3: |
| | | this.$router.push("/reportStatistics/eleAssess"); |
| | | // this.$router.push("/reportStatistics/eleAssess"); |
| | | break; |
| | | } |
| | | } |
| | |
| | | color: #011f39; |
| | | font-size: 18px; |
| | | height: 2em; |
| | | width: 6.6em; |
| | | padding: 0 1em; |
| | | /* width: 6.6em; */ |
| | | font-weight: bold; |
| | | background: url('../images/tag.png') center center / 100% 100% no-repeat; |
| | | } |