|
@@ -228,14 +228,14 @@ function columns12(
|
|
|
title: '是否转端', dataIndex: 'is_change_game_type', label: '客户运营操作', align: 'center', width: 60,
|
|
|
render: (a: any, b: any) => {
|
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isChangeGameType')} />
|
|
|
- return a ? <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
|
|
|
+ return a === 2 ? '--' : a === 1 ? <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
title: '是否添加企微', dataIndex: 'is_add_corp_wechat', label: '客户运营操作', align: 'center', width: 60,
|
|
|
render: (a: any, b: any) => {
|
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isAddCorpWechat')} />
|
|
|
- return a ? <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
|
|
|
+ return a === 2 ? '--' : <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -270,14 +270,14 @@ function columns12(
|
|
|
title: '是否退游', dataIndex: 'is_remove_game', label: '客户运营操作', align: 'center', width: 50,
|
|
|
render: (a: any, b: any) => {
|
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isRemoveGame')} />
|
|
|
- return a ? <Badge status="error" text="是" /> : a === 0 ? <Badge status="processing" text="否" /> : '--'
|
|
|
+ return a === 2 ? '--' : a === 1 ? <Badge status="error" text="是" /> : a === 0 ? <Badge status="processing" text="否" /> : '--'
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
title: '是否唤醒', dataIndex: 'is_wake_up', label: '客户运营操作', align: 'center', width: 50,
|
|
|
render: (a: any, b: any) => {
|
|
|
// return <IsTrue value={a ? '1' : '0'} onChange={(value) => handleIsTrue(value, b, 'isWakeUp')} />
|
|
|
- return a ? <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
|
|
|
+ return a === 2 ? '--' : a === 1 ? <Badge status="success" text="是" /> : a === 0 ? <Badge status="default" text="否" /> : '--'
|
|
|
},
|
|
|
},
|
|
|
{
|