travel/admin/node_modules/.cache/vue-loader/7cf8fff328134c5b1e42f3a3f1c...

1 line
4.8 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\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\data\\index.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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQoNCmV4cG9ydCBkZWZhdWx0IHsNCiAgbmFtZTogJ0RhdGFsaXN0JywNCiAgZGF0YSgpIHsNCiAgICByZXR1cm4gew0KICAgICAgb3NzOiBudWxsLA0KICAgICAgbGlzdDogW10sDQogICAgICBsaXN0TG9hZGluZzogdHJ1ZSwNCiAgICAgIGxpc3RRdWVyeTp7fQ0KICAgIH0NCiAgfSwNCiAgY3JlYXRlZCgpIHsNCiAgICB0aGlzLmdldExpc3QoKQ0KICB9LA0KICBtZXRob2RzOiB7DQogICAgZ2V0TGlzdCgpIHsNCiAgICAgIHRoaXMuJGF4aW9zLmdldCgnL2FkbWluL2RhdGEvaW5kZXgnLCB7IHBhcmFtczogdGhpcy5saXN0UXVlcnkgfSkudGhlbihyZXNwb25zZSA9PiB7DQogICAgICAgIHRoaXMubGlzdCA9IHJlc3BvbnNlLmRhdGENCiAgICAgICAgdGhpcy5vc3MgPSByZXNwb25zZS5leHQub3NzDQogICAgICAgIHRoaXMubGlzdExvYWRpbmcgPSBmYWxzZQ0KICAgICAgfSkNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/views/data","sourcesContent":["<template>\r\n <div class=\"app-container\">\r\n\r\n <div class=\"filter-container\">\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-select v-model=\"listQuery.os\" filterable placeholder=\"请选择\" class=\"filter-item\" >\r\n <el-option\r\n key=\"\"\r\n label=\"请选择\"\r\n value=\"\">\r\n </el-option>\r\n <el-option\r\n v-for=\"(v,k) in oss\"\r\n :key=\"k\"\r\n :label=\"v\"\r\n :value=\"k\">\r\n </el-option>\r\n </el-select>\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\" fixed label=\"姓名\" width=\"120\" prop=\"admin.name\" />\r\n \r\n <el-table-column align=\"center\" label=\"管理员\" width=\"120\" prop=\"admin.username\" />\r\n\r\n <el-table-column align=\"center\" label=\"订单数\" width=\"120\" prop=\"orders\" />\r\n\r\n <el-table-column align=\"center\" label=\"订单总金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.total_price/100 }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" label=\"核销数\" width=\"120\" prop=\"assets\" />\r\n\r\n <el-table-column align=\"center\" label=\"核销金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.asset_price/100 }}\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" label=\"未付款订单\" width=\"120\" prop=\"nopays\" />\r\n\r\n <el-table-column align=\"center\" label=\"未付款金额\">\r\n <template slot-scope=\"scope\">\r\n {{ scope.row.nopay_price/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/index', { params: this.listQuery }).then(response => {\r\n this.list = response.data\r\n this.oss = response.ext.oss\r\n this.listLoading = false\r\n })\r\n }\r\n }\r\n}\r\n</script>"]}]}