<template>
  <VxeGrid v-bind="gridOptions" @cell-click="cellClick" />
</template>

<script>
import paoWanPgdConfig from './pgdTable'
export default {
  name:'PwanPgd',
  data(){
    return{
      gridOptions:{},
      list:{},
    }
  },
  created(){
    const {options,columns}=paoWanPgdConfig()
    this.gridOptions=options
    this.gridOptions.columns=columns
  },
  methods:{
    cellClick({row}){
      this.$emit('initPgd',row)
    }
  }
}
</script>
