v1.0.30: companies 表删除 name_en(英文名称)字段及全部关联 - 迁移SQL+helpers白名单+add/import/export/list+person关联查询(companies/company_options/products)+completeness核心层与标签+company.js搜索/筛选/列表/详情

This commit is contained in:
nanguaboss
2026-08-09 21:46:43 +08:00
parent e2ae1f967e
commit 13e7b2180e
13 changed files with 34 additions and 26 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ const COMPLETENESS_LAYERS = [
'virtual' => ['phone' => 'core', 'email' => 'core'], // 关联 social_accounts.platform
],
'companies' => [
'core' => ['display_name', 'name_zh', 'name_en', 'business_role', 'industry'],
'core' => ['display_name', 'name_zh', 'business_role', 'industry'],
'important' => ['address', 'country'],
'optional' => ['registration_number', 'legal_form', 'legal_representative', 'business_scope',
'established_date', 'registered_capital', 'industry_subdivision',
@@ -50,7 +50,7 @@ const COMPLETENESS_LABELS = [
'gender' => '性别', 'nationality' => '国籍', 'education' => '学历', 'graduated_from' => '毕业院校',
'hometown' => '家乡', 'id_type' => '证件类型', 'id_number' => '证件号码',
'display_name' => '名称', 'industry' => '行业', 'address' => '地址', 'business_role' => '业务类型',
'country' => '国家/地区', 'name_zh' => '中文名', 'name_en' => '英文名', 'registration_number' => '注册号',
'country' => '国家/地区', 'name_zh' => '中文名', 'registration_number' => '注册号',
'legal_form' => '企业类型', 'legal_representative' => '法定代表人', 'business_scope' => '经营范围',
'established_date' => '成立日期', 'registered_capital' => '注册资本', 'industry_subdivision' => '行业细分',
'latest_employee_count' => '员工数', 'latest_annual_revenue' => '年营收', 'is_listed' => '是否上市',