1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/8044eeaf38c1c598da16e9c4f32...

1 line
17 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\statisticalReport\\back-dormitory.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\statisticalReport\\back-dormitory.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.set\";\nimport _toConsumableArray from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/toConsumableArray\";\nimport \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport mixinViewModule from '@/mixins/view-module';\nimport bar from \"../../../components/public/echarts/bar\";\nexport default {\n components: {\n bar: bar\n },\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/reportForm/dormitoryStatistics',\n getDataListIsPage: true\n },\n limit: 6,\n daterange: null,\n dataForm: {\n startDate: '',\n endDate: ''\n },\n params: {}\n };\n },\n watch: {\n daterange: function daterange(val) {\n if (val) {\n this.dataForm.startDate = val[0];\n this.dataForm.endDate = val[1];\n } else {\n this.dataForm.startDate = \"\";\n this.dataForm.endDate = \"\";\n }\n }\n },\n created: function created() {\n this.getWeekData();\n this.getMonthData();\n this.getWeekDataTime();\n this.getMonthDataTime();\n },\n mounted: function mounted() {},\n methods: {\n reset: function reset(formName) {\n this.$refs[formName].resetFields();\n\n if (this.daterange) {\n this.daterange = null;\n }\n\n this.page = 1;\n this.limit = 6;\n this.query();\n },\n commonFun: function commonFun(res, title, xTitle, yTitle, ref, xType) {\n var _this = this;\n\n var type = []; // 类型\n\n var seriesData = [];\n var xAxisData = [];\n res.data.forEach(function (item) {\n type.push(item.typr);\n xAxisData.push(item[xType]);\n });\n type = _toConsumableArray(new Set(type));\n xAxisData = _toConsumableArray(new Set(xAxisData));\n type.forEach(function (item, index) {\n seriesData.push({\n data: [],\n name: item\n });\n res.data.forEach(function (item1) {\n if (item === item1.typr) {\n seriesData[index].data.push(item1.sumcount);\n }\n });\n });\n this.params.seriesData = seriesData;\n this.params.xAxisData = xAxisData;\n this.params.title = title;\n this.params.xTitle = xTitle;\n this.params.yTitle = yTitle;\n this.$nextTick(function () {\n _this.$refs[ref].init();\n });\n },\n\n /**\n * 周 人\n * \n */\n getWeekData: function getWeek