|
|
- webpackJsonp([88],{
-
- /***/ "1CLN":
- /***/ (function(module, exports) {
-
- // removed by extract-text-webpack-plugin
-
- /***/ }),
-
- /***/ "pztB":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-
- // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/promise.js
- var promise = __webpack_require__("//Fk");
- var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
-
- // EXTERNAL MODULE: ./node_modules/babel-runtime/regenerator/index.js
- var regenerator = __webpack_require__("Xxa5");
- var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
-
- // EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/asyncToGenerator.js
- var asyncToGenerator = __webpack_require__("exGp");
- var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
-
- // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/json/stringify.js
- var stringify = __webpack_require__("mvHQ");
- var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify);
-
- // EXTERNAL MODULE: ./src/components/zTree1.vue + 2 modules
- var zTree1 = __webpack_require__("6Ljo");
-
- // EXTERNAL MODULE: ./src/api/index.js + 5 modules
- var api = __webpack_require__("gyMJ");
-
- // EXTERNAL MODULE: ./src/components/checkInRoom.vue + 2 modules
- var checkInRoom = __webpack_require__("R41B");
-
- // EXTERNAL MODULE: ./src/utils/equipment.js
- var equipment = __webpack_require__("ObZk");
-
- // EXTERNAL MODULE: ./src/utils/index.js
- var utils = __webpack_require__("0xDb");
-
- // EXTERNAL MODULE: ./src/utils/util.js
- var util = __webpack_require__("oFuF");
-
- // EXTERNAL MODULE: ./src/api/allFun.js
- var allFun = __webpack_require__("mprh");
-
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/FreezeManagement.vue
-
-
-
-
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
- //
-
-
-
-
-
-
-
-
- /* harmony default export */ var FreezeManagement = ({
- inject: ['reload'],
- name: "campus",
- data: function data() {
- return {
- selectTotal: 0,
- selectoption: [],
- selectoptionValue: '',
- roomlist: [],
- SelectedList: [],
- defaultProps: {
- children: "children",
- label: "name"
- },
- steplist: [{
- src: "../assets/img/1.png",
- title: "房源选择"
- }, {
- src: "../assets/img/2.png",
- title: "冻结人员"
- }],
- stepindex: 0,
- stepindex1: 0,
- query: {
- address: "",
- name: "",
- pageIndex: 1,
- pageSize: 10,
- activeName: "first"
- },
- activeName: "first",
- tableData: [],
- tableData1: [],
- tableData2: [],
- multipleSelection: [],
- delList: [],
- editVisible: false,
- pageTotal: 0,
- personInfo: {
- name: "",
- phone: "",
- number: "",
- sex: "",
- education: "",
- email: "",
- leaseTerm: "",
- rent: "",
- birth: "",
- nation: "",
- address: "",
- remarks: ""
- },
- rules: {
- name: [{
- required: true,
- message: "请输入姓名",
- trigger: "blur"
- }, {
- min: 1,
- max: 8,
- message: "长度在 1 到 8 个字符",
- trigger: "blur"
- }],
- phone: [{
- required: true,
- message: "请输入系统编号",
- trigger: "blur"
- }, {
- min: 1,
- max: 11,
- message: "请输入正确的系统编号",
- trigger: "blur"
- }],
- number: [{
- required: true,
- message: "请输入身份证号",
- trigger: "blur"
- }, {
- min: 1,
- max: 18,
- message: "请输入正确的身份证号",
- trigger: "blur"
- }],
- sex: [{
- required: true,
- message: "请选择性别",
- trigger: "change"
- }],
- education: [{
- required: true,
- message: "请选择学历",
- trigger: "change"
- }],
- email: [{
- required: true,
- message: "请输入邮箱",
- trigger: "blur"
- }, {
- min: 1,
- max: 64,
- message: "请输入正确的邮箱",
- trigger: "blur"
- }],
- leaseTerm: [{
- required: true,
- message: "请选择租期时间",
- trigger: "change"
- }],
- rent: [{
- required: true,
- message: "请输入租金",
- trigger: "blur"
- }],
- birth: [{
- required: true,
- message: "请输入租金",
- trigger: "blur"
- }],
- nation: [{
- required: true,
- message: "请选择学历",
- trigger: "change"
- }],
- address: [{
- required: true,
- message: "请输入地址",
- trigger: "change"
- }]
- },
- form: {},
- idx: -1,
- id: -1,
- showIndex: 0,
- ztreeObj: null,
- uselist: [],
- zNodes: [],
- setting: {
- edit: {
- enable: true,
- drag: {
- isMove: true
- },
- showRemoveBtn: false,
- showRenameBtn: false
- },
- check: {
- enable: false
- },
- data: {
- simpleData: {
- enable: true,
- pIdKey: "pid"
- }
- },
- view: {
- showIcon: true,
- addHoverDom: this.addHoverDom,
- removeHoverDom: this.removeHoverDom
- }
- },
- currentRow: [],
- currentRow1: [],
- options: [],
- state: "",
- loading: false,
- timeout: null,
- deviceList: [],
- userInfo: {
- type: ''
- },
- treeList: [],
- ZNodesTree: [],
- AllLock: [],
- AllPerson: [],
- fullscreenLoading: false
- };
- },
-
- components: {
- zTree: zTree1["a" /* default */],
- checkInRoom: checkInRoom["a" /* default */]
- },
- beforeCreate: function beforeCreate() {
- // var tenantId = JSON.parse(localStorage.getItem('tenantId'))
- // if (tenantId == 400) {
- // this.$store.commit('defaultsettenantid')
- // }
- },
- created: function created() {
- this.userInfo = JSON.parse(localStorage.getItem('info'));
- this.selectoption = JSON.parse(localStorage.getItem('selectoption'));
- this.selectoptionValue = localStorage.getItem('tenantId');
- this.addRoom();
- this.getAllLock();
- // this.getAllPerson()
- },
-
- methods: {
- // 获取所有锁
- getAllLock: function getAllLock() {
- var _this2 = this;
-
- var t = {
- lockType: 1
- };
- var data1 = {
- q: stringify_default()(t),
- pageSize: 0,
- pageNum: 0
- };
- Object(api["g" /* httpPost */])(data1, this.$api.getDeviceItems).then(function (res) {
- if (res.success) {
- _this2.AllLock = res.data.list;
- }
- });
- },
- getAllPerson: function getAllPerson(id) {
- var _this3 = this;
-
- var data1 = {
- // ids:[]
- q: stringify_default()({
- ancestor: id
- })
- };
- Object(api["d" /* httpGet */])(data1, this.$api.getSiteTenant).then(function (res) {
- if (res.success) {
- _this3.AllPerson = res.data.list;
- }
- });
- },
-
- // 获取所有人员
- selectAllMethods: function selectAllMethods() {
- if (this.activeName == "first") {
- var total = 0;
- this.tableData.map(function (li) {
- li.check = true;
- total++;
- });
- this.selectTotal = total;
- } else if (this.activeName == "second") {
- var total = 0;
- this.tableData1.map(function (li) {
- li.check = true;
- total++;
- });
- this.selectTotal = total;
- } else if (this.activeName == "third") {
- var total = 0;
- this.tableData2.map(function (li) {
- li.check = true;
- total++;
- });
- this.selectTotal = total;
- }
- },
- selectTenantId: function selectTenantId(e) {
- localStorage.setItem('tenantId', e);
- this.reload();
- },
-
- //添加房源
- addRoom: function addRoom() {
- var _this4 = this;
-
- var data = {};
- Object(api["d" /* httpGet */])(data, this.$api.getTree).then(function (res) {
- _this4.treeList = res.data;
- var array = Object(utils["n" /* uniqueArray */])(res.data, "id");
- _this4.ZNodesTree = Object(utils["p" /* ztreeToElementTree */])(array, {});
- _this4.addRoom1();
- });
- },
- addRoom1: function addRoom1() {
- var _this5 = this;
-
- var data = {};
- Object(api["d" /* httpGet */])(data, this.$api.getSiteList).then(function (res) {
- res.data.list.list.map(function (li) {
- var name = util["a" /* default */].findIndexArray(_this5.ZNodesTree, li.id, []);
- var path = '';
- if (name) {
- path = name.join('/');
- }
- li['path'] = path;
- });
- var array = Object(utils["n" /* uniqueArray */])(res.data.list.list, 'id');
- _this5.roomlist = Object(utils["p" /* ztreeToElementTree */])(array, {});
- });
- },
- checkfun: function checkfun(index, status) {
- this.tableData[index].check = !this.tableData[index].check;
- this.currentRow = this.tableData[index];
- var total = 0;
- this.tableData.map(function (li) {
- if (li.check) {
- total++;
- }
- });
- this.selectTotal = total;
- },
- cancelSelection: function cancelSelection() {
- this.tableData.map(function (li) {
- li.check = false;
- });
- this.tableData1.map(function (li) {
- li.check = false;
- });
- this.tableData2.map(function (li) {
- li.check = false;
- });
- this.selectTotal = 0;
- },
- checkfun1: function checkfun1(index, status) {
- this.tableData1.map(function (li) {
- li.check = false;
- });
- this.tableData1[index].check = true;
- this.currentRow = this.tableData1[index];
- },
- checkfun2: function checkfun2(index, status) {
- this.tableData2.map(function (li) {
- li.check = false;
- });
- this.tableData2[index].check = status;
- this.currentRow = this.tableData2[index];
- },
-
- // 获取人员
- querySearchAsync: function querySearchAsync(queryString, cb) {
- var _this6 = this;
-
- var q = {
- name: queryString
- };
- var data = {
- q: stringify_default()(q)
- };
- var personInfo = [];
- this.loading = true;
- Object(api["g" /* httpPost */])(data, this.$api.getlistNum).then(function (res) {
- personInfo = res.data.list;
- var restaurants = res.data.list;
- var results = queryString ? restaurants.filter(_this6.createFilter(queryString)) : restaurants;
- console.log(results);
- cb(results);
- });
- },
- createFilter: function createFilter(queryString) {
- return function (restaurant) {
- return restaurant.name.indexOf(queryString) === 0;
- };
- },
- handleSelect: function handleSelect(item) {
- this.personInfo = item;
- this.uselist.push(item);
- },
-
- // 返回
- selectstep: function selectstep(i) {
- if (i < this.stepindex) {
- this.$refs.cardShow.setActiveItem(i);
- }
- },
- getRomDevice: function getRomDevice(row) {
- console.log(row, this.AllLock);
- return this.AllLock.filter(function (item) {
- return item.roomId == row;
- })[0];
- },
-
- // 解冻
- thawMethods: function thawMethods() {
- var _this7 = this;
-
- var _this = this;
- if (this.currentRow1.length == 0) {
- this.$message.error('请选择解冻人员');
- return;
- }
- this.$confirm("确定要解冻吗?", "提示", {
- type: "warning"
- }).then(function () {
- _this.currentRow1.map(function () {
- var _ref = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee(li) {
- var resultRow;
- return regenerator_default.a.wrap(function _callee$(_context) {
- while (1) {
- switch (_context.prev = _context.next) {
- case 0:
- if (!(li.info != null)) {
- _context.next = 5;
- break;
- }
-
- _context.next = 3;
- return _this7.getRomDevice(li.siteId);
-
- case 3:
- resultRow = _context.sent;
-
- if (resultRow) {
- resultRow['userId'] = JSON.parse(li.info).userId || JSON.parse(li.info).userPassword;
- resultRow['keyId'] = JSON.parse(li.info).keyId || JSON.parse(li.info).userPassword;
- resultRow['frozenStartTime'] = 1676603379; //moment(this.freeUserDate[0]).format("X")
- resultRow['frozenEndTime'] = 1895132615; //moment(this.freeUserDate[1]).format("X")
- resultRow['name'] = li.name;
- allFun["a" /* default */].freeUserManage(0, resultRow, function (callback) {
- if (callback.code == 200) {
- _this7.$message.success("解冻指令下发成功");
- } else {
- _this7.$message.error("解冻指令下发失败");
- }
- });
- }
-
- case 5:
- case "end":
- return _context.stop();
- }
- }
- }, _callee, _this7);
- }));
-
- return function (_x) {
- return _ref.apply(this, arguments);
- };
- }());
- });
- },
-
- // 冻结
- rentRefund: function rentRefund() {
- var _this8 = this;
-
- var _this = this;
- if (this.currentRow1.length == 0) {
- this.$message.error('请选择冻结人员');
- return;
- }
- this.$confirm("确定要冻结吗?", "提示", {
- type: "warning"
- }).then(function () {
- _this.currentRow1.map(function () {
- var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee2(li) {
- var resultRow;
- return regenerator_default.a.wrap(function _callee2$(_context2) {
- while (1) {
- switch (_context2.prev = _context2.next) {
- case 0:
- if (!(li.info != null)) {
- _context2.next = 5;
- break;
- }
-
- _context2.next = 3;
- return _this8.getRomDevice(li.siteId);
-
- case 3:
- resultRow = _context2.sent;
-
- if (resultRow) {
- resultRow['userId'] = JSON.parse(li.info).userId || JSON.parse(li.info).userPassword;
- resultRow['keyId'] = JSON.parse(li.info).keyId || JSON.parse(li.info).userPassword;
- resultRow['frozenStartTime'] = 1676603379; //moment(this.freeUserDate[0]).format("X")
- resultRow['frozenEndTime'] = 1895132615; //moment(this.freeUserDate[1]).format("X")
- resultRow['name'] = li.name;
- allFun["a" /* default */].freeUserManage(1, resultRow, function (callback) {
- if (callback.code == 200) {
- _this8.$message.success("冻结指令下发成功");
- } else {
- _this8.$message.error("冻结指令下发失败");
- }
- });
- }
-
- case 5:
- case "end":
- return _context2.stop();
- }
- }
- }, _callee2, _this8);
- }));
-
- return function (_x2) {
- return _ref2.apply(this, arguments);
- };
- }());
- });
- },
- getuserlist: function getuserlist() {
- var _this9 = this;
-
- var q = {
- id: this.currentRow.id
- };
- var data = {
- q: stringify_default()(q)
- };
- Object(api["d" /* httpGet */])(data, this.$api.getSiteTenant).then(function (res) {
- res.data.list.map(function (li) {
- li['roomName'] = _this9.currentRow.name;
- });
- _this9.uselist = res.data.list;
- });
- },
- getPersonInfo: function getPersonInfo(data) {
- var _this10 = this;
-
- return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee3() {
- var _this;
-
- return regenerator_default.a.wrap(function _callee3$(_context3) {
- while (1) {
- switch (_context3.prev = _context3.next) {
- case 0:
- _this = _this10;
- return _context3.abrupt("return", new promise_default.a(function (resolve, reject) {
- var list = [];
-
- var _loop = function _loop(i) {
- str = _this.AllPerson.filter(function (item) {
- return item.id == data[i].cardId;
- });
-
- console.log(str);
- list.concat(str);
- };
-
- for (var i = 0; i < data.length; i++) {
- var str;
-
- _loop(i);
- }
- resolve(list);
- }));
-
- case 2:
- case "end":
- return _context3.stop();
- }
- }
- }, _callee3, _this10);
- }))();
- },
- getFilterDeviceList: function getFilterDeviceList() {},
-
- // 下一步
- stepnext: function stepnext() {
- var _this11 = this;
-
- return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee4() {
- var filterDemiseInformation, promise3;
- return regenerator_default.a.wrap(function _callee4$(_context4) {
- while (1) {
- switch (_context4.prev = _context4.next) {
- case 0:
- filterDemiseInformation = [];
-
- _this11.fullscreenLoading = true;
- promise3 = new promise_default.a(function (resolve, reject) {
- var conditionRoomAndPersonnel = _this11.AllPerson;
- _this11.tableData.map(function (li) {
- if (li.check) {
- var promise1 = new promise_default.a(function (resolve, reject) {
- var filterDeviceLi = _this11.AllLock.filter(function (item) {
- return item.roomId == li.id;
- })[0];
- resolve(filterDeviceLi);
- });
- var promise2 = new promise_default.a(function (resolve, reject) {
- var filterPersonLi = conditionRoomAndPersonnel.filter(function (item) {
- return item.siteId == li.id;
- });
- resolve(filterPersonLi);
- });
- promise_default.a.all([promise1, promise2]).then(function (values) {
- if (values[0]) {
- var obj = values[0];
- obj['list'] = values[1];
- filterDemiseInformation.push(obj);
- }
- });
- }
- });
- setTimeout(function () {
- resolve(filterDemiseInformation);
- }, 500);
- });
-
- promise_default.a.all([promise3]).then(function (values) {
- var personlist = [];
- values[0].map(function (li, index) {
- li.list.map(function (lt, index) {
- lt.roomName = li.roomName;
- lt.deviceNum = li.deviceNum;
- lt.imei = li.imei;
- lt.manufactureId = li.manufactureId;
- personlist.push(lt);
- });
- });
- setTimeout(function () {
- _this11.uselist = personlist;
- _this11.$refs.cardShow.next();
- _this11.stepindex += 1;
- _this11.stepindex1 = _this11.stepindex;
- _this11.fullscreenLoading = false;
- }, 500);
- });
-
- case 4:
- case "end":
- return _context4.stop();
- }
- }
- }, _callee4, _this11);
- }))();
- },
-
- onClick: function onClick(treeNode) {
- if (treeNode.children) {
- var str = treeNode.children[0].acreage || "";
- if (str == "" || str == null) {
- console.log(treeNode);
- this.fatherMethod(treeNode.pid);
- } else {
- this.fatherMethod(treeNode.id);
- }
- } else {
- this.fatherMethod(treeNode.id);
- }
- this.getAllPerson(treeNode.pid);
- },
- fatherMethod: function fatherMethod(id) {
- var _this12 = this;
-
- var q = {
- ancestor: id
- };
- var data = {
- q: stringify_default()(q)
- };
- Object(api["d" /* httpGet */])(data, this.$api.getSiteList).then(function (res) {
- var tableData = [],
- tableData1 = [],
- tableData2 = [];
- var array = Object(utils["n" /* uniqueArray */])(res.data.list.list, "id");
- array.map(function (li, index) {
- var name = util["a" /* default */].findIndexArray(_this12.ZNodesTree, li.id, []);
- var path = '';
- if (name) {
- path = name.join('/');
- }
- li['path'] = path;
- if (li.acreage) {
- li.check = false;
- tableData.push(li);
- if (li.id == id) {
- _this12.tableData.splice(index, 1);
- } else if (li.count == 0) {
- tableData2.push(li);
- } else if (li.count > 0) {
- tableData1.push(li);
- }
- }
- });
- _this12.tableData = tableData;
- _this12.pageTotal = tableData.length;
- _this12.tableData1 = tableData1;
- _this12.tableData2 = tableData2;
- });
- },
- handleClick: function handleClick(tab, event) {
- if (tab.name == "second") {
- this.pageTotal = this.tableData1.length;
- } else if (tab.name == "third") {
- this.pageTotal = this.tableData2.length;
- }
- },
- handleChange: function handleChange(value) {
- console.log(value);
- },
-
- // 触发搜索按钮
- handleSearch: function handleSearch() {
- this.$set(this.query, "pageIndex", 1);
- this.getData();
- },
-
- // 删除操作
- handleDelete: function handleDelete(index) {
- var _this13 = this;
-
- // 二次确认删除
- this.$confirm("确定要删除吗?", "提示", {
- type: "warning"
- }).then(function () {
- _this13.$message.success("删除成功");
- _this13.tableData.splice(index, 1);
- }).catch(function () {});
- },
-
- // 多选操作
- handleCurrentChange: function handleCurrentChange(val) {
- this.currentRow = val;
- },
- handleCurrentChange1: function handleCurrentChange1(val) {
- console.log(val);
- this.currentRow1 = val;
- },
- delAllSelection: function delAllSelection() {
- var length = this.multipleSelection.length;
- var str = "";
- this.delList = this.delList.concat(this.multipleSelection);
- for (var i = 0; i < length; i++) {
- str += this.multipleSelection[i].name + " ";
- }
- this.$message.error("\u5220\u9664\u4E86" + str);
- this.multipleSelection = [];
- },
-
- // 编辑操作
- handleEdit: function handleEdit(index, row) {
- this.idx = index;
- this.form = row;
- this.editVisible = true;
- },
-
- // 添加人员绑定
- handleEditperson: function handleEditperson(index, row) {
- var data = [{
- cardId: row.id,
- endTime: this.personInfo.leaseTerm[0],
- remark: this.personInfo.remarks,
- siteId: this.currentRow.id,
- startTime: this.personInfo.leaseTerm[1]
- }];
- Object(api["g" /* httpPost */])(data, this.$api.bindCard).then(function (res) {});
- },
-
- // 删除人员
- handleDeleteperson: function handleDeleteperson(index) {
- var _this14 = this;
-
- // 二次确认删除
- this.$confirm("确定要删除吗?", "提示", {
- type: "warning"
- }).then(function () {
- _this14.$message.success("删除成功");
- _this14.uselist.splice(index, 1);
- }).catch(function () {});
- },
-
- // 保存编辑
- saveEdit: function saveEdit() {
- this.editVisible = false;
- this.$message.success("\u4FEE\u6539\u7B2C " + (this.idx + 1) + " \u884C\u6210\u529F");
- this.$set(this.tableData, this.idx, this.form);
- },
-
- // 分页导航
- handlePageChange: function handlePageChange(val) {
- this.$set(this.query, "pageIndex", val);
- this.getData();
- }
- }
- });
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-094270a3","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/FreezeManagement.vue
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:(_vm.fullscreenLoading),expression:"fullscreenLoading",modifiers:{"fullscreen":true,"lock":true}}]},[_c('el-card',{staticClass:"cardbg"},[_c('div',{staticClass:"steps"},[_vm._l((_vm.steplist),function(item,index){return _c('div',{key:index,staticClass:"step",class:_vm.stepindex > index ? 'stepcolor' : '',on:{"click":function($event){return _vm.selectstep(index)}}},[(_vm.stepindex > index)?_c('img',{staticClass:"l1",attrs:{"src":__webpack_require__("Nv0Y"),"alt":""}}):(index == 0)?_c('img',{staticClass:"l1",attrs:{"src":__webpack_require__("LOA1"),"alt":""}}):(index == 1)?_c('img',{staticClass:"l1",attrs:{"src":__webpack_require__("NKGv"),"alt":""}}):_vm._e(),_vm._v(" "),_c('span',[_vm._v(_vm._s(item.title))]),_vm._v(" "),(index != _vm.steplist.length - 1)?_c('img',{staticClass:"r2",attrs:{"src":__webpack_require__("o8UN"),"alt":""}}):_vm._e()])}),_vm._v(" "),(_vm.userInfo.type==0)?_c('div',{staticClass:"selectoptionClass"},[_c('selectoption')],1):_vm._e()],2),_vm._v(" "),_c('el-carousel',{ref:"cardShow",attrs:{"trigger":"click","height":"690px","autoplay":false,"indicator-position":"none","arrow":"never","initial-index":0}},[_c('el-carousel-item',[_c('el-row',{staticClass:"rowcli",attrs:{"gutter":20}},[_c('el-col',{attrs:{"span":6}},[_c('el-card',{staticClass:"h700 cardbg",attrs:{"shadow":"always"}},[_c('el-tree',{ref:"tree",attrs:{"data":_vm.roomlist,"node-key":"id","props":_vm.defaultProps},on:{"node-click":_vm.onClick}})],1)],1),_vm._v(" "),_c('el-col',{attrs:{"span":18}},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"handle-box"},[_c('el-tabs',{on:{"tab-click":_vm.handleClick},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-tab-pane',{attrs:{"label":"全部房间","name":"first"}}),_vm._v(" "),_c('el-tab-pane',{attrs:{"label":"正常房间","name":"second"}}),_vm._v(" "),_c('el-tab-pane',{attrs:{"label":"空置房间","name":"third"}})],1),_vm._v(" "),_c('div',{staticClass:"nextstep"},[_c('el-badge',{staticClass:"item",attrs:{"value":_vm.selectTotal}},[_c('el-button',{staticClass:"nextstep1",attrs:{"type":"primary","size":"mini"},on:{"click":_vm.selectAllMethods}},[_vm._v("全选")])],1),_vm._v(" "),_c('el-button',{staticClass:"nextstep1",attrs:{"size":"mini","type":"primary"},on:{"click":_vm.cancelSelection}},[_vm._v("取消")]),_vm._v(" "),_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.stepnext}},[_vm._v("下一步")])],1)],1),_vm._v(" "),(_vm.activeName == 'first')?_c('div',{staticClass:"room-list"},[_vm._l((_vm.tableData),function(item,index){return _c('div',{key:index,staticClass:"room-li",on:{"click":function($event){item.check?_vm.checkfun(index, false):_vm.checkfun(index, true)}}},[_c('checkInRoom',{attrs:{"data":item,"index":index}}),_vm._v(" "),(item.check)?_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("lPmh"),"alt":""}}):_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("9DgW"),"alt":""}})],1)}),_vm._v(" "),_c('div',{staticClass:"totalPosition"},[_c('el-pagination',{attrs:{"layout":"total","total":_vm.tableData.length}})],1)],2):_vm._e(),_vm._v(" "),(_vm.activeName == 'second')?_c('div',{staticClass:"room-list"},[_vm._l((_vm.tableData1),function(item,index){return _c('div',{key:index,staticClass:"room-li",on:{"click":function($event){item.check?_vm.checkfun1(index, false):_vm.checkfun1(index, true)}}},[_c('checkInRoom',{attrs:{"data":item,"index":index}}),_vm._v(" "),(item.check)?_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("lPmh"),"alt":""}}):_c('img',{staticClass:"check-img",attrs:{"src":__webpack_require__("9DgW"),"alt":""}})],1)}),_vm._v(" "),_c('div',{staticClass:"totalPosition"},[_c('el-pagination',{attrs:{"layout":"total","total":_vm.tableData1.length}})],1)],2):_vm._e(),_vm._v(" "),(_vm.activeName == 'third')?_c('div',{staticClass:"room-list"},[_vm._l((_vm.tableData2),f
- var staticRenderFns = []
- var esExports = { render: render, staticRenderFns: staticRenderFns }
- /* harmony default export */ var views_FreezeManagement = (esExports);
- // CONCATENATED MODULE: ./src/views/FreezeManagement.vue
- function injectStyle (ssrContext) {
- __webpack_require__("1CLN")
- }
- var normalizeComponent = __webpack_require__("VU/8")
- /* script */
-
-
- /* template */
-
- /* template functional */
- var __vue_template_functional__ = false
- /* styles */
- var __vue_styles__ = injectStyle
- /* scopeId */
- var __vue_scopeId__ = "data-v-094270a3"
- /* moduleIdentifier (server only) */
- var __vue_module_identifier__ = null
- var Component = normalizeComponent(
- FreezeManagement,
- views_FreezeManagement,
- __vue_template_functional__,
- __vue_styles__,
- __vue_scopeId__,
- __vue_module_identifier__
- )
-
- /* harmony default export */ var src_views_FreezeManagement = __webpack_exports__["default"] = (Component.exports);
-
-
- /***/ })
-
- });
|