|
@@ -11,6 +11,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpName',
|
|
dataIndex: 'corpName',
|
|
key: "corpName",
|
|
key: "corpName",
|
|
align: "center",
|
|
align: "center",
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
fixed: 'left'
|
|
fixed: 'left'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -18,6 +20,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpId',
|
|
dataIndex: 'corpId',
|
|
key: "corpId",
|
|
key: "corpId",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -26,6 +30,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
key: "corpType",
|
|
key: "corpType",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
align: "center",
|
|
align: "center",
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
valueEnum: getEnum("CORPTYPE", "map")
|
|
valueEnum: getEnum("CORPTYPE", "map")
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -33,6 +39,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpUserMax',
|
|
dataIndex: 'corpUserMax',
|
|
key: "corpUserMax",
|
|
key: "corpUserMax",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -40,6 +48,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpFullName',
|
|
dataIndex: 'corpFullName',
|
|
key: "corpFullName",
|
|
key: "corpFullName",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -47,6 +57,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'verifiedEndTime',
|
|
dataIndex: 'verifiedEndTime',
|
|
key: "verifiedEndTime",
|
|
key: "verifiedEndTime",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -55,6 +67,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
key: "subjectType",
|
|
key: "subjectType",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
align: "center",
|
|
align: "center",
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
valueEnum: getEnum("SUBJECTTYPE", "map")
|
|
valueEnum: getEnum("SUBJECTTYPE", "map")
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -62,6 +76,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpScale',
|
|
dataIndex: 'corpScale',
|
|
key: "corpScale",
|
|
key: "corpScale",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -69,6 +85,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpIndustry',
|
|
dataIndex: 'corpIndustry',
|
|
key: "corpIndustry",
|
|
key: "corpIndustry",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -76,6 +94,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'corpSubIndustry',
|
|
dataIndex: 'corpSubIndustry',
|
|
key: "corpSubIndustry",
|
|
key: "corpSubIndustry",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -83,6 +103,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'agentId',
|
|
dataIndex: 'agentId',
|
|
key: "agentId",
|
|
key: "agentId",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -90,6 +112,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'authDistributorAccountId',
|
|
dataIndex: 'authDistributorAccountId',
|
|
key: "authDistributorAccountId",
|
|
key: "authDistributorAccountId",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
align: "center",
|
|
align: "center",
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -97,6 +121,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'authStatus',
|
|
dataIndex: 'authStatus',
|
|
key: "authStatus",
|
|
key: "authStatus",
|
|
align: "center",
|
|
align: "center",
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
valueEnum(row) {
|
|
valueEnum(row) {
|
|
return { "1": { text: <Badge status="success" text="授权成功" /> }, "-1": { text: <Badge status="error" text="取消授权" /> } }
|
|
return { "1": { text: <Badge status="success" text="授权成功" /> }, "-1": { text: <Badge status="error" text="取消授权" /> } }
|
|
},
|
|
},
|
|
@@ -107,6 +133,8 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
key: "createTime",
|
|
key: "createTime",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
align: "center",
|
|
align: "center",
|
|
|
|
+ width:100,
|
|
|
|
+ ellipsis:true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: "关注二维码",
|
|
title: "关注二维码",
|
|
@@ -115,7 +143,7 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
key: "corpWxQrcode",
|
|
key: "corpWxQrcode",
|
|
hideInSearch: true,
|
|
hideInSearch: true,
|
|
align: "center",
|
|
align: "center",
|
|
- fixed: 'right',
|
|
|
|
|
|
+ ellipsis:true,
|
|
width: 120,
|
|
width: 120,
|
|
render: (_, row) => {
|
|
render: (_, row) => {
|
|
return <Image src={row?.corpWxQrcode} style={{ width: 20 }} />
|
|
return <Image src={row?.corpWxQrcode} style={{ width: 20 }} />
|
|
@@ -126,7 +154,6 @@ export const columns = (sync: (id: any) => void): ProColumns<any>[] => {
|
|
dataIndex: 'option',
|
|
dataIndex: 'option',
|
|
valueType: 'option',
|
|
valueType: 'option',
|
|
align: "center",
|
|
align: "center",
|
|
- fixed: 'right',
|
|
|
|
width: 90,
|
|
width: 90,
|
|
render: (_, record) => {
|
|
render: (_, record) => {
|
|
return <Space>
|
|
return <Space>
|