1 line
53 KiB
JSON
1 line
53 KiB
JSON
{"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\\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":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\nimport \"core-js/modules/es6.number.constructor\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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\";\nexport default {\n components: {\n dormitoryTree: dormitoryTree\n },\n data: function 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 type: 1,\n roomList: [{\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1001,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 1002,\n total: 2,\n num: 1,\n stuList: [{\n room: 1001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 1002,\n name: '老王2',\n type: '已归寝'\n }]\n }]\n }, {\n type: 2,\n roomList: [{\n drNum: 2001,\n total: 2,\n num: 1,\n stuList: [{\n room: 2001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 2002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 2002,\n total: 2,\n num: 1,\n stuList: [{\n room: 2001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 2002,\n name: '老王2',\n type: '已归寝'\n }]\n }]\n }, {\n type: 3,\n roomList: [{\n drNum: 3001,\n total: 2,\n num: 1,\n stuList: [{\n room: 3001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 3002,\n name: '老王2',\n type: '已归寝'\n }]\n }, {\n drNum: 3002,\n total: 2,\n num: 1,\n stuList: [{\n room: 3001,\n name: '老王',\n type: '未归寝'\n }, {\n room: 3002,\n name: '老王2',\n type: '已归寝'\n }]\n }]\n }]\n };\n },\n watch: {\n '$store.state.user.valGoout': {\n handler: function handler(val) {\n if (val) {\n this.dataFun(val);\n }\n },\n deep: true //immediate:true\n\n }\n },\n activated: function activated() {\n this.initTime();\n },\n mounted: function mounted() {},\n methods: {\n //当前年月日\n initTime: function initTime() {\n this.currentTime = new Date().toLocaleString('zh', {\n hour12: false\n });\n },\n //左边 树形控件 回调函数\n treeFun: function treeFun(val) {\n this.treeValue = val;\n this.dataFun(this.treeValue);\n },\n //分页 数据\n dataFun: function dataFun(val) {\n var _this = this;\n\n var 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', {\n params: params\n }).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code != 0) {\n return _this.$message.error(res.msg);\n }\n\n var _res$data = res.data,\n backNum = _res$data.backNum,\n outNum = _res$data.outNum;\n _this.totalNum = Number(backNum) + Number(outNum);\n _this.backNum = backNum;\n _this.outNum = outNum;\n _this.picArr = res.data.data.map(function (item) {\n return _objectSpread({}, item, {\n backNum: 0,\n outNum: 0\n });\n });\n\n _this.picArr.map(function (item) {\n item.backNum = 0;\n item.outNum = 0;\n\n if (item.dormitorypersonDTOS.length > 0) {\n item.dormitorypersonDTOS.map(function (v) {\n v.isOut == 1 ? item.outNum++ : item.backNum++;\n });\n }\n });\n });\n },\n //查询\n onSubmit: function onSubmit() {\n if (!this.$store.state.user.val) {\n return this.$message.info('请选择宿舍在查询');\n }\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: function clickReset() {\n this.formSearch.scStuname = '';\n this.formSearch.scNo = '';\n this.formSearch.scType = '';\n this.onSubmit();\n }\n }\n};",{"version":3,"sources":["goout3.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACA,IAAA,UAzDA,wBAyDA;AACA,WAAA,UAAA,CAAA,SAAA,GAAA,EAAA;AACA,WAAA,UAAA,CAAA,IAAA,GAAA,EAAA;AACA,WAAA,UAAA,CAAA,MAAA,GAAA,EAAA;AACA,WAAA,QAAA;AACA;AA9DA;AAnZA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <el-row :gutter=\"20\">\n <el-col :span=\"6\">\n <div class=\"left\">\n <dormitory-tree ref=\"dormitoryTree\" type='goout' @treeFun=\"treeFun\"></dormitory-tree>\n </div>\n </el-col>\n <el-col :span=\"18\">\n <div class=\"right\">\n <!-- <div class=\"top\">\n <el-row :gutter=\"20\" class=\"statistics\">\n <el-col :span=\"6\">\n <el-card shadow=\"always\" class=\"aui-card--fill\">\n <div>\n <p>信息统计时间</p>\n <p>{{currentTime}}</p>\n </div>\n </el-card>\n </el-col>\n <el-col :span=\"6\">\n <el-card shadow=\"always\" >\n <div>\n <p>入住总人数</p>\n <p>{{totalNum}}</p>\n </div>\n </el-card>\n </el-col>\n <el-col :span=\"6\">\n <el-card shadow=\"always\" >\n <div>\n <p>宿舍内人数</p>\n <p>{{backNum}}</p>\n </div>\n </el-card>\n </el-col>\n <el-col :span=\"6\">\n <el-card shadow=\"always\" >\n <div>\n <p>宿舍外人数</p>\n <p>{{outNum}}</p>\n </div>\n </el-card>\n </el-col>\n </el-row>\n </div> -->\n <div class=\"roomContent\">\n <el-form :inline=\"true\" :model=\"formSearch\" class=\"demo-form-inline\">\n <el-form-item label=\"姓名:\">\n <el-input v-model=\"formSearch.scStuname\" placeholder=\"请输入\"></el-input>\n </el-form-item>\n <el-form-item label=\"学号:\">\n <el-input v-model=\"formSearch.scNo\" placeholder=\"请输入\"></el-input>\n </el-form-item>\n <el-form-item label=\"状态:\">\n <el-select v-model=\"formSearch.scType\" placeholder=\"请选择\">\n <el-option\n v-for=\"item in options\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"onSubmit\">查询</el-button>\n <el-button type=\"warning\" @click=\"clickReset\">重置</el-button>\n </el-form-item>\n </el-form>\n <div v-if=\"picArr.length=='0'\" class=\"zanwu\"><h1>暂无数据</h1></div>\n <div v-else class=\"roomBox\"> \n <div class=\"floorBox\" v-for=\"(item,key) in testList\" :key=\"key\">\n <div class=\"floorIndex\">\n {{item.type}}<br>楼\n </div>\n <div class=\"floorRoom\">\n <div class=\"rooms\" v-for=\"(i,id) in item.roomList\" :key=\"id\">\n <div>{{i.drNum}}</div>\n <div>应到:{{i.total}}</div>\n <div>实到:{{i.num}}</div>\n </div>\n \n </div>\n \n </div> \n <!-- <div class=\"room\" v-for=\"(item,key) in picArr\" :key=\"key\"> \n <el-tooltip v-if=\"item.dormitorypersonDTOS.length!='0'\" class=\"item\" placement=\"right\" effect=\"light\">\n <div slot=\"content\">\n <div class=\"picCon\" v-for='(i,ids) in item.dormitorypersonDTOS' :key=\"ids\">\n <el-image style=\"width:80px;height:80px;margin:10px 20px 10px 0px;\" :src=\"$ImgServerUrl+i.scPhotoimg\" fit='fill'>\n <div slot=\"error\" class=\"image-slot\">\n <img class=\"student-img\" src=\"../../../assets/img/person.jpg\">\n </div>\n </el-image>\n <p class=\"name\">{{i.scStuname}}</p>\n <p class=\"wgq\" v-if=\"i.isOut == '1'\">未归寝</p>\n <p class=\"ygq\" v-else-if=\"i.isOut == '0'\">已归寝</p>\n </div> \n </div> \n <div class=\"content\">\n <div class=\"title\">{{item.drNum}}</div>\n <div>宿舍内:{{item.backNum}}</div>\n <div style=\"cursor: pointer;\">宿舍外:{{item.outNum}}</div>\n </div>\n </el-tooltip>\n <div v-else-if=\"item.dormitorypersonDTOS.length =='0'\">\n <div class=\"content\">\n <div class=\"title\">{{item.drNum}}</div>\n <div>宿舍内:{{item.backNum}}</div>\n <div style=\"cursor: pointer;\">宿舍外:{{item.outNum}}</div>\n </div>\n </div>\n </div> --> \n </div>\n <div class=\"total\">\n <div class=\"title\">统计</div>\n <el-row :gutter=\"20\" class=\"statistics\">\n <el-col :span=\"6\">\n <el-card shadow=\"always\" class=\"aui-card--fill one\">\n <p>{{currentTime}}</p>\n <p>信息统计时间</p>\n </el-card>\n </el-col>\n <el-col :span=\"6\">\n <el-card shadow=\"always\" class=\"two\">\n <p class=\"num\">{{totalNum}}</p>\n <p>入住总人数</p>\n </el-card>\n </el-col>\n <el-col :span=\"6\">\n <el-card shadow=\"always\" class=\"three\">\n <p class=\"num\">{{backNum}}</p>\n <p>应到</p>\n </el-card>\n </el-col>\n <el-col :span=\"6\">\n <el-card shadow=\"always\" class=\"four\">\n <p class=\"num\">{{outNum}}</p>\n <p>实到</p>\n </el-card>\n </el-col>\n </el-row> \n </div>\n </div>\n </div>\n </el-col>\n </el-row>\n\n </el-card>\n</template>\n\n<script>\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</script>\n\n<style lang=\"scss\" scoped>\n@mixin box-style{\n color: #fff;\n border-radius: 6px; \n position: relative;\n // background: rgba(20, 30, 40, 0.8);\n // box-shadow: 0px 0px 55px rgba($color: #00BFFF, $alpha: 0.5) inset;\n // border: 2px solid rgba($color: #00BFFF, $alpha: 0.5); \n}\n@mixin title-style{\n width: 40px;\n color: #fff;\n font-size: 20px;\n background-color: #1890FF;\n text-align: center;\n padding: 3px;\n margin-right: 20px;\n}\n.left{\n /deep/ .el-tree{\n height: 710px;\n padding-right: 10px;\n overflow-y: auto;\n }\n}\n\n.right{\n height: calc(100vh - 30px - 50px - 150px);\n .top{\n margin-bottom: 20px;\n .el-card {\n background: transparent;\n border-color: transparent;\n background-color: transparent;\n @include box-style; \n div{\n font-size: 20px;\n text-align: center;\n }\n }\n }\n .roomContent{\n .roomBox{\n display: flex;\n flex-wrap: wrap;\n height: 570px;\n overflow-y: auto;\n .room{\n width: 120px;\n height: 120px;\n padding: 20px;\n margin: 0px 52px 35px 0px;\n cursor: pointer;\n @include box-style;\n // &:nth-child(7n){\n // margin-right: 0px;\n // }\n .content{\n cursor: pointer; \n .title{\n margin-top: 0px;\n color:#00BFFF;\n } \n div{\n margin-bottom: 10px;\n }\n } \n } \n .floorBox{\n width: 1200px;\n height: 180px;\n display: flex;\n .floorIndex{\n height: 100%;\n line-height: 90px;\n @include title-style;\n }\n .floorRoom{\n width: 100%;\n height: 180px;\n display: flex;\n flex-wrap: wrap;\n .rooms{\n width: 80px;\n height: 80px;\n margin-right: 26px;\n background-color: #fff;\n box-shadow: 2px 2px 2px #9b9090;\n border-radius: 2px;\n }\n }\n } \n }\n .total{\n z-index: 9;\n display: flex;\n .title{\n height: 100px;\n line-height: 46px;\n @include title-style;\n }\n .el-card {\n background: transparent;\n border-color: transparent;\n background-color: transparent;\n width: 220px;\n height: 100px;\n @include box-style; \n .num{\n font-size: 30px;\n margin: 0px 0px;\n }\n }\n .one{\n background-color: #FFBB48;\n }\n .two{\n background-color: #57CD60;\n }\n .three{\n background-color:#7189FF;\n }\n .four{\n background-color:#DAA2FE;\n }\n }\n .zanwu{\n color: #fff;\n text-align: center;\n }\n \n \n }\n /* 滚动条 */\n .roomBox::-webkit-scrollbar-track{\n -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.3);\n border-radius: 15px;\n background-color: rgba(255,255,255,0.8);\n }\n .roomBox::-webkit-scrollbar{\n width: 5px;\n background-color: rgba(179, 174, 174, 0);\n }\n .roomBox::-webkit-scrollbar-thumb{\n border-radius: 15px;\n -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,.3);\n background-color: #555;\n }\n}\n.el-tooltip__popper {\n .picCon{\n display: flex;\n .name{\n display: inline-block;\n font-size: 16px;\n line-height: 70px;\n }\n .wgq{\n color:red;\n font-size:16px;\n margin:40px 20px 0px 20px;\n }\n .ygq{\n color:green;\n font-size:16px;\n margin:40px 20px 0px 20px;\n }\n }\n}\n</style>"],"sourceRoot":"src/views/modules/dormitoryManage"}]} |