{"remainingRequest":"/Users/admin/projects/dms/src/dealer_admin/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/admin/projects/dms/src/dealer_admin/src/views/examination/components/log.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/admin/projects/dms/src/dealer_admin/src/views/examination/components/log.vue","mtime":1713161556000},{"path":"/Users/admin/projects/dms/src/dealer_admin/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/Users/admin/projects/dms/src/dealer_admin/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/admin/projects/dms/src/dealer_admin/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport * as API from \"@/api/examination\";\nimport _ from \"lodash\";\nimport waves from \"@/directive/waves\"; // waves directive\nimport Pagination from \"@/components/Pagination\";\nimport DealerSearch from '@/views/components/DealerSearch.vue';\n\nexport default {\n  components: {Pagination,DealerSearch},\n  directives: {waves},\n  data() {\n    return {\n      dialogFormVisible: false,\n      examination_id:'',\n      list: [],\n      total: 0,\n      listLoading: true,\n      listQuery: {\n        page: 1,\n        limit: 10,\n        dealer_id:'',\n      }\n    };\n  },\n  computed: {\n  },\n  \n  created() {\n  },\n  methods: {\n    async init(id) {\n      this.examination_id = id;\n      this.dialogFormVisible = true;\n      this.getList();\n    },\n    async getList() {\n      this.listLoading = true;\n      let query = JSON.parse(JSON.stringify(this.listQuery));\n      query.examination_id = this.examination_id;\n      const res = await API.getLog(query);\n      this.total = res.result.total;\n      let list = res.result.list;\n      this.list = [];\n      this.list = list;\n      this.listLoading = false;\n    },\n    handleFilter() {\n      this.listQuery.page = 1;\n      this.getList();\n    },\n    \n  }\n};\n",null]}