浏览代码

修改显示

zs 7 月之前
父节点
当前提交
910b34aa3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/information/parts/role/company.vue

+ 1 - 1
src/views/information/parts/role/company.vue

@@ -73,7 +73,7 @@ const { t } = useI18n()
 // #region 列表页面设置
 const fields = [
   { label: t('pages.company.name'), model: 'name', isSearch: true },
-  { label: t('pages.company.type'), model: 'type' },
+  { label: t('pages.company.type'), model: 'type', format: (i) => getDict(i, 'type') },
   { label: t('pages.company.code'), model: 'code', isSearch: true },
   { label: t('pages.company.representative'), model: 'representative', isSearch: true },
   { label: t('pages.company.phone'), model: 'phone' },