1 line
66 KiB
JSON
1 line
66 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js??vue-loader-options!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\\room.vue?vue&type=template&id=24505702&scoped=true&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\dormitoryManage\\room.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\\vue-loader\\lib\\loaders\\templateLoader.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":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"el-card\",\n { staticClass: \"aui-card--fill\", attrs: { shadow: \"never\" } },\n [\n _c(\n \"div\",\n { staticClass: \"roomBox\" },\n [\n _c(\"div\", { staticClass: \"top\" }, [\n _c(\n \"div\",\n { staticClass: \"topRoom\" },\n _vm._l(_vm.topArr, function(item, key) {\n return _c(\"div\", { key: key, staticClass: \"box\" }, [\n _c(\n \"div\",\n {\n class:\n item.dormitorypersonDTOS.length > 1 ? \"drNum\" : \"drNums\"\n },\n [_vm._v(_vm._s(item.drNum))]\n ),\n item.dormitorypersonDTOS.length > 0\n ? _c(\n \"div\",\n { staticClass: \"imgs\" },\n [\n _vm._l(item.dormitorypersonDTOS, function(i, k) {\n return _c(\n \"div\",\n { key: k, staticClass: \"imgg\" },\n [\n _c(\n \"el-tooltip\",\n {\n staticClass: \"item\",\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\"div\", [\n _c(\"div\", [\n _vm._v(\n \"姓名:\" + _vm._s(i.scStuname)\n )\n ]),\n _c(\"div\", [\n _vm._v(\"学号:\" + _vm._s(i.scNo))\n ]),\n _c(\"div\", [\n _vm._v(\n \"联系电话:\" +\n _vm._s(i.scPhonenum)\n )\n ])\n ])\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"content\" },\n [\n _c(\n \"el-image\",\n {\n attrs: {\n src:\n _vm.$ImgServerUrl +\n i.scPhotoimg,\n fit: \"fill\"\n }\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"image-slot\",\n attrs: { slot: \"error\" },\n slot: \"error\"\n },\n [\n _c(\"img\", {\n staticClass: \"student-img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\")\n }\n })\n ]\n )\n ]\n ),\n i.isOut == \"1\"\n ? _c(\"div\", { staticClass: \"out\" }, [\n _c(\"span\", [_vm._v(\"未归寝\")])\n ])\n : i.isOut == \"-1\"\n ? _c(\"div\", { staticClass: \"dont\" }, [\n _c(\"span\", [_vm._v(\"未入住\")])\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"name\" }, [\n _vm._v(_vm._s(i.scStuname))\n ])\n ],\n 1\n )\n ]\n )\n ],\n 1\n )\n }),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: item.dormitorypersonDTOS.length == 1,\n expression:\n \"item.dormitorypersonDTOS.length == 1\"\n }\n ],\n staticClass: \"con_pic\"\n },\n [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [\n _vm._v(\"暂无人住\")\n ])\n ]\n )\n ],\n 2\n )\n : _c(\"div\", { staticClass: \"imgs\" }, [\n _c(\"div\", { staticClass: \"con_pic\" }, [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [_vm._v(\"暂无人住\")])\n ]),\n _c(\"div\", { staticClass: \"con_pic\" }, [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [_vm._v(\"暂无人住\")])\n ])\n ]),\n _c(\n \"div\",\n { staticClass: \"operation\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"fp\",\n on: {\n click: function($event) {\n return _vm.modifyAllocation(\"two\", item)\n }\n }\n },\n [\n _vm.$hasPermission(\n \"system:scdormitoryperson:save\" ||\n \"system:scdormitoryperson:update\"\n )\n ? _c(\"img\", {\n attrs: {\n src: require(\"../../../assets/img/room/fp.png\"),\n alt: \"\"\n }\n })\n : _vm._e()\n ]\n ),\n _c(\n \"el-popover\",\n {\n attrs: { placement: \"right\", width: \"350\" },\n model: {\n value: item.visible,\n callback: function($$v) {\n _vm.$set(item, \"visible\", $$v)\n },\n expression: \"item.visible\"\n }\n },\n [\n _c(\n \"el-checkbox-group\",\n {\n model: {\n value: _vm.checkList,\n callback: function($$v) {\n _vm.checkList = $$v\n },\n expression: \"checkList\"\n }\n },\n _vm._l(item.dormitorypersonDTOS, function(v) {\n return _c(\n \"el-checkbox\",\n {\n key: v.dpId,\n staticClass: \"bbox\",\n staticStyle: { \"font-size\": \"20px\" },\n attrs: { label: v.scStuname, size: \"medium\" }\n },\n [\n _c(\n \"span\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n width: \"100px\",\n \"margin-right\": \"10px\",\n display: \"inline-block\"\n }\n },\n [_vm._v(_vm._s(v.scStuname))]\n ),\n _c(\n \"span\",\n { staticStyle: { \"font-size\": \"20px\" } },\n [_vm._v(_vm._s(v.scNo))]\n )\n ]\n )\n }),\n 1\n ),\n _c(\n \"div\",\n { staticStyle: { \"margin-left\": \"100px\" } },\n [\n _c(\n \"el-button\",\n {\n staticStyle: { \"font-size\": \"20px\" },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n item.visible = false\n }\n }\n },\n [_vm._v(\"取消\")]\n ),\n _c(\n \"el-button\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n \"margin-left\": \"15px\"\n },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n return _vm.clickDel(_vm.checkList, item)\n }\n }\n },\n [_vm._v(\"确定\")]\n )\n ],\n 1\n ),\n _vm.$hasPermission(\"system:scdormitoryperson:delete\")\n ? _c(\"el-button\", {\n staticStyle: {\n fontSize: \"20px\",\n \"padding-top\": \"0px\",\n color: \"#fff\"\n },\n attrs: {\n slot: \"reference\",\n type: \"text\",\n icon: \"el-icon-delete\",\n disabled:\n item.dormitorypersonDTOS &&\n item.dormitorypersonDTOS.length > 0\n ? false\n : true\n },\n on: { click: _vm.clickCheck },\n slot: \"reference\"\n })\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n ])\n }),\n 0\n )\n ]),\n _c(\"div\", { staticClass: \"center\" }, [\n _c(\n \"div\",\n { staticClass: \"lRoom\" },\n _vm._l(_vm.leftArr, function(item, key) {\n return _c(\"div\", { key: key, staticClass: \"box\" }, [\n _c(\n \"div\",\n {\n class:\n item.dormitorypersonDTOS.length == 0\n ? \"drNums\"\n : \"drNum\"\n },\n [_vm._v(_vm._s(item.drNum))]\n ),\n item.dormitorypersonDTOS.length > 0\n ? _c(\n \"div\",\n { staticClass: \"imgs\" },\n _vm._l(item.dormitorypersonDTOS, function(i, k) {\n return _c(\n \"div\",\n { key: k, staticClass: \"imgg\" },\n [\n _c(\n \"el-tooltip\",\n {\n staticClass: \"item\",\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\"div\", [\n _c(\"div\", [\n _vm._v(\"姓名:\" + _vm._s(i.scStuname))\n ]),\n _c(\"div\", [\n _vm._v(\"学号:\" + _vm._s(i.scNo))\n ]),\n _c(\"div\", [\n _vm._v(\n \"联系电话:\" + _vm._s(i.scPhonenum)\n )\n ])\n ])\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"content\" },\n [\n _c(\n \"el-image\",\n {\n attrs: {\n src:\n _vm.$ImgServerUrl + i.scPhotoimg,\n fit: \"fill\"\n }\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"image-slot\",\n attrs: { slot: \"error\" },\n slot: \"error\"\n },\n [\n _c(\"img\", {\n staticClass: \"student-img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\")\n }\n })\n ]\n )\n ]\n ),\n i.isOut == \"1\"\n ? _c(\"div\", { staticClass: \"out\" }, [\n _c(\"span\", [_vm._v(\"未归寝\")])\n ])\n : i.isOut == \"-1\"\n ? _c(\"div\", { staticClass: \"dont\" }, [\n _c(\"span\", [_vm._v(\"未入住\")])\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"name\" }, [\n _vm._v(_vm._s(i.scStuname))\n ])\n ],\n 1\n )\n ]\n )\n ],\n 1\n )\n }),\n 0\n )\n : _c(\"div\", { staticClass: \"imgs\" }, [\n _c(\"div\", { staticClass: \"con_pic\" }, [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [\n _c(\"div\", [_vm._v(\"暂无人住\")])\n ])\n ])\n ]),\n _c(\n \"div\",\n { staticClass: \"operation\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"fp\",\n on: {\n click: function($event) {\n return _vm.modifyAllocation(\"one\", item)\n }\n }\n },\n [\n _vm.$hasPermission(\n \"system:scdormitoryperson:save\" ||\n \"system:scdormitoryperson:update\"\n )\n ? _c(\"img\", {\n attrs: {\n src: require(\"../../../assets/img/room/fp.png\"),\n alt: \"\"\n }\n })\n : _vm._e()\n ]\n ),\n _c(\n \"el-popover\",\n {\n attrs: { placement: \"right\", width: \"300\" },\n model: {\n value: item.visible,\n callback: function($$v) {\n _vm.$set(item, \"visible\", $$v)\n },\n expression: \"item.visible\"\n }\n },\n [\n _c(\n \"el-checkbox-group\",\n {\n model: {\n value: _vm.checkList,\n callback: function($$v) {\n _vm.checkList = $$v\n },\n expression: \"checkList\"\n }\n },\n _vm._l(item.dormitorypersonDTOS, function(v, key) {\n return _c(\n \"el-checkbox\",\n { key: v.dpId, attrs: { label: v.scStuname } },\n [\n _c(\n \"span\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n width: \"100px\",\n \"margin-right\": \"10px\",\n display: \"inline-block\"\n }\n },\n [_vm._v(_vm._s(v.scStuname))]\n ),\n _c(\n \"span\",\n { staticStyle: { \"font-size\": \"20px\" } },\n [_vm._v(_vm._s(v.scNo))]\n )\n ]\n )\n }),\n 1\n ),\n _c(\n \"div\",\n { staticStyle: { \"margin-left\": \"50px\" } },\n [\n _c(\n \"el-button\",\n {\n staticStyle: { \"font-size\": \"20px\" },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n item.visible = false\n }\n }\n },\n [_vm._v(\"取消\")]\n ),\n _c(\n \"el-button\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n \"margin-left\": \"15px\"\n },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n return _vm.clickDel(_vm.checkList, item)\n }\n }\n },\n [_vm._v(\"确定\")]\n )\n ],\n 1\n ),\n _vm.$hasPermission(\"system:scdormitoryperson:delete\")\n ? _c(\"el-button\", {\n staticStyle: {\n fontSize: \"20px\",\n \"padding-top\": \"0px\",\n color: \"#fff\"\n },\n attrs: {\n slot: \"reference\",\n type: \"text\",\n icon: \"el-icon-delete\",\n disabled:\n item.dormitorypersonDTOS &&\n item.dormitorypersonDTOS.length > 0\n ? false\n : true\n },\n on: { click: _vm.clickCheck },\n slot: \"reference\"\n })\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n ])\n }),\n 0\n ),\n _c(\"div\", { staticClass: \"content\" }, [\n _c(\n \"div\",\n { staticClass: \"left\" },\n _vm._l(_vm.dataList, function(item, key) {\n return _c(\n \"div\",\n {\n key: key,\n staticClass: \"floor\",\n style: {\n marginLeft: item.ml + \"px\",\n backgroundColor:\n _vm.checkFloor == item.df_floorid\n ? \"#73C060\"\n : \"#C6C7CB\",\n color:\n _vm.checkFloor == item.df_floorid ? \"#fff\" : \"#000\"\n },\n on: {\n click: function($event) {\n return _vm.clickFloor(item)\n }\n }\n },\n [_vm._v(_vm._s(item.df_floorname))]\n )\n }),\n 0\n ),\n _c(\"div\", { staticClass: \"right\" }, [\n _c(\n \"div\",\n { staticClass: \"btn\" },\n [\n _vm.$hasPermission(\"system:scdormitoryperson:import\")\n ? _c(\n \"el-button\",\n {\n attrs: { type: \"success\" },\n on: {\n click: function($event) {\n return _vm.importHandle()\n }\n }\n },\n [_vm._v(\"导入\")]\n )\n : _vm._e(),\n _c(\n \"el-button\",\n {\n attrs: { type: \"success\" },\n on: {\n click: function($event) {\n return _vm.exportHandle()\n }\n }\n },\n [_vm._v(\"导出\")]\n )\n ],\n 1\n ),\n _c(\"h1\", [_vm._v(\"宿舍楼 \" + _vm._s(_vm.floorF))]),\n _c(\"div\", [\n _c(\"span\", { staticClass: \"yd\" }, [\n _vm._v(\"应到:\" + _vm._s(_vm.backNum) + \"人\")\n ]),\n _c(\"span\", { staticClass: \"yd\" }, [\n _vm._v(\"实到:\" + _vm._s(_vm.outNum) + \"人\")\n ]),\n _c(\"span\", { staticStyle: { color: \"red\" } }, [\n _vm._v(\"未到:\" + _vm._s(_vm.backNum - _vm.outNum) + \"人\")\n ])\n ])\n ])\n ]),\n _c(\n \"div\",\n { staticClass: \"rRoom\" },\n _vm._l(_vm.rightArr, function(item, key) {\n return _c(\"div\", { key: key, staticClass: \"box\" }, [\n _c(\n \"div\",\n {\n class:\n item.dormitorypersonDTOS.length == 0\n ? \"drNums\"\n : \"drNum\"\n },\n [_vm._v(_vm._s(item.drNum))]\n ),\n item.dormitorypersonDTOS.length > 0\n ? _c(\n \"div\",\n { staticClass: \"imgs\" },\n _vm._l(item.dormitorypersonDTOS, function(i, k) {\n return _c(\n \"div\",\n { key: k, staticClass: \"imgg\" },\n [\n _c(\n \"el-tooltip\",\n {\n staticClass: \"item\",\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\"div\", [\n _c(\"div\", [\n _vm._v(\"姓名:\" + _vm._s(i.scStuname))\n ]),\n _c(\"div\", [\n _vm._v(\"学号:\" + _vm._s(i.scNo))\n ]),\n _c(\"div\", [\n _vm._v(\n \"联系电话:\" + _vm._s(i.scPhonenum)\n )\n ])\n ])\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"content\" },\n [\n _c(\n \"el-image\",\n {\n attrs: {\n src:\n _vm.$ImgServerUrl + i.scPhotoimg,\n fit: \"fill\"\n }\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"image-slot\",\n attrs: { slot: \"error\" },\n slot: \"error\"\n },\n [\n _c(\"img\", {\n staticClass: \"student-img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\")\n }\n })\n ]\n )\n ]\n ),\n i.isOut == \"1\"\n ? _c(\"div\", { staticClass: \"out\" }, [\n _c(\"span\", [_vm._v(\"未归寝\")])\n ])\n : i.isOut == \"-1\"\n ? _c(\"div\", { staticClass: \"dont\" }, [\n _c(\"span\", [_vm._v(\"未入住\")])\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"name\" }, [\n _vm._v(_vm._s(i.scStuname))\n ])\n ],\n 1\n )\n ]\n )\n ],\n 1\n )\n }),\n 0\n )\n : _c(\"div\", { staticClass: \"imgs\" }, [\n _c(\"div\", { staticClass: \"con_pic\" }, [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [\n _c(\"div\", [_vm._v(\"暂无人住\")])\n ])\n ])\n ]),\n _c(\n \"div\",\n { staticClass: \"operation\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"fp\",\n on: {\n click: function($event) {\n return _vm.modifyAllocation(\"one\", item)\n }\n }\n },\n [\n _vm.$hasPermission(\n \"system:scdormitoryperson:save\" ||\n \"system:scdormitoryperson:update\"\n )\n ? _c(\"img\", {\n attrs: {\n src: require(\"../../../assets/img/room/fp.png\"),\n alt: \"\"\n }\n })\n : _vm._e()\n ]\n ),\n _c(\n \"el-popover\",\n {\n staticClass: \"tooltip\",\n attrs: { placement: \"right\", width: \"300\" },\n model: {\n value: item.visible,\n callback: function($$v) {\n _vm.$set(item, \"visible\", $$v)\n },\n expression: \"item.visible\"\n }\n },\n [\n _c(\n \"el-checkbox-group\",\n {\n model: {\n value: _vm.checkList,\n callback: function($$v) {\n _vm.checkList = $$v\n },\n expression: \"checkList\"\n }\n },\n _vm._l(item.dormitorypersonDTOS, function(v, key) {\n return _c(\n \"el-checkbox\",\n { key: v.dpId, attrs: { label: v.scStuname } },\n [\n _c(\n \"span\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n width: \"100px\",\n \"margin-right\": \"10px\",\n display: \"inline-block\"\n }\n },\n [_vm._v(_vm._s(v.scStuname))]\n ),\n _c(\n \"span\",\n { staticStyle: { \"font-size\": \"20px\" } },\n [_vm._v(_vm._s(v.scNo))]\n )\n ]\n )\n }),\n 1\n ),\n _c(\n \"div\",\n { staticStyle: { \"margin-left\": \"50px\" } },\n [\n _c(\n \"el-button\",\n {\n staticStyle: { \"font-size\": \"20px\" },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n item.visible = false\n }\n }\n },\n [_vm._v(\"取消\")]\n ),\n _c(\n \"el-button\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n \"margin-left\": \"15px\"\n },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n return _vm.clickDel(_vm.checkList, item)\n }\n }\n },\n [_vm._v(\"确定\")]\n )\n ],\n 1\n ),\n _vm.$hasPermission(\"system:scdormitoryperson:delete\")\n ? _c(\"el-button\", {\n staticStyle: {\n fontSize: \"20px\",\n \"padding-top\": \"0px\",\n color: \"#fff\"\n },\n attrs: {\n slot: \"reference\",\n type: \"text\",\n icon: \"el-icon-delete\",\n disabled:\n item.dormitorypersonDTOS &&\n item.dormitorypersonDTOS.length > 0\n ? false\n : true\n },\n on: { click: _vm.clickCheck },\n slot: \"reference\"\n })\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n ])\n }),\n 0\n )\n ]),\n _c(\"div\", { staticClass: \"bottom\" }, [\n _c(\n \"div\",\n { staticClass: \"btRoom\" },\n _vm._l(_vm.bottomArr, function(item, key) {\n return _c(\"div\", { key: key, staticClass: \"box\" }, [\n _c(\n \"div\",\n {\n class:\n item.dormitorypersonDTOS.length > 1 ? \"drNum\" : \"drNums\"\n },\n [_vm._v(_vm._s(item.drNum))]\n ),\n item.dormitorypersonDTOS.length > 0\n ? _c(\n \"div\",\n { staticClass: \"imgs\" },\n [\n _vm._l(item.dormitorypersonDTOS, function(i, k) {\n return _c(\n \"div\",\n { key: k, staticClass: \"imgg\" },\n [\n _c(\n \"el-tooltip\",\n {\n staticClass: \"item\",\n attrs: {\n placement: \"bottom\",\n effect: \"light\"\n }\n },\n [\n _c(\n \"div\",\n {\n attrs: { slot: \"content\" },\n slot: \"content\"\n },\n [\n _c(\"div\", [\n _c(\"div\", [\n _vm._v(\n \"姓名:\" + _vm._s(i.scStuname)\n )\n ]),\n _c(\"div\", [\n _vm._v(\"学号:\" + _vm._s(i.scNo))\n ]),\n _c(\"div\", [\n _vm._v(\n \"联系电话:\" +\n _vm._s(i.scPhonenum)\n )\n ])\n ])\n ]\n ),\n _c(\n \"div\",\n { staticClass: \"content\" },\n [\n _c(\n \"el-image\",\n {\n attrs: {\n src:\n _vm.$ImgServerUrl +\n i.scPhotoimg,\n fit: \"fill\"\n }\n },\n [\n _c(\n \"div\",\n {\n staticClass: \"image-slot\",\n attrs: { slot: \"error\" },\n slot: \"error\"\n },\n [\n _c(\"img\", {\n staticClass: \"student-img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\")\n }\n })\n ]\n )\n ]\n ),\n i.isOut == \"1\"\n ? _c(\"div\", { staticClass: \"out\" }, [\n _c(\"span\", [_vm._v(\"未归寝\")])\n ])\n : i.isOut == \"-1\"\n ? _c(\"div\", { staticClass: \"dont\" }, [\n _c(\"span\", [_vm._v(\"未入住\")])\n ])\n : _vm._e(),\n _c(\"div\", { staticClass: \"name\" }, [\n _vm._v(_vm._s(i.scStuname))\n ])\n ],\n 1\n )\n ]\n )\n ],\n 1\n )\n }),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: item.dormitorypersonDTOS.length == 1,\n expression:\n \"item.dormitorypersonDTOS.length == 1\"\n }\n ],\n staticClass: \"con_pic\"\n },\n [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [\n _c(\"div\", [_vm._v(\"暂无人住\")])\n ])\n ]\n )\n ],\n 2\n )\n : _c(\"div\", { staticClass: \"imgs\" }, [\n _c(\"div\", { staticClass: \"con_pic\" }, [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [\n _c(\"div\", [_vm._v(\"暂无人住\")])\n ])\n ]),\n _c(\"div\", { staticClass: \"con_pic\" }, [\n _c(\"img\", {\n staticClass: \"img\",\n attrs: {\n src: require(\"../../../assets/img/person.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"div\", { staticClass: \"no\" }, [\n _c(\"div\", [_vm._v(\"暂无人住\")])\n ])\n ])\n ]),\n _c(\n \"div\",\n { staticClass: \"operation\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"fp\",\n on: {\n click: function($event) {\n return _vm.modifyAllocation(\"two\", item)\n }\n }\n },\n [\n _vm.$hasPermission(\n \"system:scdormitoryperson:save\" ||\n \"system:scdormitoryperson:update\"\n )\n ? _c(\"img\", {\n attrs: {\n src: require(\"../../../assets/img/room/fp.png\"),\n alt: \"\"\n }\n })\n : _vm._e()\n ]\n ),\n _c(\n \"el-popover\",\n {\n attrs: { placement: \"right\", width: \"350\" },\n model: {\n value: item.visible,\n callback: function($$v) {\n _vm.$set(item, \"visible\", $$v)\n },\n expression: \"item.visible\"\n }\n },\n [\n _c(\n \"el-checkbox-group\",\n {\n model: {\n value: _vm.checkList,\n callback: function($$v) {\n _vm.checkList = $$v\n },\n expression: \"checkList\"\n }\n },\n _vm._l(item.dormitorypersonDTOS, function(v, key) {\n return _c(\n \"el-checkbox\",\n { key: v.dpId, attrs: { label: v.scStuname } },\n [\n _c(\n \"span\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n width: \"100px\",\n \"margin-right\": \"10px\",\n display: \"inline-block\"\n }\n },\n [_vm._v(_vm._s(v.scStuname))]\n ),\n _c(\n \"span\",\n { staticStyle: { \"font-size\": \"20px\" } },\n [_vm._v(_vm._s(v.scNo))]\n )\n ]\n )\n }),\n 1\n ),\n _c(\n \"div\",\n { staticStyle: { \"margin-left\": \"100px\" } },\n [\n _c(\n \"el-button\",\n {\n staticStyle: { \"font-size\": \"20px\" },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n item.visible = false\n }\n }\n },\n [_vm._v(\"取消\")]\n ),\n _c(\n \"el-button\",\n {\n staticStyle: {\n \"font-size\": \"20px\",\n \"margin-left\": \"15px\"\n },\n attrs: { type: \"text\" },\n on: {\n click: function($event) {\n return _vm.clickDel(_vm.checkList, item)\n }\n }\n },\n [_vm._v(\"确定\")]\n )\n ],\n 1\n ),\n _vm.$hasPermission(\"system:scdormitoryperson:delete\")\n ? _c(\"el-button\", {\n staticStyle: {\n fontSize: \"20px\",\n \"padding-top\": \"0px\",\n color: \"#fff\"\n },\n attrs: {\n slot: \"reference\",\n type: \"text\",\n icon: \"el-icon-delete\",\n disabled:\n item.dormitorypersonDTOS &&\n item.dormitorypersonDTOS.length > 0\n ? false\n : true\n },\n on: { click: _vm.clickCheck },\n slot: \"reference\"\n })\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n ])\n }),\n 0\n )\n ]),\n _c(\n \"el-dialog\",\n {\n attrs: {\n title: \"分配\",\n visible: _vm.centerDialogVisible,\n width: \"50%\",\n \"close-on-click-modal\": false,\n \"before-close\": _vm.handleClose,\n center: \"\"\n },\n on: {\n \"update:visible\": function($event) {\n _vm.centerDialogVisible = $event\n }\n }\n },\n [\n _c(\n \"el-form\",\n {\n ref: \"formInline\",\n staticClass: \"demo-dynamic\",\n attrs: { model: _vm.formInline, \"label-width\": \"100px\" }\n },\n [\n _c(\n \"el-row\",\n [\n _c(\n \"el-col\",\n {\n staticStyle: { marginLeft: \"110px\" },\n attrs: { span: 10 }\n },\n _vm._l(_vm.formInline.stus, function(item, key) {\n return _c(\n \"el-form-item\",\n {\n key: key.index,\n attrs: { prop: \"scStdid\", label: \"姓名\" }\n },\n [\n _c(\n \"el-select\",\n {\n attrs: {\n filterable: \"\",\n placeholder: \"请选择\"\n },\n on: {\n change: function($event) {\n return _vm.changeName($event, item)\n }\n },\n model: {\n value: item.scStdid,\n callback: function($$v) {\n _vm.$set(item, \"scStdid\", $$v)\n },\n expression: \"item.scStdid\"\n }\n },\n _vm._l(_vm.optNameNo, function(item) {\n return _c(\"el-option\", {\n key: item.scStdid,\n attrs: {\n label: item.scStuname,\n value: item.scStdid\n }\n })\n }),\n 1\n )\n ],\n 1\n )\n }),\n 1\n ),\n _c(\n \"el-col\",\n { attrs: { span: 10 } },\n _vm._l(_vm.formInline.stus, function(item, key) {\n return _c(\n \"el-form-item\",\n {\n key: key.index,\n attrs: { label: \"学号:\", prop: \"scNo\" }\n },\n [\n _c(\n \"div\",\n { staticClass: \"item\" },\n [\n _c(\n \"el-select\",\n {\n attrs: {\n filterable: \"\",\n placeholder: \"请选择\"\n },\n on: {\n change: function($event) {\n return _vm.changeNo($event, item)\n }\n },\n model: {\n value: item.scNo,\n callback: function($$v) {\n _vm.$set(item, \"scNo\", $$v)\n },\n expression: \"item.scNo\"\n }\n },\n _vm._l(_vm.optNameNo, function(item) {\n return _c(\"el-option\", {\n key: item.scIdno,\n attrs: {\n label: item.scNo,\n value: item.scIdno\n }\n })\n }),\n 1\n )\n ],\n 1\n )\n ]\n )\n }),\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\n \"span\",\n {\n staticClass: \"dialog-footer\",\n attrs: { slot: \"footer\" },\n slot: \"footer\"\n },\n [\n _c(\"el-button\", { on: { click: _vm.resetForm } }, [\n _vm._v(\"取 消\")\n ]),\n _c(\n \"el-button\",\n {\n directives: [\n {\n name: \"loading\",\n rawName: \"v-loading\",\n value: _vm.loading,\n expression: \"loading\"\n }\n ],\n attrs: { type: \"primary\" },\n on: { click: _vm.confirm }\n },\n [_vm._v(\"确 定\")]\n )\n ],\n 1\n )\n ],\n 1\n )\n ],\n 1\n ),\n _c(\"upload\", {\n ref: \"roomExcel\",\n attrs: {\n \"template-url\": \"./template/宿舍信息导入表模板.xlsx\",\n \"upload-url\": \"/system/scdormitoryperson/importInfoExcel\"\n }\n })\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"]} |