|
@@ -1,6 +1,6 @@
|
|
import ProgressTable from "@/components/ProgressTable"
|
|
import ProgressTable from "@/components/ProgressTable"
|
|
import WidthEllipsis from "@/components/widthEllipsis"
|
|
import WidthEllipsis from "@/components/widthEllipsis"
|
|
-import { Badge, Popconfirm, Space, Statistic } from "antd"
|
|
|
|
|
|
+import { Badge, Popconfirm, Space, Statistic, Tag } from "antd"
|
|
import React from "react"
|
|
import React from "react"
|
|
import SendEmailDetails from "./sendEmailDetails"
|
|
import SendEmailDetails from "./sendEmailDetails"
|
|
import './index.less'
|
|
import './index.less'
|
|
@@ -225,14 +225,14 @@ function columns12(
|
|
title: '是否转端', dataIndex: 'is_change_game_type', label: '客户运营操作', align: 'center', width: 60,
|
|
title: '是否转端', dataIndex: 'is_change_game_type', label: '客户运营操作', align: 'center', width: 60,
|
|
render: (a: any, b: any) => {
|
|
render: (a: any, b: any) => {
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isChangeGameType')} />
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isChangeGameType')} />
|
|
- return a ? '是' : '否'
|
|
|
|
|
|
+ return a ? <Badge status="error" text="是" /> : <Badge status="processing" text="否"/>
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '是否添加企微', dataIndex: 'is_add_corp_wechat', label: '客户运营操作', align: 'center', width: 60,
|
|
title: '是否添加企微', dataIndex: 'is_add_corp_wechat', label: '客户运营操作', align: 'center', width: 60,
|
|
render: (a: any, b: any) => {
|
|
render: (a: any, b: any) => {
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isAddCorpWechat')} />
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isAddCorpWechat')} />
|
|
- return a ? '是' : '否'
|
|
|
|
|
|
+ return a ? <Badge status="error" text="是" /> : <Badge status="processing" text="否"/>
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -256,18 +256,25 @@ function columns12(
|
|
return <WidthEllipsis value={a} />
|
|
return <WidthEllipsis value={a} />
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ title: '是否退游(系统判定)', tips: '角色最近活跃时间距今”大于72小时且“角色最近充值时间距今”大于72小时,判定为“退游”,否则“未退游”。', dataIndex: 'is_remove_game_for_system', label: '客户运营操作', align: 'center', width: 80,
|
|
|
|
+ render: (a: any, b: any) => {
|
|
|
|
+ // return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isRemoveGame')} />
|
|
|
|
+ return a ? <Badge status="error" text="是" /> : <Badge status="processing" text="否" />
|
|
|
|
+ },
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '是否退游', dataIndex: 'is_remove_game', label: '客户运营操作', align: 'center', width: 50,
|
|
title: '是否退游', dataIndex: 'is_remove_game', label: '客户运营操作', align: 'center', width: 50,
|
|
render: (a: any, b: any) => {
|
|
render: (a: any, b: any) => {
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isRemoveGame')} />
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isRemoveGame')} />
|
|
- return a ? '是' : '否'
|
|
|
|
|
|
+ return a ? <Badge status="error" text="是" /> : <Badge status="processing" text="否"/>
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '是否唤醒', dataIndex: 'is_wake_up', label: '客户运营操作', align: 'center', width: 50,
|
|
title: '是否唤醒', dataIndex: 'is_wake_up', label: '客户运营操作', align: 'center', width: 50,
|
|
render: (a: any, b: any) => {
|
|
render: (a: any, b: any) => {
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isWakeUp')} />
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isWakeUp')} />
|
|
- return a ? '是' : '否'
|
|
|
|
|
|
+ return a ? <Badge status="error" text="是" /> : <Badge status="processing" text="否"/>
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -323,9 +330,9 @@ function columns12(
|
|
default: 20,
|
|
default: 20,
|
|
render: (a: any, b: any) => {
|
|
render: (a: any, b: any) => {
|
|
return <Space>
|
|
return <Space>
|
|
- <a style={{fontSize: 12}} onClick={() => { roleHandle([b]) }}>角色操作</a>
|
|
|
|
- <a style={{fontSize: 12}} onClick={() => { assignHandle([b]) }}>指派</a>
|
|
|
|
- <a style={{fontSize: 12}} onClick={() => { changeLog([b]) }}>变更记录</a>
|
|
|
|
|
|
+ <a style={{ fontSize: 12 }} onClick={() => { roleHandle([b]) }}>角色操作</a>
|
|
|
|
+ <a style={{ fontSize: 12 }} onClick={() => { assignHandle([b]) }}>指派</a>
|
|
|
|
+ <a style={{ fontSize: 12 }} onClick={() => { changeLog([b]) }}>变更记录</a>
|
|
</Space>
|
|
</Space>
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -533,7 +540,7 @@ export const columnsChangeLog = (update: (data: any) => void, del: (id: number[]
|
|
width: 100,
|
|
width: 100,
|
|
ellipsis: true
|
|
ellipsis: true
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
{
|
|
{
|
|
title: '创建人',
|
|
title: '创建人',
|
|
dataIndex: 'createName',
|
|
dataIndex: 'createName',
|