完善功能

This commit is contained in:
wangxiaowei
2026-04-13 14:34:42 +08:00
parent 51474a3fd4
commit 8be96e4ea5
18 changed files with 408 additions and 46 deletions

View File

@ -42,7 +42,7 @@
</template>
</el-table-column>
<el-table-column label="注册时间" prop="create_time" min-width="120" />
<el-table-column label="操作" width="120" fixed="right">
<el-table-column label="操作" width="180" fixed="right">
<template #default="{ row }">
<el-button v-perms="['user.user/detail']" type="primary" link>
<router-link :to="{
@ -54,6 +54,17 @@
详情
</router-link>
</el-button>
<el-button v-perms="['user.user/store_balance']" type="primary" link>
<router-link :to="{
path: getRoutePath('user.user/store_balance'),
query: {
id: row.id
}
}">
门店余额
</router-link>
</el-button>
</template>
</el-table-column>
</el-table>
@ -80,9 +91,6 @@ const { pager, getLists, resetPage, resetParams } = usePaging({
fetchFun: getUserList,
params: queryParams
})
onActivated(() => {
getLists()
})
getLists()
</script>