diff --git a/src/views/member/user/components/UserBalanceUpdateForm.vue b/src/views/member/user/components/UserBalanceUpdateForm.vue new file mode 100644 index 00000000..c9d9ad50 --- /dev/null +++ b/src/views/member/user/components/UserBalanceUpdateForm.vue @@ -0,0 +1,144 @@ + + diff --git a/src/views/member/user/UserLevelUpdateForm.vue b/src/views/member/user/components/UserLevelUpdateForm.vue similarity index 100% rename from src/views/member/user/UserLevelUpdateForm.vue rename to src/views/member/user/components/UserLevelUpdateForm.vue diff --git a/src/views/member/user/UserPointUpdateForm.vue b/src/views/member/user/components/UserPointUpdateForm.vue similarity index 91% rename from src/views/member/user/UserPointUpdateForm.vue rename to src/views/member/user/components/UserPointUpdateForm.vue index 967ebe03..c277d9bf 100644 --- a/src/views/member/user/UserPointUpdateForm.vue +++ b/src/views/member/user/components/UserPointUpdateForm.vue @@ -1,11 +1,11 @@ - - - - - - diff --git a/src/views/member/user/index.vue b/src/views/member/user/index.vue index 69bf6de3..dc081fa6 100644 --- a/src/views/member/user/index.vue +++ b/src/views/member/user/index.vue @@ -172,7 +172,7 @@ v-if="checkPermi(['member:user:update-balance'])" command="handleUpdateBlance" > - 修改余额(WIP) + 修改余额 @@ -196,6 +196,8 @@ + + @@ -207,8 +209,9 @@ import UserForm from './UserForm.vue' import MemberTagSelect from '@/views/member/tag/components/MemberTagSelect.vue' import MemberLevelSelect from '@/views/member/level/components/MemberLevelSelect.vue' import MemberGroupSelect from '@/views/member/group/components/MemberGroupSelect.vue' -import UserLevelUpdateForm from './UserLevelUpdateForm.vue' -import UserPointUpdateForm from './UserPointUpdateForm.vue' +import UserLevelUpdateForm from './components/UserLevelUpdateForm.vue' +import UserPointUpdateForm from './components/UserPointUpdateForm.vue' +import UserBalanceUpdateForm from './components/UserBalanceUpdateForm.vue' import { CouponSendForm } from '@/views/mall/promotion/coupon/components' import { checkPermi } from '@/utils/permission' @@ -233,6 +236,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const updateLevelFormRef = ref() // 修改会员等级表单 const updatePointFormRef = ref() // 修改会员积分表单 +const UpdateBalanceFormRef = ref() // 修改用户余额表单 const selectedIds = ref([]) // 表格的选中 ID 数组 /** 查询列表 */ @@ -299,7 +303,7 @@ const handleCommand = (command: string, row: UserApi.UserVO) => { updatePointFormRef.value.open(row.id) break case 'handleUpdateBlance': - // todo @jason:增加一个【修改余额】 + UpdateBalanceFormRef.value.open(row.id) break default: break