travel/admin/node_modules/.cache/vue-loader/00f11b1266727d6f0acfb8a4c54...

1 line
5.9 KiB
JSON

{"remainingRequest":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\log\\follow.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\log\\follow.vue","mtime":1718070786055},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\babel-loader\\lib\\index.js","mtime":1718764959024},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":1718764959862}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQppbXBvcnQgUGFnaW5hdGlvbiBmcm9tICdAL2NvbXBvbmVudHMvUGFnaW5hdGlvbicNCg0KZXhwb3J0IGRlZmF1bHQgew0KICBuYW1lOiAnT3JkZXJsaXN0JywNCiAgY29tcG9uZW50czogeyBQYWdpbmF0aW9uIH0sDQogIGZpbHRlcnM6IHsNCiAgICBzdGF0dXNGaWx0ZXIoc3RhdHVzKSB7DQogICAgICBjb25zdCBzdGF0dXNNYXAgPSB7DQogICAgICAgIDE6ICdzdWNjZXNzJywNCiAgICAgICAgMDogJ2RhbmdlcicNCiAgICAgIH0NCiAgICAgIHJldHVybiBzdGF0dXNNYXBbc3RhdHVzXQ0KICAgIH0NCiAgfSwNCiAgZGF0YSgpIHsNCiAgICByZXR1cm4gew0KICAgICAgbGlzdDogW10sDQogICAgICB0b3RhbDogMCwNCiAgICAgIGxpc3RMb2FkaW5nOiB0cnVlLA0KICAgICAgbGlzdFF1ZXJ5OiB7DQogICAgICAgIHBhZ2U6IDEsDQogICAgICAgIGxpbWl0OiAxMA0KICAgICAgfQ0KICAgIH0NCiAgfSwNCiAgY3JlYXRlZCgpIHsNCiAgICB0aGlzLmdldExpc3QoKQ0KICB9LA0KICBtZXRob2RzOiB7DQogICAgZ2V0TGlzdCgpIHsNCiAgICAgIHRoaXMuJGF4aW9zLmdldCgnL2FkbWluL2ZvbGxvdy9pbmRleCcsIHsgcGFyYW1zOiB0aGlzLmxpc3RRdWVyeSB9KS50aGVuKHJlc3BvbnNlID0+IHsNCiAgICAgICAgdGhpcy5saXN0ID0gcmVzcG9uc2UuZGF0YS5kYXRhDQogICAgICAgIHRoaXMudG90YWwgPSByZXNwb25zZS5kYXRhLnRvdGFsDQogICAgICAgIHRoaXMubGlzdExvYWRpbmcgPSBmYWxzZQ0KICAgICAgfSkNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["follow.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"follow.vue","sourceRoot":"src/views/log","sourcesContent":["<template>\r\n <div class=\"app-container\">\r\n\r\n <div class=\"filter-container\">\r\n <el-input v-model=\"listQuery.admin\" placeholder=\"管理员\" style=\" margin-right:10px; width: 200px;\" class=\"filter-item\" />\r\n <el-input v-model=\"listQuery.sn\" placeholder=\"订单号\" style=\" margin-right:10px; width: 200px;\" class=\"filter-item\" />\r\n <el-date-picker\r\n class=\"filter-item\"\r\n v-model=\"listQuery.times\"\r\n type=\"datetimerange\"\r\n range-separator=\"至\"\r\n start-placeholder=\"开始日期\"\r\n end-placeholder=\"结束日期\"\r\n :default-time=\"['00:00:00', '23:59:59']\"\r\n style=\" margin-right:10px; margin-bottom: 10px;\"\r\n >\r\n </el-date-picker>\r\n <el-button class=\"filter-item\" type=\"primary\" icon=\"el-icon-search\" @click=\"getList\">\r\n 搜索\r\n </el-button>\r\n </div>\r\n\r\n <el-table v-loading=\"listLoading\" :data=\"list\" border fit highlight-current-row style=\"width: 100%\">\r\n\r\n <el-table-column align=\"center\" label=\"跟进人\" width=\"80\" prop=\"admin.username\" />\r\n\r\n <el-table-column align=\"center\" label=\"跟进事件\" width=\"80\" prop=\"status_name\" />\r\n <el-table-column align=\"center\" label=\"备注\" prop=\"desc\" />\r\n <el-table-column align=\"center\" label=\"订单号\" width=\"220\" prop=\"orders.sn\" />\r\n <el-table-column align=\"center\" label=\"产品\" width=\"360\" prop=\"orders.product_name\" />\r\n\r\n <el-table-column align=\"center\" label=\"总金额\" width=\"120\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.orders&&scope.row.orders.total_price/100 }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" width=\"80px\" label=\"人数\" prop=\"orders.quantity\" />\r\n\r\n <el-table-column width=\"180px\" align=\"center\" label=\"下单时间\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.orders&&scope.row.orders.create_at | parseTime('{y}-{m}-{d} {h}:{i}') }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column width=\"180px\" align=\"center\" label=\"跟进时间\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.create_time | parseTime('{y}-{m}-{d} {h}:{i}:{s}') }}\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n\r\n <pagination\r\n v-show=\"total>0\"\r\n :total=\"total\"\r\n :page.sync=\"listQuery.page\"\r\n :limit.sync=\"listQuery.limit\"\r\n @pagination=\"getList\"\r\n />\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Pagination from '@/components/Pagination'\r\n\r\nexport default {\r\n name: 'Orderlist',\r\n components: { Pagination },\r\n filters: {\r\n statusFilter(status) {\r\n const statusMap = {\r\n 1: 'success',\r\n 0: 'danger'\r\n }\r\n return statusMap[status]\r\n }\r\n },\r\n data() {\r\n return {\r\n list: [],\r\n total: 0,\r\n listLoading: true,\r\n listQuery: {\r\n page: 1,\r\n limit: 10\r\n }\r\n }\r\n },\r\n created() {\r\n this.getList()\r\n },\r\n methods: {\r\n getList() {\r\n this.$axios.get('/admin/follow/index', { params: this.listQuery }).then(response => {\r\n this.list = response.data.data\r\n this.total = response.data.total\r\n this.listLoading = false\r\n })\r\n }\r\n }\r\n}\r\n</script>"]}]}