lishifeng
2020-09-04 da482fdcd3da5f62778948206ac1fb5efcd50a0b
提交0904-2
1个文件已修改
133 ■■■■ 已修改文件
src/pages/dataMager/dataAdmian.vue 133 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/dataMager/dataAdmian.vue
@@ -1,23 +1,126 @@
<template>
  <div  style="color:#ffffff">
11111
  </div>
  <flex-layout direction="row" style="color:#ffffff">
    <el-table border size="small" :data="table.datas" height="100%">
      <el-table-column
        v-for="header in table.headers"
        :key="header.prop"
        :prop="header.prop"
        :label="header.label"
        :width="header.width"
        align="center"
      ></el-table-column>
    </el-table>
  </flex-layout>
</template>
<script>
export default {
  data () {
    return {
    }
  },
  created () {
  },
  methods: {
  }
}
  data() {
    return {
      /* 表单 */
      table: {
        headers: [
          {
            prop: "room1",
            label: "机房名称",
            width: ""
          },
          {
            prop: " battery1",
            label: "电池组名称",
            width: ""
          },
          {
            prop: "tes1",
            label: "测试日期",
            width: ""
          },
          {
            prop: "tester1",
            label: "测试仪表类型",
            width: ""
          },
          {
            prop: "current1",
            label: "测试电流(A)",
            width: ""
          },
          {
            prop: "capacity1",
            label: "测试容量(AH)",
            width: ""
          },
          {
            prop: "monomer1",
            label: "落后单体数量",
            width: ""
          },
          {
            prop: "number1",
            label: "落后单体编号",
            width: ""
          },
          {
            prop: "vol1",
            label: "落后单体电压(V)",
            width: ""
          },
          {
            prop: "aveVolt1",
            label: "平均截止电压(V)",
            width: ""
          },
          {
            prop: "curr1",
            label: "最低单体编号",
            width: ""
          },
          {
            prop: "monVol1",
            label: "最低单体电压(V)",
            width: ""
          },
          {
            prop: "actual1",
            label: "实际容量(AH)",
            width: ""
          },
          {
            prop: "surplus1",
            label: "剩余容量(AH)",
            width: ""
          },
          {
            prop: "per1",
            label: "容量百分比",
            width: ""
          }
        ],
        datas: [
          {
            room1: 0,
            battery1: 0,
            tes1: 0,
            tester1: 0,
            current1: 0,
            capacity1: 0,
            monomer1: 0,
            number1: 0,
            vol1: 0,
            aveVolt1: 0,
            curr1: 0,
            monVol1: 0,
            actual1: 0,
            surplus1: 0,
            per1: 0
          }
        ]
      }
    };
  },
  created() {},
  methods: {}
};
</script>
<style lang="less" scoped>