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

1 line
18 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"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;AAC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,EAAA;AACA,eAAA,KAAA,GAAA,CAAA,GAAA,EAAA,WAAA,CAAA;AACA,OAFA,MAEA,IAAA,WAAA,KAAA,CAAA,EAAA;AACA,eAAA,KAAA,GAAA,CAAA,GAAA,EAAA,YAAA,CAAA;AACA,OAFA,MAEA,IAAA,WAAA,KAAA,CAAA,EAAA;AACA,eAAA,KAAA,GAAA,CAAA,GAAA,EAAA,WAAA,CAAA;AACA;AACA,KAlEA;AAmEA,IAAA,GAnEA,eAmEA,GAnEA,EAmEA,GAnEA,EAmEA;AACA,UAAA,GAAA,IAAA,GAAA,CAAA,GAAA,CAAA,IAAA,CAAA,EAAA;AACA,eAAA;AACA,UAAA,OAAA,EAAA,GAAA,CAAA,GAAA,CADA;AAEA,UAAA,OAAA,EAAA;AAFA,SAAA;AAIA,OALA,MAKA;AACA,eAAA;AACA,UAAA,OAAA,EAAA,CADA;AAEA,UAAA,OAAA,EAAA;AAFA,SAAA;AAIA;AACA;AA/EA;AApDA,CAAA","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill staff-report not-in-or-out\">\n\t\t<el-form :model=\"dataForm\" :inline=\"true\" @keyup.enter.native=\"getDataList()\" ref=\"ruleForm\">\n\t\t\t<el-form-item label=\"时间选择\">\n\t\t\t\t<el-date-picker v-model=\"daterange\" type=\"daterange\" value-format=\"yyyy-MM-dd\" range-separator=\"至\"\n\t\t\t\t start-placeholder=\"开始日期\" end-placeholder=\"结束日期\" :picker-options=\"pickerOptions\">\n\t\t\t\t</el-date-picker>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"次数\">\n\t\t\t\t<el-input v-model=\"dataForm.num\"></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"类型\" prop=\"typeArr\">\n\t\t\t\t<el-select filterable v-model=\"typeArr\" placeholder=\"请选择\" multiple clearable style=\"width: 500px;\">\n\t\t\t\t\t<el-option v-for=\"item in options\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\">\n\t\t\t\t\t</el-option>\n\t\t\t\t</el-select>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"getDataList\">查询</el-button>\n\t\t\t\t<el-button type=\"warning\" @click=\"reset('ruleForm')\">重置</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table v-loading=\"loading\" element-loading-text=\"拼命加载中\" element-loading-spinner=\"el-icon-loading\"\n\t\t element-loading-background=\"rgba(0, 0, 0, 0.8)\" border ref=\"table\" :span-method=\"objectSpanMethod\" :data=\"dataList\"\n\t\t style=\"width: 100%\" :header-cell-style=\"{fontSize:'16px'}\">\n\t\t\t<el-table-column prop=\"scStuname\" align=\"center\" label=\"姓名\" width=\"100\">\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" label=\"性别\" width=\"100\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t{{ $getDictLabel(\"gender\", scope.row.scSex) }}\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"scPhonenum\" align=\"center\" label=\"联系电话\" width=\"200\">\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"type\" align=\"center\" label=\"位置\" width=\"200\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.type == 1\">宿舍闸机</span>\n\t\t\t\t\t<span v-else-if=\"scope.row.type == 2\">教学楼闸机</span>\n\t\t\t\t\t<span v-else-if=\"scope.row.type == 3\">宿舍房间</span>\n\t\t\t\t\t<span v-else-if=\"scope.row.type == 4\">UWB</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" label=\"异常次数\" width=\"180\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t{{scope.row.dataAnalysisInfoDTOList.length}}\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\">\n\t\t\t\t<template slot=\"header\">\n\t\t\t\t\t<div style=\"display: flex;justify-content: center;align-items: center;\">\n\t\t\t\t\t\t<div>结果描述</div>\n\t\t\t\t\t\t<div></div>\n\t\t\t\t\t\t<div style=\"width: 12px;height: 12px;background-color: red;margin: 0 10px;\"></div>\n\t\t\t\t\t\t<div>异常</div>\n\t\t\t\t\t\t<div style=\"width: 12px;height: 12px;background-color: green;margin: 0 10px\"></div>\n\t\t\t\t\t\t<div style=\"margin-right: 10px;\">正常</div>\n\t\t\t\t\t\t<div></div>\n\t\t\t\t\t</div>\n\n\t\t\t\t</template>\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<div class=\"squareContent\" style=\"display: flex;flex-wrap:wrap\">\n\t\t\t\t\t\t<el-tooltip v-for=\"(item,index) in dateRange\" effect=\"light\" :content=\"item\" placement=\"top-start\" :key=\"index\">\n\t\t\t\t\t\t\t<div class=\"divSquare\" :style=\"{backgroundColor:scope.row.dataAnalysisInfoDTOList.includes(item) ?'red' : 'green'}\">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</el-tooltip>\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" label=\"操作\" width=\"180\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" @click=\"viewHandle(scope.row)\">详情</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t</el-table>\n\t\t<v-view ref=\"viewRef\" v-if=\"viewVisible\">\n\n\t\t</v-view>\n\t</el-card>\n</template>\n<script>\n\timport {\n\t\tgetAllDate,\n\t\tgetNowFormatDate\n\t} from \"../../../utils/dateTime.js\"\n\timport {\n\t\tbuildMerge\n\t} from \"../../../utils/mergeCell.js\"\n\timport vView from './v-view'\n\texport default {\n\t\tcomponents: {\n\t\t\tvView\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tviewVisible: false,\n\t\t\t\tloading: false,\n\t\t\t\toptions: [{\n\t\t\t\t\tvalue: '1',\n\t\t\t\t\tlabel: '宿舍闸机'\n\t\t\t\t}, {\n\t\t\t\t\tvalue: '2',\n\t\t\t\t\tlabel: '教学楼闸机'\n\t\t\t\t}, {\n\t\t\t\t\tvalue: '3',\n\t\t\t\t\tlabel: '宿舍房间'\n\t\t\t\t}, {\n\t\t\t\t\tvalue: '4',\n\t\t\t\t\tlabel: 'UWB'\n\t\t\t\t}],\n\t\t\t\tpickerOptions: {\n\t\t\t\t\tdisabledDate(time) {\n\t\t\t\t\t\treturn time.getTime() > Date.now() - 86400000;\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tdaterange: [new Date(new Date().getTime() - 1296000000), new Date(new Date() - 86400000)], // 一个月的时间戳\n\t\t\t\ttypeArr: [\"1\", \"2\"], // 默认选择'宿舍闸机'和'教学楼闸机'\n\t\t\t\tdataForm: {\n\t\t\t\t\tstartDate: '',\n\t\t\t\t\tendDate: '',\n\t\t\t\t\tnum: 3,\n\t\t\t\t\ttype: \"\",\n\t\t\t\t},\n\t\t\t\tdataList: [],\n\t\t\t\tdateRange: [],\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tdaterange(val) {\n\t\t\t\tif (val) {\n\t\t\t\t\tthis.dataForm.startDate = val[0];\n\t\t\t\t\tthis.dataForm.endDate = val[1];\n\t\t\t\t} else {\n\t\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tmounted() {\n\t\t\tthis.getDataList()\n\t\t},\n\t\tmethods: {\n\t\t\tviewHandle(row) {\n\t\t\t\tthis.viewVisible = true\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis.$refs.viewRef.init(row, this.dataForm, \"/system/dataAnalysis/notInOrOut\")\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 列表查询\n\t\t\tgetDataList() {\n\t\t\t\tif (this.typeArr.length === 0) {\n\t\t\t\t\treturn this.$message.warning(\"类型不能为空\")\n\t\t\t\t} else {\n\t\t\t\t\tthis.dataForm.type = this.typeArr.join()\n\t\t\t\t}\n\t\t\t\tif (this.daterange) {\n\t\t\t\t\tthis.dataForm.startDate = this.daterange[0];\n\t\t\t\t\tthis.dataForm.endDate = this.daterange[1];\n\t\t\t\t\tif (typeof this.dataForm.startDate === 'object') {\n\t\t\t\t\t\tthis.dateRange = getAllDate(getNowFormatDate(this.dataForm.startDate), getNowFormatDate(this.dataForm.endDate))\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.dateRange = getAllDate(this.dataForm.startDate, this.dataForm.endDate)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis.loading = true\n\t\t\t\tthis.$http.get(\"/system/dataAnalysis/notInOrOut\", {\n\t\t\t\t\tparams: this.dataForm\n\t\t\t\t}).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.data.length > 0) {\n\t\t\t\t\t\tbuildMerge(res.data, 'scStuname', 'scSex', 'scPhonenum')\n\t\t\t\t\t\tthis.dataList = res.data\n\t\t\t\t\t\tthis.dataList.forEach((item, index, array) => {\n\t\t\t\t\t\t\titem.dataAnalysisInfoDTOList = item.dataAnalysisInfoDTOList.map(item => {\n\t\t\t\t\t\t\t\treturn item.createDate\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.loading = false\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.dataList = []\n\t\t\t\t\t}\n\t\t\t\t}).catch(() => {}).finally(() => {\n\t\t\t\t\tthis.loading = false\n\t\t\t\t})\n\t\t\t},\n\n\t\t\t// 重置\n\t\t\treset(formName) {\n\t\t\t\tthis.$refs[formName].resetFields();\n\t\t\t\tthis.daterange = [new Date(new Date().getTime() - 1296000000), new Date(new Date() - 86400000)]\n\t\t\t\tthis.typeArr = [\"1\", \"2\"]\n\t\t\t\tthis.getDataList()\n\t\t\t},\n\t\t\tobjectSpanMethod({\n\t\t\t\trow,\n\t\t\t\tcolumn,\n\t\t\t\trowIndex,\n\t\t\t\tcolumnIndex\n\t\t\t}) {\n\t\t\t\tif (columnIndex === 0) {\n\t\t\t\t\treturn this.ret(row, 'firstSpan')\n\t\t\t\t} else if (columnIndex === 1) {\n\t\t\t\t\treturn this.ret(row, 'secondSpan')\n\t\t\t\t} else if (columnIndex === 2) {\n\t\t\t\t\treturn this.ret(row, 'thirdSpan')\n\t\t\t\t}\n\t\t\t},\n\t\t\tret(row, obj) {\n\t\t\t\tif (row && row[obj] != 0) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\trowspan: row[obj],\n\t\t\t\t\t\tcolspan: 1\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\treturn {\n\t\t\t\t\t\trowspan: 0,\n\t\t\t\t\t\tcolspan: 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</script>\n<style lang=\"scss\" scoped>\n\t.not-in-or-out {\n\t\t.squareContent {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\n\t\t\t.divSquare {\n\t\t\t\tmargin: 8px;\n\t\t\t\twidth: 10px;\n\t\t\t\theight: 10px;\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t}\n\t}\n</style>\n"],"sourceRoot":"src/views/modules/dataAnalysis"}]}