1 line
5.1 KiB
JSON
1 line
5.1 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-room-detailed.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\statisticalReport\\dormitory-room-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\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/dormitoryRoomStatistics',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t\texportURL:\"/system/reportForm/findCountRoomExport\",\n\t\t\t},\n\t\t\tlimit: 10,\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\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 = 10\n\t\t\tthis.query()\n\t\t}\n\t}\n}\n",{"version":3,"sources":["dormitory-room-detailed.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA;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-room-detailed.vue","sourceRoot":"src/views/modules/statisticalReport","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill dormitory-room-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=\"序号\" align=\"center\" width=\"60\"></el-table-column>\n\t\t\t<el-table-column prop=\"drNum\" label=\"宿舍号\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"number\" label=\"未归寝次数\" align=\"center\"></el-table-column>\n\t\t</el-table>\n\t\t<el-pagination :current-page=\"page\" :page-sizes=\"[10, 20, 50, 100]\" :page-size=\"limit\" :total=\"total\" layout=\"total, sizes, prev, pager, next, jumper\"\n\t\t @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\">\n\t\t</el-pagination>\n\t</el-card>\n</template>\n\n<script>\n\timport mixinViewModule from '@/mixins/view-module'\n\texport default {\n\t\tmixins: [mixinViewModule],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmixinViewModuleOptions: {\n\t\t\t\t\tgetDataListURL: '/system/reportForm/dormitoryRoomStatistics',\n\t\t\t\t\tgetDataListIsPage: true,\n\t\t\t\t\texportURL:\"/system/reportForm/findCountRoomExport\",\n\t\t\t\t},\n\t\t\t\tlimit: 10,\n\t\t\t\tdaterange: null,\n\t\t\t\tdataForm: {\n\t\t\t\t\tstartDate: '',\n\t\t\t\t\tendDate: '',\n\t\t\t\t},\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\tmethods: {\n\t\t\treset(formName) {\n\t\t\t\tthis.$refs[formName].resetFields();\n\t\t\t\tif (this.daterange) {\n\t\t\t\t\tthis.daterange = null\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\tthis.page = 1\n\t\t\t\tthis.limit = 10\n\t\t\t\tthis.query()\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n"]}]} |