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

1 line
9.2 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\\order\\pub.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\order\\pub.vue","mtime":1718614939732},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQppbXBvcnQgUGFnaW5hdGlvbiBmcm9tICdAL2NvbXBvbmVudHMvUGFnaW5hdGlvbkZpeGVkJw0KDQpleHBvcnQgZGVmYXVsdCB7DQogIG5hbWU6ICdQdWJsaXN0JywNCiAgY29tcG9uZW50czogeyBQYWdpbmF0aW9u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ICAgdGhpcy5pdGVtID0gcmVzLmRhdGE7DQogICAgLy8gICAgIHRoaXMuZGlhbG9nVmlzaWJsZSA9IHRydWU7DQogICAgLy8gICB9KS5jYXRjaChlcnI9PnsNCiAgICAvLyAgICAgdGhpcy5pdGVtID0ge30NCiAgICAvLyAgIH0pDQogICAgLy8gfSwNCiAgICAvLyBvblBhc3MoaXRlbSkgew0KICAgIC8vICAgdGhpcy4kYXhpb3MucG9zdCgnL2FkbWluL29yZGVyL3Bhc3MnLHtpZDogaXRlbS5pZCwgc3RhdHVzOiAxfSkudGhlbihyZXM9PnsNCiAgICAvLyAgICAgdGhpcy5pdGVtID0ge307DQogICAgLy8gICAgIHRoaXMuZGlhbG9nVmlzaWJsZSA9IGZhbHNlOw0KICAgIC8vICAgfSkuY2F0Y2goZXJyPT57DQoNCiAgICAvLyAgIH0pDQogICAgLy8gfSwNCiAgICAvLyBvbkNhbmNlbChpdGVtKSB7DQogICAgLy8gICB0aGlzLiRheGlvcy5wb3N0KCcvYWRtaW4vb3JkZXIvcGFzcycse2lkOiBpdGVtLmlkLCBzdGF0dXM6IDB9KS50aGVuKHJlcz0+ew0KICAgIC8vICAgICB0aGlzLml0ZW0gPSB7fTsNCiAgICAvLyAgICAgdGhpcy5kaWFsb2dWaXNpYmxlID0gZmFsc2U7DQogICAgLy8gICB9KS5jYXRjaChlcnIgPT4gew0KDQogICAgLy8gICB9KQ0KICAgIC8vIH0NCiAgfQ0KfQ0K"},{"version":3,"sources":["pub.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFA;;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA","file":"pub.vue","sourceRoot":"src/views/order","sourcesContent":["<template>\r\n <div class=\"app-container\">\r\n\r\n <div class=\"filter-container\">\r\n <el-input v-model=\"listQuery.sn\" placeholder=\"订单号\" style=\"width: 300px;\" class=\"filter-item\" />\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 width=\"120\" label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button type=\"primary\" plain size=\"small\" icon=\"el-icon-magic-stick\" @click=\"onFish(scope.row)\">\r\n 领取\r\n </el-button>\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" fixed label=\"平台\" width=\"80\" prop=\"os_name\" />\r\n\r\n <el-table-column align=\"center\" fixed label=\"直播\" width=\"80\">\r\n <template slot-scope=\"scope\">\r\n <el-tag v-if=\"scope.row.is_zhibo\">是</el-tag>\r\n <el-tag v-else type=\"info\">否</el-tag>\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" label=\"订单号\" width=\"220\" prop=\"sn\" />\r\n <!--\r\n <el-table-column align=\"center\" label=\"微信\" width=\"80\">\r\n <template slot-scope=\"scope\">\r\n <i v-if=\"scope.row.is_wechat>0\" class=\"el-icon-circle-check\"></i>\r\n </template>\r\n </el-table-column> -->\r\n\r\n <el-table-column align=\"center\" label=\"核单\" width=\"80\">\r\n <template slot-scope=\"scope\">\r\n <i v-if=\"scope.row.is_check == 1\" class=\"el-icon-check\" />\r\n <i v-if=\"scope.row.is_check == 2\" class=\"el-icon-close\" />\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" width=\"338px\" label=\"标题\" prop=\"product_name\" />\r\n <el-table-column align=\"center\" width=\"138px\" label=\"标题\" prop=\"category_desc\" />\r\n\r\n <el-table-column align=\"center\" label=\"总金额\" width=\"120\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ scope.row.total_price/100 }}</span>\r\n </template>\r\n </el-table-column>\r\n\r\n <el-table-column align=\"center\" width=\"80px\" label=\"人数\" prop=\"quantity\" />\r\n\r\n <el-table-column align=\"center\" label=\"状态\" width=\"80\" prop=\"order_status_name\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ scope.row.order_status_name }}</span>\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 <span>{{ scope.row.create_at | parseTime('{y}-{m}-{d} {h}:{i}') }}</span>\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 <span>{{ scope.row.update_time | parseTime('{y}-{m}-{d} {h}:{i}') }}</span>\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/PaginationFixed'\r\n\r\nexport default {\r\n name: 'Publist',\r\n components: { Pagination },\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/order/pub', { 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 onFish(item) {\r\n this.$axios.post('/admin/order/fish', { id: item.id }).then(res => {\r\n this.dialogVisible = false\r\n this.item = {}\r\n this.getList()\r\n }).catch(err => {\r\n\r\n })\r\n }\r\n // ,\r\n // onTel(item) {\r\n // this.item = item\r\n // this.$axios.get('/admin/order/tel',{params: {id: item.id} }).then(res=>{\r\n // this.item = res.data;\r\n // this.dialogVisible = true;\r\n // }).catch(err=>{\r\n // this.item = {}\r\n // })\r\n // },\r\n // onPass(item) {\r\n // this.$axios.post('/admin/order/pass',{id: item.id, status: 1}).then(res=>{\r\n // this.item = {};\r\n // this.dialogVisible = false;\r\n // }).catch(err=>{\r\n\r\n // })\r\n // },\r\n // onCancel(item) {\r\n // this.$axios.post('/admin/order/pass',{id: item.id, status: 0}).then(res=>{\r\n // this.item = {};\r\n // this.dialogVisible = false;\r\n // }).catch(err => {\r\n\r\n // })\r\n // }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.edit-input {\r\n padding-right: 100px;\r\n}\r\n\r\n.cancel-btn {\r\n position: absolute;\r\n right: 15px;\r\n top: 10px;\r\n}\r\n.app-container {\r\n position: relative;\r\n padding-bottom: 60px; /* 分页条的高度 */\r\n}\r\n\r\n.filter-container,\r\n.el-table {\r\n padding-bottom: 52px; /* 分页条的高度,以避免内容重叠 */\r\n}\r\n</style>\r\n"]}]}