Sfoglia il codice sorgente

fix:功能配置功能开发

wuguojie 1 anno fa
parent
commit
a29ef4fdb2

+ 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;