فهرست منبع

修改定时导出配置

xusl 1 هفته پیش
والد
کامیت
5b9379244a

+ 115 - 48
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/i18n/langs/en/resourceData.js

@@ -1,51 +1,118 @@
 // 上报查询
 export default {
-    '设备选择':'Equipment Selection',
-    '类型选择':'Type Selection',
-    '生成':'generate',
-    '系统判断当前数据可用率':'System Checks Current Data Availability Ratio',
-    '暂无数据':'No Data',
-    '10米高风速':'ws10',
-    '30米高风速':'ws30',
-    '50米高风速':'ws50',
-    '60米高风速':'ws60',
-    '70米高风速':'ws70',
-    '80米高风速':'ws80',
-    '90米高风速':'ws90',
-    '100米高风速':'ws100',
-    '轮毂高风速':'wsHubHeight',
-    '10米高风向':'wd10',
-    '30米高风向':'wd30',
-    '50米高风向':'wd50',
-    '60米高风向':'wd60',
-    '70米高风向':'wd70',
-    '80米高风向':'wd80',
-    '90米高风向':'wd90',
-    '100米高风向':'wd100',
-    '轮毂高风向':'wdHubHeight',
-    '温度':'T',
-    '湿度':'RH',
-    '气压':'P',
-    '参照重置':'Reference Reset',
-    '重置后将重新进行时间轴类校验,是否继续?':'After resetting, the timeline class verification will be performed again. Do you want to continue?',
-    '重置成功':'Reset Success',
-    '重置失败':'Reset Failed',
-    '显示':'Display',
-    '测风塔数据校验结果':'Windtower Data Result',
-    '气象站数据校验结果':'Weatherstation Data Result',
-    '逆变器数据校验结果':'Inverter Data Result',
-    '风机数据校验结果':'Windturbine Data Result',
-    '功率数据校验结果':'Power Data Result',
-    '显示设置修改成功':'Display Set Success',
-    '总辐射':'GlobalR',
-    '直接辐射':'DirectR',
-    '散射辐射':'DiffuseR',
-    '斜面辐射':'ObliqueR',
-    '组件温度':'cellT',
-    '请选择设备':'Please select a device',
-    '累积发电量':'Total power generation',
-    '转速':'Rotational speed',
-    '桨距角':'Pitch angle',
-    '步骤一':'Step 1',
-    '扫码助手':'ScanCode Assistant',
+  '设备选择': 'Equipment Selection',
+  '类型选择': 'Type Selection',
+  '生成': 'generate',
+  '系统判断当前数据可用率': 'System Checks Current Data Availability Ratio',
+  '暂无数据': 'No Data',
+  '10米高风速': 'ws10',
+  '30米高风速': 'ws30',
+  '50米高风速': 'ws50',
+  '60米高风速': 'ws60',
+  '70米高风速': 'ws70',
+  '80米高风速': 'ws80',
+  '90米高风速': 'ws90',
+  '100米高风速': 'ws100',
+  '轮毂高风速': 'wsHubHeight',
+  '10米高风向': 'wd10',
+  '30米高风向': 'wd30',
+  '50米高风向': 'wd50',
+  '60米高风向': 'wd60',
+  '70米高风向': 'wd70',
+  '80米高风向': 'wd80',
+  '90米高风向': 'wd90',
+  '100米高风向': 'wd100',
+  '轮毂高风向': 'wdHubHeight',
+  '温度': 'T',
+  '湿度': 'RH',
+  '气压': 'P',
+  '参照重置': 'Reference Reset',
+  '重置后将重新进行时间轴类校验,是否继续?': 'After resetting, the timeline class verification will be performed again. Do you want to continue?',
+  '重置成功': 'Reset Success',
+  '重置失败': 'Reset Failed',
+  '显示': 'Display',
+  '测风塔数据校验结果': 'Windtower Data Result',
+  '气象站数据校验结果': 'Weatherstation Data Result',
+  '逆变器数据校验结果': 'Inverter Data Result',
+  '风机数据校验结果': 'Windturbine Data Result',
+  '功率数据校验结果': 'Power Data Result',
+  '显示设置修改成功': 'Display Set Success',
+  '总辐射': 'GlobalR',
+  '直接辐射': 'DirectR',
+  '散射辐射': 'DiffuseR',
+  '斜面辐射': 'ObliqueR',
+  '组件温度': 'cellT',
+  '请选择设备': 'Please select a device',
+  '累积发电量': 'Total power generation',
+  '转速': 'Rotational speed',
+  '桨距角': 'Pitch angle',
+  '步骤一': 'Step 1',
+  '扫码助手': 'ScanCode Assistant',
+  '新增': 'Add',
+  '自定义报表名称': 'Custom report name',
+  '操作': 'Operate',
+  '短期配置(点位)':'St config',
+  '超短期配置(点位)':'Ust config',
+  '实际功率配置':'RealPower config',
+  'nwp配置':'Nwp config',
+  '实时环境数据配置':'RealTime env config',
+  '时间间隔':'Time interval',
+  '是否定时查询':'Scheduled query',
+  '编辑':'modify',
+  '删除':'delete',
+  'nwp点位':'Nwp point',
+  'nwp属性':'Nwp attribute',
+  '是否定时':'IsScheduled',
+  '必填项':'Require',
+  '超短期': 'Ust-Term',
+  '第1天': 'Day 1',
+  '第2天': 'Day 2',
+  '第3天': 'Day 3',
+  '第1点': 'Point 1',
+  '第2点': 'Point 2',
+  '第3点': 'Point 3',
+  '第4点': 'Point 4',
+  '第5点': 'Point 5',
+  '第6点': 'Point 6',
+  '第7点': 'Point 7',
+  '第8点': 'Point 8',
+  '第9点': 'Point 9',
+  '第10点': 'Point 10',
+  '第11点': 'Point 11',
+  '第12点': 'Point 12',
+  '第13点': 'Point 13',
+  '第14点': 'Point 14',
+  '第15点': 'Point 15',
+  '第16点': 'Point 16',
+  '短波辐射': 'Swr',
+  '长波辐射': 'Lwr',
+  '热感通量': 'Heat flux',
+
+  '10米风向':'10m Wind Direction',
+  '20米风向':'20m Wind Direction',
+  '30米风向':'30m Wind Direction',
+  '40米风向':'40m Wind Direction',
+  '50米风向':'50m Wind Direction',
+  '60米风向':'60m Wind Direction',
+  '70米风向':'70m Wind Direction',
+  '80米风向':'80m Wind Direction',
+  '90米风向':'90m Wind Direction',
+  '100米风向':'100m Wind Direction',
+  '110米风向':'110m Wind Direction',
+  '120米风向':'120m Wind Direction',
+  '130米风向':'130m Wind Direction',
+  '140米风向':'140m Wind Direction',
+  '150米风向':'150m Wind Direction',
+  '160米风向':'160m Wind Direction',
+  '170米风向':'170m Wind Direction',
+  '180米风向':'180m Wind Direction',
+  '190米风向':'190m Wind Direction',
+  '200米风向':'200m Wind Direction',
+
+  '不能为空':'Not empty',
+  '删除成功':'Delete success',
+  '自定义表名不能为空':'Custom report name not empty',
+  '自定义表名不能重复':'Custom report name not repeat',
+  '上报对象编号不能重复':'Upload Object Number not repeat',
+  '环境数据': 'Environmental Data',
 }

