diff --git a/src/views/userManagement.vue b/src/views/userManagement.vue index c8936fd..6c4a626 100644 --- a/src/views/userManagement.vue +++ b/src/views/userManagement.vue @@ -3269,11 +3269,13 @@ export default { var resultArr = this.AboutDevice.filter( (_item) => _item.roomId == li )[0]; + console.log("3272", resultArr) if (resultArr) { if (resultArr.imei) { if (resultArr.manufactureId == 201 || resultArr.manufactureId == 221) { var room = roomAbout.filter(item => item.roomId == resultArr.roomId)[0] resultArr.roomName = room.roomName + console.log("3278", this.multipleSelection2) this.putCarfidzg(resultArr, this.multipleSelection2); } else if (resultArr.manufactureId == 101) { var room = roomAbout.filter(item => item.roomId == resultArr.roomId)[0] @@ -3326,6 +3328,7 @@ export default { }, bindRoomTop1(index, row) { this.multipleSelection2 = row + console.log(this.multipleSelection2) this.bindRoomStatus1 = true let startTime = '' let endTime = ''; @@ -3700,6 +3703,7 @@ export default { // 下发凭证 putCarfidzg(resultArr, row) { + console.log(row) var data = {}; var userTelephone = JSON.parse(row.content).userTelephone; var userPassword = JSON.parse(row.content).userPassword; @@ -4627,6 +4631,7 @@ export default { } }); this.roomtable1 = certiflist; + console.log(777,this.roomtable1) this.total1 = res.data.total; }); } @@ -4887,6 +4892,8 @@ export default { userTelephone: this.drawerRow.info.userTelephone, userPassword: this.drawerRow.info.userPassword, faceData: this.faceData, + keyId: this.drawerRow.info.keyId, + userId: this.drawerRow.info.userId, password: "", passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'), passwordEndTime: moment(this.value2[1]).format('YYYYMMDDHHmmss'), @@ -4908,8 +4915,8 @@ export default { pzname: pzname, userTelephone: this.drawerRow.info.userTelephone, userPassword: this.drawerRow.info.userPassword, - keyId: this.drawerRow.info.keyId || '', - userId: this.drawerRow.info.userId || '', + keyId: this.drawerRow.info.keyId, + userId: this.drawerRow.info.userId, fingerprintAlias: this.voucher.fingerprintAlias, password: "", passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'), @@ -4936,8 +4943,8 @@ export default { pzname: pzname, userTelephone: this.drawerRow.info.userTelephone, userPassword: this.drawerRow.info.userPassword, - keyId: this.drawerRow.info.keyId || '', - userId: this.drawerRow.info.userId || '', + keyId: this.drawerRow.info.keyId, + userId: this.drawerRow.info.userId, operateMode: 13, order: 6213, password: arr2.toUpperCase(), //this.voucher.idcard, @@ -4972,8 +4979,8 @@ export default { order: 6210, userTelephone: this.drawerRow.info.userTelephone, userPassword: this.drawerRow.info.userPassword, - keyId: this.drawerRow.info.keyId || '', - userId: this.drawerRow.info.userId || '', + keyId: this.drawerRow.info.keyId, + userId: this.drawerRow.info.userId, password: nfc.toUpperCase(), //this.voucher.nfc, passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'), passwordEndTime: moment(this.value2[1]).format('YYYYMMDDHHmmss'), @@ -4997,8 +5004,8 @@ export default { password: this.voucher.password, userTelephone: this.drawerRow.info.userTelephone, userPassword: this.drawerRow.info.userPassword, - keyId: this.drawerRow.info.keyId || '', - userId: this.drawerRow.info.userId || '', + keyId: this.drawerRow.info.keyId, + userId: this.drawerRow.info.userId, operateMode: 7, order: 6207, passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'),