转发对象配置,工作人员管理页面联调
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -12,8 +12,8 @@ import {
|
||||
getCmsWechatGroupList,
|
||||
putCmsWechatGroup
|
||||
} from "@/services/application/GroupManagement";
|
||||
import {getCmsCommunityUserList} from "@/services/application/Msmanagement";
|
||||
import {DictValueEnumObj} from "@/components/DictTag";
|
||||
import { getCmsCommunityUserList } from "@/services/application/Msmanagement";
|
||||
import { DictValueEnumObj } from "@/components/DictTag";
|
||||
|
||||
const handleRemoveOne = async (companyCardId: string) => {
|
||||
const hide = message.loading('正在删除');
|
||||
@@ -53,8 +53,8 @@ function ManagementList() {
|
||||
}, []);
|
||||
|
||||
const getGzrlList = useCallback(async () => {
|
||||
let resData = await getCmsCommunityUserList({current: 1, pageSize: 100})
|
||||
if(resData?.code === 200) {
|
||||
let resData = await getCmsCommunityUserList({ current: 1, pageSize: 100 })
|
||||
if (resData?.code === 200) {
|
||||
const opts: DictValueEnumObj = {};
|
||||
resData.rows.forEach((item: any) => {
|
||||
opts[item.id] = {
|
||||
@@ -95,7 +95,8 @@ function ManagementList() {
|
||||
dataIndex: 'createTime',
|
||||
valueType: 'text',
|
||||
align: 'center',
|
||||
search: false
|
||||
search: false,
|
||||
render: text => (text ? text.substr(0, 10) : '-'),
|
||||
},
|
||||
{
|
||||
title: "管理员微信名",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getCmsCommunityUserList(params?: API.GroupManagement.Params) {
|
||||
return request<API.GroupManagement.Result>(`/api/cms/communityUser`, {
|
||||
return request<API.GroupManagement.Result>(`/api/cms/communityUser/list`, {
|
||||
method: 'GET',
|
||||
params: params,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user