+ 65 - 0
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/i18n/langs/zh/resourceData.js

@@ -48,4 +48,69 @@ export default {
     '桨距角':'桨距角',
     '步骤一':'步骤一',
     '扫码助手':'扫码助手',
+    '新增':'新增',
+    '自定义报表名称':'自定义报表名称',
+    '操作':'操作',
+    '短期配置(点位)':'短期配置(点位)',
+    '超短期配置(点位)':'超短期配置(点位)',
+    '实际功率配置':'实际功率配置',
+    'nwp配置':'nwp配置',
+    '实时环境数据配置':'实时环境数据配置',
+    '时间间隔':'时间间隔',
+    '是否定时查询':'是否定时查询',
+    '编辑':'编辑',
+    '删除':'删除',
+    'nwp点位':'nwp点位',
+    'nwp属性':'nwp属性',
+    '是否定时':'是否定时',
+    '必填项':'必填项',
+    '超短期': '超短期',
+    '第1天': '第1天',
+    '第2天': '第2天',
+    '第3天': '第3天',
+  '第1点': '第1点',
+  '第2点': '第2点',
+  '第3点': '第3点',
+  '第4点': '第4点',
+  '第5点': '第5点',
+  '第6点': '第6点',
+  '第7点': '第7点',
+  '第8点': '第8点',
+  '第9点': '第9点',
+  '第10点': '第10点',
+  '第11点': '第11点',
+  '第12点': '第12点',
+  '第13点': '第13点',
+  '第14点': '第14点',
+  '第15点': '第15点',
+  '第16点': '第16点',
+  '短波辐射': '短波辐射',
+  '长波辐射': '长波辐射',
+  '热感通量': '热感通量',
+  '10米风向':'10米风向',
+  '20米风向':'20米风向',
+  '30米风向':'30米风向',
+  '40米风向':'40米风向',
+  '50米风向':'50米风向',
+  '60米风向':'60米风向',
+  '70米风向':'70米风向',
+  '80米风向':'80米风向',
+  '90米风向':'90米风向',
+  '100米风向':'100米风向',
+  '110米风向':'110米风向',
+  '120米风向':'120米风向',
+  '130米风向':'130米风向',
+  '140米风向':'140米风向',
+  '150米风向':'150米风向',
+  '160米风向':'160米风向',
+  '170米风向':'170米风向',
+  '180米风向':'180米风向',
+  '190米风向':'190米风向',
+  '200米风向':'200米风向',
+  '不能为空':'不能为空',
+  '删除成功':'删除成功',
+  '自定义表名不能为空':'自定义表名不能为空',
+  '自定义表名不能重复':'自定义表名不能重复',
+  '上报对象编号不能重复':'上报对象编号不能重复',
+  '环境数据': '环境数据',
 }

+ 111 - 111
ipfcst/ipfcst/ipfcst-reportquery/src/main/frontend/views/exportConfig/index.vue

@@ -2,7 +2,7 @@
   <div class="chart-container">
     <div class="filter">
       <div class="timeQuery">
-        <el-button size="small" :loading="loading" @click="insert">新增</el-button>
+        <el-button size="small" :loading="loading" @click="insert">{{ this.$t('新增') }}</el-button>
       </div>
     </div>
 
@@ -22,30 +22,30 @@
           :cell-style="styleTableStr"
           align="center"
           :data="tableData">
-          <vxe-table-column field="name" title="自定义报表名称" width="12%"></vxe-table-column>
-          <vxe-table-column field="dq" title="短期配置(点位)" width="8%"></vxe-table-column>
-          <vxe-table-column field="cdq" title="超短期配置(点位)" width="8%"></vxe-table-column>
-          <vxe-table-column field="rp" title="实际功率配置" :formatter="rpFormat" width="14%"></vxe-table-column>
-          <vxe-table-column field="nwp" title="nwp配置" :formatter="nwpFormat" width="14%"></vxe-table-column>
-          <vxe-table-column field="env" title="实时环境数据配置" :formatter="envFormat" width="14%"></vxe-table-column>
-          <vxe-table-column field="interval" title="时间间隔" :formatter="intervalFormat" width="12%"></vxe-table-column>
+          <vxe-table-column field="name" :title="this.$t('自定义报表名称')" width="12%"></vxe-table-column>
+          <vxe-table-column field="dq" :title="this.$t('短期配置(点位)')" width="8%"></vxe-table-column>
+          <vxe-table-column field="cdq" :title="this.$t('超短期配置(点位)')" width="8%"></vxe-table-column>
+          <vxe-table-column field="rp" :title="this.$t('实际功率配置')" :formatter="rpFormat" width="14%"></vxe-table-column>
+          <vxe-table-column field="nwp" :title="this.$t('nwp配置')" :formatter="nwpFormat" width="14%"></vxe-table-column>
+          <vxe-table-column field="env" :title="this.$t('实时环境数据配置')" :formatter="envFormat" width="14%"></vxe-table-column>
+          <vxe-table-column field="interval" :title="this.$t('时间间隔')" :formatter="intervalFormat" width="12%"></vxe-table-column>
           <!-- <vxe-table-column field="isUpdate" title="是否修改" min-width="60"></vxe-table-column> -->
