1 line
7.5 KiB
JSON
1 line
7.5 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=style&index=0&id=ec7dcbdc&scoped=true&lang=css","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\order\\pub.vue","mtime":1718614939732},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\css-loader\\dist\\cjs.js","mtime":1718764958140},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1718764960674},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\postcss-loader\\src\\index.js","mtime":1718764958994},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoNCi5lZGl0LWlucHV0IHsNCiAgcGFkZGluZy1yaWdodDogMTAwcHg7DQp9DQoNCi5jYW5jZWwtYnRuIHsNCiAgcG9zaXRpb246IGFic29sdXRlOw0KICByaWdodDogMTVweDsNCiAgdG9wOiAxMHB4Ow0KfQ0KLmFwcC1jb250YWluZXIgew0KICBwb3NpdGlvbjogcmVsYXRpdmU7DQogIHBhZGRpbmctYm90dG9tOiA2MHB4OyAvKiDliIbpobXmnaHnmoTpq5jluqYgKi8NCn0NCg0KLmZpbHRlci1jb250YWluZXIsDQouZWwtdGFibGUgew0KICBwYWRkaW5nLWJvdHRvbTogNTJweDsgLyog5YiG6aG15p2h55qE6auY5bqm77yM5Lul6YG/5YWN5YaF5a656YeN5Y+gICovDQp9DQo="},{"version":3,"sources":["pub.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyJA;AACA;AACA;;AAEA;AACA;AACA;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"]}]} |