<template>
  <div>
    <span v-if="row.gqp" style="color: #5875eb; cursor: pointer;" @click="handleClick">{{row.gqp}}</span>
    <span v-else>0</span>
    <qpzt v-if="showDialogVisible" ref="qpztDialog"></qpzt>
  </div>

</template>

<script>
import qpzt from "./component/qpzt";
export default {
  name: "qpgqp",
  components:{
    qpzt
  },
  props:{
    row: {
      type: Object
    },
  },
  data(){
    return{
      showDialogVisible:false
    }
  },
  methods:{
    handleClick(){
      this.showDialogVisible = true;
      this.$nextTick(()=>{
        this.$refs.qpztDialog.open('gqp',this.row);
      })
    },
  }
}
</script>

<style scoped>

</style>