-          <vxe-table-column field="timingRealTime" title="是否定时查询" :formatter="yesOrNoFormat"
+          <vxe-table-column field="timingRealTime" :title="this.$t('是否定时查询')" :formatter="yesOrNoFormat"
                             width="8%"></vxe-table-column>
-          <vxe-table-column width="150px" align="center" title="操作">
+          <vxe-table-column width="150px" align="center" :title="this.$t('操作')">
             <template v-slot="{ row }">
               <el-button
                 style="padding: 3px 4px 3px 4px;margin: 2px"
                 size="mini"
                 icon="el-icon-edit"
-                @click="editRowEvent(row)">编辑
+                @click="editRowEvent(row)">{{this.$t('编辑')}}
               </el-button>
               <el-button
                 type="danger"
                 style="padding: 3px 4px 3px 4px;margin: 2px"
                 size="mini"
                 icon="el-icon-delete"
-                @click="remove(row)">删除
+                @click="remove(row)">{{this.$t('删除')}}
               </el-button>
             </template>
           </vxe-table-column>
@@ -62,7 +62,7 @@
       </div>
     </div>
     <el-dialog
-      title="导出内容配置"
+      :title="this.$t('导出')"
       :visible.sync="dialogVisible"
       width="50%">
       <div class="drag-box-item">
@@ -70,8 +70,8 @@
                  style="margin-top: 20px;margin-right: 20px">
           <el-row style="gutter:30" class="row-bg el-row-two" justify="space-between">
             <el-col :span="12">
-              <el-form-item label="短期:" prop="dq" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.dq" filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('短期')" prop="dq" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.dq" filterable  style="width: 100%">
                   <el-option
                     v-for="item in this.dqOptions"
                     :key="item.value"
@@ -81,8 +81,8 @@
               </el-form-item>
             </el-col>
             <el-col :span="12">
-              <el-form-item label="超短期:" prop="cdq" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.cdq" filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('超短期')" prop="cdq" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.cdq" filterable  style="width: 100%">
                   <el-option
                     v-for="item in this.cdqOptions"
                     :key="item.value"
@@ -94,8 +94,8 @@
           </el-row>
           <el-row style="gutter:30" class="row-bg el-row-two" justify="space-between">
             <el-col :span="12">
-              <el-form-item label="nwp点位:" prop="nwpPoint" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.nwpPoint" filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('nwp点位')" prop="nwpPoint" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.nwpPoint" filterable  style="width: 100%">
                   <el-option
                     v-for="item in this.dqOptions"
                     :key="item.value"
@@ -105,8 +105,8 @@
               </el-form-item>
             </el-col>
             <el-col :span="12">
-              <el-form-item label="nwp属性:" prop="nwpField" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.nwpField" clearable multiple filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('nwp属性')" prop="nwpField" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.nwpField" clearable multiple filterable style="width: 100%">
                   <el-option
                     v-for="item in this.nwpOptions"
                     :key="item.value"
@@ -118,8 +118,8 @@
           </el-row>
           <el-row style="gutter:30" class="row-bg el-row-two" justify="space-between">
             <el-col :span="12">
-              <el-form-item label="实际功率:" prop="rp" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.rp" clearable multiple filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('实际功率')" prop="rp" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.rp" clearable multiple filterable style="width: 100%">
                   <el-option
                     v-for="item in this.rpOptions"
                     :key="item.value"
@@ -129,7 +129,7 @@
               </el-form-item>
             </el-col>
             <el-col :span="12">
-              <el-form-item label="环境数据:" prop="env" label-width="150px" style="min-width: 110px">
+              <el-form-item :label="this.$t('环境数据')" prop="env" label-width="150px" style="min-width: 110px">
                 <el-cascader
                   :options="eqOptions"
                   :props="props"
