From d50a6cf958f7ed6abf7f8c58ced90c1d7a9ca577 Mon Sep 17 00:00:00 2001
From: hard_cheng <2463422967@qq.com>
Date: Thu, 5 Dec 2024 09:58:20 +0800
Subject: [PATCH] =?UTF-8?q?feat(customer-info):=20=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增客户信息管理的 API、常量、表单和列表组件
- 更新应用配置,修改网站名称为"赞伯科技远程部署平台"
-调整帮助文档和水印的显示状态
- 更新包信息,将作者信息修改为赞伯科技
---
smart-admin-web-javascript/package.json | 6 +-
.../customer-info/customer-info-api.js | 48 ++++
.../customer-info/customer-info-const.js | 11 +
.../src/config/app-config.js | 6 +-
.../customer-info/customer-info-form.vue | 119 ++++++++
.../customer-info/customer-info-list.vue | 264 ++++++++++++++++++
6 files changed, 448 insertions(+), 6 deletions(-)
create mode 100644 smart-admin-web-javascript/src/api/business/customer-info/customer-info-api.js
create mode 100644 smart-admin-web-javascript/src/api/business/customer-info/customer-info-const.js
create mode 100644 smart-admin-web-javascript/src/views/business/customer-info/customer-info-form.vue
create mode 100644 smart-admin-web-javascript/src/views/business/customer-info/customer-info-list.vue
diff --git a/smart-admin-web-javascript/package.json b/smart-admin-web-javascript/package.json
index ca685591..ea688914 100644
--- a/smart-admin-web-javascript/package.json
+++ b/smart-admin-web-javascript/package.json
@@ -2,9 +2,9 @@
"name": "smartadmin",
"version": "3.0.0",
"author": {
- "name": "1024创新实验室(1024lab)",
- "email": "lab1024@163.com",
- "url": "https://www.1024lab.net"
+ "name": "赞伯科技",
+ "email": "",
+ "url": ""
},
"license": "MIT",
"homepage": "https://smartadmin.1024lab.net",
diff --git a/smart-admin-web-javascript/src/api/business/customer-info/customer-info-api.js b/smart-admin-web-javascript/src/api/business/customer-info/customer-info-api.js
new file mode 100644
index 00000000..96963c69
--- /dev/null
+++ b/smart-admin-web-javascript/src/api/business/customer-info/customer-info-api.js
@@ -0,0 +1,48 @@
+/**
+ * 客户信息 api 封装
+ *
+ * @Author: hc
+ * @Date: 2024-12-04 17:21:57
+ * @Copyright zb
+ */
+import { postRequest, getRequest } from '/@/lib/axios';
+
+export const customerInfoApi = {
+
+ /**
+ * 分页查询 @author hc
+ */
+ queryPage : (param) => {
+ return postRequest('/customerInfo/queryPage', param);
+ },
+
+ /**
+ * 增加 @author hc
+ */
+ add: (param) => {
+ return postRequest('/customerInfo/add', param);
+ },
+
+ /**
+ * 修改 @author hc
+ */
+ update: (param) => {
+ return postRequest('/customerInfo/update', param);
+ },
+
+
+ /**
+ * 删除 @author hc
+ */
+ delete: (id) => {
+ return getRequest(`/customerInfo/delete/${id}`);
+ },
+
+ /**
+ * 批量删除 @author hc
+ */
+ batchDelete: (idList) => {
+ return postRequest('/customerInfo/batchDelete', idList);
+ },
+
+};
diff --git a/smart-admin-web-javascript/src/api/business/customer-info/customer-info-const.js b/smart-admin-web-javascript/src/api/business/customer-info/customer-info-const.js
new file mode 100644
index 00000000..cf365b4b
--- /dev/null
+++ b/smart-admin-web-javascript/src/api/business/customer-info/customer-info-const.js
@@ -0,0 +1,11 @@
+/**
+ * 客户信息 枚举
+ *
+ * @Author: hc
+ * @Date: 2024-12-04 17:21:57
+ * @Copyright zb
+ */
+
+
+export default {
+};
\ No newline at end of file
diff --git a/smart-admin-web-javascript/src/config/app-config.js b/smart-admin-web-javascript/src/config/app-config.js
index a08098b4..ea46e41a 100644
--- a/smart-admin-web-javascript/src/config/app-config.js
+++ b/smart-admin-web-javascript/src/config/app-config.js
@@ -31,13 +31,13 @@ export const appDefaultConfig = {
// 页脚
footerFlag: true,
// 帮助文档
- helpDocFlag: true,
+ helpDocFlag: false,
// 帮助文档默认展开
- helpDocExpandFlag: true,
+ helpDocExpandFlag: false,
// 水印
watermarkFlag: true,
// 网站名称
- websiteName: 'SmartAdmin 3.X',
+ websiteName: '赞伯科技远程部署平台',
// 主题颜色
primaryColor: '#1677ff',
// 紧凑
diff --git a/smart-admin-web-javascript/src/views/business/customer-info/customer-info-form.vue b/smart-admin-web-javascript/src/views/business/customer-info/customer-info-form.vue
new file mode 100644
index 00000000..12e5f3b8
--- /dev/null
+++ b/smart-admin-web-javascript/src/views/business/customer-info/customer-info-form.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 保存
+
+
+
+
+
diff --git a/smart-admin-web-javascript/src/views/business/customer-info/customer-info-list.vue b/smart-admin-web-javascript/src/views/business/customer-info/customer-info-list.vue
new file mode 100644
index 00000000..371ed775
--- /dev/null
+++ b/smart-admin-web-javascript/src/views/business/customer-info/customer-info-list.vue
@@ -0,0 +1,264 @@
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新建
+
+
+
+
+
+ 批量删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+