From 34bd755f37a56908578f40dd3dd644865d6cba9a Mon Sep 17 00:00:00 2001 From: 17520697812 <1664311035@qq.com> Date: Wed, 1 Nov 2023 17:00:26 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=AF=94=E6=9E=84=E5=AE=B6=E6=96=B0?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E5=89=8D=E7=AB=AF=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/App.vue | 8 +- src/api/customer/customer.js | 32 +++ src/i18n/lang/en.json | 8 +- src/i18n/lang/zh-cn.json | 10 +- src/i18n/lang/zh-tw.json | 8 +- src/layout/components/Navbar.vue | 4 +- src/settings.js | 2 +- src/views/customer/index.vue | 221 ++++++++++++++++++ src/views/index.vue | 379 ++++++++++++++----------------- src/views/index_v2.vue | 241 ++++++++++++++++++++ src/views/login.vue | 10 +- 12 files changed, 700 insertions(+), 225 deletions(-) create mode 100644 src/api/customer/customer.js create mode 100644 src/views/customer/index.vue create mode 100644 src/views/index_v2.vue diff --git a/.env b/.env index 61adf7f..36e1d6f 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ # 页面标题 -VITE_APP_TITLE = 'ZRAdmin.NET后台管理' \ No newline at end of file +VITE_APP_TITLE = 'BeegoDrop后台管理' \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 17b3fdb..a9269bc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -57,8 +57,8 @@ watch( immediate: true } ) -console.log('🎉源码地址: https://gitee.com/izory/ZrAdminNetCore') -console.log('📖官方文档:http://www.izhaorui.cn/doc') -console.log('💰打赏作者:http://www.izhaorui.cn/doc/support.html') -console.log('📱移动端体验:http://www.izhaorui.cn/h5') +// console.log('🎉源码地址: https://gitee.com/izory/ZrAdminNetCore') +// console.log('📖官方文档:http://www.izhaorui.cn/doc') +// console.log('💰打赏作者:http://www.izhaorui.cn/doc/support.html') +// console.log('📱移动端体验:http://www.izhaorui.cn/h5') diff --git a/src/api/customer/customer.js b/src/api/customer/customer.js new file mode 100644 index 0000000..140b9da --- /dev/null +++ b/src/api/customer/customer.js @@ -0,0 +1,32 @@ +import request from '@/utils/request' + +//查询客户列表 +export function customerList(query) { + var parm = {url:'api/customer/list', method: 'get', params: query} + return request(parm) +} + +// 查询客户详细 +export function getCustomer(customerId) { + return request({ + url: 'api/customer/' + customerId, + method: 'get' + }) +} + +// 修改客户 +export function UpdateCustomer(data) { + return request({ + url: 'api/customer', + method: 'put', + data:data + }) +} + +// 查询业务员 +export function SelectSalesmans() { + return request({ + url: 'api/customer/salesmans', + method: 'get' + }) +} \ No newline at end of file diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index 5fbfc02..257cd29 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -2,7 +2,7 @@ "menu": { "home": "Home", "dashboard": "Dashboard", - "system": "System", + "system": "UserCenter", "monitoring": "Monitoring", "systemTools": "Tools", "externalOpen": "External open", @@ -32,7 +32,8 @@ "personalCenter": "Personal", "menuPermi": "Menu permissions", "assignUsers": "Authorized user", - "cacheMonitor": "Cache monitoring" + "cacheMonitor": "Cache monitoring", + "customer": "customer" }, "tagsView": { "refresh": "refresh", @@ -178,5 +179,8 @@ "newPwd": "new password", "oldPwd": "Old Password", "nickName": "User's Nickname" + }, + "customer": { + "email": "Email" } } diff --git a/src/i18n/lang/zh-cn.json b/src/i18n/lang/zh-cn.json index a8ad1ff..bbfe90c 100644 --- a/src/i18n/lang/zh-cn.json +++ b/src/i18n/lang/zh-cn.json @@ -2,7 +2,7 @@ "menu": { "home": "首页", "dashboard": "控制台", - "system": "系统管理", + "system": "用户中心", "monitoring": "系统监控", "systemTools": "系统工具", "externalOpen": "外部打开", @@ -32,7 +32,8 @@ "personalCenter": "个人中心", "menuPermi": "菜单权限", "assignUsers": "分配用户", - "cacheMonitor": "缓存监控" + "cacheMonitor": "缓存监控", + "customer": "客户" }, "tagsView": { "refresh": "刷新页面", @@ -178,5 +179,8 @@ "language": "语言", "languageKey": "语言key", "showWay": "显示方式", - "table": "表格" + "table": "表格", + "customer": { + "email": "客户邮箱" + } } diff --git a/src/i18n/lang/zh-tw.json b/src/i18n/lang/zh-tw.json index c0632b9..683bb4a 100644 --- a/src/i18n/lang/zh-tw.json +++ b/src/i18n/lang/zh-tw.json @@ -2,7 +2,7 @@ "menu": { "home": "首頁", "dashboard": "控制臺", - "system": "系統管理", + "system": "用戶中心", "monitoring": "系統監控", "systemTools": "系統工具", "externalOpen": "外部打開", @@ -32,7 +32,8 @@ "personalCenter": "個人中心", "menuPermi": "菜單權限", "assignUsers": "分配用戶", - "cacheMonitor": "緩存監控" + "cacheMonitor": "緩存監控", + "customer": "客戶" }, "tagsView": { "refresh": "重繪", @@ -178,5 +179,8 @@ "newPwd": "新密碼", "oldPwd": "舊密碼", "nickName": "用戶暱稱" + }, + "customer": { + "email": "客户邮箱" } } diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 0c3f947..c34a5c5 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -10,8 +10,8 @@ diff --git a/src/settings.js b/src/settings.js index 8300f82..fc72b1f 100644 --- a/src/settings.js +++ b/src/settings.js @@ -55,7 +55,7 @@ export default { /** * 版权信息 */ - copyright: 'Copyright ©2023 ZRAdmin.NET All Rights Reserved.', + copyright:'', //'Copyright ©2023 ZRAdmin.NET All Rights Reserved.', /** * 是否显示底部栏 */ diff --git a/src/views/customer/index.vue b/src/views/customer/index.vue new file mode 100644 index 0000000..5917708 --- /dev/null +++ b/src/views/customer/index.vue @@ -0,0 +1,221 @@ + + + diff --git a/src/views/index.vue b/src/views/index.vue index efea7e2..e1c2bd6 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,241 +1,210 @@ - diff --git a/src/views/index_v2.vue b/src/views/index_v2.vue new file mode 100644 index 0000000..efea7e2 --- /dev/null +++ b/src/views/index_v2.vue @@ -0,0 +1,241 @@ + + + + + diff --git a/src/views/login.vue b/src/views/login.vue index f113b57..e56da54 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -9,8 +9,8 @@
- - +
@@ -50,12 +50,12 @@
{{ $t('login.rememberMe') }} - {{ $t('login.register') }} + {{ $t('login.forgotPwd') }}
-