<template>
  <div>


    <el-tabs type="border-card" style="margin: 15px">

      <el-tab-pane label="未上传单">
        <prescribePanel
          style="margin: -15px"
          :tagStatus="3"
          :RowType="type"
          :workPlaceCode="workPlaceCode"
        ></prescribePanel>
      </el-tab-pane>
      <el-tab-pane label="已上传单">
        <prescribePanel
          style="margin: -15px"
          :tagStatus="6"
          :RowType="type"
          :workPlaceCode="workPlaceCode"
        ></prescribePanel>
      </el-tab-pane>



    </el-tabs>


  </div>
</template>

<script>

import prescribePanel from "./PanelOrderUpload";

/**
 * 已完成处方
 */
export default {
  name: "PrescribeTagCode",
  components: {
    prescribePanel
  },
  data() {
    return {
      type: 1,
      workPlaceCode: null,
    }
  },
  created() {
    if (this.$route.query.workplaceId != null){
      this.workPlaceCode = Number(this.$route.query.workplaceId);
    }
  }
}
</script>

<style scoped>

</style>
