1 line
5.5 KiB
JSON
1 line
5.5 KiB
JSON
{"remainingRequest":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\babel-loader\\lib\\index.js!D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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\\babel.config.js","mtime":1718070785981},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnRGF0YWxpc3QnLAogIGRhdGE6IGZ1bmN0aW9uIGRhdGEoKSB7CiAgICByZXR1cm4gewogICAgICBvc3M6IG51bGwsCiAgICAgIGxpc3Q6IFtdLAogICAgICBsaXN0TG9hZGluZzogdHJ1ZSwKICAgICAgbGlzdFF1ZXJ5OiB7fQogICAgfTsKICB9LAogIGNyZWF0ZWQ6IGZ1bmN0aW9uIGNyZWF0ZWQoKSB7CiAgICB0aGlzLmdldExpc3QoKTsKICB9LAogIG1ldGhvZHM6IHsKICAgIGdldExpc3Q6IGZ1bmN0aW9uIGdldExpc3QoKSB7CiAgICAgIHZhciBfdGhpcyA9IHRoaXM7CiAgICAgIHRoaXMuJGF4aW9zLmdldCgnL2FkbWluL2RhdGEvaW5kZXgnLCB7CiAgICAgICAgcGFyYW1zOiB0aGlzLmxpc3RRdWVyeQogICAgICB9KS50aGVuKGZ1bmN0aW9uIChyZXNwb25zZSkgewogICAgICAgIF90aGlzLmxpc3QgPSByZXNwb25zZS5kYXRhOwogICAgICAgIF90aGlzLm9zcyA9IHJlc3BvbnNlLmV4dC5vc3M7CiAgICAgICAgX3RoaXMubGlzdExvYWRpbmcgPSBmYWxzZTsKICAgICAgfSk7CiAgICB9CiAgfQp9Ow=="},{"version":3,"names":["name","data","oss","list","listLoading","listQuery","created","getList","methods","_this","$axios","get","params","then","response","ext"],"sources":["src/views/data/index.vue"],"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>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA;EACAA,IAAA;EACAC,IAAA,WAAAA,KAAA;IACA;MACAC,GAAA;MACAC,IAAA;MACAC,WAAA;MACAC,SAAA;IACA;EACA;EACAC,OAAA,WAAAA,QAAA;IACA,KAAAC,OAAA;EACA;EACAC,OAAA;IACAD,OAAA,WAAAA,QAAA;MAAA,IAAAE,KAAA;MACA,KAAAC,MAAA,CAAAC,GAAA;QAAAC,MAAA,OAAAP;MAAA,GAAAQ,IAAA,WAAAC,QAAA;QACAL,KAAA,CAAAN,IAAA,GAAAW,QAAA,CAAAb,IAAA;QACAQ,KAAA,CAAAP,GAAA,GAAAY,QAAA,CAAAC,GAAA,CAAAb,GAAA;QACAO,KAAA,CAAAL,WAAA;MACA;IACA;EACA;AACA","ignoreList":[]}]} |