10.10综合交易所原始源码-管理后台
1
7 days ago e9d3edf1ab0973042b253be238c3bb6e7ac60c82
1
5 files modified
202 ■■■■■ changed files
.env.development 2 ●●● patch | view | raw | blame | history
.env.production 2 ●●● patch | view | raw | blame | history
src/crud/sys/manger.js 141 ●●●●● patch | view | raw | blame | history
src/views/modules/user/mang-fix-update-message.vue 48 ●●●●● 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.eledrink.com'
VUE_APP_BASE_API = 'https://zhgdapi.shenliankeji.top'
# 静态资源文件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.eledrink.com
VUE_APP_BASE_API = https://zhgdapi.shenliankeji.top
# 静态资源文件url
VUE_APP_RESOURCES_URL = '/admin'
src/crud/sys/manger.js
@@ -6,100 +6,79 @@
  selection: false, //开启勾选功能
  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(钱包地址)",
  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",
    search: true
  }, {
    label: 'UID',
    prop: 'userCode'
  }, {
    label: '实名姓名',
    prop: 'realName'
  },{
    label: '注册时间',
    prop: 'createTime'
  }, {
    type:'select',
    label: '账户类型',
    prop: 'rolename',
      searchFilterable: true, //select选择框匹配
      search: true,
      searchValue: "", //搜索的默认值
    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",
    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",
  }, {
    label: '资产',
    prop: 'property',
      slot: true,
    },
    {
      label: "提现限制流水",
      prop: "withdrawLimitAmount",
    },
    {
      label: "交割合约赢率",
      prop: "futuresMostPrfitLevel",
    },
    {
      label: "用户当前流水",
      prop: "withdrawLimitNowAmount",
    },
  ],
};
  }, {
    label: '提现限制流水',
    prop: 'withdrawLimitAmount'
  }, {
    label: '用户当前流水',
    prop: 'withdrawLimitNowAmount'
  }]
}
src/views/modules/user/mang-fix-update-message.vue
@@ -109,7 +109,6 @@
          placeholder="请输入登录人谷歌验证码"
        ></el-input>
      </el-form-item>
      <el-form-item
        v-if="isShow == 6"
        label="限制流水"
@@ -121,20 +120,7 @@
          placeholder="0.0"
        ></el-input>
      </el-form-item>
      <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 v-if="isShow == 6" style="margin: 10px; color: #278927">
        增加请输入正数,减少请输入负数
      </div>
      <!-- <el-form-item label="原密码" prop="password">
@@ -187,7 +173,6 @@
        googleAuthCode: "", //登录人谷歌验证器
        newSafeword: "", //新资金密码
        withdrawLimitAmount: "", //限制提现流水
        futuresMostPrfitLevel: "", //交割合约赢率
        password: "",
        newPassword: "",
        confirmPassword: "",
@@ -274,7 +259,6 @@
      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;
@@ -309,7 +293,6 @@
        googleAuthCode: "", //登录人谷歌验证器
        newSafeword: "", //新资金密码
        withdrawLimitAmount: "", //限制提现流水
        futuresMostPrfitLevel: "", //交割合约赢率
        password: "",
        newPassword: "",
        confirmPassword: "",
@@ -531,35 +514,6 @@
              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",
                });
              }
            });
          }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: () => {
src/views/modules/user/manger.vue
@@ -164,10 +164,6 @@
          value: "12",
          label: "赠送用户USDT",
        },
        {
          value: "13",
          label: "设置交割合约赢率",
        },
      ],
      page: {
        total: 0, // 总页数
@@ -258,10 +254,9 @@
          val == 9 ||
          val == 6 ||
          val == 10 ||
          val == 12 ||
          val == 13
          val == 12
        ) {
          // 1资金账户 2转移账户锁定金额 3增加账户锁定金额 4减少账户锁定金额 5转移账户冻结金额 8谷歌验证 7密码 9资金密码 6提现限制流水 10强制退出 12 赠送USDT 13 设置交割合约赢率
          // 1资金账户 2转移账户锁定金额 3增加账户锁定金额 4减少账户锁定金额 5转移账户冻结金额 8谷歌验证 7密码 9资金密码 6提现限制流水 10强制退出 12 赠送USDT
          this.addOrUpdateVisible = true;
          this.$nextTick(() => {
            this.$refs.addOrUpdate.init(uid, m, val,row);