<template>
  <div>
    <template v-if="this.row.wqpxxfqptp">
      <el-link type="primary" @click="onClick">查看</el-link>
    </template>
    <template v-else>
      <el-link type="primary" target="_blank">-</el-link>
    </template>
  </div>
</template>
<script>

export default {
  props: {
    row: {
      type: Object
    },
    column: {
      type: Object
    },
    index: {
      type: String
    },
    desc: {
      type: String
    }
  },

  data: () => ({}),

  created() {

  },
  methods: {
    onClick() {
      window.open(
        this.$requestConfig.filePreview(JSON.parse(this.row.wqpxxfqptp)[0].response.fileId)
      );
    }
  }
};
</script>

<style scoped lang="scss">

</style>
