crm-app的vue2→vue3升级版本

Yannay b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
components b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
js_sdk b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
mixins 47dfbbf32f feat:文件上传限制图片类型 2 ay önce
mock 10caf5a3c1 refactor: update mock data structure and display in person cards to reflect new clue ranking and operator information 5 gün önce
nativeplugins 4f0c77f3de 发单 3 ay önce
pages b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
static bce9def951 把首页图修改成不带crm字母的图片 1 hafta önce
store b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
uniCloud-aliyun 533ac492d4 first commit 6 ay önce
uni_modules b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
utils b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
.gitignore 533ac492d4 first commit 6 ay önce
943c87e4f214f261b1f269e1d2d32326.keystore 6652f7bb8e 调整 3 ay önce
App.vue b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
MIGRATION-VUE3.md b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
README.md 619306acfb docs: 新增项目及模块README文档 1 ay önce
androidPrivacy.json 533ac492d4 first commit 6 ay önce
index.html 533ac492d4 first commit 6 ay önce
key.txt 533ac492d4 first commit 6 ay önce
main.js b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
manifest.json b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
mock-server.js 95a5db0e6a feat:个人中心mock接口+仓库开单静态 2 ay önce
package.json b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
pages.json b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
uni.scss b8f60e734f refactor: migrate project to Vue 3, update dependencies, and replace uview-ui with uview-plus components 8 saat önce
vue.config.js 533ac492d4 first commit 6 ay önce
小葫芦app使用说明书.md 2caac490b0 feat: 添加小葫芦 V1.4.1 使用说明书文档 1 hafta önce
小葫芦app操作说明书.docx 2caac490b0 feat: 添加小葫芦 V1.4.1 使用说明书文档 1 hafta önce

README.md

CRM 移动应用 (App端)

项目简介

本项目是 CRM 系统的移动端应用,采用 uni-app 框架开发,支持跨平台发布(H5、小程序、App)。它为销售人员和仓库管理人员提供了便捷的移动办公能力,支持实时的线索跟进、订单处理、询价核价及 VoIP 通话功能。

技术栈

  • 开发框架: uni-app (基于 Vue 2.x)
  • UI 组件库: uView UI
  • 状态管理: Vuex
  • 通信协议: WebSocket, HTTPS
  • VoIP 实现: JsSIP, Recorder-core (录音相关)
  • 工具类: Day.js, Lodash, mp-storage

核心功能模块

1. 首页与工作台 (pages/index)

  • 展示销售简报、今日任务及业绩达成情况。
  • 支持按团队或个人维度查看数据统计。

2. 线索管理 (pages/clue, pages/privateClue, pages/publicClue)

  • 线索公海: 领取和查看公海池中的客户线索。
  • 销售线索: 个人名下的线索管理,支持多维度筛选和排序。
  • 线索详情: 包含客户基础信息、广告来源、通话记录、跟进记录等多个标签页。
  • 新增线索/跟进: 随时随地录入新线索或添加跟进内容。

3. 订单与财务 (pages/order, pages/orderDetail, pages/orderForm)

  • 接单中心: 接收和处理系统分配的订单。
  • 订单详情: 查看订单全貌,包括佣金记录、回款记录、发货信息等。
  • 财务表单: 移动端支持快捷填写佣金申请表和回款登记表。

4. 仓库与库存 (pages/wareHouse)

  • 库存管理: 实时查看仓库库存,支持库存编辑。
  • 业务开单: 直接在手机上完成销售开单流程。
  • 假货登记: 现场记录和上报异常货物信息。

5. 询价与核价 (pages/inquiry, pages/verification)

  • 询价中心: 快速处理客户询价请求。
  • 核价中心: 对询价进行审核和定价,确保价格策略的一致性。

6. 通信与录音 (pages/uploadRecord)

  • 集成 VoIP 功能,支持直接拨打客户电话。
  • 通话结束后,支持自动或手动上传通话录音到服务器,确保服务质量可追溯。

目录结构

crm-app/
├── components/         # 业务组件
├── js_sdk/             # 外部 SDK (如地图、扫码等)
├── mixins/             # 混入逻辑 (跟进、上传等)
├── pages/              # 页面目录 (每个子文件夹代表一个功能模块)
├── static/             # 静态资源 (图片、图标、音频等)
├── store/              # Vuex 状态管理
├── uni_modules/        # uni-app 插件模块 (如 uview-ui)
├── utils/              # 工具函数 (请求封装、权限校验、通用字典等)
├── App.vue             # 应用入口
├── main.js             # Vue 初始化
├── manifest.json       # 应用配置 (AppID、权限、分包等)
└── pages.json          # 页面路由及底部导航配置

开发注意事项

  • UI 规范: 统一使用 uView UI 组件,确保移动端交互体验一致。
  • 权限控制: 页面跳转及按钮操作需通过 utils/permission.js 进行权限校验。
  • VoIP 环境: 移动端拨号需确保网络环境稳定,并获取必要的麦克风权限。
  • Mock 数据: 开发环境下可使用 mock/ 目录下的模拟数据进行界面调试。

部署说明

  • 本项目支持发布为安卓/iOS App,也可部署为 H5 页面集成在企业微信或钉钉中。
  • 发布前请检查 manifest.json 中的各平台配置项。