新版交易所前段管理后台
1
5 days ago b4dd0687c7285f3be32860adccfa523a62bfd4c6
src/views/modules/mining/balance-income-add-or-update.vue
@@ -1,4 +1,4 @@
<template>
<template>
  <el-dialog
    :title="!row ? '新增' : '修改'"
    :close-on-click-modal="false"
@@ -125,9 +125,7 @@
      <el-row>
        <el-col :span="12">
          <el-form-item  label="登录人资金密码"  prop="loginSafeword">
        <el-input v-model="dataForm.loginSafeword" type="password" placeholder="请输入登录人资金密码"></el-input>
      </el-form-item></el-col>
</el-col>
      </el-row>
    </el-form>
    <span slot="footer" class="dialog-footer">
@@ -194,9 +192,6 @@
        ],
        eth: [
          { required: true, message: "奖励ETH数量不能为空", trigger: "blur" },
        ],
        loginSafeword: [
            { required: true, message: '登录人资金密码不能为空', trigger: 'blur' },
        ],
      },
      tempKey: -666666, // 临时key, 用于解决tree半选中状态项不能传给后台接口问题. # 待优化
@@ -284,9 +279,7 @@
          title :this.dataForm.title,
          titleImg :this.dataForm.titleImg,
          usdt :this.dataForm.usdt,
          userCode :this.dataForm.userCode,
          loginSafeword:encrypt(this.dataForm.loginSafeword)
        }
          userCode :this.dataForm.userCode}
      }else{
        url = `/pledgeConfig/update`;
        data = {
@@ -299,9 +292,7 @@
          titleImg :this.dataForm.titleImg,
          usdt :this.dataForm.usdt,
          userCode :this.dataForm.userCode,
          id:this.dataForm.id,
          loginSafeword:encrypt(this.dataForm.loginSafeword)
        }
          id:this.dataForm.id}
      }
      this.$refs["dataForm"].validate((valid) => {
        if (valid) {