From 06dd8d0b5614c39a50924046714c444cc75c21e9 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期五, 29 八月 2025 14:23:07 +0800
Subject: [PATCH] 企业管理添加角色显示
---
Web/src/views/Customer/fBS_CusExtend/index.vue | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Web/src/views/Customer/fBS_CusExtend/index.vue b/Web/src/views/Customer/fBS_CusExtend/index.vue
index c2c962c..ccfe4d3 100644
--- a/Web/src/views/Customer/fBS_CusExtend/index.vue
+++ b/Web/src/views/Customer/fBS_CusExtend/index.vue
@@ -138,6 +138,15 @@
dialogVisible.value = true
}
+const changeExroles=(exRoles)=>{
+ if(exRoles.length == 0) return ''
+ let str = ''
+ exRoles.forEach(item => {
+ str += (str.length>0?',':'')+item.exRole?.name; // 绱姞褰撳墠鍏冪礌鍒扮疮鍔犲櫒
+ })
+ return str
+}
+
handleQuery();
</script>
<template>
@@ -272,6 +281,11 @@
</el-table-column>
<el-table-column prop='enterpriseName' label='浼佷笟鍚嶇О' show-overflow-tooltip width="180"/>
<el-table-column prop='unifiedSocialCreditCode' label='缁熶竴绀句細淇$敤浠g爜' show-overflow-tooltip width="150"/>
+ <el-table-column prop='exRoles' label='瑙掕壊' show-overflow-tooltip width="180">
+ <template #default="scope">
+ {{ changeExroles(scope.row.exRoles) }}
+ </template>
+ </el-table-column>
<el-table-column prop='registeredCapital' label='娉ㄥ唽璧勯噾' show-overflow-tooltip />
<el-table-column prop='enterprisePhone' label='鑱旂郴鐢佃瘽' show-overflow-tooltip width="100"/>
<el-table-column prop='establishmentTime' label='鎴愮珛鏃堕棿' show-overflow-tooltip >
--
Gitblit v1.9.1