完善功能
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user