writeMessage.vue 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <div id="writeMessage">
  3. <el-row>
  4. <el-col :span="24" class="info">
  5. <el-col :span="24" class="top">
  6. <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow"> </NavBar>
  7. </el-col>
  8. <el-col :span="24" class="mess">
  9. <writeStu :form="form" @onSubmit="onSubmit"></writeStu>
  10. </el-col>
  11. </el-col>
  12. </el-row>
  13. </div>
  14. </template>
  15. <script>
  16. import NavBar from '@/layout/common/topInfo.vue';
  17. import writeStu from '@/layout/common/writeStu.vue';
  18. export default {
  19. name: 'writeMessage',
  20. props: {},
  21. components: {
  22. NavBar, //底部信息
  23. writeStu, //填写学生绑定信息
  24. },
  25. data: () => ({
  26. form: {},
  27. title: '填写信息',
  28. isleftarrow: '',
  29. transitionName: 'fade',
  30. navShow: true,
  31. }),
  32. created() {},
  33. computed: {},
  34. methods: {
  35. onSubmit(form) {
  36. console.log(form);
  37. },
  38. },
  39. };
  40. </script>
  41. <style lang="less" scoped></style>