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

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

<style scoped>

</style>
