班组长电话脱敏

This commit is contained in:
jjLv 2024-09-30 16:26:42 +08:00
parent 2b1ed2e634
commit 91dd4b1b2a
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ export const formLabel = [
export const columnsList = [ export const columnsList = [
{ t_props: 'teamName', t_label: '班组名称', }, { t_props: 'teamName', t_label: '班组名称', },
{ t_props: 'proName', t_label: '所属工程', }, { t_props: 'proName', t_label: '所属工程', },
{ t_props: 'relNamePhone', t_label: '班组长' }, { t_props: 'relNamePhone', t_label: '班组长', t_slot: 'relNamePhone'},
{ t_props: 'peopleCount', t_label: '班组成员', t_slot: 'peopleCount' }, { t_props: 'peopleCount', t_label: '班组成员', t_slot: 'peopleCount' },
{ t_props: 'teamStatus', t_label: '班组状态', t_slot: 'teamStatus' }, { t_props: 'teamStatus', t_label: '班组状态', t_slot: 'teamStatus' },
{ t_props: 'createTime', t_label: '创建日期', }, { t_props: 'createTime', t_label: '创建日期', },

View File

@ -42,9 +42,9 @@
> >
<span v-if="data.teamStatus !== '正常'">-</span> <span v-if="data.teamStatus !== '正常'">-</span>
</template> </template>
<!-- <template slot="relNamePhone" slot-scope="{ data }"> <template slot="relNamePhone" slot-scope="{ data }">
{{ datarelNamePhone }} {{ data.relNamePhone.split('/')[0] }}/{{ phoneCrypto(data.relNamePhone.split('/')[1]) }}
</template> --> </template>
<template slot="peopleCount" slot-scope="{ data }"> <template slot="peopleCount" slot-scope="{ data }">
<span <span
:class="[{ peopleCount: data.teamStatus === '正常' }]" :class="[{ peopleCount: data.teamStatus === '正常' }]"