<template>
  <el-container>
    <el-container style="padding-top: 10">
      <el-container>
        <el-main>
          <VxeGrid ref="vGrid" :scroll-y="{enabled: true}" :scroll-x="{enabled: true,gt:10}" v-bind="gridOptions">
            <template #name_czbh="{ data }">
              <ProjectSelect ref="projectSelectRef" clearable :_style="{width:'150px'}" />
            </template>
            <template #name_xqch="{ data }">
              <ProjectSelect ref="xqProjectSelectRef" clearable :_style="{width:'150px'}" />
            </template>
          </VxeGrid>
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</template>
<script>
import ProjectSelect from "@/components/ProjectSelect/index.vue";
import init from "./ylgl/ylgl";

export default {
  name:'Ylxx',
  components: {ProjectSelect},
  data(){
    return{
      gridOptions:{},
    }
  },
  created(){
    const {options}=init(this)
    this.gridOptions=options
  },
}
</script>

<style lang="scss" scoped >

.el-header{margin:0;padding: 5px;height:auto;
  .el-input{
    width: 140px;
  }
  .el-select{
    width: 140px;
  }

}
.el-container{padding: 0;margin:0;}
.el-main{padding: 0;}
.el-col{padding: 0;height: 32px;}
.el-aside{background: #fff;padding: 0}
.el-container{padding: 0}
.el-row {}
.el-row:last-child {margin-bottom: 0; }

.tableStyles{
  background: #0a76a4;
}

.my-dropdown {
  width: 400px;
  height: 400px;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);
  font-size: 12px;

}
.mytable1{

}
.borderClass{

}
.vxe-input {
  display: inline-block !important;
  position: relative !important;
  width: auto;
}
.el-input {
  display: inline-block !important;
  position: relative !important;
  width: auto;
}
.keyword-lighten {
  color: #000;
  background-color: #FFFF00;
}

.vxe-textarea--inner {
  line-height: inherit;
}
.el-form-item__label-wrap {
  margin-left: 0px !important;
  float: left;
}
.fontClass{
  font-size: 12px;
  font-weight: bold;
}


</style>
