{"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\\only-out-not-in.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dataAnalysis\\only-out-not-in.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 _typeof from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/typeof\";\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//\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: '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 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 computed: {\n toolComputed: function toolComputed() {\n return function (dateStr, row) {\n var str = \"\";\n row.forEach(function (item) {\n if (dateStr === item.createDate) {\n str = \"\".concat(item.createDate, \" \").concat(item.num, \"\\u6B21\");\n }\n });\n return str;\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/onlyOutNotIn\");\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/onlyOutNotIn\", {\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.map(function (item) {\n item.times = 0;\n item.dataAnalysisInfoDTOList.forEach(function (item1) {\n item.times = item.times + item1.num;\n });\n return item;\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":["only-out-not-in.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EA,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,E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