|
|
@@ -331,6 +331,7 @@ import {
|
|
|
setUserRechargeChannelGroup,
|
|
|
getRechargeChannelGroupList,
|
|
|
setUserPassword,
|
|
|
+ getUserInfo,
|
|
|
} from "@/api/data";
|
|
|
|
|
|
export default {
|
|
|
@@ -642,6 +643,7 @@ export default {
|
|
|
message: "合并成功!",
|
|
|
});
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
@@ -664,6 +666,7 @@ export default {
|
|
|
admin_note: value,
|
|
|
}).then(() => {
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
message: "操作成功",
|
|
|
@@ -705,6 +708,7 @@ export default {
|
|
|
is_banned: 1,
|
|
|
}).then((res) => {
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
this.$message({
|
|
|
type: "warning",
|
|
|
message: "保存修改为封号!",
|
|
|
@@ -733,6 +737,7 @@ export default {
|
|
|
is_banned: 0,
|
|
|
}).then((res) => {
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
message: "保存修改为正常!",
|
|
|
@@ -1052,6 +1057,21 @@ export default {
|
|
|
this.$refs.dialogDetail.open();
|
|
|
},
|
|
|
|
|
|
+ // 查看弹窗操作后刷新弹窗内数据
|
|
|
+ refreshDetail() {
|
|
|
+ if (!this.detailData || !this.detailData.member_id) return
|
|
|
+ getUserInfo({ member_id: this.detailData.member_id, page: 1, limit: 1 })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code === 0 || res.code === 99) {
|
|
|
+ const list = res.data?.data || []
|
|
|
+ if (list.length > 0) {
|
|
|
+ this.detailData = { ...list[0] }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {})
|
|
|
+ },
|
|
|
+
|
|
|
sfBalanceTransferClick(member_id) {
|
|
|
this.logLoading = true;
|
|
|
const params = {
|
|
|
@@ -1067,6 +1087,7 @@ export default {
|
|
|
});
|
|
|
this.getSfList(member_id);
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.logLoading = false;
|
|
|
@@ -1095,6 +1116,7 @@ export default {
|
|
|
type: "success",
|
|
|
});
|
|
|
this.$refs.dialogPassword.close();
|
|
|
+ this.refreshDetail();
|
|
|
} else {
|
|
|
this.$message.error(res.msg || "修改失败");
|
|
|
}
|
|
|
@@ -1147,6 +1169,7 @@ export default {
|
|
|
});
|
|
|
this.$refs.dialogChannel.close();
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
} else {
|
|
|
this.$message.error(res.msg || "设置失败");
|
|
|
}
|
|
|
@@ -1230,6 +1253,7 @@ export default {
|
|
|
this.$refs.dialog.close();
|
|
|
this.$refs.dialog1.close();
|
|
|
this.onSubmit(this.queryData);
|
|
|
+ this.refreshDetail();
|
|
|
this.$refs.formDataref.resetFields();
|
|
|
}
|
|
|
})
|