10.10综合交易所原始源码-管理后台
1
admin
2026-04-02 a32340336eceec8cf7d7f526d9f9fb83fc2efc5a
1
12 files modified
266 ■■■■■ changed files
.env.development 2 ●●● patch | view | raw | blame | history
.env.production 2 ●●● patch | view | raw | blame | history
src/crud/sys/manger.js 157 ●●●●● patch | view | raw | blame | history
src/views/modules/cryptos-spots/cryptos-pickAddr.vue 2 ●●● patch | view | raw | blame | history
src/views/modules/etf-spots/etf-pickAddr.vue 2 ●●● patch | view | raw | blame | history
src/views/modules/mining/loan-order.vue 4 ●●●● patch | view | raw | blame | history
src/views/modules/shop/pickAddr.vue 5 ●●●●● patch | view | raw | blame | history
src/views/modules/sys-config/root2-sys-config.vue 11 ●●●● patch | view | raw | blame | history
src/views/modules/sys-config/userMange-add-or-update.vue 10 ●●●● patch | view | raw | blame | history
src/views/modules/user/mang-fix-update-message.vue 48 ●●●●● patch | view | raw | blame | history
src/views/modules/user/mange-add-or-update.vue 14 ●●●●● patch | view | raw | blame | history
src/views/modules/user/manger.vue 9 ●●●● patch | view | raw | blame | history
.env.development
@@ -4,7 +4,7 @@
# api接口请求地址
# 开发环境
# VUE_APP_BASE_API = 'http://154.23.189.28:8086'
VUE_APP_BASE_API = 'https://api.crypt.bond'
VUE_APP_BASE_API = 'https://api.eledrink.com'
# 静态资源文件url
VUE_APP_RESOURCES_URL = '/admin'
.env.production
@@ -5,7 +5,7 @@
# 开发环境
# VUE_APP_BASE_API = http://154.23.189.28:8086
VUE_APP_BASE_API = https://api.crypt.bond
VUE_APP_BASE_API = https://api.eledrink.com
# 静态资源文件url
VUE_APP_RESOURCES_URL = '/admin'
src/crud/sys/manger.js
@@ -4,81 +4,102 @@
  border: true,
  selection: true,
  selection: false, //开启勾选功能
  searchLabelWidth:130,
  searchLabelWidth: 130,
  index: false,
  indexLabel: '序号',
  indexLabel: "序号",
  stripe: true,
  menuAlign: 'center',
  menuAlign: "center",
  menuWidth: 170,
  align: 'center',
  align: "center",
  refreshBtn: true,
  searchSize: 'mini',
  searchSize: "mini",
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
    label: "label",
    value: "value",
  },
  column: [{
    label: '用户名(钱包地址)',
    prop: 'userName',
    placeholder:'用户名、UID(钱包地址)',
    solt:true,
    search: true
  }, {
    label: 'UID',
    prop: 'userCode'
  }, {
    label: '实名姓名',
    prop: 'realName'
  },{
    label: '注册时间',
    prop: 'createTime'
  }, {
    type:'select',
    label: '账户类型',
    prop: 'rolename',
    searchFilterable:true,//select选择框匹配
    search: true,
    searchValue:'',//搜索的默认值
    filterable:true,  //在表单为select状态时 可键盘输入进行筛选选择项
    multiple:false,  //当type为select时,设置是否多选
    dicData:[{
      label:'所有账号',
      value:''
    },{
      label:'正式账号',
      value:'MEMBER'
    },{
      label:'演示账号',
      value:'GUEST'
    },{
      label:'试用账号',
      value:'TEST'
    }]
  }, {
    label: '手机号',
    prop: 'userMobile',
    search: true
  }, {
    label: '邮箱',
    prop: 'userMail',
    search: true
  }, {
    label: 'USDT账户余额',
    prop: 'moneyslot',
    slot:true,
  }, {
    label: '资产',
    prop: 'property',
    slot:true,
  }, {
    label: '提现限制流水',
    prop: 'withdrawLimitAmount'
  }, {
    label: '用户当前流水',
    prop: 'withdrawLimitNowAmount'
  }]
}
  column: [
    {
      label: "用户名(钱包地址)",
      prop: "userName",
      placeholder: "用户名、UID(钱包地址)",
      solt: true,
      search: true,
    },
    {
      label: "UID",
      prop: "userCode",
    },
    {
      label: "实名姓名",
      prop: "realName",
    },
    {
      label: "注册时间",
      prop: "createTime",
    },
    {
      type: "select",
      label: "账户类型",
      prop: "rolename",
      searchFilterable: true, //select选择框匹配
      search: true,
      searchValue: "", //搜索的默认值
      filterable: true, //在表单为select状态时 可键盘输入进行筛选选择项
      multiple: false, //当type为select时,设置是否多选
      dicData: [
        {
          label: "所有账号",
          value: "",
        },
        {
          label: "正式账号",
          value: "MEMBER",
        },
        {
          label: "演示账号",
          value: "GUEST",
        },
        {
          label: "试用账号",
          value: "TEST",
        },
      ],
    },
    {
      label: "手机号",
      prop: "userMobile",
      search: true,
    },
    {
      label: "邮箱",
      prop: "userMail",
      search: true,
    },
    {
      label: "USDT账户余额",
      prop: "moneyslot",
      slot: true,
    },
    {
      label: "资产",
      prop: "property",
      slot: true,
    },
    {
      label: "提现限制流水",
      prop: "withdrawLimitAmount",
    },
    {
      label: "交割合约赢率",
      prop: "futuresMostPrfitLevel",
    },
    {
      label: "用户当前流水",
      prop: "withdrawLimitNowAmount",
    },
  ],
};
src/views/modules/cryptos-spots/cryptos-pickAddr.vue
@@ -40,7 +40,7 @@
                   icon="el-icon-edit"
                   size="small"
                   v-if="scope.row.state !=='created' && isAuth('cryptos-spots:operate')"
                   <!--  @click.stop="pickHandle(scope.row.orderNo)">场控</el-button>  -->
                   @click.stop="pickHandle(scope.row.orderNo)">场控</el-button>
        
      </template>
    </avue-crud>
