<!--  -->
<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-button type="primary" @click="toMarkApprovalPrint">打印标记经营异常状态审批表</el-button>
      <el-button type="primary" @click="toIncludeDecisionPrint">打印列入经营异常名录决定书</el-button>
      <el-button type="primary" size="mini" @click="$router.go(-1)">返回</el-button>
    </div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      bizseq: '',
      workflowId: ''
    }
  },
  mounted() {
    this.bizseq = this.$route.query.bizseq
    this.workflowId = this.$route.query.workflowId
  },
  // 方法集合
  methods: {
    // 去打印标记经营异常状态审批表
    toMarkApprovalPrint() {
      this.$router.push({ path: '/abnormal/individual/mark/MarkApprovalPrint', query: { bizseq: this.bizseq, workflowId: this.workflowId }})
    },
    // 去打印列入经营异常名录决定书
    toIncludeDecisionPrint() {
      this.$router.push({ path: '/abnormal/company/inclusion/IncludeDecisionPrint', query: { bizseq: this.bizseq, workflowId: this.workflowId }})
    }
  }
}
</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>
