travel/admin/node_modules/.cache/babel-loader/349c80c1f08c1443734689f6ea9...

1 line
6.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\\log\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\log\\index.vue","mtime":1718070786055},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBQYWdpbmF0aW9uIGZyb20gJ0AvY29tcG9uZW50cy9QYWdpbmF0aW9uJzsKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdPcmRlcmxpc3QnLAogIGNvbXBvbmVudHM6IHsKICAgIFBhZ2luYXRpb246IFBhZ2luYXRpb24KICB9LAogIGZpbHRlcnM6IHsKICAgIHN0YXR1c0ZpbHRlcjogZnVuY3Rpb24gc3RhdHVzRmlsdGVyKHN0YXR1cykgewogICAgICB2YXIgc3RhdHVzTWFwID0gewogICAgICAgIDE6ICdzdWNjZXNzJywKICAgICAgICAwOiAnZGFuZ2VyJwogICAgICB9OwogICAgICByZXR1cm4gc3RhdHVzTWFwW3N0YXR1c107CiAgICB9CiAgfSwKICBkYXRhOiBmdW5jdGlvbiBkYXRhKCkgewogICAgcmV0dXJuIHsKICAgICAgbGlzdDogW10sCiAgICAgIHRvdGFsOiAwLAogICAgICBsaXN0TG9hZGluZzogdHJ1ZSwKICAgICAgbGlzdFF1ZXJ5OiB7CiAgICAgICAgcGFnZTogMSwKICAgICAgICBsaW1pdDogMTAKICAgICAgfSwKICAgICAgaXRlbToge30sCiAgICAgIGRpYWxvZ1Zpc2libGU6IGZhbHNlLAogICAgICBkaWFsb2cyVmlzaWJsZTogZmFsc2UsCiAgICAgIGZvcm06IHt9CiAgICB9OwogIH0sCiAgY3JlYXRlZDogZnVuY3Rpb24gY3JlYXRlZCgpIHsKICAgIHRoaXMuZ2V0TGlzdCgpOwogIH0sCiAgbWV0aG9kczogewogICAgZ2V0TGlzdDogZnVuY3Rpb24gZ2V0TGlzdCgpIHsKICAgICAgdmFyIF90aGlzID0gdGhpczsKICAgICAgdGhpcy4kYXhpb3MuZ2V0KCcvYWRtaW4vbG9nL2luZGV4JywgewogICAgICAgIHBhcmFtczogdGhpcy5saXN0UXVlcnkKICAgICAgfSkudGhlbihmdW5jdGlvbiAocmVzcG9uc2UpIHsKICAgICAgICBfdGhpcy5saXN0ID0gcmVzcG9uc2UuZGF0YS5kYXRhOwogICAgICAgIF90aGlzLnRvdGFsID0gcmVzcG9uc2UuZGF0YS50b3RhbDsKICAgICAgICBfdGhpcy5saXN0TG9hZGluZyA9IGZhbHNlOwogICAgICB9KTsKICAgIH0KICB9Cn07"},{"version":3,"names":["Pagination","name","components","filters","statusFilter","status","statusMap","data","list","total","listLoading","listQuery","page","limit","item","dialogVisible","dialog2Visible","form","created","getList","methods","_this","$axios","get","params","then","response"],"sources":["src/views/log/index.vue"],"sourcesContent":["<template>\r\n <div class=\"app-container\">\r\n\r\n <div class=\"filter-container\">\r\n <el-input v-model=\"listQuery.admin\" placeholder=\"管理员\" style=\" margin-right:10px; width: 200px;\" class=\"filter-item\" />\r\n <el-input v-model=\"listQuery.sn\" placeholder=\"订单号\" style=\" margin-right:10px; width: 200px;\" class=\"filter-item\" />\r\n <el-date-picker\r\n class=\"filter-item\"\r\n v-model=\"listQuery.times\"\r\n type=\"datetimerange\"\r\n range-separator=\"至\"\r\n start-placeholder=\"开始日期\"\r\n end-placeholder=\"结束日期\"\r\n :default-time=\"['00:00:00', '23:59:59']\"\r\n style=\" margin-right:10px; margin-bottom: 10px;\"\r\n >\r\n </el-date-picker>\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\" label=\"管理员\" width=\"80\" prop=\"admin.username\" />\r\n\r\n <el-table-column align=\"center\" label=\"操作\" width=\"100\" prop=\"action_name\" />\r\n\r\n <el-table-column align=\"center\" label=\"订单号\" width=\"220\" prop=\"orders.sn\" />\r\n <el-table-column align=\"center\" label=\"产品\" prop=\"orders.product_name\" />\r\n\r\n <el-table-column width=\"180px\" align=\"center\" label=\"操作时间\">\r\n <template slot-scope=\"scope\">\r\n <span>{{ scope.row.create_time | parseTime('{y}-{m}-{d} {h}:{i}') }}</span>\r\n </template>\r\n </el-table-column>\r\n\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/Pagination'\r\n\r\nexport default {\r\n name: 'Orderlist',\r\n components: { Pagination },\r\n filters: {\r\n statusFilter(status) {\r\n const statusMap = {\r\n 1: 'success',\r\n 0: 'danger'\r\n }\r\n return statusMap[status]\r\n }\r\n },\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 item: {},\r\n\r\n dialogVisible: false,\r\n dialog2Visible: false,\r\n form: {}\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/log/index', { 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 }\r\n}\r\n</script>\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,OAAAA,UAAA;AAEA;EACAC,IAAA;EACAC,UAAA;IAAAF,UAAA,EAAAA;EAAA;EACAG,OAAA;IACAC,YAAA,WAAAA,aAAAC,MAAA;MACA,IAAAC,SAAA;QACA;QACA;MACA;MACA,OAAAA,SAAA,CAAAD,MAAA;IACA;EACA;EACAE,IAAA,WAAAA,KAAA;IACA;MACAC,IAAA;MACAC,KAAA;MACAC,WAAA;MACAC,SAAA;QACAC,IAAA;QACAC,KAAA;MACA;MACAC,IAAA;MAEAC,aAAA;MACAC,cAAA;MACAC,IAAA;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,OAAAb;MAAA,GAAAc,IAAA,WAAAC,QAAA;QACAL,KAAA,CAAAb,IAAA,GAAAkB,QAAA,CAAAnB,IAAA,CAAAA,IAAA;QACAc,KAAA,CAAAZ,KAAA,GAAAiB,QAAA,CAAAnB,IAAA,CAAAE,KAAA;QACAY,KAAA,CAAAX,WAAA;MACA;IACA;EACA;AACA","ignoreList":[]}]}