@@ -140,8 +140,8 @@
           </el-row>
           <el-row style="gutter:30" class="row-bg el-row-two" justify="space-between">
             <el-col :span="12">
-              <el-form-item label="时间间隔:" prop="interval" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.interval" filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('时间间隔')" prop="interval" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.interval" filterable  style="width: 100%">
                   <el-option
                     v-for="item in this.intervalOptions"
                     :key="item.value"
@@ -151,8 +151,8 @@
               </el-form-item>
             </el-col>
             <el-col :span="12">
-              <el-form-item label="是否定时:" prop="timingRealTime" label-width="150px" style="min-width: 110px">
-                <el-select v-model="form.timingRealTime" filterable placeholder="请选择" style="width: 100%">
+              <el-form-item :label="this.$t('是否定时')" prop="timingRealTime" label-width="150px" style="min-width: 110px">
+                <el-select v-model="form.timingRealTime" filterable  style="width: 100%">
                   <el-option
                     v-for="item in this.yesOrNoOptions"
                     :key="item.value"
@@ -164,16 +164,16 @@
           </el-row>
           <el-row style="gutter:30" class="row-bg el-row-two" justify="space-between">
             <el-col :span="24">
-              <el-form-item label="自定义报表名称:" prop="name" label-width="150px" style="min-width: 110px">
-                <el-input v-model="form.name" placeholder="必填项" maxlength="32"/>
+              <el-form-item :label="this.$t('自定义报表名称')" prop="name" label-width="150px" style="min-width: 110px">
+                <el-input v-model="form.name" :placeholder="this.$t('必填项')" maxlength="32"/>
               </el-form-item>
             </el-col>
           </el-row>
         </el-form>
       </div>
       <span slot="footer" class="dialog-footer">
-    <el-button @click="cancel" style="color: #1f2d3d">取 消</el-button>
-    <el-button type="primary" style="color: #1f2d3d" @click="save(form,'form')">保 存</el-button>
+    <el-button @click="cancel" style="color: #1f2d3d">{{this.$t('取消')}}</el-button>
+    <el-button type="primary" style="color: #1f2d3d" @click="save(form,'form')">{{this.$t('确定')}}</el-button>
   </span>
     </el-dialog>
 
