From c7ab595460aff1a99155d1fa0f55cb72a982a313 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Nov 2023 22:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=20yudao-ui=20=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 +- yudao-ui-admin/src/api/crm/business.js | 54 --- yudao-ui-admin/src/api/crm/businessStatus.js | 70 ---- .../src/api/crm/businessStatusType.js | 62 ---- yudao-ui-admin/src/api/crm/contact/contact.js | 54 --- .../src/views/crm/business/index.vue | 335 ------------------ .../src/views/crm/contact/index.vue | 316 ----------------- .../yudao-ui-admin-uniapp}/README.md | 0 .../yudao-ui-admin-vben}/README.md | 0 .../yudao-ui-admin-vue2}/README.md | 0 .../yudao-ui-admin-vue3}/README.md | 0 .../yudao-ui-mall-uniapp}/README.md | 0 12 files changed, 8 insertions(+), 899 deletions(-) delete mode 100644 yudao-ui-admin/src/api/crm/business.js delete mode 100644 yudao-ui-admin/src/api/crm/businessStatus.js delete mode 100644 yudao-ui-admin/src/api/crm/businessStatusType.js delete mode 100644 yudao-ui-admin/src/api/crm/contact/contact.js delete mode 100644 yudao-ui-admin/src/views/crm/business/index.vue delete mode 100644 yudao-ui-admin/src/views/crm/contact/index.vue rename {yudao-ui-admin-uniapp => yudao-ui/yudao-ui-admin-uniapp}/README.md (100%) rename {yudao-ui-admin-vben => yudao-ui/yudao-ui-admin-vben}/README.md (100%) rename {yudao-ui-admin-vue2 => yudao-ui/yudao-ui-admin-vue2}/README.md (100%) rename {yudao-ui-admin-vue3 => yudao-ui/yudao-ui-admin-vue3}/README.md (100%) rename {yudao-ui-mall-uniapp => yudao-ui/yudao-ui-mall-uniapp}/README.md (100%) diff --git a/README.md b/README.md index 755ae522c..7cc2abc76 100644 --- a/README.md +++ b/README.md @@ -57,14 +57,14 @@ ### 前端项目 -| 项目 | Star | 简介 | -|----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------| -| [yudao-ui-admin-vue3](https://gitee.com/yudaocode/yudao-ui-admin-vue3) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-vue3/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-vue3) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-vue3.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-vue3) | 基于 Vue3 + element-plus 实现的管理后台 | -| [yudao-ui-admin-vben](https://gitee.com/yudaocode/yudao-ui-admin-vben) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-vben/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-vben) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-vben.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-vben) | 基于 Vue3 + element-plus 实现的管理后台 | -| [yudao-mall-uniapp](https://gitee.com/yudaocode/yudao-mall-uniapp) | [![Gitee star](https://gitee.com/yudaocode/yudao-mall-uniapp/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-mall-uniapp) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-mall-uniapp.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-mall-uniapp) | 基于 uni-app 实现的商城小程序 | -| [yudao-ui-admin-vue2](https://gitee.com/yudaocode/yudao-ui-admin-vue2) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-vue2/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-vue2) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-vue2.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-vue2) | 基于 Vue2 + element-ui 实现的管理后台 | -| [yudao-ui-admin-uniapp](https://gitee.com/yudaocode/yudao-ui-admin-uniapp) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-uniapp/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-uniapp) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-uniapp.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-uniapp) | 基于 Vue2 + element-ui 实现的管理后台 | -| [yudao-ui-go-view](https://gitee.com/yudaocode/yudao-ui-go-view) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-go-view/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-go-view) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-go-view.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-go-view) | 基于 Vue3 + naive-ui 实现的大屏报表 | +| 项目 | Star | 简介 | +|----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------| +| [yudao-ui-admin-vue3](https://gitee.com/yudaocode/yudao-ui-admin-vue3) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-vue3/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-vue3) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-vue3.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-vue3) | 基于 Vue3 + element-plus 实现的管理后台 | +| [yudao-ui-admin-vben](https://gitee.com/yudaocode/yudao-ui-admin-vben) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-vben/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-vben) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-vben.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-vben) | 基于 Vue3 + vben(ant-design-vue) 实现的管理后台 | +| [yudao-mall-uniapp](https://gitee.com/yudaocode/yudao-mall-uniapp) | [![Gitee star](https://gitee.com/yudaocode/yudao-mall-uniapp/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-mall-uniapp) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-mall-uniapp.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-mall-uniapp) | 基于 uni-app 实现的商城小程序 | +| [yudao-ui-admin-vue2](https://gitee.com/yudaocode/yudao-ui-admin-vue2) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-vue2/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-vue2) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-vue2.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-vue2) | 基于 Vue2 + element-ui 实现的管理后台 | +| [yudao-ui-admin-uniapp](https://gitee.com/yudaocode/yudao-ui-admin-uniapp) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-admin-uniapp/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-admin-uniapp) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-admin-uniapp.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-admin-uniapp) | 基于 Vue2 + element-ui 实现的管理后台 | +| [yudao-ui-go-view](https://gitee.com/yudaocode/yudao-ui-go-view) | [![Gitee star](https://gitee.com/yudaocode/yudao-ui-go-view/badge/star.svg?theme=white)](https://gitee.com/yudaocode/yudao-ui-go-view) [![GitHub stars](https://img.shields.io/github/stars/yudaocode/yudao-ui-go-view.svg?style=social&label=Stars)](https://github.com/yudaocode/yudao-ui-go-view) | 基于 Vue3 + naive-ui 实现的大屏报表 | ## 🐰 分支说明 diff --git a/yudao-ui-admin/src/api/crm/business.js b/yudao-ui-admin/src/api/crm/business.js deleted file mode 100644 index 24789df72..000000000 --- a/yudao-ui-admin/src/api/crm/business.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建商机 -export function createBusiness(data) { - return request({ - url: '/crm/business/create', - method: 'post', - data: data - }) -} - -// 更新商机 -export function updateBusiness(data) { - return request({ - url: '/crm/business/update', - method: 'put', - data: data - }) -} - -// 删除商机 -export function deleteBusiness(id) { - return request({ - url: '/crm/business/delete?id=' + id, - method: 'delete' - }) -} - -// 获得商机 -export function getBusiness(id) { - return request({ - url: '/crm/business/get?id=' + id, - method: 'get' - }) -} - -// 获得商机分页 -export function getBusinessPage(query) { - return request({ - url: '/crm/business/page', - method: 'get', - params: query - }) -} - -// 导出商机 Excel -export function exportBusinessExcel(query) { - return request({ - url: '/crm/business/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/yudao-ui-admin/src/api/crm/businessStatus.js b/yudao-ui-admin/src/api/crm/businessStatus.js deleted file mode 100644 index d4249d7ac..000000000 --- a/yudao-ui-admin/src/api/crm/businessStatus.js +++ /dev/null @@ -1,70 +0,0 @@ -import request from '@/utils/request' - -// 创建商机状态 -export function createBusinessStatus(data) { - return request({ - url: '/crm/business-status/create', - method: 'post', - data: data - }) -} - -// 更新商机状态 -export function updateBusinessStatus(data) { - return request({ - url: '/crm/business-status/update', - method: 'put', - data: data - }) -} - -// 删除商机状态 -export function deleteBusinessStatus(id) { - return request({ - url: '/crm/business-status/delete?id=' + id, - method: 'delete' - }) -} - -// 获得商机状态 -export function getBusinessStatus(id) { - return request({ - url: '/crm/business-status/get?id=' + id, - method: 'get' - }) -} - -// 获得商机状态分页 -export function getBusinessStatusPage(query) { - return request({ - url: '/crm/business-status/page', - method: 'get', - params: query - }) -} - -// 导出商机状态 Excel -export function exportBusinessStatusExcel(query) { - return request({ - url: '/crm/business-status/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} - -// 根据类型ID获取商机状态信息列表 -export function getBusinessStatusListByTypeId(typeId) { - return request({ - url: '/crm/business-status/get-simple-list?typeId=' + typeId, - method: 'get' - }) -} - -// 获取商机状态信息列表 -export function getBusinessStatusList() { - return request({ - url: '/crm/business-status/get-all-list', - method: 'get' - }) -} diff --git a/yudao-ui-admin/src/api/crm/businessStatusType.js b/yudao-ui-admin/src/api/crm/businessStatusType.js deleted file mode 100644 index 5df0aff6c..000000000 --- a/yudao-ui-admin/src/api/crm/businessStatusType.js +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/utils/request' - -// 创建商机状态类型 -export function createBusinessStatusType(data) { - return request({ - url: '/crm/business-status-type/create', - method: 'post', - data: data - }) -} - -// 更新商机状态类型 -export function updateBusinessStatusType(data) { - return request({ - url: '/crm/business-status-type/update', - method: 'put', - data: data - }) -} - -// 删除商机状态类型 -export function deleteBusinessStatusType(id) { - return request({ - url: '/crm/business-status-type/delete?id=' + id, - method: 'delete' - }) -} - -// 获得商机状态类型 -export function getBusinessStatusType(id) { - return request({ - url: '/crm/business-status-type/get?id=' + id, - method: 'get' - }) -} - -// 获得商机状态类型分页 -export function getBusinessStatusTypePage(query) { - return request({ - url: '/crm/business-status-type/page', - method: 'get', - params: query - }) -} - -// 导出商机状态类型 Excel -export function exportBusinessStatusTypeExcel(query) { - return request({ - url: '/crm/business-status-type/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} - -// 获取商机状态类型信息列表 -export function getBusinessStatusTypeList() { - return request({ - url: '/crm/business-status-type/get-simple-list', - method: 'get' - }) -} diff --git a/yudao-ui-admin/src/api/crm/contact/contact.js b/yudao-ui-admin/src/api/crm/contact/contact.js deleted file mode 100644 index fd6e0c1ee..000000000 --- a/yudao-ui-admin/src/api/crm/contact/contact.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 创建crm联系人 -export function createContact(data) { - return request({ - url: '/crm/contact/create', - method: 'post', - data: data - }) -} - -// 更新crm联系人 -export function updateContact(data) { - return request({ - url: '/crm/contact/update', - method: 'put', - data: data - }) -} - -// 删除crm联系人 -export function deleteContact(id) { - return request({ - url: '/crm/contact/delete?id=' + id, - method: 'delete' - }) -} - -// 获得crm联系人 -export function getContact(id) { - return request({ - url: '/crm/contact/get?id=' + id, - method: 'get' - }) -} - -// 获得crm联系人分页 -export function getContactPage(query) { - return request({ - url: '/crm/contact/page', - method: 'get', - params: query - }) -} - -// 导出crm联系人 Excel -export function exportContactExcel(query) { - return request({ - url: '/crm/contact/export-excel', - method: 'get', - params: query, - responseType: 'blob' - }) -} diff --git a/yudao-ui-admin/src/views/crm/business/index.vue b/yudao-ui-admin/src/views/crm/business/index.vue deleted file mode 100644 index b877a33af..000000000 --- a/yudao-ui-admin/src/views/crm/business/index.vue +++ /dev/null @@ -1,335 +0,0 @@ - - - diff --git a/yudao-ui-admin/src/views/crm/contact/index.vue b/yudao-ui-admin/src/views/crm/contact/index.vue deleted file mode 100644 index acde3615d..000000000 --- a/yudao-ui-admin/src/views/crm/contact/index.vue +++ /dev/null @@ -1,316 +0,0 @@ - - - diff --git a/yudao-ui-admin-uniapp/README.md b/yudao-ui/yudao-ui-admin-uniapp/README.md similarity index 100% rename from yudao-ui-admin-uniapp/README.md rename to yudao-ui/yudao-ui-admin-uniapp/README.md diff --git a/yudao-ui-admin-vben/README.md b/yudao-ui/yudao-ui-admin-vben/README.md similarity index 100% rename from yudao-ui-admin-vben/README.md rename to yudao-ui/yudao-ui-admin-vben/README.md diff --git a/yudao-ui-admin-vue2/README.md b/yudao-ui/yudao-ui-admin-vue2/README.md similarity index 100% rename from yudao-ui-admin-vue2/README.md rename to yudao-ui/yudao-ui-admin-vue2/README.md diff --git a/yudao-ui-admin-vue3/README.md b/yudao-ui/yudao-ui-admin-vue3/README.md similarity index 100% rename from yudao-ui-admin-vue3/README.md rename to yudao-ui/yudao-ui-admin-vue3/README.md diff --git a/yudao-ui-mall-uniapp/README.md b/yudao-ui/yudao-ui-mall-uniapp/README.md similarity index 100% rename from yudao-ui-mall-uniapp/README.md rename to yudao-ui/yudao-ui-mall-uniapp/README.md