he wei
2023-04-24 91e946039637e72be79187afddf503817184fd4d
 1
2个文件已修改
1个文件已添加
78 ■■■■ 已修改文件
src/router/index.js 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataMager/i18n/produceTotal.js 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dataMager/produceTotal.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js
@@ -175,17 +175,17 @@
        require(['@/views/dataMager/elePriceDistributionTpl'], resolve)
      }
    },
    {
      path: 'homeAddressInfoManage',
      name: 'homeAddressInfoManage',
      meta: {
        title: 'homeAddressInfoManage',
        icon: ''
      },
      component: (resolve) => {
        require(['@/views/dataMager/homeAddressInfoManage'], resolve)
      }
    },
    // {
    //   path: 'homeAddressInfoManage',
    //   name: 'homeAddressInfoManage',
    //   meta: {
    //     title: 'homeAddressInfoManage',
    //     icon: ''
    //   },
    //   component: (resolve) => {
    //     require(['@/views/dataMager/homeAddressInfoManage'], resolve)
    //   }
    // },
    {
      path: 'produceTotal',
      name: 'produceTotal',
src/views/dataMager/i18n/produceTotal.js
New file
@@ -0,0 +1,50 @@
export default {
  messages: {
    CN: {
      Province: '省',
      City: '市',
      DistrictCounty: '区/县/班组',
      ModifyEquipmentRoomName: '修改机房名',
      NodeStationManagement: '节点站管理',
      NewStation: '新建站点',
      NodeStationManaegement: '节点/非节点站管理',
      StationEdit: '站点编辑',
      RoomNo: '机房编号',
      EquipmentRoomName: '机房名称',
      SiteType: '站点类型',
      SiteVoltageLevel: '电压等级',
      Longitude: '经度',
      Latitude: '纬度',
      Address: '地址',
      NodeStation: '节点站',
      NonnodeStation: '非节点站',
      Confirmtodeletethecurrentequipmentroom: '确认删除当前机房',
      Message: '提示',
      Remove: '移除',
      Add: '添加',
    },
    US: {
      Province: 'Province',
      City: 'City',
      DistrictCounty: 'District/County',
      ModifyEquipmentRoomName: 'Modify Equipment Room Name',
      NodeStationManagement: 'Node Station Management',
      NewStation: 'New Station',
      NodeStationManaegement: 'Node/Non-node Station Manaegement',
      StationEdit: 'Station Edit',
      RoomNo: 'Room No.',
      EquipmentRoomName: 'Equipment Room Name',
      SiteType: 'Site Type',
      SiteVoltageLevel: 'Site Voltage Level',
      Longitude: 'Longitude',
      Latitude: 'Latitude',
      Address: 'Address',
      NodeStation: 'Node Station',
      NonnodeStation: 'Non-node Station',
      Confirmtodeletethecurrentequipmentroom: 'Confirm to delete the current equipment room?',
      Message: 'Message',
      Remove: 'Remove',
      Add: 'Add',
    }
  }
}
src/views/dataMager/produceTotal.vue
@@ -172,6 +172,11 @@
} from "./js/produceTotal";
import CompareDischarge from "./components/compareDischarge";
import i18n from './i18n/produceTotal';
import { createI18nOption } from '@/assets/js/tools/i18n';
// import i18nConstIp from '@/assets/js/i18n/const_changeIp';
const i18nMixin = createI18nOption(i18n);
let produceOption = {
  title: {
    text: "",
@@ -227,6 +232,7 @@
    BarChart,
  },
  tblData: [],
  mixins: [i18nMixin],
  data() {
    let thistime = new Date();
    let yy = thistime.getFullYear();