【新增】member:相关文档的链接

pull/42/head
YunaiV 2024-05-04 21:48:29 +08:00
parent b5e9ab123a
commit 71156e8380
8 changed files with 24 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import { PageWrapper } from '@/components/Page'
import { getConfig, saveConfig } from '@/api/member/config'
import { useI18n } from '@/hooks/web/useI18n'
import { useMessage } from '@/hooks/web/useMessage'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'MemberConfig' })
@ -90,6 +91,8 @@ onMounted(async () => {
<template>
<PageWrapper>
<DocAlert title="会员手册(功能开启)" url="https://doc.iocoder.cn/member/build/" />
<BasicForm class="w-200" @register="registerForm" @submit="handleSubmit" />
</PageWrapper>
</template>

View File

@ -6,6 +6,7 @@ import { useModal } from '@/components/Modal'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { getGroupPage } from '@/api/member/group'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'MemberGroup' })
@ -34,6 +35,8 @@ function handleEdit(record: Recordable) {
<template>
<div>
<DocAlert title="会员用户、标签、分组" url="https://doc.iocoder.cn/member/user/" />
<BasicTable @register="registerTable">
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">

View File

@ -6,6 +6,7 @@ import { useModal } from '@/components/Modal'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { getLevelList } from '@/api/member/level'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'MemberLevel' })
@ -34,6 +35,8 @@ function handleEdit(record: Recordable) {
<template>
<div>
<DocAlert title="会员等级、积分、签到" url="https://doc.iocoder.cn/member/level/" />
<BasicTable @register="registerTable">
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">

View File

@ -2,6 +2,7 @@
import { columns, searchFormSchema } from './record.data'
import { BasicTable, useTable } from '@/components/Table'
import { getRecordPage } from '@/api/member/point/record'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'PointRecord' })
@ -18,6 +19,8 @@ const [registerTable] = useTable({
<template>
<div>
<DocAlert title="会员等级、积分、签到" url="https://doc.iocoder.cn/member/level/" />
<BasicTable @register="registerTable" />
</div>
</template>

View File

@ -7,6 +7,7 @@ import { useModal } from '@/components/Modal'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { deleteSignInConfig, getSignInConfigList } from '@/api/member/signin/config'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'SignInConfig' })
@ -43,6 +44,8 @@ async function handleDelete(record: Recordable) {
<template>
<div>
<DocAlert title="会员等级、积分、签到" url="https://doc.iocoder.cn/member/level/" />
<BasicTable @register="registerTable">
<template #toolbar>
<a-button v-auth="['point:sign-in-config:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">

View File

@ -2,6 +2,7 @@
import { columns, searchFormSchema } from './record.data'
import { BasicTable, useTable } from '@/components/Table'
import { getSignInRecordPage } from '@/api/member/signin/record'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'SignInRecord' })
@ -18,6 +19,8 @@ const [registerTable] = useTable({
<template>
<div>
<DocAlert title="会员等级、积分、签到" url="https://doc.iocoder.cn/member/level/" />
<BasicTable @register="registerTable" />
</div>
</template>

View File

@ -7,6 +7,7 @@ import { useModal } from '@/components/Modal'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { deleteMemberTag, getMemberTagPage } from '@/api/member/tag'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'MemberTag' })
@ -46,6 +47,8 @@ async function handleDelete(record: Recordable) {
<template>
<div>
<DocAlert title="会员用户、标签、分组" url="https://doc.iocoder.cn/member/user/" />
<BasicTable @register="registerTable">
<template #toolbar>
<a-button v-auth="['member:tag:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">

View File

@ -9,6 +9,7 @@ import { useDrawer } from '@/components/Drawer'
import { IconEnum } from '@/enums/appEnum'
import { BasicTable, TableAction, useTable } from '@/components/Table'
import { getUserPage } from '@/api/member/user'
import { DocAlert } from '@/components/DocAlert'
defineOptions({ name: 'MemberUser' })
@ -47,6 +48,8 @@ function updateLevelFormRef(record: Recordable) {
<template>
<div>
<DocAlert title="会员用户、标签、分组" url="https://doc.iocoder.cn/member/user/" />
<BasicTable @register="registerTable">
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">