diff --git a/.env.development b/.env.development
index 213846b..ecb9bfb 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
VITE_APP_NAME=后台管理(开发环境)
-#VITE_API_URL=http://127.0.0.1:9200/api
+VITE_API_URL=http://127.0.0.1:9200/api
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
diff --git a/a.html b/a.html
new file mode 100644
index 0000000..99610a0
--- /dev/null
+++ b/a.html
@@ -0,0 +1,62 @@
+
桂乐淘后台管理手册
+后台登录信息:
+地址:https://glt.websoft.top/login
账号:13800010584
验证码:183911
+一、创建管理员账号
+(一)创建流程
+主页-用户管理-设置手机号-角色设置(将该手机号设置为对应的角色权限)-打开管理员开关,即可创建管理员账号-搜索到对应管理员手机号-勾选该账号-重置密码-复制密码给管理员-打开后台登录地址-使用手机号+登录密码+核验码进行登录-登录成功后再自行修改登录密码。
+ 
+
+
+
+
+
+(二)角色管理
+新建或修改角色-分配权限(按角色需要勾选权限)
+1.角色设置
+
+2.角色名称
+
+
+
+二、业务管理(创建商品-创建水票-配送)
+(一)商品创建流程
+新增或编辑商品,按字段填写或上传商品信息,保存后即可(可自主管理上下架及商品排序),在商品管理模块添加的是普通的快递商品,不属于水票套票
+
+
+
+(二)水票套票创建及配送
+基于商品管理里的商品信息,进入水票-模板管理-填写模板规则
+
+
+
+
+(三)配送
+用户购买水票后,系统自动释放水票模板的首期水票,并自动生成配送订单到用户指定地址(须在电子围栏内)
+配送员添加:接单-配送员管理-新增/修改配送员信息
+
+
+
+
+
+
+三、分销
+(一)分销用户
+
+(二)推荐关系
+
+(三)分销订单
+
+用户操作手册
+一、水票购买
+用户可按指引购买水票,选择地址时,如不在电子围栏范围内,无法付款配送。
+


+二、我的水票
+用户查看自己购买过的水票明细及使用、释放情况等
+
+
+三、立即送水
+用户查看自己购买过的水票明细及使用、释放情况等
+ 

+三、分享中心
+用户查看自己的推广佣金情况、推广的用户列表,申请提现等
+ 

diff --git a/src/api/credit/creditCompany/index.ts b/src/api/credit/creditCompany/index.ts
index f76d783..1dadcc1 100644
--- a/src/api/credit/creditCompany/index.ts
+++ b/src/api/credit/creditCompany/index.ts
@@ -123,6 +123,27 @@ export async function importCreditCompany(file: File) {
return Promise.reject(new Error(res.data.message));
}
+/**
+ * 导入客户
+ */
+export async function importCustomer(file: File) {
+ const formData = new FormData();
+ formData.append('file', file);
+ const res = await request.post>(
+ '/credit/credit-company/import',
+ formData,
+ {
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ }
+ }
+ );
+ if (res.data.code === 0) {
+ return res.data.message;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
+
/**
* 根据企业匹配名称查询关联信息
*/
diff --git a/src/api/credit/creditCompany/model/index.ts b/src/api/credit/creditCompany/model/index.ts
index 79ddaa5..f009b6b 100644
--- a/src/api/credit/creditCompany/model/index.ts
+++ b/src/api/credit/creditCompany/model/index.ts
@@ -183,7 +183,8 @@ export interface CreditCompany {
*/
export interface CreditCompanyParam extends PageParam {
userId?: number;
-
+ type?: number;
+ isCustomer?: number;
id?: number;
keywords?: string;
}
diff --git a/src/views/credit/customer/components/credit-company-import.vue b/src/views/credit/customer/components/credit-company-import.vue
new file mode 100644
index 0000000..5e03179
--- /dev/null
+++ b/src/views/credit/customer/components/credit-company-import.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+
+
只能上传xls、xlsx文件,
+
下载导入模板
+
+
+
+
+
diff --git a/src/views/credit/customer/components/credit-company-related-import.vue b/src/views/credit/customer/components/credit-company-related-import.vue
new file mode 100644
index 0000000..ab10d5a
--- /dev/null
+++ b/src/views/credit/customer/components/credit-company-related-import.vue
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+
+
只能上传xls、xlsx文件,
+
下载导入模板
+
+
+
+
+
diff --git a/src/views/credit/customer/components/creditCompanyEdit.vue b/src/views/credit/customer/components/creditCompanyEdit.vue
new file mode 100644
index 0000000..397c828
--- /dev/null
+++ b/src/views/credit/customer/components/creditCompanyEdit.vue
@@ -0,0 +1,612 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 显示
+ 隐藏
+
+
+
+
+
+
+
diff --git a/src/views/credit/customer/components/creditCompanyInfo.vue b/src/views/credit/customer/components/creditCompanyInfo.vue
new file mode 100644
index 0000000..147e1ff
--- /dev/null
+++ b/src/views/credit/customer/components/creditCompanyInfo.vue
@@ -0,0 +1,2139 @@
+
+
+
+
+
+ {{ formatValue(form.matchName) }}
+
+
+ {{ formatValue(form.legalPerson) }}
+
+
+ {{ formatValue(form.code) }}
+
+
+ {{ formatValue(form.address) }}
+
+
+ {{ formatValue(form.tel) }}
+
+
+ {{ formatValue(form.moreTel) }}
+
+
+
+
+
+
+
+ {{ tab.label }}
+
+
+
+
+ 导入(单)
+
+
+
+
+
+ 导入历史被执行人
+
+
+
+
+
+ 导入历史限制高消费
+
+
+
+
+
+ 导入历史终本案件
+
+
+
+
+
+ 导入历史开庭公告
+
+
+
+
+
+ 导入历史法院公告
+
+
+
+
+
+ 导入历史失信被执行人
+
+
+
+
+
+ 导入历史裁判文书
+
+
+
+
+
+ 导入历史立案信息
+
+
+
+
+
+ 导入历史诉前调解
+
+
+
+
+
+ 导入历史送达公告
+
+
+
+
+
+ 导入历史股权冻结
+
+
+
+
+
+ 导入历史破产重整
+
+
+
+
+
+ 导入历史行政许可
+
+
+ 刷新
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/credit/customer/components/search.vue b/src/views/credit/customer/components/search.vue
new file mode 100644
index 0000000..b325a18
--- /dev/null
+++ b/src/views/credit/customer/components/search.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 导入
+
+
+
+
+
+ 导出
+
+
+
+
+
+ 批量删除
+
+
+
+
+
+
diff --git a/src/views/credit/customer/index.vue b/src/views/credit/customer/index.vue
new file mode 100644
index 0000000..5ec0d5f
--- /dev/null
+++ b/src/views/credit/customer/index.vue
@@ -0,0 +1,631 @@
+
+ $router.go(-1)">
+
+
+
+
+
+
+
+
+
+
+
+ {{ record.matchName }}
+
+
+ {{ record.matchName }}
+
+
+
+ 显示
+ 隐藏
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+