feat: 完善员工门户功能及ERP集成

主要修改:
- 完善员工门户CRM模块(经销商、线索管理)
- 添加ERP客户选择器集成
- 优化登录认证和租户选择
- 添加超时配置、企业微信集成等文档
- 更新docker-compose配置
- 将.pid临时文件加入gitignore

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
大壮
2026-05-22 09:46:54 +00:00
parent 5cb9e367df
commit 226f119607
65 changed files with 2988 additions and 831 deletions

View File

@@ -1,39 +1,6 @@
<template>
<div class="login-page">
<div class="login-container">
<div class="left-section">
<div class="logo-wrap">
<svg width="40" height="40" viewBox="0 0 28 28" fill="none">
<rect width="28" height="28" rx="8" fill="#1d5af3"/>
<path d="M8 14L12 10L16 14L20 10" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8 18L12 14L16 18L20 14" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" opacity="0.5"/>
</svg>
<span class="logo-text">{{ companyName }} 企业员工门户</span>
</div>
<div class="ad-banner">
<el-icon :size="200" color="#1d5af3">
<User />
</el-icon>
</div>
</div>
<div class="right-section">
<div class="content-wrapper">
<div class="form-container">
<span class="content-title">登录后访问完整功能</span>
<el-divider content-position="center">
账号密码登录
</el-divider>
<TenantAccountPassword @success="handleLoginSuccess" />
</div>
</div>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import { useRouter, useRoute } from 'vue-router';
import { computed } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import TenantAccountPassword from './components/TenantAccountPassword.vue';
const router = useRouter();
@@ -60,6 +27,39 @@ function handleLoginSuccess() {
}
</script>
<template>
<div class="login-page">
<div class="login-container">
<div class="left-section">
<div class="logo-wrap">
<svg width="40" height="40" viewBox="0 0 28 28" fill="none">
<rect width="28" height="28" rx="8" fill="#1d5af3" />
<path d="M8 14L12 10L16 14L20 10" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
<path d="M8 18L12 14L16 18L20 14" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" opacity="0.5" />
</svg>
<span class="logo-text">{{ companyName }} 企业员工门户</span>
</div>
<div class="ad-banner">
<el-icon :size="200" color="#1d5af3">
<User />
</el-icon>
</div>
</div>
<div class="right-section">
<div class="content-wrapper">
<div class="form-container">
<span class="content-title">登录后访问完整功能</span>
<el-divider content-position="center">
账号密码登录
</el-divider>
<TenantAccountPassword @success="handleLoginSuccess" />
</div>
</div>
</div>
</div>
</div>
</template>
<style scoped lang="scss">
.login-page {
display: flex;
@@ -160,4 +160,4 @@ function handleLoginSuccess() {
width: 100%;
}
}
</style>
</style>