diff --git a/src/views/userManagement.vue b/src/views/userManagement.vue index 2e5c6b2..7b3a901 100644 --- a/src/views/userManagement.vue +++ b/src/views/userManagement.vue @@ -3742,8 +3742,6 @@ export default { putCarfidzg(resultArr, row) { console.log(row) var data = {}; - var userTelephone = JSON.parse(row.content).userTelephone; - var userPassword = JSON.parse(row.content).userPassword; var startTime = new Date(this.value2[0]).getTime() / 1000 var endTime = new Date(this.value2[1]).getTime() / 1000 var passwordStartTime = new Date(this.value2[0]).getTime() / 1000 @@ -3754,6 +3752,8 @@ export default { }else if(typeof (this.drawerRow.info) == 'string'){ info = JSON.parse(this.drawerRow.info) } + var userTelephone = info.userTelephone; + var userPassword = info.userPassword; // var passwordStartTime = JSON.stringify(row.startTime) // var passwordEndTime = JSON.stringify(row.endTime) // var sort=this.getTypeSort(this.roomtable1,row.type) @@ -3764,7 +3764,8 @@ export default { if (passwordEndTime.length == 13) { passwordEndTime = endTime / 1000 } - + console.log(info,'[[[') + // return if (row.type == 11) { // if(pzname==''){ // pzname='指纹'+sort @@ -3960,9 +3961,9 @@ export default { // } str = { imei: resultArr.imei, - userTelephone: userTelephone, + userTelephone: info.userTelephone, cardId: row.cardId, - userPassword: userPassword, + userPassword: info.userPassword, password: JSON.parse(row.content).password, operateMode: 7, order: 6207, @@ -3979,8 +3980,8 @@ export default { imei: resultArr.imei, order: 6207, passwordCount: 255, - lockerUserId: userPassword, - keyId: userPassword, + lockerUserId: info.userPassword, + keyId: info.userPassword, startTime: passwordStartTime, endTime: passwordEndTime, action: 1,