<template>
  <div class="step-container">
    <div class="step-base">
      <img src="@/assets/imgs/img_data-complete.png" />
      <p class="tips">新增成功</p>
      <div class="apaas_button btns">
        <el-button type="default" @click="goStepOne"> 返回列表 </el-button>
        <el-button type="primary" @click="putawayAction"> 继续新增 </el-button>
      </div>
    </div>
  </div>
</template>

<script setup>
import { reactive, ref, onBeforeMount, toRefs } from "vue";
import { useRouter, useRoute } from "vue-router";
import { ElMessage } from "element-plus";
const router = useRouter();
const route = useRoute();
const state = reactive({ data: 1 });
const { data } = toRefs(state);
</script>

<style scoped>
.step-container {
  position: relative;
  height: 100%;
}
.step-base {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
}
.tips {
  margin: 60px 0;
  text-align: center;
  font-size: 18px;
  color: #202531;
  font-weight: 600;
}
.btns {
  width: 208px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}
</style>
