<!--
 * @Author: 乙·七
 * @Description: 芦笋产业管理
-->
<template>
  <div class="table_box">
    <!-- <div class="right-header">
      <el-row class="top_search_nav">
        <div style="float: left">
          <el-radio-group v-model="informantType">
            <el-radio-button v-for="item in options"
                             :key="item.value"
                             :value="item.value"
                             :label="item.value">{{ item.label }}</el-radio-button>
          </el-radio-group>
        </div>
      </el-row>
    </div> -->
    <div class="main">
        <screenManage />
    </div>
  </div>
</template>
<script>
import { login } from "../../apis/modules/asparagus.js";
import screenManage from './components/screenManage/index.vue'
export default {
  // name: 'asparagus_big_screen',
  props: ["data"],
    components: {
    screenManage
  },
  data () {
    return {
        informantType: "1",
        options:[{
            value:1,
            label:"大屏管理"
        }]
    };
  },
  watch: {
    options (val) {
      if (val.length > 0) {
        this.informantType = val[0].value;
      }
    }
  },
  mounted () {
    // 大屏登录
    // this.loginList()
  },
  methods: {
    // loginList() {
    //   login({
    //     username: localStorage.getItem("userId"),
    //     // username: "61b30bcbf3654cc1936eba16b584da8e",
    //     password: "",
    //     Terminal: "PC"
    //   }).then(res => {
    //     const { status, data } = res;
    //     if (status === 0) {
    //       localStorage.setItem("token", data.token);
    //     }
    //   });
    // },
  }
};
</script>
<style scoped lang="scss">
.table_box {
  .right-header {
    overflow: hidden;
  }
}
</style>
