From f8eb9fde9c87774d91295e3b44d6f3d01d6b6def Mon Sep 17 00:00:00 2001 From: xiaohei <11674173+xiaohei102908@user.noreply.gitee.com> Date: Fri, 22 Dec 2023 15:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC3.8.0=20=202023-12-22=20=20lj?= =?UTF-8?q?d=201=E3=80=81=E4=BF=AE=E6=94=B9=E4=BA=86=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E4=B8=8B=E5=8F=91=E5=87=AD=E8=AF=81=E5=A4=B1=E8=B4=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userManagement.vue | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) 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'),