<template>
  <div class="withinLine">
    <el-button @click="abnormal" :disabled="disabled" type="primary" size="mini">工作联络函</el-button>
  </div>
</template>

<script>
import buttonMixin from './button_mixin.js'
import { MessageBox } from '@zjlib/element-ui2'
export default {
  mixins: [buttonMixin],
  methods: {
    abnormal() {
      this.$router.push({
        name: 'workContactLetterPage',
        query: {
          orderBaseId: this?.orderInfo?.id
        }
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.withinLine {
  display: inline-block;

  ::v-deep .el-button {
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 10px;
  }
}
</style>
