yuhan 2 hafta önce
ebeveyn
işleme
e3f6c48c2c

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