forked from zhurui/management
1 line
17 KiB
JSON
1 line
17 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\\dormitoryManage\\goout2.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dormitoryManage\\goout2.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\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 },\n picArr:[],\n backNum:0,\n outNum:0,\n totalNum:0,\n currentTime:\"\",\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.is
|