<template>
  <div id="paramSetting">
    <el-main>

      <div style="margin-bottom: 10px">
        <el-button size="medium" icon="el-icon-back" type="text">返回</el-button>
        <span style="margin-left: 20px; font-size: 18px">参数设定</span>
      </div>

      <div style="background-color: white;padding: 20px;height: 75px ;">
        &nbsp; &nbsp;&nbsp; &nbsp; 排风温度：{{ this.setTableData[0].pfwd }} &nbsp; &nbsp;&nbsp; &nbsp;
        &nbsp; &nbsp;&nbsp; &nbsp;
        排风湿度：{{ this.setTableData[0].pfsd }}&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;
        停机延时设定：{{ this.setTableData[0].tjys }}


        <el-col style="float: right;width: 300px">

          <div>
            控制选择模式：
            <el-button
                style="color:white;background-color: green;border: 0px"
                type="primary"
                size="small">
              CK-1
            </el-button>
          </div>

          <div style="margin-top: 20px">
            控制选择复位：
            <el-button
                style="color:white;background-color: green;border: 0px"
                type="primary"
                size="small">
              复位
            </el-button>
          </div>

        </el-col>

      </div>

      <div style="padding: 10px">

        <div>
          <el-table :data="tableData" :header-cell-style="{'text-align':'center'}"
                    :cell-style="{'text-align':'center'}">
            <el-table-column prop="deviceId" label="设备名称" style="margin-left: 40px"></el-table-column>
            <el-table-column prop="kzms" label="控制模式"></el-table-column>
            <el-table-column prop="sdml" label="手动命令"></el-table-column>
            <el-table-column prop="ssfk" label="实时反馈"></el-table-column>
          </el-table>
        </div>


      </div>


    </el-main>
  </div>

</template>

<script>
export default {
  name: 'paramSetting',
  data() {
    return {
      dialogFormVisible: false,

      tableData:
          [{
            deviceId: '空调送风机',
            kzms: '自动',
            sdml: '停止',
            ssfk: '运行'
          }, {
            deviceId: '空调排风机',
            kzms: '自动',
            sdml: '停止',
            ssfk: '运行'
          }, {
            deviceId: '一级电加热',
            kzms: '自动',
            sdml: '停止',
            ssfk: '开启'
          }, {
            deviceId: '二级电加热',
            kzms: '自动',
            sdml: '停止',
            ssfk: '开启'
          }, {
            deviceId: '三级电加热',
            kzms: '自动',
            sdml: '停止',
            ssfk: '关闭'
          }],

      setTableData: [{
        pfwd: '36℃',
        pfsd: '20%',
        pfhsl: '9.6/kg',
        tjys: '180s',
        deviceState: '1'
      }],


    }
  },

  created: function () {
    this.loadData();
  },

  methods: {}
}
</script>

<style scoped>


</style>
