From cb236000e126203d40f509737278169bf3ffd07a Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 9 Dec 2022 16:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/userControl/companyRelation.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/userControl/companyRelation.vue b/src/views/system/userControl/companyRelation.vue index c2b7c4c5d..7665a02b2 100644 --- a/src/views/system/userControl/companyRelation.vue +++ b/src/views/system/userControl/companyRelation.vue @@ -42,9 +42,9 @@ export default { }, { title: '组织', - prop: 'orgId', + prop: 'orgName', type: 'tag', - columnValue: (row) => { return this.getCompanyName(row.orgId); }, + columnValue: (row) => { return row.orgName || this.getCompanyName(row.orgId); }, tagType: (row) => { return 'success'; } }, {