主要改动: - SQL: biz_support_unit → biz_org, 加 org_type, 加 business_nature; 删 biz_execution_unit, biz_service_org - SQL: biz_project.support_unit_id/name + service_org_id/name → org_id/name/type - SQL: biz_meeting.support_unit_name → org_name - SQL: biz_person.work_unit → org_id (FK) - 后端: 新 BizOrg entity/mapper/service/controller - 后端: BizProject/BizMeeting 字段重命名 - 后端: 删 12 个 BizSupportUnit/BizExecutionUnit/BizServiceOrg Java 文件 - 后端: BizPersonImportVO.workUnit → orgName (导入时查 biz_org 取 org_id) - 后端: BizAuthController.registerExecutor 完整实现 (原 registerSupplier stub) - 前端: 新 admin/Orgs.vue + manager/Orgs.vue (原 SupportUnits) - 前端: RegisterExecutor.vue (原 RegisterSupplier, 单页 2 步) - 前端: sponsor/executor/manager 多个文件 workUnit → orgId/orgName 重命名 - 前端: 统一 supplier → executor, 业务命名 sponsor(赞助方) / executor(执行方=供应商) - 前端: 全工程 execution → executor (company type / role / person unit_type)
20 lines
623 B
JavaScript
20 lines
623 B
JavaScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
import * as ElIcons from '@element-plus/icons-vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import './assets/main.scss'
|
|
import './assets/theme.scss'
|
|
import { applyStoredBrand } from './assets/theme'
|
|
|
|
const app = createApp(App)
|
|
for (const [k, v] of Object.entries(ElIcons)) app.component(k, v)
|
|
app.use(createPinia())
|
|
app.use(router)
|
|
app.use(ElementPlus, { locale: zhCn })
|
|
applyStoredBrand()
|
|
app.mount('#app')
|