<template>
  <div class="main-content abnormal">
    <!-- <div class="content-header">
      <span class="title">打印</span>
      <el-button type="warning" icon="el-icon-caret-left" size="mini" class="back-btn" @click="$router.back()">返回上一层</el-button>
    </div> -->
    <div class="content-body">
      <el-row v-if="acceptstat=='0'" style="margin-bottom: 10px;">
        <el-button type="primary" size="mini" @click="toApplyDisagreeNoticePrint">打印列入经营异常名录异议不予受理通知书</el-button>
      </el-row>
      <el-row v-else>
        <el-button type="primary" size="mini" @click="toApplyAgreeNoticePrint">打印列入经营异常名录异议受理通知书</el-button>
<!--        <el-button type="primary" size="mini" @click="toApplyInfoPrint">列入经营异常名录异议申请信息表</el-button>-->
        <el-button type="primary" size="mini" @click="toDissentApprovalPrint">打印列入经营异常名录异议审批表</el-button>
        <el-button type="primary" size="mini" @click="toResultNoticePrint">打印列入经营异常名录异议核实结果告知书</el-button>
        <el-button type="primary" size="mini" @click="$router.go(-1)">返回</el-button>
      </el-row>
    </div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      bizseq: '',
      acceptstat: ''
    }
  },
  mounted() {
    this.bizseq = this.$route.query.bizseq
    this.acceptstat = this.$route.query.acceptstat
  },
  methods: {
    // 去打印列入经营异常名录异议申请信息表
    toApplyInfoPrint() {
      this.$router.push({ path: '/abnormal/company/dissent/ApplyInfoPrint', query: { bizseq: this.bizseq }})
    },
    // 去打印列入经营异常名录异议受理通知书
    toApplyAgreeNoticePrint() {
      this.$router.push({ path: '/abnormal/company/dissent/ApplyAgreeNoticePrint', query: { bizseq: this.bizseq }})
    },
    // 去打印列入经营异常名录异议不予受理通知书
    toApplyDisagreeNoticePrint() {
      this.$router.push({ path: '/abnormal/company/dissent/ApplyDisagreeNoticePrint', query: { bizseq: this.bizseq }})
    },
    // 去打印列入经营异常名录异议审批表
    toDissentApprovalPrint() {
      this.$router.push({ path: '/abnormal/company/dissent/DissentApprovalPrint', query: { bizseq: this.bizseq }})
    },
    // 去打印列入经营异常名录异议不予受理通知书
    toResultNoticePrint() {
      this.$router.push({ path: '/abnormal/company/dissent/ResultNoticePrint', query: { bizseq: this.bizseq }})
    }
  }
}
</script>
<style lang='scss' scoped>
//@import url(); 引入公共css类
.main-content{
  padding: 10pt;
  .back-btn{
    position:absolute;
    right:40pt;
  }
  .content-header,.content-body{
    background: white;
    padding:20PX 10PX;
    border:1PX solid #eee;
  }
  .content-header{
    height:60PX;
    .title{
      font-weight: 700;
      font-size: $font-size-sub-title;
    }
  }
  .content-body{
    padding:20pt;
      .tab{
        .tab-title{
          label{
            background: $color-primary;
            display:inline-block;
            color:$color-title-color;
            padding:5px;

          }
        }
      }
    .form{
      margin-bottom: 20pt;
    }
  }
}
</style>
