yuhan 2 月之前
父节点
当前提交
e3f6c48c2c
共有 1 个文件被更改,包括 12 次插入12 次删除
  1. 12 12
      src/views/module_interLock/systemUser/modules/SystemUserForm.vue

+ 12 - 12
src/views/module_interLock/systemUser/modules/SystemUserForm.vue

@@ -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 () {