Commit fc08bc78 authored by XieZhiXiong's avatar XieZhiXiong

对接完毕会员审核流程

parent d0245af6
.mellow {
:global {
.ant-card {
border-radius: 8px;
&-head {
border-bottom: none;
&-title {
line-height: 24px;
padding-bottom: 0;
font-size: 16px;
font-weight: 500;
color: rgba(23, 43, 77, 1);
}
}
&-body {
padding: 14px 24px 24px;
}
}
}
}
\ No newline at end of file
/*
* @Author: XieZhiXiong
* @Date: 2020-08-26 17:32:45
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-08-26 17:33:28
* @Description: 基于 antd Card 封装的适合项目 UI 的 Card,使用方式跟 antd Card 一样,这里只是修改了样式
*/
import React from 'react';
import { Card } from 'antd';
import { CardProps } from 'antd/lib/card';
import styles from './index.less';
const MellowCard: React.FC<CardProps> = props => {
const { children, ...rest } = props;
return (
<div className={styles.mellow}>
<Card {...rest}>
{children}
</Card>
</div>
)
};
export default MellowCard;
\ No newline at end of file
/*
* @Author: XieZhiXiong
* @Date: 2020-08-21 11:13:55
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-09-08 16:54:48
* @Description:
*/
import { TableProps, TablePaginationConfig, ColumnType } from 'antd/lib/table'; import { TableProps, TablePaginationConfig, ColumnType } from 'antd/lib/table';
export interface StandardTableProps extends TableProps<any> { export interface StandardTableProps extends TableProps<any> {
......
...@@ -28,13 +28,12 @@ export interface InnerHistoryItem { ...@@ -28,13 +28,12 @@ export interface InnerHistoryItem {
}; };
export interface OuterHistoryItem { export interface OuterHistoryItem {
createTime?: string, id: number;
id?: number; roleName: string;
operation?: string; statusName: string;
operatorRoleName?: string; operation: string;
remark?: string; operateTime: string;
statusDescription?: string; reason: string;
status?: number,
}; };
interface FlowRecordsProps { interface FlowRecordsProps {
...@@ -53,12 +52,12 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ outerHistory = [], innerHisto ...@@ -53,12 +52,12 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ outerHistory = [], innerHisto
}, },
{ {
title: '操作角色', title: '操作角色',
dataIndex: 'operatorRoleName', dataIndex: 'roleName',
align: 'center', align: 'center',
}, },
{ {
title: '状态', title: '状态',
dataIndex: 'statusDescription', dataIndex: 'statusName',
align: 'center', align: 'center',
render: (text, record) => ( render: (text, record) => (
<Badge color={MEMBER_OUTER_STATUS_BADGE_COLOR[record.status]} text={text} /> <Badge color={MEMBER_OUTER_STATUS_BADGE_COLOR[record.status]} text={text} />
...@@ -71,13 +70,13 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ outerHistory = [], innerHisto ...@@ -71,13 +70,13 @@ const FlowRecords: React.FC<FlowRecordsProps> = ({ outerHistory = [], innerHisto
}, },
{ {
title: '操作时间', title: '操作时间',
dataIndex: 'createTime', dataIndex: 'operateTime',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
}, },
{ {
title: '审核意见', title: '审核意见',
dataIndex: 'remark', dataIndex: 'reason',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
}, },
......
...@@ -4,7 +4,7 @@ import styles from './index.less'; ...@@ -4,7 +4,7 @@ import styles from './index.less';
export interface HeadInfoProps { export interface HeadInfoProps {
info: { info: {
name: string, name?: string,
level?: number, level?: number,
}; };
extra?: React.ReactNode; extra?: React.ReactNode;
......
import React from 'react'; import React from 'react';
import p_level1 from '@/assets/imgs/level1.png'; import p_level1 from '@/asserts/level1.png';
import p_level2 from '@/assets/imgs/level2.png'; import p_level2 from '@/asserts/level2.png';
import p_level3 from '@/assets/imgs/level3.png'; import p_level3 from '@/asserts/level3.png';
import p_level4 from '@/assets/imgs/level4.png'; import p_level4 from '@/asserts/level4.png';
import styles from './index.less'; import styles from './index.less';
enum levelEnum { enum levelEnum {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2020-08-31 17:52:14 * @Date: 2020-08-31 17:52:14
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2020-08-31 18:59:18 * @LastEditTime: 2020-09-08 16:32:03
* @Description: 状态 tag * @Description: 状态 tag
*/ */
import React from 'react'; import React from 'react';
...@@ -11,7 +11,7 @@ import styles from './index.less'; ...@@ -11,7 +11,7 @@ import styles from './index.less';
interface StatusTagProps { interface StatusTagProps {
type: 'success' | 'warnning' | 'default' | 'danger' | 'primary'; type: 'success' | 'warnning' | 'default' | 'danger' | 'primary';
title: string; title?: string;
}; };
const StatusTag: React.FC<StatusTagProps> = ({ type, title }) => { const StatusTag: React.FC<StatusTagProps> = ({ type, title }) => {
......
This diff is collapsed.
...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = { ...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = {
}, },
}; };
export const channelSchema: ISchema = {
type: 'object',
properties: {
MEGA_LAYOUT1: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
labelWidth: 128,
labelAlign: 'left',
full: true,
grid: true,
autoRow: true,
columns: 2,
},
properties: {
channelLevel: {
type: 'text',
title: '渠道级别',
},
channelTypeId: {
type: 'string',
enum: [],
title: '渠道类型',
required: true,
},
MEGA_LAYOUT2: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
inline: true,
},
properties: {
areas: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
type: 'object',
properties: {
pcode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
},
ccode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
}
}
}
},
},
},
remark: {
type: 'string',
title: '渠道描述',
required: true,
'x-component': 'TextArea',
'x-component-props': {
rows: 5,
placeholder: '最大200个字符,100个汉字',
},
},
},
},
},
};
export const auditModalSchema: ISchema = { export const auditModalSchema: ISchema = {
type: 'object', type: 'object',
properties: { properties: {
...@@ -225,3 +150,4 @@ export const auditModalSchema: ISchema = { ...@@ -225,3 +150,4 @@ export const auditModalSchema: ISchema = {
}, },
}, },
}; };
This diff is collapsed.
...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = { ...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = {
}, },
}; };
export const channelSchema: ISchema = {
type: 'object',
properties: {
MEGA_LAYOUT1: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
labelWidth: 128,
labelAlign: 'left',
full: true,
grid: true,
autoRow: true,
columns: 2,
},
properties: {
channelLevel: {
type: 'text',
title: '渠道级别',
},
channelTypeId: {
type: 'string',
enum: [],
title: '渠道类型',
required: true,
},
MEGA_LAYOUT2: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
inline: true,
},
properties: {
areas: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
type: 'object',
properties: {
pcode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
},
ccode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
}
}
}
},
},
},
remark: {
type: 'string',
title: '渠道描述',
required: true,
'x-component': 'TextArea',
'x-component-props': {
rows: 5,
placeholder: '最大200个字符,100个汉字',
},
},
},
},
},
};
export const auditModalSchema: ISchema = { export const auditModalSchema: ISchema = {
type: 'object', type: 'object',
properties: { properties: {
......
...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = { ...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = {
}, },
}; };
export const channelSchema: ISchema = {
type: 'object',
properties: {
MEGA_LAYOUT1: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
labelWidth: 128,
labelAlign: 'left',
full: true,
grid: true,
autoRow: true,
columns: 2,
},
properties: {
channelLevel: {
type: 'text',
title: '渠道级别',
},
channelTypeId: {
type: 'string',
enum: [],
title: '渠道类型',
required: true,
},
MEGA_LAYOUT2: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
inline: true,
},
properties: {
areas: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
type: 'object',
properties: {
pcode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
},
ccode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
}
}
}
},
},
},
remark: {
type: 'string',
title: '渠道描述',
required: true,
'x-component': 'TextArea',
'x-component-props': {
rows: 5,
placeholder: '最大200个字符,100个汉字',
},
},
},
},
},
};
export const auditModalSchema: ISchema = { export const auditModalSchema: ISchema = {
type: 'object', type: 'object',
properties: { properties: {
......
...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = { ...@@ -110,81 +110,6 @@ export const auditSchema: ISchema = {
}, },
}; };
export const channelSchema: ISchema = {
type: 'object',
properties: {
MEGA_LAYOUT1: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
labelWidth: 128,
labelAlign: 'left',
full: true,
grid: true,
autoRow: true,
columns: 2,
},
properties: {
channelLevel: {
type: 'text',
title: '渠道级别',
},
channelTypeId: {
type: 'string',
enum: [],
title: '渠道类型',
required: true,
},
MEGA_LAYOUT2: {
type: 'object',
'x-component': 'Mega-Layout',
'x-component-props': {
inline: true,
},
properties: {
areas: {
type: 'array',
title: '代理城市',
required: true,
'x-component': 'CustomAddArray',
default: [],
items: {
type: 'object',
properties: {
pcode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
},
ccode: {
type: 'string',
enum: [],
'x-component-props': {
allowClear: true,
},
}
}
}
},
},
},
remark: {
type: 'string',
title: '渠道描述',
required: true,
'x-component': 'TextArea',
'x-component-props': {
rows: 5,
placeholder: '最大200个字符,100个汉字',
},
},
},
},
},
};
export const auditModalSchema: ISchema = { export const auditModalSchema: ISchema = {
type: 'object', type: 'object',
properties: { properties: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment