exam-card.js 391 B

1234567891011121314151617181920
  1. import {examCategorys, examTypes} from "../../model/enum";
  2. Component({
  3. properties: {
  4. type: Number,
  5. item: Object
  6. },
  7. data: {
  8. qs: examCategorys,
  9. examTypesEnum: examTypes,
  10. },
  11. methods: {
  12. toExam(e) {
  13. this.triggerEvent("exam", {})
  14. },
  15. toShow(e) {
  16. this.triggerEvent("show", {})
  17. },
  18. }
  19. });