{"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\\dataAnalysis\\not-in-or-out.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dataAnalysis\\not-in-or-out.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/web.dom.iterable\";\nimport _typeof from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/typeof\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getAllDate, getNowFormatDate } from \"../../../utils/dateTime.js\";\nimport { buildMerge } from \"../../../utils/mergeCell.js\";\nimport vView from \"./v-view\";\nexport default {\n components: {\n vView: vView\n },\n data: function data() {\n return {\n viewVisible: false,\n loading: false,\n options: [{\n value: '1',\n label: '宿舍闸机'\n }, {\n value: '2',\n label: '教学楼闸机'\n }, {\n value: '3',\n label: '宿舍房间'\n }, {\n value: '4',\n label: 'UWB'\n }],\n pickerOptions: {\n disabledDate: function disabledDate(time) {\n return time.getTime() > Date.now() - 86400000;\n }\n },\n daterange: [new Date(new Date().getTime() - 1296000000), new Date(new Date() - 86400000)],\n // 一个月的时间戳\n typeArr: [\"1\", \"2\"],\n // 默认选择'宿舍闸机'和'教学楼闸机'\n dataForm: {\n startDate: '',\n endDate: '',\n num: 3,\n type: \"\"\n },\n dataList: [],\n dateRange: []\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 mounted: function mounted() {\n this.getDataList();\n },\n methods: {\n viewHandle: function viewHandle(row) {\n var _this = this;\n\n this.viewVisible = true;\n this.$nextTick(function () {\n _this.$refs.viewRef.init(row, _this.dataForm, \"/system/dataAnalysis/notInOrOut\");\n });\n },\n // 列表查询\n getDataList: function getDataList() {\n var _this2 = this;\n\n if (this.typeArr.length === 0) {\n return this.$message.warning(\"类型不能为空\");\n } else {\n this.dataForm.type = this.typeArr.join();\n }\n\n if (this.daterange) {\n this.dataForm.startDate = this.daterange[0];\n this.dataForm.endDate = this.daterange[1];\n\n if (_typeof(this.dataForm.startDate) === 'object') {\n this.dateRange = getAllDate(getNowFormatDate(this.dataForm.startDate), getNowFormatDate(this.dataForm.endDate));\n } else {\n this.dateRange = getAllDate(this.dataForm.startDate, this.dataForm.endDate);\n }\n }\n\n this.loading = true;\n this.$http.get(\"/system/dataAnalysis/notInOrOut\", {\n params: this.dataForm\n }).then(function (_ref) {\n var res = _ref.data;\n\n if (res.data.length > 0) {\n buildMerge(res.data, 'scStuname', 'scSex', 'scPhonenum');\n _this2.dataList = res.data;\n\n _this2.dataList.forEach(function (item, index, array) {\n item.dataAnalysisInfoDTOList = item.dataAnalysisInfoDTOList.map(function (item) {\n return item.createDate;\n });\n });\n\n _this2.loading = false;\n } else {\n _this2.dataList = [];\n }\n }).catch(function () {}).finally(function () {\n _this2.loading = false;\n });\n },\n // 重置\n reset: function reset(formName) {\n this.$refs[formName].resetFields();\n this.daterange = [new Date(new Date().getTime() - 1296000000), new Date(new Date() - 86400000)];\n this.typeArr = [\"1\", \"2\"];\n this.getDataList();\n },\n objectSpanMethod: function objectSpanMethod(_ref2) {\n var row = _ref2.row,\n column = _ref2.column,\n rowIndex = _ref2.rowIndex,\n columnIndex = _ref2.columnIndex;\n\n if (columnIndex === 0) {\n return this.ret(row, 'firstSpan');\n } else if (columnIndex === 1) {\n return this.ret(row, 'secondSpan');\n } else if (columnIndex === 2) {\n return this.ret(row, 'thirdSpan');\n }\n },\n ret: function ret(row, obj) {\n if (row && row[obj] != 0) {\n return {\n rowspan: row[obj],\n colspan: 1\n };\n } else {\n return {\n rowspan: 0,\n colspan: 0\n };\n }\n }\n }\n};",{"version":3,"sources":["not-in-or-out.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFA,SACA,UADA,EAEA,gBAFA;AAIA,SACA,UADA;AAGA,OAAA,KAAA;AACA,eAAA;AACA,EAAA,UAAA,EAAA;AACA,IAAA,KAAA,EAAA;AADA,GADA;AAIA,EAAA,IAJA,kBAIA;AACA,WAAA;AACA,MAAA,WAAA,EAAA,KADA;AAEA,MAAA,OAAA,EAAA,KAFA;AAGA,MAAA,OAAA,EAAA,CAAA;AACA,QAAA,KAAA,EAAA,GADA;AAEA,QAAA,KAAA,EAA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