<template>
  <el-container>
    <el-container>
      <el-main>
        <VxeGrid ref="vGrid" :scroll-y="{enabled: true}" :scroll-x="{enabled: true}" v-bind="gridOptions">
          <template #name_czbh="{ data }">
            <ProjectSelect ref="projectSelectRef" clearable :_style="{width:'150px'}" />
          </template>
        </VxeGrid>
      </el-main>
    </el-container>
    <YlModal ref="ylModal"/>
  </el-container>
</template>

<script>
import ProjectSelect from "@/components/ProjectSelect/index.vue";
import YlModal from "@/views/ylgl/comp/ylmodal.vue";
import init from './js/dw'

export default {
  name:'YlDwgl',
  components: {YlModal, ProjectSelect},
  data(){
    return{
      gridOptions:{}
    }
  },
  created: function () {
    this.gridOptions = init(this)
  },
  methods:{
    tq:()=>{
      this.$refs.ylModal.show()
    }
  }
}
</script>

<style lang="scss" scoped >
.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;
}

.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: 0 !important;
  float: left;
}

.fontClass{
  font-size: 12px;
  font-weight: bold;
}
</style>