src/views/modules/etf-spots/etf-pickAddr.vue
@@ -40,7 +40,7 @@
                   icon="el-icon-edit"
                   size="small"
                   v-if="scope.row.state !=='created' && isAuth('etf-spots:operate')"
                   <!-- @click.stop="pickHandle(scope.row.orderNo)">电控</el-button> -->
                  @click.stop="pickHandle(scope.row.orderNo)">电控</el-button>
        
      </template>
    </avue-crud>
src/views/modules/mining/loan-order.vue
@@ -42,7 +42,7 @@
      <template slot-scope="scope" slot="menu">
        <el-select v-if="scope.row.state[0]==1 && isAuth('mining:loan-order:operate')"
        <el-select v-if="scope.row.state[0]==1"
          v-model="scope.row.select"
          class="celectSpeac"
          clearable
@@ -65,7 +65,7 @@
          </el-option>
        </el-select>
        <el-select v-if="scope.row.state[0]==2 && isAuth('mining:loan-order:operate')"
        <el-select v-if="scope.row.state[0]==2"
          v-model="scope.row.select"
          class="celectSpeac"
          clearable
src/views/modules/shop/pickAddr.vue
@@ -40,9 +40,8 @@
          icon="el-icon-edit"
          size="small"
          v-if="isAuth('shop-spots:operate') && scope.row.state !== 'created'"
          <!-- @click.stop="pickHandle(scope.row.orderNo)"
          >场控</el-button -->
        >
           @click.stop="pickHandle(scope.row.orderNo)"
          >场控</el-button>
      </template>
    </avue-crud>
    <pickUpdate
