|
@@ -239,19 +239,19 @@ import { postAction } from '../../../../api/manage'
|
|
|
},
|
|
|
handleBlur(){
|
|
|
// 本地测试
|
|
|
- if(this.model.usernameNormal === 'asd'){
|
|
|
- this.model.isExistSSO = true
|
|
|
- } else {
|
|
|
- this.model.isExistSSO = false
|
|
|
- }
|
|
|
+ // if(this.model.usernameNormal === 'asd'){
|
|
|
+ // this.model.isExistSSO = true
|
|
|
+ // } else {
|
|
|
+ // this.model.isExistSSO = false
|
|
|
+ // }
|
|
|
// 判断sso中是否有当前账户
|
|
|
- // postAction('/iotedgeCollectData/iotedgeCollectData/ifUserInSoo', {userName: this.model.usernameNormal}).then(res => {
|
|
|
- // if(res.success){
|
|
|
- // this.model.isExistSSO = res.result
|
|
|
- // } else {
|
|
|
- // this.$message.warning(res.message)
|
|
|
- // }
|
|
|
- // })
|
|
|
+ postAction('/iotedgeCollectData/iotedgeCollectData/ifUserInSoo', {userName: this.model.usernameNormal}).then(res => {
|
|
|
+ if(res.success){
|
|
|
+ this.model.isExistSSO = res.result
|
|
|
+ } else {
|
|
|
+ this.$message.warning(res.message)
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
// 新增
|
|
|
async add () {
|