瀏覽代碼

fix:功能配置功能开发

wuguojie 1 年之前
父節點
當前提交
a29ef4fdb2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/organizationManagement/organization/organizationAdd.vue

+ 2 - 1
src/views/organizationManagement/organization/organizationAdd.vue

@@ -37,7 +37,7 @@
             <el-form-item label="登录密码" prop="password">
               <el-input style="display: none;" type="text" />
               <el-input v-model="sysform.password" placeholder="请输入登录密码" show-password type="password"
-                autocomplete="new-password" />
+                autocomplete="new-password" :disabled="userNameShow" />
             </el-form-item>
           </ElCol>
 
@@ -270,6 +270,7 @@ const userAccountblur = (event: any) => {
   api.tenantApi.userGetPhone(event.target.value).then((res: any) => {
     if (res.code == '200' && res.data.length) {
       sysform.value.userName = res.data[0].username;
+      sysform.value.password = res.data[0].password
       userNameShow.value = true;
     } else {
       userNameShow.value = false;