Blame view

frontend/front/src/components/tableSlot/qzqplb/qpgqp.vue 663 Bytes
8d73e917   陈威   初始化提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<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>