|
|
@ -229,12 +229,18 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
_submit () { |
|
|
|
_submit () { |
|
|
|
this.$refs['popup'].spinnerLoading = true |
|
|
|
this.$refs['popup'].spinnerLoading = true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let queueCode = ''; |
|
|
|
|
|
|
|
//get queue code |
|
|
|
|
|
|
|
if (this.queueName != ''){ |
|
|
|
|
|
|
|
queueCode = this.queueList.length > 0 ? _.find(this.queueList, ['id', this.queueName]).code : '' |
|
|
|
|
|
|
|
} |
|
|
|
let param = { |
|
|
|
let param = { |
|
|
|
userName: this.userName, |
|
|
|
userName: this.userName, |
|
|
|
userPassword: this.userPassword, |
|
|
|
userPassword: this.userPassword, |
|
|
|
tenantId: this.tenantId, |
|
|
|
tenantId: this.tenantId, |
|
|
|
email: this.email, |
|
|
|
email: this.email, |
|
|
|
queue: this.queueList.length>0? _.find(this.queueList, ['id', this.queueName]).code : '', |
|
|
|
queue: queueCode, |
|
|
|
phone: this.phone |
|
|
|
phone: this.phone |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|