Browse Source

版本3.8.0 2023-12-22 ljd

1、修改了人员下发凭证失败问题
master
xiaohei 1 year ago
parent
commit
f8eb9fde9c
1 changed files with 15 additions and 8 deletions
  1. +15
    -8
      src/views/userManagement.vue

+ 15
- 8
src/views/userManagement.vue View File

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


Loading…
Cancel
Save