src/views/modules/sys-config/root2-sys-config.vue
@@ -121,13 +121,14 @@
          <!-- <el-form-item label="交割合约" prop="roleName" class="item"></el-form-item> -->
          <div class="item2" style="width: 520px;">
            <div style="height: auto;position: relative;top: -15%;">
              手续费
              <!-- 手续费 -->
               交割合约
            </div>
          </div>
      <!-- <div style="background-color: white;height: 10px;"></div> -->
          <!-- <el-form-item label="24小时内交割合约客户最高赢率(设置了场控的不受影响),高于设定的值时客户必亏" style="display: flex;flex-wrap:wrap"></el-form-item>
          <el-form-item label="低于时则不限制(范例:10,为最高赢10%),为0则不限制" style="display: flex;flex-wrap:wrap"></el-form-item> -->
          <!-- <br /> -->
      <div style="background-color: white;height: 10px;"></div>
          <el-form-item label="24小时内交割合约客户最高赢率(设置了场控的不受影响),高于设定的值时客户必亏" style="display: flex;flex-wrap:wrap"></el-form-item>
          <el-form-item label="低于时则不限制(范例:10,为最高赢10%),为0则不限制" style="display: flex;flex-wrap:wrap"></el-form-item>
          <br />
          <el-input-number v-model="dataForm.futures_most_prfit_level" :step="2"></el-input-number>
          
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({
src/views/modules/user/mang-fix-update-message.vue
@@ -109,6 +109,7 @@
          placeholder="请输入登录人谷歌验证码"
        ></el-input>
      </el-form-item>
      <el-form-item
        v-if="isShow == 6"
        label="限制流水"
@@ -120,7 +121,20 @@
          placeholder="0.0"
        ></el-input>
      </el-form-item>
      <div v-if="isShow == 6" style="margin: 10px; color: #278927">
      <el-form-item label-width="120px"
        v-if="isShow == 13"
        label="交割合约赢率"
        prop="futuresMostPrfitLevel"
      >
        <el-input
          type="number"
          v-model="dataForm.futuresMostPrfitLevel"
          placeholder="0.0"
        ></el-input>
      </el-form-item>
      <div v-if="isShow == 6 || isShow == 13" style="margin: 10px; color: #278927">
        增加请输入正数,减少请输入负数
      </div>
      <!-- <el-form-item label="原密码" prop="password">
@@ -173,6 +187,7 @@
        googleAuthCode: "", //登录人谷歌验证器
        newSafeword: "", //新资金密码
        withdrawLimitAmount: "", //限制提现流水
        futuresMostPrfitLevel: "", //交割合约赢率
        password: "",
        newPassword: "",
        confirmPassword: "",
@@ -259,6 +274,7 @@
      this.title = m;
      this.isShow = val;
      this.dataForm.withdrawLimitAmount = this.row.withdrawLimitAmount;
      this.dataForm.futuresMostPrfitLevel = this.row.futuresMostPrfitLevel;
      this.visible = true;
      this.options.value = this.options[0].value;
      this.optionsTwo.value = this.optionsTwo[0].value;
@@ -293,6 +309,7 @@
        googleAuthCode: "", //登录人谷歌验证器
        newSafeword: "", //新资金密码
        withdrawLimitAmount: "", //限制提现流水
        futuresMostPrfitLevel: "", //交割合约赢率
        password: "",
        newPassword: "",
        confirmPassword: "",
@@ -530,6 +547,35 @@
                });
              }
            });
          }else if (this.isShow == 13) {
            //设置交割合约赢率
            this.$http({
              url: this.$http.adornUrl("/user/updateFuturesMostPrfitLevel"),
              method: "post",
              data: this.$http.adornData({
                futuresMostPrfitLevel: this.dataForm.futuresMostPrfitLevel,
                userId: this.userId,
              }),
            }).then(({ data }) => {
              if (data.code == 0) {
                this.$message({
                  message: "修改成功",
                  type: "success",
                  duration: 1000,
                  onClose: () => {
                    this.visible = false;
                    this.$nextTick(() => {
                      this.$emit("refreshDataList");
                    });
                  },
                });
              } else {
                this.$message({
                  message: data.msg,
                  type: "error",
                });
              }
            });
          }
        }
      });
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) {
src/views/modules/user/manger.vue
@@ -164,6 +164,10 @@
          value: "12",
          label: "赠送用户USDT",
        },
        {
          value: "13",
          label: "设置交割合约赢率",
        },
      ],
      page: {
        total: 0, // 总页数
@@ -254,9 +258,10 @@
          val == 9 ||
          val == 6 ||
          val == 10 ||
          val == 12
          val == 12 ||
          val == 13
        ) {
          // 1资金账户 2转移账户锁定金额 3增加账户锁定金额 4减少账户锁定金额 5转移账户冻结金额 8谷歌验证 7密码 9资金密码 6提现限制流水 10强制退出 12 赠送USDT
          // 1资金账户 2转移账户锁定金额 3增加账户锁定金额 4减少账户锁定金额 5转移账户冻结金额 8谷歌验证 7密码 9资金密码 6提现限制流水 10强制退出 12 赠送USDT 13 设置交割合约赢率
          this.addOrUpdateVisible = true;
          this.$nextTick(() => {
            this.$refs.addOrUpdate.init(uid, m, val,row);