<template>
  <div>
    <el-form label-width="120px" :inline="true">
      <el-form-item label="传输加密方法：">
        <el-select
          v-model="form.transmissionMethodSelectVal"
          placeholder="请选择"
        >
          <el-option
            :value="item.value"
            v-for="item in transmissionMethodOptions"
            :key="item.value"
            :label="item.label"
          ></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="数据加密方法：">
        <el-select v-model="form.dataMethodSelectVal" placeholder="请选择">
          <el-option
            :value="item.value"
            v-for="item in dataMethodOptions"
            :key="item.value"
            :label="item.label"
          ></el-option>
        </el-select>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        transmissionMethodSelectVal: "0",
        dataMethodSelectVal: "0",
      },
      transmissionMethodOptions: [
        {
          value: "0",
          label: "全部",
        },
        {
          value: "1",
          label: "SSL",
        },
      ],
      dataMethodOptions: [
        {
          value: "0",
          label: "全部",
        },
        {
          value: "1",
          label: "MD5",
        },
      ],
    };
  },
};
</script>

<style lang="less" scoped>
.el-form {
  float: left;
  margin: 40px;
}
.el-form-item {
  margin-bottom: 0;
  margin-right: 100px;
}
.el-select {
  width: 400px;
  margin-right: 20px;

  /deep/.el-input__inner {
    background-color: aliceblue;
  }
}
</style>
