{"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\\dormitoryManage\\goout3.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dormitoryManage\\goout3.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//\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//\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 dormitoryTree from '../../../components/public/dormitory-tree'\n export default {\n components:{dormitoryTree},\n data(){\n return{\n type:'',\n //树形 传参\n treeValue:{\n df_floorid:'',\n df_type:'',\n },\n //搜索\n formSearch: {\n scStuname: '',\n scNo: '',\n scType:''\n },\n options: [{\n value: '0',\n label: '未归寝'\n }, {\n value: '1',\n label: '已归寝'\n }],\n picArr:[],\n backNum:0,\n outNum:0,\n totalNum:0,\n currentTime:\"\",\n testList:[\n {\n type:1,\n roomList:[\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1001,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:1002,\n total:2,\n num:1, \n stuList:[\n {\n room:1001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:1002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n ], \n },\n {\n type:2,\n roomList:[\n {\n drNum:2001,\n total:2,\n num:1, \n stuList:[\n {\n room:2001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:2002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:2002,\n total:2,\n num:1, \n stuList:[\n {\n room:2001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:2002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n }\n ], \n },\n {\n type:3,\n roomList:[\n {\n drNum:3001,\n total:2,\n num:1, \n stuList:[\n {\n room:3001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:3002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n },\n {\n drNum:3002,\n total:2,\n num:1, \n stuList:[\n {\n room:3001,\n name:'老王',\n type:'未归寝'\n },\n {\n room:3002,\n name:'老王2',\n type:'已归寝'\n },\n ]\n }\n ], \n }, \n ]\n }\n },\n watch: {\n '$store.state.user.valGoout': {\n handler(val){\n if(val){\n this.dataFun(val);\n }\n },\n deep:true,\n //immediate:true\n },\n },\n activated(){\n this.initTime()\n },\n mounted(){\n },\n methods:{\n //当前年月日\n initTime(){\n this.currentTime=new Date().toLocaleString('zh',{hour12:false})\n },\n //左边 树形控件 回调函数\n treeFun(val){\n this.treeValue=val;\n this.dataFun(this.treeValue)\n },\n //分页 数据\n dataFun(val){\n let params={\n floorId:val.df_floorid,\n type:val.df_type,\n scNo:this.formSearch.scNo,\n scStuname:this.formSearch.scStuname,\n }\n this.$http.get('/system/scdormitoryperson/getRoomCheckInInfo',{params})\n .then(({data:res})=>{\n if(res.code !=0){\n return this.$message.error(res.msg)\n }\n let {backNum,outNum}=res.data\n this.totalNum=Number(backNum)+Number(outNum);\n this.backNum=backNum;\n this.outNum=outNum;\n this.picArr=res.data.data.map(item=>{\n return{\n ...item,\n backNum:0,\n outNum:0,\n }\n })\n this.picArr.map(item=>{\n item.backNum=0\n item.outNum=0\n if(item.dormitorypersonDTOS.length>0){\n item.dormitorypersonDTOS.map(v=>{ \n v.isOut == 1 ?item.outNum++:item.backNum++ \n }) \n }\n }) \n })\n },\n //查询\n onSubmit(){\n if(!this.$store.state.user.val){\n return this.$message.info('请选择宿舍在查询')\n }\n if(!this.treeValue){\n this.dataFun(this.treeValue)\n }else{\n this.dataFun(this.$store.state.user.val)\n } \n },\n //重置\n clickReset(){\n this.formSearch.scStuname=''\n this.formSearch.scNo=''\n this.formSearch.scType=''\n this.onSubmit()\n },\n },\n }\n",{"version":3,"sources":["goout3.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJA;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;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;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;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;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;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;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;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;AACA;AACA;AACA;AACA","file":"goout3.vue","sourceRoot":"src/views/modules/dormitoryManage","sourcesContent":["\n\n\n\n"]}]}