travel/admin/node_modules/.cache/vue-loader/0adf3ccd5850943ae5ae26f3a94...

1 line
4.7 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\\data\\sale.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\data\\sale.vue","mtime":1718070786047},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQoNCmV4cG9ydCBkZWZhdWx0IHsNCiAgbmFtZTogJ0RhdGFsaXN0JywNCiAgZGF0YSgpIHsNCiAgICByZXR1cm4gew0KICAgICAgb3NzOiBudWxsLA0KICAgICAgbGlzdDogW10sDQogICAgICBsaXN0TG9hZGluZzogdHJ1ZSwNCiAgICAgIGxpc3RRdWVyeTp7fQ0KICAgIH0NCiAgfSwNCiAgY3JlYXRlZCgpIHsNCiAgICB0aGlzLmdldExpc3QoKQ0KICB9LA0KICBtZXRob2RzOiB7DQogICAgZ2V0TGlzdCgpIHsNCiAgICAgIHRoaXMuJGF4aW9zLmdldCgnL2FkbWluL2RhdGEvc2FsZScsIHsgcGFyYW1zOiB0aGlzLmxpc3RRdWVyeSB9KS50aGVuKHJlc3BvbnNlID0+IHsNCiAgICAgICAgdGhpcy5saXN0ID0gcmVzcG9uc2UuZGF0YS5kYXRhDQogICAgICAgIHRoaXMubGlzdExvYWRpbmcgPSBmYWxzZQ0KICAgICAgfSkNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["sale.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"sale.vue","sourceRoot":"src/views/data","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=\"width: 200px; margin-right: 10px;\" 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 :default-time=\"['00:00:00', '23:59:59']\"\r\n range-separator=\"至\"\r\n start-placeholder=\"开始日期\"\r\n end-placeholder=\"结束日期\">\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 fixed label=\"日期\" width=\"120\" prop=\"date\" />\r\n\r\n <el-table-column fixed label=\"姓名\" width=\"120\" prop=\"admin.name\" />\r\n \r\n <el-table-column label=\"管理员\" width=\"120\" prop=\"admin.username\" />\r\n\r\n <el-table-column label=\"订单数\" width=\"120\" prop=\"orders\" />\r\n\r\n <el-table-column label=\"订单总金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.order_amount/100 }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column label=\"核销数\" width=\"120\" prop=\"assets\" />\r\n\r\n <el-table-column label=\"核销金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.asset_amount/100 }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column label=\"退款订单\" width=\"120\" prop=\"refunds\" />\r\n\r\n <el-table-column label=\"退款金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.refund_amount/100 }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column label=\"已出行订单\" width=\"120\" prop=\"travels\" />\r\n\r\n <el-table-column label=\"已出行金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.travel_amount/100 }}\r\n </template>\r\n </el-table-column>\r\n \r\n </el-table>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'Datalist',\r\n data() {\r\n return {\r\n oss: null,\r\n list: [],\r\n listLoading: true,\r\n listQuery:{}\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/data/sale', { params: this.listQuery }).then(response => {\r\n this.list = response.data.data\r\n this.listLoading = false\r\n })\r\n }\r\n }\r\n}\r\n</script>"]}]}