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

1 line
6.7 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\\dashboard\\admin\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\dashboard\\admin\\index.vue","mtime":1718765310639},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQppbXBvcnQgUGFuZWxHcm91cCBmcm9tICcuL2NvbXBvbmVudHMvUGFuZWxHcm91cCcNCmltcG9ydCBMaW5lQ2hhcnQgZnJvbSAnLi9jb21wb25lbnRzL0xpbmVDaGFydCcNCmltcG9ydCBSYWRkYXJDaGFydCBmcm9tICcuL2NvbXBvbmVudHMvUmFkZGFyQ2hhcnQnDQppbXBvcnQgUGllQ2hhcnQgZnJvbSAnLi9jb21wb25lbnRzL1BpZUNoYXJ0Jw0KaW1wb3J0IEJhckNoYXJ0IGZyb20gJy4vY29tcG9uZW50cy9CYXJDaGFydCcNCmltcG9ydCBUcmFuc2FjdGl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aWVDaGFydCwNCiAgICBCYXJDaGFydCwNCiAgICBUcmFuc2FjdGlvblRhYmxlLA0KICAgIFRvZG9MaXN0LA0KICAgIEJveENhcmQNCiAgfSwNCiAgZGF0YSgpIHsNCiAgICByZXR1cm4gew0KICAgICAgbGluZUNoYXJ0RGF0YTogbnVsbA0KICAgIH0NCiAgfSwNCiAgY3JlYXRlZCgpew0KICAgIHRoaXMuJGF4aW9zLmdldCgnL2FkbWluL2luZGV4L2xpbmUnLCB7IHBhcmFtczogdGhpcy5saXN0UXVlcnkgfSkudGhlbihyZXNwb25zZSA9PiB7DQogICAgICB0aGlzLmxpbmVDaGFydERhdGEgPSByZXNwb25zZS5kYXRhDQogICAgfSkNCiAgfSwNCiAgbWV0aG9kczogew0KICAgIGhhbmRsZVNldExpbmVDaGFydERhdGEodHlwZSkgew0KICAgICAgdGhpcy5saW5lQ2hhcnREYXRhID0gbGluZUNoYXJ0RGF0YVt0eXBlXQ0KICAgIH0NCiAgfQ0KfQ0K"},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/views/dashboard/admin","sourcesContent":["<template>\r\n <div class=\"dashboard-editor-container\">\r\n\r\n <panel-group @handleSetLineChartData=\"handleSetLineChartData\" />\r\n\r\n <el-row v-if=\"lineChartData\" style=\"background:#fff;padding:16px 16px 0;margin-bottom:32px;\">\r\n <line-chart :chart-data=\"lineChartData\" />\r\n </el-row>\r\n\r\n <el-row :gutter=\"32\">\r\n <!-- <el-col :xs=\"24\" :sm=\"24\" :lg=\"8\">\r\n <div class=\"chart-wrapper\">\r\n <raddar-chart />\r\n </div>\r\n </el-col> -->\r\n <el-col :xs=\"24\" :sm=\"24\" :lg=\"8\">\r\n <div class=\"chart-wrapper\">\r\n <pie-chart />\r\n </div>\r\n </el-col>\r\n <!-- <el-col :xs=\"24\" :sm=\"24\" :lg=\"8\">\r\n <div class=\"chart-wrapper\">\r\n <bar-chart />\r\n </div>\r\n </el-col> -->\r\n </el-row>\r\n\r\n <!-- <el-row :gutter=\"8\">\r\n <el-col :xs=\"{span: 24}\" :sm=\"{span: 24}\" :md=\"{span: 24}\" :lg=\"{span: 12}\" :xl=\"{span: 12}\" style=\"padding-right:8px;margin-bottom:30px;\">\r\n <transaction-table />\r\n </el-col>\r\n <el-col :xs=\"{span: 24}\" :sm=\"{span: 12}\" :md=\"{span: 12}\" :lg=\"{span: 12}\" :xl=\"{span: 12}\" style=\"margin-bottom:30px;\">\r\n <todo-list />\r\n </el-col>\r\n </el-row> -->\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport PanelGroup from './components/PanelGroup'\r\nimport LineChart from './components/LineChart'\r\nimport RaddarChart from './components/RaddarChart'\r\nimport PieChart from './components/PieChart'\r\nimport BarChart from './components/BarChart'\r\nimport TransactionTable from './components/TransactionTable'\r\nimport TodoList from './components/TodoList'\r\nimport BoxCard from './components/BoxCard'\r\n\r\nconst lineChartData = {\r\n newVisitis: {\r\n expectedData: [100, 120, 161, 134, 105, 160, 165],\r\n actualData: [120, 82, 91, 154, 162, 140, 145]\r\n },\r\n messages: {\r\n expectedData: [200, 192, 120, 144, 160, 130, 140],\r\n actualData: [180, 160, 151, 106, 145, 150, 130]\r\n },\r\n purchases: {\r\n expectedData: [80, 100, 121, 104, 105, 90, 100],\r\n actualData: [120, 90, 100, 138, 142, 130, 130]\r\n },\r\n shoppings: {\r\n expectedData: [130, 140, 141, 142, 145, 150, 160],\r\n actualData: [120, 82, 91, 154, 162, 140, 130]\r\n }\r\n}\r\n\r\nexport default {\r\n name: 'DashboardAdmin',\r\n components: {\r\n PanelGroup,\r\n LineChart,\r\n RaddarChart,\r\n PieChart,\r\n BarChart,\r\n TransactionTable,\r\n TodoList,\r\n BoxCard\r\n },\r\n data() {\r\n return {\r\n lineChartData: null\r\n }\r\n },\r\n created(){\r\n this.$axios.get('/admin/index/line', { params: this.listQuery }).then(response => {\r\n this.lineChartData = response.data\r\n })\r\n },\r\n methods: {\r\n handleSetLineChartData(type) {\r\n this.lineChartData = lineChartData[type]\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.dashboard-editor-container {\r\n padding: 32px;\r\n background-color: rgb(240, 242, 245);\r\n position: relative;\r\n\r\n .github-corner {\r\n position: absolute;\r\n top: 0px;\r\n border: 0;\r\n right: 0;\r\n }\r\n\r\n .chart-wrapper {\r\n background: #fff;\r\n padding: 16px 16px 0;\r\n margin-bottom: 32px;\r\n }\r\n}\r\n\r\n@media (max-width:1024px) {\r\n .chart-wrapper {\r\n padding: 8px;\r\n }\r\n}\r\n</style>\r\n"]}]}