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

1 line
19 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\\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,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,SAAA,GAAA,CAAA,IAAA,IAAA,CAAA,IAAA,IAAA,GAAA,OAAA,KAAA,UAAA,CAAA,EAAA,IAAA,IAAA,CAAA,IAAA,IAAA,KAAA,QAAA,CAAA,CAAA;AACA,WAAA,OAAA,GAAA,CAAA,GAAA,EAAA,GAAA,CAAA;AACA,WAAA,WAAA;AACA,KArDA;AAsDA,IAAA,gBAtDA,mCA2DA;AAAA,UAJA,GAIA,SAJA,GAIA;AAAA,UAHA,MAGA,SAHA,MAGA;AAAA,UAFA,QAEA,SAFA,QAEA;AAAA,UADA,WACA,SADA,WACA;;AACA,UAAA,WAAA,KAAA,CAAA,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,KAnEA;AAoEA,IAAA,GApEA,eAoEA,GApEA,EAoEA,GApEA,EAoEA;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;AAhFA;AA9DA,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 == 4\">UWB</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"times\" align=\"center\" label=\"异常次数\" width=\"180\">\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=\"toolComputed(item,scope.row.dataAnalysisInfoDTOList) ? toolComputed(item,scope.row.dataAnalysisInfoDTOList) : item\"\n\t\t\t\t\t\t placement=\"top-start\" :key=\"index\">\n\t\t\t\t\t\t\t<div class=\"divSquare\" :style=\"{backgroundColor:toolComputed(item,scope.row.dataAnalysisInfoDTOList) ? '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: '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\tcomputed: {\n\t\t\ttoolComputed() {\n\t\t\t\treturn function(dateStr, row) {\n\t\t\t\t\tlet str = \"\"\n\t\t\t\t\trow.forEach(item => {\n\t\t\t\t\t\tif (dateStr === item.createDate) {\n\t\t\t\t\t\t\tstr = `${item.createDate} ${item.num}次`\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\treturn str\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/onlyOutNotIn\")\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/onlyOutNotIn\", {\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.map(item => {\n\t\t\t\t\t\t\titem.times = 0\n\t\t\t\t\t\t\titem.dataAnalysisInfoDTOList.forEach(item1 => {\n\t\t\t\t\t\t\t\titem.times = item.times + item1.num\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\treturn item\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"}]}