Преглед изворни кода

重置管理员账户密码

huangbin пре 4 година
родитељ
комит
5922cb4db6

+ 3 - 3
src/views/information/account_info/compoments/reset-business/index.vue

@@ -21,11 +21,11 @@
       <a-row :gutter="24">
         <a-col :span="12">
           <a-form-item label="登录账号"
-                       name="accountname">
+                       name="logincode">
             <a-input class="dialogInput"
                      style="width: 200px"
                      readonly
-                     v-model:value="formState.accountname"
+                     v-model:value="formState.logincode"
                      placeholder="请输入登录账号" />
           </a-form-item>
         </a-col>
@@ -78,7 +78,7 @@ export default defineComponent({
         const loading = ref<boolean>(false);
         watchEffect(() => {
             if (visible.value) {
-                formState.accountname = props.selectedData.loginname;
+                formState.logincode = props.selectedData.logincode;
             }
         });
 

+ 3 - 3
src/views/information/account_info/compoments/reset-managers/index.vue

@@ -21,11 +21,11 @@
       <a-row :gutter="24">
         <a-col :span="12">
           <a-form-item label="登录账号"
-                       name="accountname">
+                       name="logincode">
             <a-input class="dialogInput"
                      style="width: 200px"
                      readonly
-                     v-model:value="formState.accountname"
+                     v-model:value="formState.logincode"
                      placeholder="请输入登录账号" />
           </a-form-item>
         </a-col>
@@ -78,7 +78,7 @@ export default defineComponent({
         const loading = ref<boolean>(false);
         watchEffect(() => {
             if (visible.value) {
-                formState.accountname = props.selectedData.loginname;
+                formState.logincode = props.selectedData.logincode;
             }
         });
 

+ 3 - 3
src/views/information/account_info/compoments/reset-trader/index.vue

@@ -21,11 +21,11 @@
       <a-row :gutter="24">
         <a-col :span="12">
           <a-form-item label="登录账号"
-                       name="accountname">
+                       name="logincode">
             <a-input class="dialogInput"
                      style="width: 200px"
                      readonly
-                     v-model:value="formState.accountname"
+                     v-model:value="formState.logincode"
                      placeholder="请输入登录账号" />
           </a-form-item>
         </a-col>
@@ -78,7 +78,7 @@ export default defineComponent({
         const loading = ref<boolean>(false);
         watchEffect(() => {
             if (visible.value && props.selectedData) {
-                formState.accountname = props.selectedData.loginname;
+                formState.logincode = props.selectedData.logincode;
             }
         });