10.10综合交易所原始源码-管理后台
1
admin
2026-04-02 a32340336eceec8cf7d7f526d9f9fb83fc2efc5a
src/views/modules/sys-config/userMange-add-or-update.vue
@@ -33,6 +33,9 @@
          <el-radio :label="1">正常</el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="信用分" prop="creditScore">
        <el-input v-model="dataForm.creditScore" placeholder="信用分(选填)" type="number"></el-input>
      </el-form-item>
      <el-form-item label="备注">
        <el-input type="textarea" v-model="dataForm.remarks"></el-input>
    </el-form-item>
@@ -101,7 +104,8 @@
          email: '',
          mobile: '',
          roleIdList: [],
          status: 1
          status: 1,
          creditScore: ''
        },
        dataRule: {
          userName: [
@@ -158,6 +162,7 @@
              this.dataForm.roleIdList = data.roleIdList
              this.dataForm.status = data.status  
              this.dataForm.remarks = data.remarks
              this.dataForm.creditScore = data.creditScore != null ? data.creditScore : ''
            })
          }
        })
@@ -179,7 +184,8 @@
                'mobile': this.dataForm.mobile,
                'status': this.dataForm.status,
                'roleIdList': this.dataForm.roleIdList,
                'remarks':this.dataForm.remarks
                'remarks':this.dataForm.remarks,
                'creditScore': this.dataForm.creditScore === '' ? undefined : this.dataForm.creditScore
              })
            }).then(({data}) => {
              this.$message({