10.10综合交易所原始源码-管理后台
1
admin
2026-04-02 a32340336eceec8cf7d7f526d9f9fb83fc2efc5a
src/views/modules/user/mange-add-or-update.vue
@@ -126,6 +126,13 @@
          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"
@@ -191,6 +198,7 @@
        userLevel: "",
        realNameAuthority:'',
        status: 1,
        creditScore: "",
      },
      options: [
        {
@@ -270,6 +278,7 @@
        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;
@@ -288,6 +297,7 @@
        email: "",
        mobile: "",
        userLevel: "",
        creditScore: "",
      };
    },
    changeVal(val) {
@@ -322,7 +332,8 @@
                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) {
@@ -355,6 +366,7 @@
                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) {