1 line
10 KiB
JSON
1 line
10 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\\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\\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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBQYWdpbmF0aW9uIGZyb20gJ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B9CiAgfQp9Ow=="},{"version":3,"names":["Pagination","name","components","data","list","total","listLoading","listQuery","page","limit","created","getList","methods","_this","$axios","get","params","then","response","onFish","item","_this2","post","id","res","dialogVisible","catch","err"],"sources":["src/views/order/pub.vue"],"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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFA,OAAAA,UAAA;AAEA;EACAC,IAAA;EACAC,UAAA;IAAAF,UAAA,EAAAA;EAAA;EACAG,IAAA,WAAAA,KAAA;IACA;MACAC,IAAA;MACAC,KAAA;MACAC,WAAA;MACAC,SAAA;QACAC,IAAA;QACAC,KAAA;MACA;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,OAAAT;MAAA,GAAAU,IAAA,WAAAC,QAAA;QACAL,KAAA,CAAAT,IAAA,GAAAc,QAAA,CAAAf,IAAA,CAAAA,IAAA;QACAU,KAAA,CAAAR,KAAA,GAAAa,QAAA,CAAAf,IAAA,CAAAE,KAAA;QACAQ,KAAA,CAAAP,WAAA;MACA;IACA;IACAa,MAAA,WAAAA,OAAAC,IAAA;MAAA,IAAAC,MAAA;MACA,KAAAP,MAAA,CAAAQ,IAAA;QAAAC,EAAA,EAAAH,IAAA,CAAAG;MAAA,GAAAN,IAAA,WAAAO,GAAA;QACAH,MAAA,CAAAI,aAAA;QACAJ,MAAA,CAAAD,IAAA;QACAC,MAAA,CAAAV,OAAA;MACA,GAAAe,KAAA,WAAAC,GAAA,GAEA;IACA,EACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;EACA;AACA","ignoreList":[]}]} |