forked from zhurui/management
1 line
7.2 KiB
JSON
1 line
7.2 KiB
JSON
|
{"remainingRequest":"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\\statisticalReport\\dormitory-people-detailed.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\statisticalReport\\dormitory-people-detailed.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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 qs from 'qs'\nimport Cookies from 'js-cookie'\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n\tmixins: [mixinViewModule],\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: '/system/reportForm/dormitoryStatistics',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t},\n\t\t\tlimit: 6,\n\t\t\tdaterange: null,\n\t\t\tdataForm: {\n\t\t\t\tstartDate: '',\n\t\t\t\tendDate: '',\n\t\t\t},\n\t\t}\n\t},\n\twatch: {\n\t\tdaterange(val) {\n\t\t\tif (val) {\n\t\t\t\tthis.dataForm.startDate = val[0];\n\t\t\t\tthis.dataForm.endDate = val[1];\n\t\t\t} else {\n\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\t// 导出\n\t\texportHandle() {\n\t\t\tif (this.dataList.length === 0) {\n\t\t\t\treturn this.$message.info(\"报表暂无数据\")\n\t\t\t}\n\t\t\tvar params = qs.stringify({\n\t\t\t\t'access_token': Cookies.get('access_token'),\n\t\t\t\t...this.dataForm,\n\t\t\t\t...{\n\t\t\t\t\tpage: this.page,\n\t\t\t\t\tlimit: this.limit\n\t\t\t\t}\n\t\t\t})\n\t\t\twindow.location.href = `${window.SITE_CONFIG['apiURL']}/system/reportForm/dormitoryStatisticsExport?${params}`\n\t\t},\n\t\treset(formName) {\n\t\t\tthis.$refs[formName].resetFields();\n\t\t\tif (this.daterange) {\n\t\t\t\tthis.daterange = null\n\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t}\n\t\t\tthis.page = 1\n\t\t\tthis.limit = 6\n\t\t\tthis.query()\n\t\t}\n\t}\n}\n",{"version":3,"sources":["dormitory-people-detailed.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"dormitory-people-detailed.vue","sourceRoot":"src/views/modules/statisticalReport","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill dormitory-people-detailed\">\n\t\t<el-form inline :model=\"dataForm\" ref=\"ruleForm\" @keyup.enter.native=\"getDataList\">\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=\"结束日期\">\n\t\t\t\t</el-date-picker>\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\t<el-button type=\"success\" @click=\"exportHandle()\">导出</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table :data=\"dataList\" style=\"width: 100%;\" border>\n\t\t\t<el-table-column type=\"index\" label=\"序号
|