大宝管理后台代码
1
zzzz
2024-04-21 cd75d091a8ebbe28499f4326ba31afe665a942f4
src/views/userlist/components/EditUserinfodialog.vue
@@ -23,7 +23,7 @@
          <a-input placeholder="请输入用户名" v-decorator="['realName', {}]" />
        </a-form-item>
        <a-form-item label="密码" :labelCol="labelCol" :wrapperCol="wrapperCol">
          <a-input placeholder="请输入密码" v-decorator="['pwd', {}]" />
          <a-input placeholder="请输入密码" v-decorator="['userPwd', {}]" />
        </a-form-item>
        <a-form-item label="身份证号码" :labelCol="labelCol" :wrapperCol="wrapperCol">
          <a-input placeholder="请输入身份证号码" v-decorator="['idCard', {}]" />
@@ -71,12 +71,13 @@
      editUserform: this.$form.createForm(this),
      editUserdialog: false,
      editUserDialogloading: false,
      fields: ['agentId', 'phone', 'realName', 'pwd', 'idCard', 'isLogin', 'isLock'],
      fields: ['agentId', 'phone', 'realName', 'userPwd', 'idCard', 'isLogin', 'isLock'],
      currentDetails: {},
    }
  },
  methods: {
    getEditorder(val) {
      delete val.userPwd
      this.currentDetails = val
      this.editUserdialog = true
      this.fields.forEach((v) => this.editUserform.getFieldDecorator(v))