vipNewActive.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <template>
  2. <div class="m-container">
  3. <!-- <h2><div class="squrt"></div>VIP活动方案新增 </h2> -->
  4. <h2>
  5. <el-page-header
  6. @back="onCancel"
  7. :content="'新建课程活动方案'"
  8. ></el-page-header>
  9. </h2>
  10. <el-steps :active="active" finish-status="success" align-center class="steps">
  11. <el-step title="基础信息"></el-step>
  12. <el-step title="缴费信息"></el-step>
  13. <el-step title="课酬信息"></el-step>
  14. </el-steps>
  15. <div class="wrap">
  16. <baseInfo v-if="active==1"/>
  17. </div>
  18. </div>
  19. </template>
  20. <script>
  21. import baseInfo from './modals/baseInfo.vue'
  22. export default {
  23. components:{
  24. baseInfo
  25. },
  26. data() {
  27. return {
  28. active: 1,
  29. };
  30. },
  31. mounted() {},
  32. methods: {
  33. onCancel() {
  34. this.$store.dispatch("delVisitedViews", this.$route);
  35. this.$router.push({
  36. path: "/vipActiveManager/vipActiveList",
  37. query: { rules: this.rules, searchForm: this.searchForm },
  38. });
  39. },
  40. },
  41. };
  42. </script>
  43. <style lang="scss" scoped>
  44. .steps {
  45. margin-top: 30px;
  46. }
  47. /deep/.is-success{
  48. color: #14928a!important;
  49. border-color: #14928a!important;
  50. }
  51. </style>