This commit is contained in:
@@ -91,13 +91,14 @@
|
||||
<ElTableColumn label="统计范围" width="120">
|
||||
<template #default="{ row }">
|
||||
<ElTag size="small" type="warning">
|
||||
{{
|
||||
row.stat_scope === 'self'
|
||||
? '仅自己'
|
||||
: row.stat_scope === 'self_and_sub'
|
||||
? '自己+下级'
|
||||
: '-'
|
||||
}}
|
||||
仅自己
|
||||
<!--{{-->
|
||||
<!-- row.stat_scope === 'self'-->
|
||||
<!-- ? '仅自己'-->
|
||||
<!-- : row.stat_scope === 'self_and_sub'-->
|
||||
<!-- ? '自己+下级'-->
|
||||
<!-- : '-'-->
|
||||
<!--}}-->
|
||||
</ElTag>
|
||||
</template>
|
||||
</ElTableColumn>
|
||||
|
||||
Reference in New Issue
Block a user