SearchScaleRecordSCl.vue 611 B

123456789101112131415161718192021222324
  1. <template>
  2. <search-scale :id="id" :come="come" />
  3. </template>
  4. <script>
  5. import SearchScale from '@/components/TestResults/SearchScale.vue'
  6. export default {
  7. name: "SearchScaleRecordSCl",
  8. components: { SearchScale },
  9. data() {
  10. return {
  11. id: "",
  12. come: "", //1-来自量表测试,2-来自测试记录列表页,3-来自管理端量表测试报告,4-来自管理端用户测试报告进入的量表报告
  13. };
  14. },
  15. //页面初始化函数
  16. mounted() {
  17. this.id = this.$route.query.id;
  18. this.come = this.$route.query.come;
  19. },
  20. methods: {},
  21. };
  22. </script>
  23. <style scoped></style>