{"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 getWeekData() {\n var _this2 = this;\n\n this.$http.get(\"/system/reportForm/roomWeek\").then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this2.$message.error(res, msg);\n }\n\n _this2.commonFun(res, \"宿舍楼异常出入人数(周)\", \"周\", \"人\", \"weekPepleRef\", \"weeks\");\n });\n },\n\n /**\n * 月 人\n * \n */\n getMonthData: function getMonthData() {\n var _this3 = this;\n\n this.$http.get(\"/system/reportForm/roomMonth\").then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code !== 0) {\n return _this3.$message.error(res, msg);\n }\n\n _this3.commonFun(res, \"宿舍楼异常出入人数(月)\", \"月\", \"人\", \"monthPepleRef\", \"months\");\n });\n },\n\n /**\n * 月 次\n * \n */\n getMonthDataTime: function getMonthDataTime() {\n var _this4 = this;\n\n this.$http.get(\"/system/reportForm/abnormalMonth\").then(function (_ref3) {\n var res = _ref3.data;\n\n if (res.code !== 0) {\n return _this4.$message.error(res, msg);\n }\n\n _this4.commonFun(res, \"宿舍楼异常出入次数(月)\", \"月\", \"次\", \"monthTimeRef\", \"months\");\n });\n },\n\n /**\n * 周 次\n * \n */\n getWeekDataTime: function getWeekDataTime() {\n var _this5 = this;\n\n this.$http.get(\"/system/reportForm/abnormalWeek\").then(function (_ref4) {\n var res = _ref4.data;\n\n if (res.code !== 0) {\n return _this5.$message.error(res, msg);\n }\n\n _this5.commonFun(res, \"宿舍楼异常出入次数(周)\", \"周\", \"次\", \"weekTimeRef\", \"weeks\");\n });\n }\n }\n};",{"version":3,"sources":["back-dormitory.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,GAAA;AACA,eAAA;AACA,EAAA,UAAA,EAAA;AACA,IAAA,GAAA,EAAA;AADA,GADA;AAIA,EAAA,MAAA,EAAA,CAAA,eAAA,CAJA;AAKA,EAAA,IALA,kBAKA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,wCADA;AAEA,QAAA,iBAAA,EAAA;AAFA,OADA;AAKA,MAAA,KAAA,EAAA,CALA;AAMA,MAAA,SAAA,EAAA,IAN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