forked from zhurui/management
1 line
18 KiB
JSON
1 line
18 KiB
JSON
|
{"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 = getAllD
|