scorpio 2 anni fa
parent
commit
1abeca0f30
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      src/views/user/manage.vue

+ 4 - 4
src/views/user/manage.vue

@@ -217,7 +217,6 @@ meta: { 'back':true,'showMsg' : "如果手机号为用户微信绑定的手机
 import BasicContainer from '@/components/basic-container/main.vue'
 import { useStore } from '@/store/user.js'
 import baseButton from '@/components/base-button.vue'
-import { ElMessageBox } from 'element-plus'
 import VueQr from 'vue-qr/src/packages/vue-qr.vue'
 
 export default {
@@ -379,7 +378,7 @@ export default {
         this.rowEdit()
       } else if (type === 'add') {
         this.userInfoForm = {
-          name: '',
+          account: '',
           realName: '',
           phone: '',
           password: '',
@@ -398,7 +397,7 @@ export default {
         this.$message.error('该账号已经停用,无需进行编辑!')
         return
       }
-      this.userInfoForm.name = this.form.name
+      this.userInfoForm.account = this.form.account
       this.userInfoForm.realName = this.form.realName
       this.userInfoForm.phone = this.form.phone
       this.userInfoForm.password = this.form.password
@@ -543,7 +542,8 @@ export default {
             'https://dev.wutongresearch.club/apply?id=' +
             res.data.qrcodeId +
             '&deptId=' +
-            deptId
+            deptId +
+            '&roleName=股室'
         }
       })
     },