|
@@ -6,7 +6,7 @@
|
|
|
type="primary"
|
|
|
v-show="
|
|
|
getCheckRole(['super', 'plat_admin']) ||
|
|
|
- (!getCheckRole(['host', 'tourist', 'company_viewer']) && getEquity([1, 2]))
|
|
|
+ (getCheckRole(['company_admin', 'staff']) && getEquity([2]))
|
|
|
"
|
|
|
@click="handleAddLiveScene"
|
|
|
>
|
|
@@ -94,6 +94,9 @@
|
|
|
dataIndex: 'capacities',
|
|
|
// slots: { customRender: 'houseType' },
|
|
|
width: 100,
|
|
|
+ customRender: ({ record }) => {
|
|
|
+ return record.capacities || '-';
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: '主持人',
|
|
@@ -104,11 +107,17 @@
|
|
|
title: '助理',
|
|
|
dataIndex: 'assistantUserName',
|
|
|
width: 140,
|
|
|
+ customRender: ({ record }) => {
|
|
|
+ return record.assistantUserName || '-';
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: '助理手机号',
|
|
|
dataIndex: 'assistantPhone',
|
|
|
width: 140,
|
|
|
+ customRender: ({ record }) => {
|
|
|
+ return record.assistantPhone || '-';
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: '创建时间',
|