@@ -197,7 +197,7 @@ export default {
     }
     const nameRule = (rule, value, callback) => {
       if (this.form.name == null || this.form.name == '') {
-        callback(new Error('自定义表名不能为空!!!'))
+        callback(new Error(this.$t('自定义表名不能为空')))
       } else {
         for (let i = 0; i < this.tableData.length; i++) {
           if (this.form.id == '' || this.form.id == undefined) {
@@ -229,92 +229,92 @@ export default {
 
       dqOptions: [
         {value: '', label: ''},
-        {value: '1', label: '第1天'},
-        {value: '2', label: '第2天'},
-        {value: '3', label: '第3天'}
+        {value: '1', label: this.$t('第1天')},
+        {value: '2', label: this.$t('第2天')},
+        {value: '3', label: this.$t('第3天')}
       ],
       cdqOptions: [
         {value: '', label: ''},
-        {value: '1', label: '第1点'},
-        {value: '2', label: '第2点'},
-        {value: '3', label: '第3点'},
-        {value: '4', label: '第4点'},
-        {value: '5', label: '第5点'},
-        {value: '6', label: '第6点'},
-        {value: '7', label: '第7点'},
-        {value: '8', label: '第8点'},
-        {value: '9', label: '第9点'},
-        {value: '10', label: '第10点'},
-        {value: '11', label: '第11点'},
-        {value: '12', label: '第12点'},
-        {value: '13', label: '第13点'},
-        {value: '14', label: '第14点'},
-        {value: '15', label: '第15点'},
-        {value: '16', label: '第16点'},
+        {value: '1', label: this.$t('第1点')},
+        {value: '2', label: this.$t('第2点')},
+        {value: '3', label: this.$t('第3点')},
+        {value: '4', label: this.$t('第4点')},
+        {value: '5', label: this.$t('第5点')},
+        {value: '6', label: this.$t('第6点')},
+        {value: '7', label: this.$t('第7点')},
+        {value: '8', label: this.$t('第8点')},
+        {value: '9', label: this.$t('第9点')},
+        {value: '10', label: this.$t('第10点')},
+        {value: '11', label: this.$t('第11点')},
+        {value: '12', label: this.$t('第12点')},
+        {value: '13', label: this.$t('第13点')},
+        {value: '14', label: this.$t('第14点')},
+        {value: '15', label: this.$t('第15点')},
+        {value: '16', label: this.$t('第16点')},
       ],
       nwpOptions: [
-        {value: 't', label: '温度'},
-        {value: 'rh', label: '湿度'},
-        {value: 'pressure', label: '气压'},
-        {value: 'swr', label: '短波辐射'},
-        {value: 'lwr', label: '长波辐射'},
-        {value: 'directRadiation', label: '直辐射'},
-        {value: 'diffuseRadiation', label: '散辐射'},
-        {value: 'senf', label: '热感通量'},
-        {value: 'ws10', label: '10米风速'},
-                {value: 'ws20', label: '20米风速'},
-        {value: 'ws30', label: '30米风速'},
-                {value: 'ws40', label: '40米风速'},
-        {value: 'ws50', label: '50米风速'},
-                {value: 'ws60', label: '60米风速'},
-        {value: 'ws70', label: '70米风速'},
-        {value: 'ws80', label: '80米风速'},
-        {value: 'ws90', label: '90米风速'},
-        {value: 'ws100', label: '100米风速'},
-                {value: 'ws110', label: '110米风速'},
-                {value: 'ws120', label: '120米风速'},
-                {value: 'ws130', label: '130米风速'},
-                {value: 'ws140', label: '140米风速'},
-                {value: 'ws150', label: '150米风速'},
-                {value: 'ws160', label: '160米风速'},
-        {value: 'ws170', label: '170米风速'},
-                {value: 'ws180', label: '180米风速'},
-                {value: 'ws190', label: '190米风速'},
-                {value: 'ws200', label: '200米风速'},
-        {value: 'wd10', label: '10米风向'},
-                {value: 'wd20', label: '20米风向'},
-        {value: 'wd30', label: '30米风向'},
-                {value: 'wd40', label: '40米风向'},
-        {value: 'wd50', label: '50米风向'},
-                {value: 'wd60', label: '60米风向'},
-        {value: 'wd70', label: '70米风向'},
-        {value: 'wd80', label: '80米风向'},
-        {value: 'wd90', label: '90米风向'},
-        {value: 'wd100', label: '100米风向'},
-                {value: 'wd110', label: '110米风向'},
-                {value: 'wd120', label: '120米风向'},
-                {value: 'wd130', label: '130米风向'},
-                {value: 'wd140', label: '140米风向'},
-                {value: 'wd150', label: '150米风向'},
-                {value: 'wd160', label: '160米风向'},
-        {value: 'wd170', label: '170米风向'},
-                {value: 'wd180', label: '180米风向'},
-                {value: 'wd190', label: '190米风向'},
-                {value: 'wd200', label: '200米风向'},
+        {value: 't', label: this.$t('温度')},
+        {value: 'rh', label: this.$t('湿度')},
+        {value: 'pressure', label: this.$t('气压')},
+        {value: 'swr', label: this.$t('短波辐射')},
+        {value: 'lwr', label: this.$t('长波辐射')},
+        {value: 'directRadiation', label: this.$t('直辐射')},
+        {value: 'diffuseRadiation', label: this.$t('散辐射')},
+        {value: 'senf', label: this.$t('热感通量')},
+        {value: 'ws10', label: this.$t('10米风速')},
+                {value: 'ws20', label: this.$t('20米风速')},
+        {value: 'ws30', label: this.$t('30米风速')},
+                {value: 'ws40', label: this.$t('40米风速')},
+        {value: 'ws50', label: this.$t('50米风速')},
+                {value: 'ws60', label: this.$t('60米风速')},
+        {value: 'ws70', label: this.$t('70米风速')},
+        {value: 'ws80', label: this.$t('80米风速')},
+        {value: 'ws90', label: this.$t('90米风速')},
+        {value: 'ws100', label: this.$t('100米风速')},
+                {value: 'ws110', label: this.$t('110米风速')},
+                {value: 'ws120', label: this.$t('120米风速')},
+                {value: 'ws130', label: this.$t('130米风速')},
+                {value: 'ws140', label: this.$t('140米风速')},
+                {value: 'ws150', label: this.$t('150米风速')},
+                {value: 'ws160', label: this.$t('160米风速')},
+        {value: 'ws170', label: this.$t('170米风速')},
+                {value: 'ws180', label: this.$t('180米风速')},
+                {value: 'ws190', label: this.$t('190米风速')},
+                {value: 'ws200', label: this.$t('200米风速')},
+        {value: 'wd10', label: this.$t('10米风向')},
+                {value: 'wd20', label: this.$t('20米风向')},
+        {value: 'wd30', label: this.$t('30米风向')},
+                {value: 'wd40', label: this.$t('40米风向')},
+        {value: 'wd50', label: this.$t('50米风向')},
+                {value: 'wd60', label: this.$t('60米风向')},
+        {value: 'wd70', label: this.$t('70米风向')},
+        {value: 'wd80', label: this.$t('80米风向')},
+        {value: 'wd90', label: this.$t('90米风向')},
+        {value: 'wd100', label: this.$t('100米风向')},
+                {value: 'wd110', label: this.$t('110米风向')},
+                {value: 'wd120', label: this.$t('120米风向')},
+                {value: 'wd130', label: this.$t('130米风向')},
+                {value: 'wd140', label: this.$t('140米风向')},
+                {value: 'wd150', label: this.$t('150米风向')},
+                {value: 'wd160', label: this.$t('160米风向')},
+        {value: 'wd170', label: this.$t('170米风向')},
+                {value: 'wd180', label: this.$t('180米风向')},
+                {value: 'wd190', label: this.$t('190米风向')},
+                {value: 'wd200', label: this.$t('200米风向')},
       ],
       rpOptions: [
-        {value: 'realValue', label: '实际功率'},
-        {value: 'ableValue', label: '可用功率'},
-        {value: 'theoryValue', label: '理论功率'}
+        {value: 'realValue', label: this.$t('实际功率')},
+        {value: 'ableValue', label: this.$t('可用功率')},
+        {value: 'theoryValue', label: this.$t('理论功率')}
       ],
       intervalOptions: [
-        {value: 1, label: '1分钟'},
-        {value: 5, label: '5分钟'},
-        {value: 15, label: '15分钟'}
+        {value: 1, label: this.$t('1分钟')},
+        {value: 5, label: this.$t('5分钟')},
+        {value: 15, label: this.$t('15分钟')}
       ],
       yesOrNoOptions: [
-        {value: '1', label: '是'},
-        {value: '0', label: '否'},
+        {value: '1', label: this.$t('是')},
+        {value: '0', label: this.$t('否')},
       ],
       electricField: {},
       equipments: [],
@@ -324,8 +324,8 @@ export default {
         // rp: '',
         // eq: '',
         // env: '',
-        interval: [{required: true, message: '不能为空', trigger: 'blur'}],
-        timingRealTime: [{required: true, message: '不能为空', trigger: 'blur'}],
+        interval: [{required: true, message: this.$t('不能为空'), trigger: 'blur'}],
+        timingRealTime: [{required: true, message: this.$t('不能为空'), trigger: 'blur'}],
         name: [{required: true, validator: nameRule}]
       },
       equipmentAttributes: []
@@ -531,7 +531,7 @@ export default {
       this.$XModal.confirm(`您确定要删除?`).then(type => {
         if (type === 'confirm') {
           this.$axios.delete('/customReportForm/' + row.id).then(response => {
-            this.$XModal.message({status: 'warning', message: "删除成功!!!"})
+            this.$XModal.message({status: 'warning', message: this.$t('删除成功')})
             this.getAll()
           })
         }