From e9d3edf1ab0973042b253be238c3bb6e7ac60c82 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Wed, 03 Jun 2026 16:10:37 +0800
Subject: [PATCH] 1
---
src/views/modules/user/manger.vue | 9 -
.env.development | 2
src/views/modules/user/mang-fix-update-message.vue | 48 -----------
.env.production | 2
src/crud/sys/manger.js | 157 +++++++++++++++++----------------------
5 files changed, 73 insertions(+), 145 deletions(-)
diff --git a/.env.development b/.env.development
index aa2bb71..803d750 100644
--- a/.env.development
+++ b/.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'
diff --git a/.env.production b/.env.production
index d44482a..7f9d57c 100644
--- a/.env.production
+++ b/.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'
diff --git a/src/crud/sys/manger.js b/src/crud/sys/manger.js
index 5d8654d..b3f92b6 100644
--- a/src/crud/sys/manger.js
+++ b/src/crud/sys/manger.js
@@ -4,102 +4,81 @@
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: "futuresMostPrfitLevel",
- },
- {
- 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: 'withdrawLimitNowAmount'
+ }]
+}
diff --git a/src/views/modules/user/mang-fix-update-message.vue b/src/views/modules/user/mang-fix-update-message.vue
index 459c8b5..975acb8 100644
--- a/src/views/modules/user/mang-fix-update-message.vue
+++ b/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: () => {
diff --git a/src/views/modules/user/manger.vue b/src/views/modules/user/manger.vue
index f07bd8d..3fa5c91 100644
--- a/src/views/modules/user/manger.vue
+++ b/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);
--
Gitblit v1.9.3