| | |
| | | placeholder="评分" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="信用分" label-width="100px" prop="creditScore"> |
| | | <el-input |
| | | v-model="dataForm.creditScore" |
| | | type="number" |
| | | placeholder="信用分(选填)" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="备注" label-width="100px" prop="remarks"> |
| | | <el-input |
| | | type="textarea" |
| | |
| | | userLevel: "", |
| | | realNameAuthority:'', |
| | | status: 1, |
| | | creditScore: "", |
| | | }, |
| | | options: [ |
| | | { |
| | |
| | | this.dataForm.userLevel = row.userLevel; |
| | | this.dataForm.realNameAuthority = row.realNameAuthority; |
| | | this.dataForm.remarks = row.remarks; |
| | | this.dataForm.creditScore = row.creditScore != null ? row.creditScore : ""; |
| | | } else { |
| | | this.options.value1 = this.options[0].value1; |
| | | this.optionsTwo.value2 = this.optionsTwo[0].value2; |
| | |
| | | email: "", |
| | | mobile: "", |
| | | userLevel: "", |
| | | creditScore: "", |
| | | }; |
| | | }, |
| | | changeVal(val) { |
| | |
| | | userId: this.roleList.userId, |
| | | remarks: this.dataForm.remarks, |
| | | userLevel: this.dataForm.userLevel, |
| | | realNameAuthority:this.dataForm.realNameAuthority |
| | | realNameAuthority:this.dataForm.realNameAuthority, |
| | | creditScore: this.dataForm.creditScore === "" ? undefined : this.dataForm.creditScore |
| | | }), |
| | | }).then(({ data }) => { |
| | | if (data.code == 0) { |
| | |
| | | password: encrypt(this.dataForm.password), |
| | | remarks: this.dataForm.remarks, |
| | | userLevel: this.dataForm.userLevel, |
| | | creditScore: this.dataForm.creditScore === "" ? undefined : this.dataForm.creditScore |
| | | }), |
| | | }).then(({ data }) => { |
| | | if (data.code == 0) { |