【新增】mp:相关文档的链接
parent
24afd502ba
commit
87b8236b37
|
|
@ -7,6 +7,7 @@ import { useModal } from '@/components/Modal'
|
||||||
import { IconEnum } from '@/enums/appEnum'
|
import { IconEnum } from '@/enums/appEnum'
|
||||||
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
||||||
import { clearAccountQuota, deleteAccount, generateAccountQrCode, getAccountPage } from '@/api/mp/account'
|
import { clearAccountQuota, deleteAccount, generateAccountQrCode, getAccountPage } from '@/api/mp/account'
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
|
||||||
defineOptions({ name: 'MpAccount' })
|
defineOptions({ name: 'MpAccount' })
|
||||||
|
|
||||||
|
|
@ -75,6 +76,8 @@ async function handleDelete(record: Recordable) {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<DocAlert title="公众号接入" url="https://doc.iocoder.cn/mp/account/" />
|
||||||
|
|
||||||
<BasicTable @register="registerTable">
|
<BasicTable @register="registerTable">
|
||||||
<template #toolbar>
|
<template #toolbar>
|
||||||
<a-button v-auth="['mp:account:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
|
<a-button v-auth="['mp:account:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>开发中</div>
|
<div>
|
||||||
|
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
|
||||||
|
|
||||||
|
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
|
||||||
|
该功能支持 Vue3 + element-plus 版本!
|
||||||
|
</a-button>
|
||||||
|
<br />
|
||||||
|
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/autoReply/index.vue">
|
||||||
|
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/autoReply/index.vue 代码,pull request 贡献给我们!
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>开发中</div>
|
<div>
|
||||||
|
<DocAlert title="公众号图文" url="https://doc.iocoder.cn/mp/article/" />
|
||||||
|
|
||||||
|
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
|
||||||
|
该功能支持 Vue3 + element-plus 版本!
|
||||||
|
</a-button>
|
||||||
|
<br />
|
||||||
|
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/autoReply/index.vue">
|
||||||
|
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/autoReply/index.vue 代码,pull request 贡献给我们!
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,46 +1,17 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
// import { Icon } from '@/components/Icon'
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
import WxNews from '../components/WxNews/index.vue'
|
|
||||||
import { PageWrapper } from '@/components/Page'
|
|
||||||
import { getSimpleAccounts } from '@/api/mp/account'
|
|
||||||
import { deleteFreePublish, getFreePublishPage } from '@/api/mp/freePublish'
|
|
||||||
import type { FormSchema } from '@/components/Form'
|
|
||||||
|
|
||||||
const simpleAccountsOptions = await getSimpleAccounts()
|
|
||||||
|
|
||||||
const searchSchema: FormSchema[] = [
|
|
||||||
{
|
|
||||||
label: '公众号',
|
|
||||||
field: 'accountId',
|
|
||||||
component: 'Select',
|
|
||||||
required: true,
|
|
||||||
defaultValue: simpleAccountsOptions[0].id,
|
|
||||||
componentProps: {
|
|
||||||
options: simpleAccountsOptions,
|
|
||||||
fieldNames: {
|
|
||||||
label: 'name',
|
|
||||||
value: 'id',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
colProps: { span: 8 },
|
|
||||||
},
|
|
||||||
]
|
|
||||||
|
|
||||||
let reload = () => {}
|
|
||||||
// 获取内部fetch方法;
|
|
||||||
function getMethod(m: any) {
|
|
||||||
reload = m
|
|
||||||
}
|
|
||||||
|
|
||||||
// 删除按钮事件
|
|
||||||
function handleDelete(id) {
|
|
||||||
deleteFreePublish(id, id)
|
|
||||||
reload()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<PageWrapper title="公众号图文">
|
<div>
|
||||||
<WxNews :search-schema="searchSchema" :api="getFreePublishPage" @get-method="getMethod" @delete="handleDelete" />
|
<DocAlert title="公众号图文" url="https://doc.iocoder.cn/mp/article/" />
|
||||||
</PageWrapper>
|
|
||||||
|
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
|
||||||
|
该功能支持 Vue3 + element-plus 版本!
|
||||||
|
</a-button>
|
||||||
|
<br />
|
||||||
|
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/freePublish/index.vue">
|
||||||
|
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/freePublish/index.vue 代码,pull request 贡献给我们!
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>开发中</div>
|
<div>
|
||||||
|
<DocAlert title="公众号素材" url="https://doc.iocoder.cn/mp/material/" />
|
||||||
|
|
||||||
|
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
|
||||||
|
该功能支持 Vue3 + element-plus 版本!
|
||||||
|
</a-button>
|
||||||
|
<br />
|
||||||
|
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/material/index.vue">
|
||||||
|
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/material/index.vue 代码,pull request 贡献给我们!
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>开发中</div>
|
<div>
|
||||||
|
<DocAlert title="公众号菜单" url="https://doc.iocoder.cn/mp/menu/" />
|
||||||
|
|
||||||
|
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
|
||||||
|
该功能支持 Vue3 + element-plus 版本!
|
||||||
|
</a-button>
|
||||||
|
<br />
|
||||||
|
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/menu/index.vue">
|
||||||
|
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/menu/index.vue 代码,pull request 贡献给我们!
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import { useModal } from '@/components/Modal'
|
||||||
import { IconEnum } from '@/enums/appEnum'
|
import { IconEnum } from '@/enums/appEnum'
|
||||||
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
||||||
import { getMessagePage } from '@/api/mp/message'
|
import { getMessagePage } from '@/api/mp/message'
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
|
||||||
defineOptions({ name: 'MpMessage' })
|
defineOptions({ name: 'MpMessage' })
|
||||||
|
|
||||||
|
|
@ -35,6 +36,8 @@ function handleEdit(record: Recordable) {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<DocAlert title="公众号手册" url="https://doc.iocoder.cn/mp/build/" />
|
||||||
|
|
||||||
<BasicTable @register="registerTable">
|
<BasicTable @register="registerTable">
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.key === 'action'">
|
<template v-if="column.key === 'action'">
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,17 @@
|
||||||
<!-- <template>
|
<script lang="ts" setup>
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<UserSummaryChart class="md:w-1/2 w-full" :loading="loading" :accountId="accountId" />
|
<DocAlert title="公众号手册" url="https://doc.iocoder.cn/mp/build/" />
|
||||||
<UserCumulateChart class="md:w-1/2 w-full" :loading="loading" :accountId="accountId" />
|
|
||||||
<UpstreamMessageChart class="md:w-1/2 w-full" :loading="loading" :accountId="accountId" />
|
<a-button danger type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3">
|
||||||
<InterfaceSummaryChart class="md:w-1/2 w-full" :loading="loading" :accountId="accountId" />
|
该功能支持 Vue3 + element-plus 版本!
|
||||||
|
</a-button>
|
||||||
|
<br />
|
||||||
|
<a-button type="link" target="_blank" href="https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/menu/index.vue">
|
||||||
|
可参考 https://github.com/yudaocode/yudao-ui-admin-vue3/blob/master/src/views/mp/menu/index.vue 代码,pull request 贡献给我们!
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
|
||||||
import { ref } from 'vue'
|
|
||||||
import UserSummaryChart from './components/UserSummaryChart.vue'
|
|
||||||
import UserCumulateChart from './components/UserCumulateChart.vue'
|
|
||||||
import UpstreamMessageChart from './components/UpstreamMessageChart.vue'
|
|
||||||
import InterfaceSummaryChart from './components/InterfaceSummaryChart.vue'
|
|
||||||
|
|
||||||
defineOptions({ name: 'Statistics' })
|
|
||||||
|
|
||||||
const loading = ref(true)
|
|
||||||
|
|
||||||
const accountId = ref(1)
|
|
||||||
</script> -->
|
|
||||||
<template>
|
|
||||||
<div>开发中</div>
|
|
||||||
</template>
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import { useModal } from '@/components/Modal'
|
||||||
import { IconEnum } from '@/enums/appEnum'
|
import { IconEnum } from '@/enums/appEnum'
|
||||||
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
||||||
import { deleteTag, getTagPage, syncTag } from '@/api/mp/tag'
|
import { deleteTag, getTagPage, syncTag } from '@/api/mp/tag'
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
|
||||||
defineOptions({ name: 'MpTag' })
|
defineOptions({ name: 'MpTag' })
|
||||||
|
|
||||||
|
|
@ -58,6 +59,8 @@ async function handleDelete(record: Recordable) {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<DocAlert title="公众号标签" url="https://doc.iocoder.cn/mp/tag/" />
|
||||||
|
|
||||||
<BasicTable @register="registerTable">
|
<BasicTable @register="registerTable">
|
||||||
<template #toolbar>
|
<template #toolbar>
|
||||||
<a-button v-auth="['mp:tag:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
|
<a-button v-auth="['mp:tag:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import { useModal } from '@/components/Modal'
|
||||||
import { IconEnum } from '@/enums/appEnum'
|
import { IconEnum } from '@/enums/appEnum'
|
||||||
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
import { BasicTable, TableAction, useTable } from '@/components/Table'
|
||||||
import { getUserPage, syncUser } from '@/api/mp/mpuser'
|
import { getUserPage, syncUser } from '@/api/mp/mpuser'
|
||||||
|
import { DocAlert } from '@/components/DocAlert'
|
||||||
|
|
||||||
defineOptions({ name: 'MpUser' })
|
defineOptions({ name: 'MpUser' })
|
||||||
|
|
||||||
|
|
@ -50,6 +51,8 @@ function handleEdit(record: Recordable) {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<DocAlert title="公众号粉丝" url="https://doc.iocoder.cn/mp/user/" />
|
||||||
|
|
||||||
<BasicTable @register="registerTable">
|
<BasicTable @register="registerTable">
|
||||||
<template #toolbar>
|
<template #toolbar>
|
||||||
<a-button v-auth="['mp:user:sync']" type="primary" :pre-icon="IconEnum.RESET" @click="handleSync">
|
<a-button v-auth="['mp:user:sync']" type="primary" :pre-icon="IconEnum.RESET" @click="handleSync">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue