1 line
8.3 KiB
JSON
1 line
8.3 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\\dashboard\\admin\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\dashboard\\admin\\index.vue","mtime":1718764814923},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBQYW5lbEdyb3VwIGZyb20gJy4vY29tcG9uZW50cy9QYW5lbEdyb3VwJzsKaW1wb3J0IExpbmVDaGFydCBmcm9tICcuL2NvbXBvbmVudHMvTGluZUNoYXJ0JzsKaW1wb3J0IFJhZGRhckNoYXJ0IGZyb20gJy4vY29tcG9uZW50cy9SYWRkYXJDaGFydCc7CmltcG9ydCBQaWVD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CA4MiwgOTEsIDE1NCwgMTYyLCAxNDAsIDEzMF0KICB9Cn07CmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnRGFzaGJvYXJkQWRtaW4nLAogIGNvbXBvbmVudHM6IHsKICAgIE9zVG9rZW5Hcm91cDogT3NUb2tlbkdyb3VwLAogICAgUGFuZWxHcm91cDogUGFuZWxHcm91cCwKICAgIExpbmVDaGFydDogTGluZUNoYXJ0LAogICAgUmFkZGFyQ2hhcnQ6IFJhZGRhckNoYXJ0LAogICAgUGllQ2hhcnQ6IFBpZUNoYXJ0LAogICAgQmFyQ2hhcnQ6IEJhckNoYXJ0LAogICAgVHJhbnNhY3Rpb25UYWJsZTogVHJhbnNhY3Rpb25UYWJsZSwKICAgIFRvZG9MaXN0OiBUb2RvTGlzdCwKICAgIEJveENhcmQ6IEJveENhcmQKICB9LAogIGRhdGE6IGZ1bmN0aW9uIGRhdGEoKSB7CiAgICByZXR1cm4gewogICAgICBsaW5lQ2hhcnREYXRhOiBudWxsCiAgICB9OwogIH0sCiAgY3JlYXRlZDogZnVuY3Rpb24gY3JlYXRlZCgpIHsKICAgIHZhciBfdGhpcyA9IHRoaXM7CiAgICB0aGlzLiRheGlvcy5nZXQoJy9hZG1pbi9pbmRleC9saW5lJywgewogICAgICBwYXJhbXM6IHRoaXMubGlzdFF1ZXJ5CiAgICB9KS50aGVuKGZ1bmN0aW9uIChyZXNwb25zZSkgewogICAgICBfdGhpcy5saW5lQ2hhcnREYXRhID0gcmVzcG9uc2UuZGF0YTsKICAgIH0pOwogIH0sCiAgbWV0aG9kczogewogICAgaGFuZGxlU2V0TGluZUNoYXJ0RGF0YTogZnVuY3Rpb24gaGFuZGxlU2V0TGluZUNoYXJ0RGF0YSh0eXBlKSB7CiAgICAgIHRoaXMubGluZUNoYXJ0RGF0YSA9IGxpbmVDaGFydERhdGFbdHlwZV07CiAgICB9CiAgfQp9Ow=="},{"version":3,"names":["PanelGroup","LineChart","RaddarChart","PieChart","BarChart","TransactionTable","TodoList","BoxCard","OsTokenGroup","lineChartData","newVisitis","expectedData","actualData","messages","purchases","shoppings","name","components","data","created","_this","$axios","get","params","listQuery","then","response","methods","handleSetLineChartData","type"],"sources":["src/views/dashboard/admin/index.vue"],"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\nimport OsTokenGroup from \"@/views/dashboard/admin/components/OsTokenGroup.vue\";\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 OsTokenGroup,\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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,OAAAA,UAAA;AACA,OAAAC,SAAA;AACA,OAAAC,WAAA;AACA,OAAAC,QAAA;AACA,OAAAC,QAAA;AACA,OAAAC,gBAAA;AACA,OAAAC,QAAA;AACA,OAAAC,OAAA;AACA,OAAAC,YAAA;AAEA,IAAAC,aAAA;EACAC,UAAA;IACAC,YAAA;IACAC,UAAA;EACA;EACAC,QAAA;IACAF,YAAA;IACAC,UAAA;EACA;EACAE,SAAA;IACAH,YAAA;IACAC,UAAA;EACA;EACAG,SAAA;IACAJ,YAAA;IACAC,UAAA;EACA;AACA;AAEA;EACAI,IAAA;EACAC,UAAA;IACAT,YAAA,EAAAA,YAAA;IACAR,UAAA,EAAAA,UAAA;IACAC,SAAA,EAAAA,SAAA;IACAC,WAAA,EAAAA,WAAA;IACAC,QAAA,EAAAA,QAAA;IACAC,QAAA,EAAAA,QAAA;IACAC,gBAAA,EAAAA,gBAAA;IACAC,QAAA,EAAAA,QAAA;IACAC,OAAA,EAAAA;EACA;EACAW,IAAA,WAAAA,KAAA;IACA;MACAT,aAAA;IACA;EACA;EACAU,OAAA,WAAAA,QAAA;IAAA,IAAAC,KAAA;IACA,KAAAC,MAAA,CAAAC,GAAA;MAAAC,MAAA,OAAAC;IAAA,GAAAC,IAAA,WAAAC,QAAA;MACAN,KAAA,CAAAX,aAAA,GAAAiB,QAAA,CAAAR,IAAA;IACA;EACA;EACAS,OAAA;IACAC,sBAAA,WAAAA,uBAAAC,IAAA;MACA,KAAApB,aAAA,GAAAA,aAAA,CAAAoB,IAAA;IACA;EACA;AACA","ignoreList":[]}]} |