转义租赁类型
This commit is contained in:
@@ -100,18 +100,6 @@ let tableColumns: ColumnsType = [
|
|||||||
key: 'tenancyType',
|
key: 'tenancyType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 150,
|
||||||
customRender(opt) {
|
|
||||||
switch (opt.value) {
|
|
||||||
case 'SD-SST':
|
|
||||||
return t('views.system.dept.SDSST');
|
|
||||||
case 'APN':
|
|
||||||
return t('views.system.dept.APN');
|
|
||||||
case 'IMSI':
|
|
||||||
return t('views.system.dept.IMSI');
|
|
||||||
default:
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('views.system.dept.status'),
|
title: t('views.system.dept.status'),
|
||||||
@@ -138,8 +126,6 @@ let tableColumns: ColumnsType = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**表格紧凑型变更操作 */
|
/**表格紧凑型变更操作 */
|
||||||
function fnTableSize({ key }: MenuInfo) {
|
function fnTableSize({ key }: MenuInfo) {
|
||||||
tableState.size = key as SizeType;
|
tableState.size = key as SizeType;
|
||||||
@@ -571,6 +557,14 @@ onMounted(() => {
|
|||||||
<template v-if="column.key === 'status'">
|
<template v-if="column.key === 'status'">
|
||||||
<DictTag :options="dict.sysNormalDisable" :value="record.status" />
|
<DictTag :options="dict.sysNormalDisable" :value="record.status" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template v-if="column.key === 'tenancyType'">
|
||||||
|
<DictTag
|
||||||
|
:options="dict.sysTenancyType"
|
||||||
|
:value="record.tenancyType"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-if="column.key === 'tenantId'">
|
<template v-if="column.key === 'tenantId'">
|
||||||
<a-space :size="8" align="center">
|
<a-space :size="8" align="center">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
|
|||||||
Reference in New Issue
Block a user