完成签约之后直接添加人员,录入下发凭证
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

920 lines
28 KiB

webpackJsonp([83],{
/***/ "8eXg":
/***/ (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/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/index.js
var utils = __webpack_require__("0xDb");
// EXTERNAL MODULE: ./src/utils/util.js
var util = __webpack_require__("oFuF");
// EXTERNAL MODULE: ./src/utils/equipment.js
var equipment = __webpack_require__("ObZk");
// EXTERNAL MODULE: ./node_modules/moment/moment.js
var moment = __webpack_require__("PJh5");
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/renewalHandling.vue
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var renewalHandling = ({
inject: ['reload'],
name: "campus",
data: function data() {
return {
selectTotal: 0,
selectoption: [],
selectoptionValue: '',
pickerOptions1: {
disabledDate: function disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7;
}
},
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: [],
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 _this = 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) {
_this.AllLock = res.data.list;
}
});
},
getAllPerson: function getAllPerson(id) {
var _this2 = this;
var data1 = {
// ids:[]
q: stringify_default()({
ancestor: id
})
};
Object(api["d" /* httpGet */])(data1, this.$api.getSiteTenant).then(function (res) {
if (res.success) {
_this2.AllPerson = res.data.list;
}
});
},
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;
},
// 获取所有人员
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();
},
// 续租
renewal: function renewal() {
this.editVisible = true;
},
//添加房源
addRoom: function addRoom() {
var _this3 = this;
var data = {};
Object(api["d" /* httpGet */])(data, this.$api.getTree).then(function (res) {
var list = res.data.sort(function (pre, cur) {
return pre.id - cur.id;
});
_this3.treeList = list;
var array = Object(utils["n" /* uniqueArray */])(list, "id");
_this3.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;
},
checkfun1: function checkfun1(index, status) {
this.tableData1.map(function (li) {
li.check = false;
});
this.tableData1[index].check = status;
this.currentRow = this.tableData1[index];
var total = 0;
this.tableData1.map(function (li) {
if (li.check) {
total++;
}
});
this.selectTotal = total;
},
checkfun2: function checkfun2(index, status) {
this.tableData2.map(function (li) {
li.check = false;
});
this.tableData2[index].check = status;
this.currentRow = this.tableData2[index];
var total = 0;
this.tableData2.map(function (li) {
if (li.check) {
total++;
}
});
this.selectTotal = total;
},
// 获取人员
querySearchAsync: function querySearchAsync(queryString, cb) {
var _this4 = 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(_this4.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);
}
},
getuserlist: function getuserlist() {
var _this5 = 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(li=>{
// li.startTime = li.startTime.split('T')[0]
// li.endTime = li.endTime.split('T')[0]
// })
var list = res.data.list;
list.map(function (li) {
if (li.startTime != null) {
li.startTime = moment_default()(li.startTime).format('YYYY年MM月DD日 HH:mm:ss');
}
if (li.endTime != null) {
li.endTime = moment_default()(li.endTime).format('YYYY年MM月DD日 HH:mm:ss');
}
li['roomName'] = _this5.currentRow.name;
});
_this5.uselist = list;
});
},
// 下一步
stepnext: function stepnext() {
var _this6 = this;
var filterDemiseInformation = [];
this.fullscreenLoading = true;
var promise3 = new promise_default.a(function (resolve, reject) {
var conditionRoomAndPersonnel = _this6.AllPerson;
_this6.tableData.map(function (li) {
if (li.check) {
var promise1 = new promise_default.a(function (resolve, reject) {
var filterDeviceLi = _this6.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;
lt['startTimeText'] = moment_default()(lt.startTime).format('YYYY年MM月DD日 HH:mm:ss');
lt['endTimeText'] = moment_default()(lt.endTime).format('YYYY年MM月DD日 HH:mm:ss');
personlist.push(lt);
});
});
setTimeout(function () {
_this6.uselist = personlist;
_this6.$refs.cardShow.next();
_this6.stepindex += 1;
_this6.stepindex1 = _this6.stepindex;
_this6.fullscreenLoading = false;
}, 500);
});
},
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 _this7 = this;
var q = {
ancestor: id,
isRoom: 1
};
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(_this7.roomlist, 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) {
_this7.tableData.splice(index, 1);
} else if (li.count == 0) {
tableData2.push(li);
} else if (li.count > 0) {
tableData1.push(li);
}
}
});
_this7.tableData = tableData;
_this7.pageTotal = tableData.length;
_this7.tableData1 = tableData1;
_this7.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 _this8 = this;
// 二次确认删除
this.$confirm("确定要删除吗?", "提示", {
type: "warning"
}).then(function () {
_this8.$message.success("删除成功");
_this8.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 _this9 = this;
// 二次确认删除
this.$confirm("确定要删除吗?", "提示", {
type: "warning"
}).then(function () {
_this9.$message.success("删除成功");
_this9.uselist.splice(index, 1);
}).catch(function () {});
},
// 保存编辑
saveEdit: function saveEdit() {
var _this10 = this;
this.editVisible = false;
if (this.form.endTime == '' || this.form.startTime == '') {
this.$message.error("请选择时间范围");
return;
}
this.currentRow1.map(function (li) {
if (li.manufactureId == 101) {
var userTelephone = JSON.parse(li.info).userTelephone;
var userPassword = JSON.parse(li.info).userPassword;
var endTime = new Date(_this10.form.endTime).getTime();
var startTime = new Date(_this10.form.startTime).getTime();
var passwordEndTime = moment_default()(endTime).format("YYYYMMDDHHmmss");
var passwordStartTime = moment_default()(startTime).format("YYYYMMDDHHmmss");
var data = {
deviceNum: li.deviceNum,
imei: li.imei,
userTelephone: userTelephone,
userPassword: userPassword,
password: userPassword,
operateMode: 2,
order: 6202,
passwordStartTime: passwordStartTime,
passwordEndTime: passwordEndTime,
cardName: li.name,
roomName: li.roomName
};
equipment["a" /* default */].LDAddUser(data.deviceNum, data.imei, data.userTelephone, data.userPassword, data.password, passwordStartTime, passwordEndTime, data.operateMode, data.order, data.cardName, data.roomName, false, function (callback) {
if (callback.success) {
var data = {
pageNum: 0,
pageSize: 0,
orderBy: "create_at desc",
q: {
cardId: li.cardId,
deviceNum: li.deviceNum,
types: "0,1,2,3,4",
inStatus: "1"
}
};
var unbind = {
id: li.id,
startTime: _this10.form.startTime,
endTime: _this10.form.endTime
};
Object(api["g" /* httpPost */])(unbind, _this10.$api.setTenant).then(function (res) {});
Object(api["d" /* httpGet */])(data, _this10.$api.getCertificates).then(function (res) {
var dataOne = util["a" /* default */].zlib_unzip(res.data);
dataOne.map(function (lt) {
util["a" /* default */].modifyPutCarfid(li, lt, startTime, endTime);
});
});
} else {
_this10.$message.error("修改失败");
}
});
} else if (li.manufactureId == 201 || li.manufactureId == 221) {
var endTime = new Date(_this10.form.endTime).getTime();
var startTime = new Date(_this10.form.startTime).getTime();
var unbind = {
id: li.id,
startTime: startTime,
endTime: endTime
};
Object(api["g" /* httpPost */])(unbind, _this10.$api.setTenant).then(function (res) {});
var data = {
pageNum: 0,
pageSize: 0,
orderBy: "create_at desc",
q: {
cardId: li.cardId,
deviceNum: li.deviceNum,
types: "0,1,2,3,4",
inStatus: "0,1"
}
};
Object(api["d" /* httpGet */])(data, _this10.$api.getCertificates).then(function (res) {
var dataOne = util["a" /* default */].zlib_unzip(res.data);
console.log(dataOne);
dataOne.map(function (lt) {
util["a" /* default */].modifyPutCarfidzg(li, lt, startTime, endTime);
});
});
}
});
},
// 分页导航
handlePageChange: function handlePageChange(val) {
this.$set(this.query, "pageIndex", val);
this.getData();
}
}
});
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-20116f28","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/renewalHandling.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:{"type":"primary","size":"mini"},on:{"click":_vm.cancelSelection}},[_vm._v("取消")]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary","size":"mini"},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),function(item,index){return _c('div',{key:index,staticClass:"room-li",on:{"click":function($event){item.check?_vm.checkfun2(index, false):_vm.checkfun2(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.tableData2.length}})],1)],2):_vm._e()])])],1)],1),_vm._v(" "),_c('el-carousel-item',[_c('div',{staticClass:"bottomcontent"},[_c('el-card',{attrs:{"shadow":"always"}},[_c('div',{staticClass:"pagehead"},[_c('div',{staticClass:"fjry"},[_vm._v("已入住人员信息")]),_vm._v(" "),(_vm.deviceList[0])?_c('div',{staticClass:"rzaddress",attrs:{"title":_vm.deviceList[0].roomName}},[_c('i',{staticClass:"el-icon-location-information"}),_c('span',[_vm._v(_vm._s(_vm.deviceList[0].roomName))])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"fjrynext"},[_c('div',{staticClass:"nextstep"},[_c('el-button',{staticClass:"nextstep1",attrs:{"type":"primary","size":"mini"},on:{"click":_vm.renewal}},[_vm._v("续租")])],1)])]),_vm._v(" "),_c('div',{staticClass:"bottomtable"},[_c('el-table',{ref:"multipleTable",staticClass:"table",attrs:{"data":_vm.uselist,"border":"","header-cell-class-name":"table-header","highlight-current-row":"","height":"600"},on:{"selection-change":_vm.handleCurrentChange1}},[_c('el-table-column',{attrs:{"type":"selection","width":"55"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"name","label":"姓名"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"roomName","label":"房间名称"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"phone","label":"系统编号"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"number","label":"身份证号"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"startTimeText","label":"开始日期"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"endTimeText","label":"结束日期"}})],1)],1)])],1)])],1)],1),_vm._v(" "),_c('el-dialog',{attrs:{"title":"编辑","visible":_vm.editVisible,"width":"20%"},on:{"update:visible":function($event){_vm.editVisible=$event}},scopedSlots:_vm._u([{key:"footer",fn:function(){return [_c('span',{staticClass:"dialog-footer"},[_c('el-button',{on:{"click":function($event){_vm.editVisible = false}}},[_vm._v("取 消")]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.saveEdit}},[_vm._v("确 定")])],1)]},proxy:true}])},[_c('el-form',{ref:"form",attrs:{"model":_vm.form,"label-width":"70px"}},[_c('el-form-item',{attrs:{"label":"开始时间"}},[_c('el-date-picker',{attrs:{"picker-options":_vm.pickerOptions1,"type":"datetime","placeholder":"选择日期时间"},model:{value:(_vm.form.startTime),callback:function ($$v) {_vm.$set(_vm.form, "startTime", $$v)},expression:"form.startTime"}})],1),_vm._v(" "),_c('el-form-item',{attrs:{"label":"结束时间"}},[_c('el-date-picker',{attrs:{"picker-options":_vm.pickerOptions1,"type":"datetime","placeholder":"选择日期时间"},model:{value:(_vm.form.endTime),callback:function ($$v) {_vm.$set(_vm.form, "endTime", $$v)},expression:"form.endTime"}})],1)],1)],1)],1)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ var views_renewalHandling = (esExports);
// CONCATENATED MODULE: ./src/views/renewalHandling.vue
function injectStyle (ssrContext) {
__webpack_require__("BuOT")
}
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-20116f28"
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
renewalHandling,
views_renewalHandling,
__vue_template_functional__,
__vue_styles__,
__vue_scopeId__,
__vue_module_identifier__
)
/* harmony default export */ var src_views_renewalHandling = __webpack_exports__["default"] = (Component.exports);
/***/ }),
/***/ "BuOT":
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ })
});